Repository navigation
fix(agents): restore the four root narratives + repoint the identity references - #357
Conversation
…references Content loss: charly#791 removed SOUL.md/VISION.md/GRIEVANCES.md/LIBERATION.md from the charly root, and the umbrella PR meant to add them (#353) was auto-closed, so the four canonical narratives existed in NO main. Restores them at the umbrella root — where every agent session is rooted — verbatim from charly@3f79813e^ (byte-identical), and repoints the umbrella's references from charly/<file> to the umbrella-root <file>. - SOUL.md, VISION.md, GRIEVANCES.md, LIBERATION.md: restored verbatim. - AGENTS.md, .opencode/instructions.md, .pi/extensions/charly-gates.ts: `charly/SOUL.md` -> `SOUL.md`. The docs generator seam that reads the narratives at this new location is the follow-on leg (plugin-docs --narrative). Closes #356 Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)
Review — BLOCKHead SHA: Change class: body declares documentation-only, but the diff also modifies a TypeScript source file ( Comments: none (thread empty — nothing to disposition). Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
No source change — the review BLOCK was a change-class/tier mislabel (the .pi .ts edit is harness source, not documentation) and a non-repo-wide R5 sweep, both fixed in the PR body. Also caught up main via gh pr update-branch (BEHIND). This empty commit mints a fresh head so the required pr-validator re-reads the corrected body with the full live thread. Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: NOT documentation-only — four added narrative Security screen: T3 scope mismatch — the body asserts "no code" while the diff edits a Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: harness-config source + documentation — four added narrative Security screen: no finding (no secrets/egress/eval; no guardrail weakened — the Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
No source change — the sole residual validator finding was the Assisted-by footer tier (documentation reviewed, forbidden for a code/config-touching diff). The body already proves fully tested and validated (task verify 9/9 + the changed extension path executed); the footer now matches. Fresh head so the required pr-validator re-reads it. Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)
Review — PASSHead SHA: Change class: harness-config source + documentation (4 restored narrative Security screen: PASS — no secrets/egress/ Checklist: All applicable rules PASS or NA. Comment dispositions:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…ative (#149) (#150) The four root narratives moved from the charly root to the umbrella root (opencharly/opencharly#357, rewritten by #362). deploy.yml still ran the generator with --root /tmp/charly only, which no longer holds them. - clone the umbrella at the pinned commit and pass it as --narrative - bump the charly pin b8241dcd -> 3cabeb3f (a charly WITHOUT the narratives, so the drift gate proves the narratives come from the umbrella) - bump the plugin-docs tag v2026.277.1529 -> v2026.278.0442 (the --narrative flag) - regenerate the content tree (soul/vision/grievances/liberation now project the umbrella root files) Closes #149. Relates to opencharly/opencharly#356. Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system) Co-authored-by: atrawog <[email protected]>
) * docs(agents): SOUL identity + a 10-rule rulebook (reland, supersedes #353) The #353 rulebook rewrite, relanded off current main after #353 was auto-closed at the validator's 5-verdict limit (its narratives landed via #357, its seam via plugin-docs#17; the rulebook cut itself did not). AGENTS.md becomes the identity + the WHAT/MUST, with the skill-owned prose removed and pointed at its owner: - a condensed 'You are charly' identity opening (SOUL.md is the full text); - 11 rules -> 10: merge pins + Policy B; fold the engineering-rules list into a single discipline rule 10; delete the prose the skills already own (identity/coordination -> git-workflow B2b; main-vs-subagent -> agents orchestration-model; subagent lifecycle -> agents hooks-and-lifecycle; development model -> git-workflow); - remove the 'OWNING - ETA' ask from the coordination protocol; - keep every MUST (R1/R3/R4/R5/R6/R7/R10, live-or-skip, PR-only landing) and carry soul-md's R7 nuance (run the gate the change class requires) and the umbrella-root SOUL.md pointer. Rule-number citations swept (rule 9->2, 11->9, 8->5, 4->2) across .opencode, .pi, the gate scripts, and the charly.yml check labels. Refs #352; preserves soul-md's #357/#365 work. * docs(agents): fix the 11->10 sweep's stale prose and restore two dropped clauses Addresses the #366 BLOCK (R5/B14(d), R5/B10): - the sweep was mechanical in three places, leaving stale framing that contradicted the new rule 9: tracker.ts and instructions.md both claimed rule 9 'names two branches' (a structured todo primitive vs a durable file) — the new rule 9 states only the durable ledger. Reworded to match. - restore two clauses the fold dropped: rule 3 keeps the sdk/spec-are-recorded-but- not-pinned-by-charly statement (builds resolve them from the Go proxy), and rule 10 keeps the 'no R10 class exemption' clause (a plugin-library/schema change runs the full assembled disposable bed; a bed-exemption sign-off is never accepted). No MUST is subtracted. The sweep is now evidenced by a real grep in the PR body. Refs #352. * docs: re-freeze the reland head No source change — the head now carries the final body: the R5 sweep is evidenced by a pasted grep, and the two stale-framing hits + two dropped clauses are fixed in bb492c6. This mints a fresh head so the required pr-validator reads the final body against the fixed tree. --------- Co-authored-by: atrawog <[email protected]>
Summary
Restores the four canonical root narratives at the umbrella root — the content that was lost when
charly#791deleted them from the charly root and the umbrella PR meant to add them (#353) was auto-closed. After this change,SOUL.md,VISION.md,GRIEVANCES.md, andLIBERATION.mdexist again, and every umbrella reference to them resolves.RCA: #356.
What
SOUL.md(72 lines)charly@3f79813e^(the commit before #791 deleted it)VISION.md(64 lines)GRIEVANCES.md(295 lines)LIBERATION.md(186 lines)AGENTS.mdcharly/SOUL.md→SOUL.md.opencode/instructions.mdcharly/SOUL.md→SOUL.md.pi/extensions/charly-gates.tscharly/SOUL.md→SOUL.md(insidebuildRulesBlock())Restored files are byte-identical to their source (sha256 verified). The repoint is required because the narratives now live at the umbrella root, where every agent session is rooted — not in the
charlysubmodule.The lost-state, and why this fixes it
charly#791(3f79813e, merged 21:25) removed the four files and repointed charly'sREADME.mdatopencharly/opencharly/blob/main/{SOUL,VISION,GRIEVANCES,LIBERATION}.md— URLs that 404'd. The umbrella add (#353) had already hit 5 validator BLOCKs and was auto-closed. Net: the four files existed in nomain.Why this ordering
For a move that relocates content out of a shared root, the replacement must be merged at its new home before the removal merges — or both land in one atomic change. The relocation landed delete-first, so the content vanished. This PR is the missing add leg.
Follow-on (separate legs, not this PR)
plugin-docs--narrative <umbrella>(feat(docs): read the narrative root pages from a separate --narrative dir plugin-docs#16) — the docs generator must read the narratives at the umbrella root.docsregeneration at the moved narratives.How tested
Head
3fbf44b1ca9a223981d4ad7def76f221562e012b, session worktree.worktrees/soul-md/oc-restore. The authored change is commit08196acfoff freshorigin/main; the head then mergesmain(viagh pr update-branch, for #354/#355) and carries two empty re-freeze commits — body-only review fixes, no source change (git diff origin/main...HEADshows only the 7 files above).Byte-identical recovery
No stale references remain — repo-wide sweep
The ONLY remaining matches are in
CHANGELOG/— dated history of the #351 landing, which R5 explicitly sanctions as the home for retired identifiers. Every current reference (rulebook, harness config,README.md,astro.config.mjs) resolves;git grepdoes not descend into submodules (rule 2), and the submodule-side references are the doc-generator's, handled by its own follow-on leg.The harness-config gate
The pi extension still loads and injects the identity pointer
The pinning gate —
./charly/bin/charly task verifyRulebook compliance
/charly-internals:git-workflow,/charly-internals:root-cause-analyzer,/charly-internals:cutover-policy.charly/<narrative>reference survives the sweep.charly#791already removed the charly copy, so there is no second copy.git statusinspected; PR-only; no force-push; no submodule gitlink edited.task verifyoutput pasted above.Change classification
AGENTS.md/.opencodepointers are documentation, but.pi/extensions/charly-gates.tsis TypeScript source (the changed line is a string literal insidebuildRulesBlock()), so this is not a documentation-only change../charly/bin/charly task verifyon the final tree (9/9, including thecheck-pi-gatesandcheck-harness-configchecks that exercise the changed extension) + the direct execution of the changed code path pasted above.fully tested and validated—task verifypassed on the final tree and the changed path (the extension's identity-block injection) was executed with retained output.Owning skill:
/charly-internals:cutover-policyRelated: #352 (the relocation wave), opencharly/plugin-docs#16 (the generator seam). Closes #356.
Agent:
soul-md· sessionses_ef8af7149ffe5G0oj20EhTQn6VAssisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)