Repository navigation
docs: umbrella-centric, harness-independent development model - #256
Conversation
Rewrite the umbrella rulebook around one development model and clean up the documentation that contradicted or had gone stale alongside it. Development model (AGENTS.md): - Rule 4 now states the session model instead of banning worktrees: a session roots at the umbrella and edits every repo through its own worktree under <umbrella>/.worktrees/<slug>/<repo>/, so the tracked submodule checkouts stay at their gitlinks and clean. A new "The development model" section spells out the root/worktree rule, the two ownership scopes (exclusive vs safely-shared), the concurrency rules (session-scoped --tag / bed_domain; sync/verify as the only gitlink writers), producer-first landing, and the precise invocation (./charly/bin/charly task <name>). - Rule 9 (session ownership) now names the worktree as owned state. - Harness names leave the policy prose: rule 8 splits "identical-by-design" (gate scripts + reasonix settings, diff-checked by task harness) from "deliberately-forked" (per-harness settings/workflows, recorded in HARNESS-PARITY.md); the Hooks doctrine is reworded harness-neutrally. - Invocation examples use the precise form; rule 6 no longer names `plugins` (not a submodule). Cleanup: - .gitignore: .claude/worktrees/ -> .worktrees/. - HARNESS-PARITY.md: rewritten as a current parity map (the old doc still described the initial plan and named deleted scripts/paths). - DOC-VERIFICATION.md and PLAN-mise.md: HISTORICAL banners so their frozen pins are not read as current. - README.md: maintenance commands use ./charly/bin/charly. Assisted-by: OpenCode DeepSeek V4.1 Flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: documentation plus one config/manifest file ( Blocks
Comment thread: empty (0 comments) — nothing to re-derive. Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
The `.gitignore` entry is manifest/config, which makes the PR a docs+manifest diff and (per the validator) puts it outside the documentation-only tier. It moves to the follow-up gitlink-bump PR together with the rest of the umbrella manifest plumbing, so this PR is genuinely documentation-only. Assisted-by: OpenCode DeepSeek V4.1 Flash (documentation reviewed)
Empty commit: the PR body (R7 verify output with the operator-authorized foreign-state skip, the full rule-compliance section, and the authoring-runtime evidence) was finalized after the previous head. Assisted-by: OpenCode DeepSeek V4.1 Flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: documentation-only — five Security screen: PASS (no T1–T4 finding — no injection/embedded directive, no secrets, no new dependency; the byte-identical gate scripts stay diff-checked by Blocks
Comment intake
Note on the pasted Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Empty commit: corrects the R5 rule answer (the .claude/worktrees removal is now in the named opencharly/charly#665, not this docs-only diff). Assisted-by: OpenCode DeepSeek V4.1 Flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: documentation-only (five Security screen: PASS (no T1–T4 finding — no embedded directive, no secret/egress, no new dependency, and no weakening of the gate scripts, Blocks
Comment intake
Considered, not blocking
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Carry the umbrella's own ignore-entry change here (this repo introduces the <umbrella>/.worktrees/<slug>/<repo>/ model in rule 4, so its manifest must change in lockstep): .claude/worktrees/ -> .worktrees/. A charly PR cannot modify this repo's file, so the cleanup was orphaned where it was previously routed. Reconcile rule 4 with rule 6: sdk and spec are NOT submodules (they resolve from the Go proxy at pinned go.mod requires), so rule 4 no longer lists them among the repos a session checks out as a worktree here. Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)
Empty commit: the body now carries the .gitignore change in THIS repo (not routed to a charly PR), reconciles rule 4 with rule 6 on spec/sdk, and sets the tier to analysed on a live system per the live gate output. Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)
Review — BLOCKHead SHA: Change class: documentation plus one config/manifest file ( Blocks
Comment intake
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS (no T1–T4 finding — no embedded directive/secrets/egress/new dependency; the AGENTS.md rewrite preserves the landing/attribution/no-force-push/no-direct-push rules and the byte-identical gate-script diff-check, and only documents the existing identical/umbrella-only/forked split). Comment intake: all four prior bot comments are Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS (no T1–T4 finding — no embedded directive, secret/egress, or new dependency; the rewrite preserves the byte-identical gate-script diff-check, the rule-9 session-ownership guard, and the landing/attribution/no-force-push/no-direct-push rules, and only documents the existing identical/umbrella-only/forked split). Comment intake: all five prior bot comments Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…#258) * chore: sync gitlinks — adopt charly main (the umbrella session model) Run the umbrella's own `charly task sync` (policy B) now that opencharly/charly#666 and #256 have merged. This bumps the `charly` gitlink from 8992f79a to c70c9ec4 (charly main, which contains the rulebook pointer, the CLAUDE.md symlink, and the dead .claude/worktrees gitignore cleanup) and advances the other default-branch submodules whose upstream moved (docs, dotgithub, marketplace, pkg-arch, plugin-dsh, layer-charly-*). distro-* are unchanged (policy B already held). This is the sanctioned sync, not a hand-pin: `charly task sync` computes every pin, and `charly task verify` passes on the resulting tree. Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated) * chore: re-freeze the PR body against the final head Empty commit: the body adds the authoring-runtime identity evidence and the live execution evidence for the pinned charly content (go build/vet/test + binary build). Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)
Summary
Rewrite the umbrella rulebook around ONE development model and clean up the
documentation that contradicted it or had gone stale, and adopt the model's ignore
entry in this repo's own
.gitignore.The development model (AGENTS.md)
umbrella and edits every repository that exists here as a submodule through its own
worktree under
<umbrella>/.worktrees/<slug>/<repo>/, branched off freshorigin/main.The tracked submodule checkouts stay at their gitlinks and clean, so
verifypasses.sdk/specare explicitly NOT submodules (they resolve from the Go proxy), so theyare not listed — reconciled with rule 6.
ownership scopes (exclusive: worktree, branch/PR, worktree-local binary, generated
state — safely-shared: umbrella root, plugin cache, repo cache, image store, each with
its protection named); the concurrency rules (session-scoped
--tag/bed_domain;sync/verifyas the only gitlink writers); producer-first landing; and the preciseinvocation (
./charly/bin/charly task <name>).diff-checked by
task harness), umbrella-only (hooks/pre-commit), anddeliberately-forked (per-harness settings/workflows). The Hooks doctrine is reworded
harness-neutrally.
plugins(not a submodule); invocation examples use the precisebinary path.
.gitignore(this repo)Adopt the model's ignore entry here:
.claude/worktrees/→.worktrees/. This repointroduces the
<umbrella>/.worktrees/<slug>/<repo>/path in rule 4, so its manifest mustchange in lockstep — and a charly PR cannot modify this repo's file, which is why the
cleanup is carried here rather than routed away.
Cleanup of stale docs
HARNESS-PARITY.md: rewritten as a current parity map (the old doc described theoriginal implementation plan and named deleted scripts and a
./pluginssubmodule).DOC-VERIFICATION.md,PLAN-mise.md: HISTORICAL banners, so their frozen pins are notread as current.
README.md: maintenance commands use./charly/bin/charly.Companion
The charly half is opencharly/charly#666 (rulebook pointer +
CLAUDE.mdsymlink +its own
.gitignorecleanup). The charly gitlink bump lands in a follow-up PR after #666merges (rule 5 — pin only merged refs).
How tested
Change class: documentation + a non-behavioral manifest sweep (five
.mdfiles + thedead
.claude/worktrees/ignore entry). Run from the umbrella root with this session'sworktree binary:
task verify(R7) — ran on the final tree. Real output:The single failing step is foreign state, not this change — operator-authorized:
the tracked
charly/checkout sits at another session's LIVE, unmerged branch(
git -C charly rev-parse HEAD=425f2a70…,merge-base --is-ancestor … origin/main= NOT-an-ancestor), and this PR touches no gitlink. Policy B and the opencode gate pass.
Rule 9 forbids touching that checkout; the operator explicitly authorized proceeding with
this one foreign-state step failing.
R5 claim-keyed grep self-test (this repo) — the only surviving references are
historical CHANGELOG:
Final tree:
Rulebook compliance
edited in this session's own worktree; the tracked
charly/checkout was not touched.git -C): upheld.go.work): N/A — none added.application; rule 4 lists only real umbrella submodules, reconciled with rule 6.
feat/umbrella-dev-model; no force-push, no direct push tomain. (During preparation a commit briefly touched the localmain; it was reset toorigin/mainbefore any push — no remote mutation.)task verifyran on the final tree with its full outputabove, including the one foreign-state failure the operator authorized to skip.
task harnesspasses; the parity doc states theidentical/umbrella-only/forked split.
charly/checkout was leftexactly as found; the blocked verify step was escalated rather than touched.
ignore cleanup; rule 4↔6
spec/sdkcontradiction).the rule; the worktree/harness/invocation wording lives once.
state, named in full.
reference survives in this repo; the dead
.gitignoreentry is removed.worktree-built binary (
.worktrees/umbrella-dev-model/charly/bin/charly,2026.268.1428); no shared binary installed.Change classification
removal; no code, no build, no runtime behavior).
task verify+task harness+task self-teston the final tree.umbrella gate — ran live with retained output; the complete gate did not pass, solely
on the foreign charly checkout the operator authorized to skip).
Authoring-runtime identity (attribution evidence)
The authoring runtime is OpenCode on the
ollama-cloudprovider, model IDollama-cloud/deepseek-v4.1-flash, resolved from the provider's own registry(
opencode models --provider ollama-cloud, where it appears as "DeepSeek V4.1 Flash",status active).
Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)