Decide the expanded write-action contract (#97) #121

Merged
svc-agent-writer merged 1 commit from adr-0005-write-action-contract into main 2026-11-05 11:10:48 +00:00

Summary

Closes the decision in #97. ADR 0005 gains Amendment 1: the contract every new Action shares before any #96 write tool mounts. Decisions 1 to 5 stand; #78 keeps the foundation and its own rulings.

 docs/adr/0005-reversible-writes.md
   Decision 1-5                      # unchanged
+  Amendment 1 (2026-11-05)
+    Actions and budgets             # rulings 1-4: kinds, inventory table, caps, charging
+    Credentials and attribution     # rulings 5-7: labelled tokens with bucket grants, Author + via, who may undo
+    Revisions, retries, conflicts   # rulings 8-12: per-item revision, idempotency key, states
+    Undo and compensation           # rulings 13-16: one window, stale undo, undo records, publish.compensate
+    Audit and feed                  # rulings 17-18: people_actions columns, existing feed kinds only
+    Examples the slices test        # 11 cases
 GLOSSARY.md
~  Card                              # renders as text or in an App view
+  App view, Action, Author

New daily caps: 50 create, 50 organisations, 200 interactions, 50 lifecycle, 20 publish. Existing caps unchanged: 200 notes, 50 links, 20 forgets, 50 undos.

Evidence

  • Grill of 2026-11-05, three rounds, 23 questions; the operator accepted every lean.
  • Every #97 acceptance criterion maps to rulings:
    • kinds, cap groupings, rates, attribution, auth scope, inverses: rulings 1-7 and 13;
    • expected revision, idempotency key, conflicting retry, stale undo: rulings 8-12 and 14;
    • #78 ownership, existing caps, irreversible Forget, external compensation: preamble, rulings 3, 13 and 16;
    • concrete examples: the closing section.
  • Docs only; no code or test changes.

Merge Danger

Door: two-way

Nothing implements this yet. A later amendment can revise any ruling before its slice ships.

Blast Radius: write-slices

#78 and every #96 implementation slice build to this contract. Ruling 5 changes the write-token config from one token to a list; #78 must build that list from its first commit.

🤖 Generated with Claude Code

## Summary Closes the decision in #97. ADR 0005 gains Amendment 1: the contract every new Action shares before any #96 write tool mounts. Decisions 1 to 5 stand; #78 keeps the foundation and its own rulings. ```diff docs/adr/0005-reversible-writes.md Decision 1-5 # unchanged + Amendment 1 (2026-11-05) + Actions and budgets # rulings 1-4: kinds, inventory table, caps, charging + Credentials and attribution # rulings 5-7: labelled tokens with bucket grants, Author + via, who may undo + Revisions, retries, conflicts # rulings 8-12: per-item revision, idempotency key, states + Undo and compensation # rulings 13-16: one window, stale undo, undo records, publish.compensate + Audit and feed # rulings 17-18: people_actions columns, existing feed kinds only + Examples the slices test # 11 cases GLOSSARY.md ~ Card # renders as text or in an App view + App view, Action, Author ``` New daily caps: 50 create, 50 organisations, 200 interactions, 50 lifecycle, 20 publish. Existing caps unchanged: 200 notes, 50 links, 20 forgets, 50 undos. ## Evidence - Grill of 2026-11-05, three rounds, 23 questions; the operator accepted every lean. - Every #97 acceptance criterion maps to rulings: - kinds, cap groupings, rates, attribution, auth scope, inverses: rulings 1-7 and 13; - expected revision, idempotency key, conflicting retry, stale undo: rulings 8-12 and 14; - #78 ownership, existing caps, irreversible Forget, external compensation: preamble, rulings 3, 13 and 16; - concrete examples: the closing section. - Docs only; no code or test changes. ## Merge Danger **Door:** two-way Nothing implements this yet. A later amendment can revise any ruling before its slice ships. **Blast Radius:** write-slices #78 and every #96 implementation slice build to this contract. Ruling 5 changes the write-token config from one token to a list; #78 must build that list from its first commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Decide the expanded write-action contract (#97)
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
0adb0e54d5
Add ADR 0005 Amendment 1 from the #97 grill of 2026-11-05: the Action
kind inventory with buckets, caps and inverses; labelled write tokens
with bucket grants; Author and via; per-item revisions, idempotency
keys, Action states and stale undo; undo records; external
compensation; people_actions columns; feed kinds; and testable
examples. Add App view, Action and Author to the glossary, and say a
Card can render as text or in an App view.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.