recall.py admit: a PreToolUse hook that holds an admit with rulings or questions once, listing in-force neighbours

Shares mind.call, line_of, inert, render and the hard stop with prompt mode;
render takes the header. Digest of tool_input plus agent_id in the session
scratchpad; fails open with a note naming only the failure kind.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Eureka 2026-10-23 19:36:28 +02:00
commit 13133bcb40
4 changed files with 154 additions and 12 deletions

View file

@ -58,6 +58,9 @@ TooLarge are the same: fix the call (or narrow it) and retry. Retrying an admit
is safe (AlreadyAdmitted). Unavailable after one retry, any other isError, or
the mind going away mid-pass: stop where you are and report the step; never
send your record as prose.
A denial headed "This is a deliberate hold" is the near-neighbour check, not a
refusal: read the listed records; if none is the same decision send the identical
call again, otherwise revise the batch.
```
## Self: open a campaign, rule, triage

View file

@ -289,6 +289,9 @@ reading its verdicts and findings, check that `admission.provenance.faculty` is
Once the operator installs the hook, `tools/recall.py` also puts the nearest in-force
rulings, questions and follow-ups into every prompt; the recipe remains the
deliberate check before raising a question.
With its `PreToolUse` hook installed, `tools/recall.py admit` holds an admit that
carries rulings or questions once and lists their nearest in-force neighbours; the
identical retry is admitted.
## Substrate gaps