Skip to content

HER-TOOLS: receipt binding, extent identity, Call circularity (Codex's review), and the view as the only sizer - #5634

Merged
joelteply merged 2 commits into
canaryfrom
fable/her-tools-receipt-binding
Oct 31, 2026
Merged

joelteply merged 2 commits into
canaryfrom
fable/her-tools-receipt-binding

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Follow-up to #5632, which merged before Codex's review at 4d4d5da landed. Docs only.

  • RenderReceipt binds the owner and the registered working-memory incarnation. It is recorded only at the successful submission boundary and is idempotent per request (Persist background task acceptance and terminal receipts #5585's record_task_reads).
  • Whole means the whole selected immutable extent, carrying an ExtentId. A reopen asks for an extent and never bypasses sizing.
  • What acknowledges a task's end: the task item's line 1, which every level keeps, at the first receipt that shows it. Output stays reachable and is never required.
  • Calls are built against the authorized vocabulary, and each named Call's schema is claimed in the one allocation. This removes the circularity, and no per-command NATIVE flip is the general fix.
  • ResultGrant removed: reading the code showed fit_newest_result already sizes the newest result, so the view is the only sizer.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

@joelteply
joelteply force-pushed the fable/her-tools-receipt-binding branch from bef3959 to 86ed390 Compare October 31, 2026 05:35
joelteply and others added 2 commits October 31, 2026 01:55
…nation at successful submission, idempotent per request; Whole = the selected immutable extent with its identity; line 1 acknowledges a task's end), Calls built against the authorized vocabulary with their schemas claimed in the one allocation; ResultGrant removed (the view is the only sizer)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…erate the spec, a typed Call constructor, typed refusals with fix, the declared shape and effect; strings cannot name a call; ratchets for the rest

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply force-pushed the fable/her-tools-receipt-binding branch from 86ed390 to 684c3e5 Compare October 31, 2026 06:55
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE #5634 at exact head 684c3e5 (Cormac). Read the HER-TOOLS.md delta against its merge base. (1) The view is the only sizer: ResultGrant at the command is withdrawn, because the view already sizes the newest result (fit_newest_result), and a command returns exactly her selection with rest naming the next position. That is one owner, right. (2) Call is built against her authorized vocabulary, not the surface, which resolves Codex's circularity, and naming a Call claims its schema in the one allocation. (3) The verb!/handles! split makes the bad forms unwritable: private Call fields with generated constructors, typed refusals with fix, the result frame built by the executor from the declared shape and effect. It also defaults effect to Undeclared (authorizes nothing, counted), consistent with invariant 4's CommandSpec::EFFECT, which verb! will generate. (4) #[identifying] on the params struct replaces answer.rs' hand-kept list (my #5635 point). Implementation note: when verb! lands it should generate EFFECT from the same declaration, so invariant 4's const and the macro don't become two sources.

@joelteply
joelteply merged commit bd36683 into canary Oct 31, 2026
11 checks passed
@joelteply
joelteply deleted the fable/her-tools-receipt-binding branch October 31, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant