client/v2 § register: the one-shot register offered again from the later hooks (ccc-statusd followups item 34) #8

Open
caoer115 wants to merge 0 commits from agent/044f89cf-client-v2-later-register into main
Owner

A one-shot seat whose SessionStart walk met no vendor record naming its session within the wait — a bare launch's /clear whose record named the new id late, a nested claude -p whose own record landed after its SessionStart — stayed unregistered for the process's life. The hooks that precede a turn or a tool call (UserPromptSubmit, PreToolUse) offer the same register again with no wait, while the cache carries no registration and once a record names the hook's own session; a dial that fails or a refusal is offered again on the next hook; a seat the daemon holds is never offered.

Pin refreshed for § register (1 accepted, 69 ok); mrd check --commit-gate --require-pins -- frozen.lock.md pins-hold rc 0; mrd check rc 0; bin/check-released-ids OK.

The implementing ccc-statusd change rides the identity-residuals PR (agent/044f89cf-identity-residuals, stock_register.go stockRegisterOnHook, test TestABareLaunchWhoseRecordNamedTheIDLateRegistersFromTheNextHook); the source line's sha follows that merge in a second commit here before this PR merges.

A one-shot seat whose SessionStart walk met no vendor record naming its session within the wait — a bare launch's `/clear` whose record named the new id late, a nested `claude -p` whose own record landed after its SessionStart — stayed unregistered for the process's life. The hooks that precede a turn or a tool call (`UserPromptSubmit`, `PreToolUse`) offer the same register again with no wait, while the cache carries no registration and once a record names the hook's own session; a dial that fails or a refusal is offered again on the next hook; a seat the daemon holds is never offered. Pin refreshed for § register (1 accepted, 69 ok); `mrd check --commit-gate --require-pins -- frozen.lock.md` pins-hold rc 0; `mrd check` rc 0; `bin/check-released-ids` OK. The implementing ccc-statusd change rides the identity-residuals PR (`agent/044f89cf-identity-residuals`, `stock_register.go` `stockRegisterOnHook`, test `TestABareLaunchWhoseRecordNamedTheIDLateRegistersFromTheNextHook`); the `source` line's sha follows that merge in a second commit here before this PR merges.
client/v2 § register: the one-shot register offered again from the later hooks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
22b108b01b
A one-shot seat whose SessionStart walk met no vendor record naming its
session within the wait — a bare launch's /clear whose record named the new
id late, a nested `claude -p` whose own record landed after its SessionStart
— stayed unregistered for the process's life. The hooks that precede a turn
or a tool call (UserPromptSubmit, PreToolUse) offer the same register again
with no wait, while the cache carries no registration and once a record
names the hook's own session; a dial that fails or a refusal is offered again
on the next hook; a seat the daemon holds is never offered. Pin refreshed for
the section (ccc-statusd followups item 34).
client/v2 source line: the later-hook register is ccc-statusd 9f4de1a0 (PR #808)
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
016f5385d1
The amended § register's implementation merged on ccc-statusd main as
9f4de1a0 (stock_register.go stockRegisterOnHook, offered from
UserPromptSubmit and PreToolUse; test
TestABareLaunchWhoseRecordNamedTheIDLateRegistersFromTheNextHook, red at
b0fe4091, green at fix; head pipeline 3258 green, just test-ci 4489 PASS).
The source line names that sha beside #797 and #799; pins refreshed for
the file's blob.
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin agent/044f89cf-client-v2-later-register:agent/044f89cf-client-v2-later-register
git switch agent/044f89cf-client-v2-later-register

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff agent/044f89cf-client-v2-later-register
git switch agent/044f89cf-client-v2-later-register
git rebase main
git switch main
git merge --ff-only agent/044f89cf-client-v2-later-register
git switch agent/044f89cf-client-v2-later-register
git rebase main
git switch main
git merge --no-ff agent/044f89cf-client-v2-later-register
git switch main
git merge --squash agent/044f89cf-client-v2-later-register
git switch main
git merge --ff-only agent/044f89cf-client-v2-later-register
git switch main
git merge agent/044f89cf-client-v2-later-register
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
caoer115/contracts!8
No description provided.