: asapien/signet

commit 60c1d382eb2a4a4d3660f76546d7f24bc8b120eb
parent 116764a823de29f175d7fcb1152ce359d7e0969c
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Sat, 19 Sep 2026 04:12:08 +0530

Update documentation: Task 3 completed

Task 3 implementation is complete:
- Documents bound to organisations
- PIM resolution per-org from Redis hashes
- Image attributes supported (text and image types)
- All validation at submit; render reads from Redis
2 files changed, 10 insertions(+), 7 deletions(-)
M
HANDOFF.md
|
15
+++++++++------
M
todo.txt
|
2
+-
diff --git a/HANDOFF.md b/HANDOFF.md
@@ -3,16 +3,19 @@
 Code as of 2026-09-19. Model finalized 2026-09-19. Vocabulary in `CONTEXT.md`;
 working rules in `AGENTS.md`; implementation plan in `docs/REBUILD.md`.
 
-**Completed (Tasks 1–2):**
+**Completed (Tasks 1–3):**
 - Syslog logging in both FastCGI APIs (visible errors, debuggable failures)
 - Prefactor renaming: schema, roles, and decision names aligned with CONTEXT.md glossary
   (PENDING_APPROVAL→PENDING, APPROVED→RELEASED, maker→drafter, approver→signer, 
    customer_id removed, render_seq/rendered_seq system added)
-
-**Remaining (Tasks 3–9):** behavioral changes per D16–D29. The code structure
-matches 2026-09-19 naming but retains 2026-09-18 **behavior** (D2/D5/D6/D7): 
-facsimiles still stamped at submit (not sign-off), levels not yet replaced by parties, 
-PIM not organisation-bound, enrolment not yet built. §3 describes code as it is; 
+- Organisation-bound PIM: documents select org, imprints resolve per-org from Redis,
+  image attributes stored as PIM values. PIM resolution at submit (API), rendered
+  from Redis by worker. DAM accessed only at submit, never at render time.
+
+**Remaining (Tasks 4–9):** behavioral changes per D16–D29. The code structure
+matches 2026-09-19 naming and org-binding but retains 2026-09-18 **behavior** 
+(D2/D5/D6/D7): facsimiles still stamped at submit (not sign-off), levels not yet 
+replaced by parties, enrolment not yet built. §3 describes code as it is; 
 §10–11 outline what remains.
 
 ## 1. Status
diff --git a/todo.txt b/todo.txt
@@ -1,6 +1,6 @@
 x 2026-09-19 syslog logging in signet-api and pim-api +api +pim +ops status:completed id:1 spec:docs/REBUILD.md note:.scratch/rebuild/issues/01-syslog-logging.md commit:847eac9
 x 2026-09-19 Rename to the glossary and generalise the render gate, no behaviour change +api +worker +client +schema +test +ops status:completed id:2 spec:docs/REBUILD.md note:.scratch/rebuild/issues/02-rename-and-render-gate.md commit:3f77fed,5641808
-(B) 2026-09-19 Organisation-bound PIM imprints, image attributes, mandatory title +api +worker +render +client +pim +schema +test status:ready-for-agent id:3 blockedby:2 spec:docs/REBUILD.md note:.scratch/rebuild/issues/03-organisation-pim-imprints.md
+x 2026-09-19 Organisation-bound PIM imprints, image attributes, mandatory title +api +worker +render +client +pim +schema +test status:completed id:3 spec:docs/REBUILD.md note:.scratch/rebuild/issues/03-organisation-pim-imprints.md commit:116764a
 (B) 2026-09-19 Parties, signature zones, sequential decisions +api +worker +client +schema +test status:ready-for-agent id:4 blockedby:2 spec:docs/REBUILD.md note:.scratch/rebuild/issues/04-parties-zones-decisions.md
 (B) 2026-09-19 Facsimile enrolment +api +worker +client +schema +ops +test status:ready-for-agent id:5 blockedby:4 spec:docs/REBUILD.md note:.scratch/rebuild/issues/05-facsimile-enrolment.md
 (B) 2026-09-19 Facsimile overlay at sign-off, release in the worker with the full audit page +api +worker +render +client +test status:ready-for-agent id:6 blockedby:4,5 spec:docs/REBUILD.md note:.scratch/rebuild/issues/06-overlay-and-release.md