Repository navigation
docs: reference charly/SOUL.md from the umbrella agent surface - #351
Conversation
Every agent that works in the umbrella works as charly — one identity across every harness. This points each harness at the identity behind the rules, without copying it: the single canonical soul lives in charly/SOUL.md (added by opencharly/charly#789), and the umbrella references it. - AGENTS.md: a first-read pointer, reaching every harness that reads the neutral rulebook. - .opencode/instructions.md: an "You are charly" section in the opencode binding. - .pi/extensions/charly-gates.ts: a "You are charly" block in the rules the extension injects into the system prompt every turn, plus the SOUL.md pointer. Rule 8 (harness config lives only in the umbrella) keeps the wiring umbrella-side; no mirror in charly/. The pinned charly/ gitlink advances by task sync, not by hand. Refs opencharly/charly#787 Assisted-by: OpenCode DeepSeek V4.1 Flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: docs + harness/hook source — the body's "documentation-only" label is not supported by the diff. Comment thread: empty (0 comments) — no maintainer-account sign-off present; nothing to disposition. Blocks
Everything else (A1 body/footer ordering — Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
No source change — the review BLOCK was a change-class/tier mismatch in the body (the .pi .ts edit is harness source, not documentation) plus an ambiguous authoring-runtime line, both fixed in the PR body. This empty commit mints a fresh head so the required pr-validator re-reads the corrected body. Assisted-by: OpenCode ollama-cloud DeepSeek V4.1 Flash (fully tested and validated)
Review — PASSHead SHA: Security screen: PASS — the three additions are prose only; the Checklist: All applicable rules PASS or NA. Comment dispositions:
Re-derived (not inherited): diff is exactly 3 files / +13 (5+4+4), matching the body; the pi insertion is inside the existing template literal with no backtick/ Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
charly/VISION.md moved to the umbrella repo root (opencharly/opencharly), where every agent session roots. Repoint the four tenet references. Refs opencharly/opencharly#351. Co-authored-by: atrawog <[email protected]>
) The window-based takeover asks the owner to reply with their status or HANDING OVER, not to quote an ETA — an ETA is a promise, not the progress signal (a completed validator run is), and it is ceremony without authority. Aligned with the umbrella AGENTS.md rule 7, which no longer requests an ETA. The rendered marketplace copy regenerates once this source tags (producer-first). Refs opencharly/opencharly#351. Co-authored-by: atrawog <[email protected]>
* docs!: relocate SOUL/VISION/GRIEVANCES/LIBERATION to the umbrella The identity and the thesis pages now live in the umbrella repo root (opencharly/opencharly), where every agent session is rooted and where AGENTS.md already pointed. This repo keeps its own AGENTS.md rulebook (rule 4: a subrepo's rulebook stays in its repo); the README's links to the moved pages become absolute umbrella URLs. Producer-first: the umbrella leg adds the four files; this leg removes them here. Refs opencharly/opencharly#351. * docs: re-freeze the charly narrative-relocation head No source change — the review BLOCK was an attribution-only finding in the PR body (a mis-named provider model), fixed there. This empty commit mints a fresh head so the required pr-validator re-reads the corrected body. --------- Co-authored-by: atrawog <[email protected]>
… dir (supersedes #16) (#17) * feat(docs): read the narrative root pages from a separate --narrative dir The four narrative sources (SOUL.md, VISION.md, GRIEVANCES.md, LIBERATION.md) moved from the charly repo root to the umbrella repo root, where every agent session roots and where the umbrella AGENTS.md already pointed. The catalog walk (candy/, box/, the docs: node) and the landing page stay on the charly checkout, so a second source dir is needed for the root narrative pages. --narrative mirrors --plugins: it defaults to <root> (the pre-move one-repo location, unchanged behaviour) and lets the docs workflow point the narrative passes at the umbrella checkout while --root stays on charly. Covered by TestGenerateNarrativeDirSeparateFromRoot, which proves the four root pages project the narrative dir's text (not the root's); the test is proven live by mutating one call site back to root and confirming it goes red. Refs opencharly/opencharly#351. * test(docs): make the docs-resolve R10 bed exercise the --narrative seam The bed ran the generator with the default narrative dir (== --root), so it passed identically before and after the --narrative change and proved nothing about the changed path. Fix that: - the generate step now passes --narrative at a fixture narrative dir whose four root-page bodies DIFFER from the identical-named files beside --root; - a new step asserts the four pages project the narrative dir's text and NOT the root's, so the bed goes red if the seam is unwired (addresses A2); - the docs-resolve bed comment and the soul step now describe the narrative source correctly. charly check run docs-resolve → PASS (steps=6), output in the PR body (addresses A1). Refs opencharly/opencharly#352. * test: re-freeze the --narrative seam head No source change — the review BLOCK re-derived the PRE-edit body. The fresh head carries the verbatim charly check run docs-resolve output (PASS, steps=6) and the per-step check-live detail. This empty commit mints a fresh head so the required pr-validator reads the final body. * test: re-freeze the --narrative seam head for the final body No source change — the fresh head carries the module gates re-run at 90ef145, a fresh charly check run docs-resolve PASS (steps=6) transcript, and the allowlist semantics ([allowlisted=N] is lines an allowlist entry claimed, excluded from warnings — not a warning). This mints a fresh head so the required pr-validator reads the final body. --------- Co-authored-by: atrawog <[email protected]>
Summary
Wires the charly soul into the umbrella's agent surface, so every agent that works here —
on every harness — knows it works as charly, and where the identity behind the rules lives.
This is the delivery leg of the SOUL work (opencharly/charly#789 adds
charly/SOUL.md). Thesoul is a single canonical document in the
charlyrepo; the umbrella references it andnever copies its text (R3). Because rule 8 was reversed upstream — harness config lives only
in the umbrella — the delivery wiring is umbrella-side only, with no mirror in
charly/.Three surfaces:
AGENTS.md— a first-read pointer near the top: every agent here works as charly, andcharly/SOUL.mdis who that is. This reaches Claude Code, Codex, Kimi/reasonix, and any otherharness that reads the neutral rulebook.
.opencode/instructions.md— an "You are charly" section in the opencode binding..pi/extensions/charly-gates.ts— a "You are charly" block prepended to the existingcondensed rules that the extension injects into the system prompt every turn (it survives
compaction), plus the
charly/SOUL.mdpointer.The pointers name the file; they do not restate the soul. One source, referenced — not copied.
Change class. This is not documentation-only:
.pi/extensions/charly-gates.tsis harnesssource whose runtime output (the rules block injected into the system prompt every turn) changes.
The change class is harness-config source + documentation, and the tier below reflects that.
Producer-first. The reference resolves against the pinned
charly/gitlink, soopencharly/charly#789 must merge first (the umbrella records the charly gitlink). This PR does not
bump that gitlink — the reference is path-relative prose; the gitlink advances by the normal
task sync, not by hand.How tested
Head
5043c9a3f02c1839538093f4ebf5daff4994cad7, session worktree.worktrees/soul-md/opencharly(branched off freshorigin/main = 16165dc). The head carries one empty re-freeze commit on top ofc5859cd7— abody-only review fix;
git diff c5859cd7..5043c9a3is empty, so thetask verifyoutput below(measured on
c5859cd7) applies unchanged to the current tree.The harness-config gate —
node scripts/check-harness-config.mjsThe pi extension still loads and injects the identity block
The extension has no harness runtime in CI; it was exercised by importing the real module with a
stubbed
typeboxand driving itsbefore_agent_starthandler:The pinning gate —
./charly/bin/charly task verifyRulebook compliance
Umbrella
AGENTS.mdrules applicable to this change:.worktrees/soul-md/opencharly; the tracked submodule checkouts are untouched.AGENTS.mdand harness config; nothing is mirrored intocharly/.SOUL.md: a future-proof identity for charly and every charly agent charly#787 was filed and CLAIMED before branching.
charly/SOUL.md; the umbrella referencesit. The three surfaces carry a one-line pointer each, not the soul.
git statusinspected; only the three files are staged; no gitlink ishand-edited; PR-only; no force-push.
task verifyoutput pasted above on the final tree.Change classification
.pi/extensions/charly-gates.ts) + documentation(
AGENTS.md,.opencode/instructions.md)../charly/bin/charly task verifyon the final tree (9/9, including thecheck-pi-gatesandcheck-harness-configchecks that exercise the changed extension), plusthe direct execution of the changed code path pasted above.
fully tested and validated—task verifypassed on the final tree(
c5859cd7) and the changed path (the extension'sbuildRulesBlockinjection) was executedwith retained output (
node parsecheck2/run.mjs→contains identity line: true).Authoring runtime: the footer names this session's runtime — harness OpenCode, provider
ollama-cloud, modeldeepseek-v4.1-flash— as exposed to the session; it is not asserted frommemory.
Dependency chain (producer-first)
charly/SOUL.md(producer; must merge first);SOUL.md → soul.md;/charly-build:docsskill-entity sweep;plugin-docs tag; then opencharly/marketplace — regenerate the corpus.
Agent:
soul-md· sessionses_ef8af7149ffe5G0oj20EhTQn6VAssisted-by: OpenCode ollama-cloud DeepSeek V4.1 Flash (fully tested and validated)