Merge branch 'design/contract-release' into main
Define bounded source release for issuer-only contract demo
2 files changed,
+77
−1
docs/superpowers/specs/2026-09-05-suite-sharing-doctrine.md+7 −1docs/superpowers/specs/2026-10-26-self-sign-release.md+70 −0
CI passed — run details
diff --git a/docs/superpowers/specs/2026-09-05-suite-sharing-doctrine.md b/docs/superpowers/specs/2026-09-05-suite-sharing-doctrine.md| index 47622e3..f5ac5c6 100644 |
| --- a/docs/superpowers/specs/2026-09-05-suite-sharing-doctrine.md |
| +++ b/docs/superpowers/specs/2026-09-05-suite-sharing-doctrine.md |
| @@ -3,7 +3,7 @@ |
| How the apps of the suite share identity, membership and content with |
| each other, and where the line is that nothing crosses. |
| -**Status:** design, **revision 8**, 2026-09-05. |
| +**Status:** design, **revision 9**, 2026-10-26. |
| **Revision 8 records that the contract module cannot be imported**, which |
| makes §12 step 2 built rather than done. `amadan.net/oficina/suite` does not |
| @@ -763,6 +763,12 @@ call. Content leaving the team's hosts except under ruling 6. |
| ## 7. Writes |
| +The narrow issuer-only contract demonstration may use the explicitly |
| +authorised release defined in [Bounded release for a self-signing contract |
| +demonstration](2026-10-26-self-sign-release.md). That annex alone permits |
| +independent use of its selected source snapshot within its stated lifetimes. |
| +All other derivatives retain the source-dependent rules below. Revision 9 was independently reviewed by GPT-6 on 2026-10-26; it grants no external sharing. |
| + |
| The question "may memoria write a Doc" has two answers because it is two |
| questions. |
diff --git a/docs/superpowers/specs/2026-10-26-self-sign-release.md b/docs/superpowers/specs/2026-10-26-self-sign-release.md| new file mode 100644 |
| index 0000000..5fe1176 |
| --- /dev/null |
| +++ b/docs/superpowers/specs/2026-10-26-self-sign-release.md |
| @@ -0,0 +1,70 @@ |
| +# Bounded release for a self-signing contract demonstration |
| + |
| +Status: approved amendment, 2026-10-26; author Codex. Independently |
| +reviewed and approved by GPT-6 for this issuer-only scope. Requested by Paul's live-Fichas |
| +end-to-end contract demo; the narrow protocol is this session's design. |
| + |
| +This is a narrow exception to sharing doctrine revision 8 §7's continuously |
| +source-dependent derivatives, not a change to S2/S3, ordinary handoffs, Home |
| +identity, or external sharing. Doctrine §3 already permits paired lone apps. |
| + |
| +A current configured owner of a lone Fichas instance may explicitly release |
| +selected fields from one consistent card revision to one configured same-team |
| +Docs instance and one explicitly named, independently authenticated importer. |
| +Same operator/account is not evidence of the same team: standard team labels |
| +must match; custom origins require an explicit trusted deployment team binding |
| +recording both exact origins. The sender validates this before rendering any |
| +cross-origin form. |
| +The approval displays those values, destination, importer and the following |
| +purpose/lifetimes. It conveys authority to use only those values in one |
| +locally authored contract which only that Docs importer can access and sign. |
| +It does not authorise onward sharing, external recipients, transitive sources, |
| +AI reuse, search feeds or derivative templates. Ordinary read permission is |
| +not release authority; Card.OwnerID does not establish that authority. |
| + |
| +The source signs an irrevocable release with a unique ID, exact revision and |
| +fields, actor, destination, importer, browser-flow identifier, purpose and |
| +expiry. Docs must commit its immutable issue within 30 minutes. Source edits, |
| +deletion or subsequent source-owner revocation do not invalidate this already |
| +approved release in that interval; the approval screen states that effect. |
| +The authoritative release point is the source transaction's successful |
| +revision check and snapshot approval. A crash before any signed response |
| +cannot create a destination issue. A repeated source approval may have a new |
| +release ID but the destination's original flow can redeem at most one. |
| +Duplicate delivery cannot create a second preparation or issued agreement. |
| +The source approval binds the exact displayed selection, field definitions, |
| +types, values, actor and revision using an expiring confirmation digest checked |
| +against a transactional reread. Expiry minus issue time is at most 30 minutes; |
| +receivers allow at most 60 seconds future clock skew. Preview identity includes |
| +the release ID, template and manual inputs, not just the PDF digest. |
| + |
| +The destination authenticates/admit-checks its person independently and |
| +requires its original browser-bound pending flow; receipt never commits. |
| +Exact configured source origin, pinned signature key, audience, person, |
| +purpose, bounds and expiry are all checked. Confirmation comes from the |
| +destination origin and uses server-held bytes. Values never travel in URLs. |
| + |
| +An unissued preparation loses service access at 30 minutes and is erased on |
| +access/maintenance. Issue freezes the reviewed PDF, accessible representation, |
| +source provenance and digest. Only that issuer may verify/sign it, with a |
| +fresh email challenge and separate affirmative consent; issuer admission and |
| +ownership remain required for every route. Unsigned issue expires at 24 hours. |
| +All demo artifacts/evidence cease service access after seven days; downloads |
| +already made cannot be recalled. Existing encrypted backups may retain deleted |
| +data under the app's operational backup policy; this slice makes no guaranteed |
| +backup-erasure claim and the approval/retention UI must say so. |
| + |
| +This exception does not authorise an external-recipient implementation. Any |
| +extension beyond admitted issuer-only access requires discussion 12's reviewed |
| +independent isolation design. Trusted source/destination servers, operators, |
| +configuration and encryption-key custody remain the existing app trust domain; |
| +this is not end-to-end encryption or compromise-resistant private documents. |
| + |
| +Acceptance requires actual app middleware/browser evidence for source approval, |
| +origin and browser binding, sign-in resume, expired/replayed releases, immutable |
| +issue and independent recipient verification. Matching emails never merge |
| +accounts. No automatic transfer occurs merely because instances share DNS. |
| + |
| +Independent review addressed team binding, normative adoption, exact source |
| +approval, bounded lifetimes and fresh digest-bound verification. App branches |
| +require separate implementation review and actual deployment/browser evidence. |