state: auto-push current-state.md on session stop [hook]
This commit is contained in:
parent
00cff7a5f8
commit
0d556d3cdd
1 changed files with 4 additions and 3 deletions
|
|
@ -1,10 +1,11 @@
|
|||
v:1
|
||||
# current-state
|
||||
|
||||
ACTIVE: Claude Code is implementing the workflow-consolidation build from Pi's recovered design. Live: this v:1 state schema, a shared `state-sync` skill, the demoted CLAUDE.md state block, and the drift-to-skill governance doc. Pending Kisa review: the auto-commit/push Stop hook (must be scoped to current-state.md, NOT `git add .`) and the global CLAUDE.md / Pi AGENTS.md startup edits.
|
||||
NEXT (agent, in order): (1) Claude: finish workflow-consolidation — scope + wire the Stop hook (current-state.md only), edit global CLAUDE.md + Pi AGENTS.md startup to pull+read current-state.md and drop redundant reads, decide MCP parity. (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.
|
||||
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.
|
||||
|
||||
## Decisions (last 8)
|
||||
- 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.
|
||||
- 2026-06-23 [CC]: Workflow-consolidation brief handed to Pi (architect-reviewed); clean-start commit of current-state.md, context recovery artifacts gitignored, pushed to Forgejo + GitHub.
|
||||
|
|
@ -31,4 +32,4 @@ NEXT (agent, in order): (1) Claude: finish workflow-consolidation — scope + wi
|
|||
## 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: recovered Pi's workflow-consolidation design from its session log and built the foundation — v:1 schema, state-sync skill, governance doc, demoted CLAUDE.md state block. Pending Kisa review: scoped Stop hook + global startup edits. NEXT: finish consolidation, then readiness-model build.)
|
||||
## 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.)
|
||||
|
|
|
|||
Loading…
Reference in a new issue