Repository navigation
refactor(hooks): name session events, the verify command, and the record - #121
Merged
Merged
Conversation
furedea
force-pushed
the
refactor/name-verification-session-events
branch
from
September 17, 2026 03:08
f0349bb to
79c083c
Compare
furedea
force-pushed
the
refactor/name-verification-session-events
branch
from
September 17, 2026 03:10
79c083c to
9dd6522
Compare
furedea
force-pushed
the
refactor/name-verification-session-events
branch
from
September 17, 2026 03:12
9dd6522 to
c186e80
Compare
The lifecycle words mixed full event names with the truncated pre; use the native event names. check and retry collided with the check vocabulary of the gate; the manual command is now verify. verify --force replaces retry, which implied a failure rather than a forced rerun. Co-Authored-By: Claude Fable 5.1 <[email protected]>
The registered session was a Run in code, a record in JSON helpers, and a session record in docs. SessionRecord is now the type and record the variable; JSON receipts and baselines say so too. session_gate.stop was named after the event it serves; gate names what it does. Co-Authored-By: Claude Fable 5.1 <[email protected]>
furedea
force-pushed
the
refactor/name-verification-session-events
branch
from
September 17, 2026 03:13
c186e80 to
2805a8d
Compare
2 tasks done
furedea
added a commit
that referenced
this pull request
Nov 10, 2026
## 概要 agent-config を最新にして,編集のたびに共通の ast-grep 規則(agent-config#117,#121)が動くようにする.`ast-grep` は #427 で PATH に入っている. | 項目 | 前 | 後 | | --- | --- | --- | | agent-config | eae1408(共通の規則なし) | #117 まで | | 編集後の hook | ast-grep を動かさない | 共通の規則で ast-grep を動かし,指摘を返す(止めない) | ## 検証 - [x] `darwin-rebuild switch` で適用済み(ユーザー) - [x] 配られた `hooks/lint/sgconfig.yml` で,`@staticmethod` を含む試しのファイルに `py_no_staticmethod` が出ることを確認 Refs furedea/agent-config#74 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #119. Two commits that finish the vocabulary of
verification_session.pyand thesession_*modules; behavior is unchanged apart from the CLI words.CLI (
90dbf51)claude|codex startclaude|codex session-startprewas the only truncated oneclaude|codex preclaude|codex pre-tool-useclaude|codex stopclaude|codex stopclaude|codex endclaude|codex session-endcheck <record>verify <record>checknow means one runner invocation (check_*, receipts); this command runs the whole gateretry <record>verify --force <record>hooks.json(8 commands) and the README follow. Retired and malformed invocations print usage and exit 1 (covered by a new parametrized test).Internals (
f0349bb)session_store.Run->SessionRecord, variablesrun->record; the JSON dicts that shared the word are nowbaselineandreceipt;prune_run/run_directories->prune_record/record_directoriessession_gate.stop->gate(it was named after the event it serves);record_skip->save_skipverification_session.registered_run->registered_recordverification_session.pyitself keeps its name: every subcommand is a lifecycle operation on a registered verification session, and the ADR, README, and state directory already use that word.Verification
uv run --frozen pytest: 967 passedRollout
Mac: rebuild (
hooks.jsoncommands change). Server:git pulland re-run the bootstrap script. Anyone callingverification_session.py checkby hand switches toverify.🤖 Generated with Claude Code