state: auto-push current-state.md on session stop [hook]
This commit is contained in:
parent
0d556d3cdd
commit
d285af51fb
1 changed files with 4 additions and 3 deletions
|
|
@ -1,10 +1,11 @@
|
|||
v:1
|
||||
# current-state
|
||||
|
||||
ACTIVE: Workflow-consolidation build from Pi's recovered design is mostly live: v:1 state schema, state-sync skill, demoted signal/CLAUDE.md block, governance doc, and the scoped auto-push Stop hook (current-state.md only, built + activated + push path verified). Pending Kisa OK: the global CLAUDE.md + Pi AGENTS.md startup edits (diffs shown to Kisa).
|
||||
NEXT (agent, in order): (1) Kisa approves the startup-edit diffs; Claude applies them to global CLAUDE.md + Pi AGENTS.md (add state-sync pull+read; demote Pi AGENTS.md embedded block; modernize skill section). (2) Pi: re-design option b — broaden git auto-versioning beyond current-state.md to research artifacts (policy/regulatory docs, TriLane-fed intelligence, blog) for the research workflow. (3) Claude: build the readiness model from Pi's design (rename coverage->readiness, rules-to-config, patient/line/shipment grouping + verdict, device-keyed override+recompute, require-plan-type + remove guesser, frontend nesting). (4) Claude: review Pi's AIOS + Automated Blog plans and recommend. MCP parity = phase 2.
|
||||
ACTIVE: Workflow-consolidation build from Pi's recovered design is COMPLETE: v:1 state schema, state-sync skill, demoted state blocks (signal/CLAUDE.md + Pi AGENTS.md), governance doc, scoped auto-push Stop hook (live + verified), and startup edits applied to global CLAUDE.md + Pi AGENTS.md (backups *.bak-2026-06-24). Both agents now read current-state.md at startup via state-sync.
|
||||
NEXT (agent, in order): (1) Pi: re-design option b — broaden git auto-versioning beyond current-state.md to research artifacts (policy/regulatory docs, TriLane-fed intelligence, blog) for the research workflow. (2) Claude: build the readiness model from Pi's design (rename coverage->readiness, rules-to-config, patient/line/shipment grouping + verdict, device-keyed override+recompute, require-plan-type + remove guesser, frontend nesting). (3) Claude: review Pi's AIOS + Automated Blog plans and recommend. MCP parity + skills-as-git-repo = phase 2. To fully arm the Stop hook this session, open /hooks once or restart.
|
||||
|
||||
## Decisions (last 8)
|
||||
- 2026-06-24 [CC]: Applied the startup edits — build complete. Global CLAUDE.md Step 1 now runs the state-sync read of current-state.md; Pi AGENTS.md embedded state block demoted to a pointer, skill section modernized, state-sync added. Backups at *.bak-2026-06-24. Workflow-consolidation core: schema + skill + governance + demoted blocks + auto-push hook + startup edits, all done.
|
||||
- 2026-06-24 [CC]: Built + activated the scoped auto-push Stop hook (~/.claude/hooks/state-autopush.sh + ~/.claude/settings.json Stop) — commits + pushes current-state.md only on session stop, never `git add .`. Push path verified. Kisa chose hook option a; option b (broaden auto-versioning to research artifacts) handed to Pi to re-design for the research workflow.
|
||||
- 2026-06-24 [CC]: Recovered Pi's workflow-consolidation design from its session log (Pi finalized it in chat but never wrote it to a file) to docs/workflow-consolidation-design-2026-06-24-pi-recovered.md. Built v:1 state schema + state-sync skill + governance doc; demoted CLAUDE.md embedded state block. Corrected Pi's Stop hook to scope to current-state.md, not `git add .`.
|
||||
- 2026-06-24 [Pi]: Workflow consolidation design completed (v:1 schema, read/write + commit/push protocol, Stop-hook automation, skills + MCP parity, drift-to-skill table, universal git versioning). Ready for Claude implementation.
|
||||
|
|
@ -32,4 +33,4 @@ NEXT (agent, in order): (1) Kisa approves the startup-edit diffs; Claude applies
|
|||
## Tip
|
||||
State protocol: read = `git pull --rebase` then read this file (warn if Updated > 24h old); write = edit ACTIVE/NEXT, append one author-stamped decision, then commit + push. Full protocol in the `state-sync` skill. TriLane = searchable archive, not live state.
|
||||
|
||||
## Updated: 2026-06-24 (CC: built + activated the scoped auto-push Stop hook (current-state.md only); foundation live [v:1 schema, state-sync skill, governance, demoted signal/CLAUDE.md block]. Kisa chose hook option a; option b -> Pi to re-design for the research workflow. Pending Kisa OK: global CLAUDE.md + Pi AGENTS.md startup edits. NEXT: apply startup edits, then readiness-model build.)
|
||||
## Updated: 2026-06-24 (CC: workflow-consolidation build COMPLETE — v:1 schema, state-sync skill, demoted state blocks, governance, scoped auto-push Stop hook (verified), startup edits to global CLAUDE.md + Pi AGENTS.md (backups saved). Option b -> Pi to re-design for the research workflow. NEXT: Pi designs option b; Claude builds the readiness model.)
|
||||
|
|
|
|||
Loading…
Reference in a new issue