Skip to content

chore: harness parity with charly — rulebook, pi/claude/opencode/reasonix config, skills - #1

Merged
atrawog merged 2 commits into
mainfrom
feat/harness-parity
Aug 22, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/harness-parity

Conversation

@atrawog

@atrawog atrawog commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Implement HARNESS-PARITY.md: the umbrella now carries the same AI + harness
configuration and instruction discipline as charly/, adapted to the
umbrella's reality (gitlink pinning, policy B, no worktrees, no Go at the
root). All config lands at the umbrella root — nothing is written inside a
submodule.

  • Rulebook: AGENTS.md/CLAUDE.md — the 8 umbrella rules + skill
    dispatcher, engineering rules (R0–R10 scaled), PR body contract,
    attribution tiers, hooks doctrine.
  • pi (.pi/): same 6 pinned packages as charly; umbrella-gates.ts
    extension (gate interception + per-turn rulebook injection +
    umbrella_load_skills); 6 prompts (sync replaces cutover); reviewer /
    worker / validator sub-agents; README.
  • Claude Code (.claude/): settings, hooks (pre-commit-gate.sh,
    pre-push-gate.sh, gitcmd.py, gate_test.py — identical to charly by
    design), verify-status + triage-check-failure workflows.
  • Skills (.agents/): marketplace + 6 skill symlinks into the plugins/
    submodule (umbrella subset: internals git-workflow/agents/RCA/strict-policy,
    automation agent/alias), generated by scripts/link-skills.sh.
  • opencode + reasonix: opencode.json + .opencode/plugin/ umbrella-gates.ts + pr-validator agent; reasonix.toml +
    .reasonix/settings.json (identical hooks wiring).
  • Drift control: scripts/check-harness-parity.sh (task harness)
    diff-checks the shared-by-design files against charly/.

How tested

1. Pinning gate (R7)

bash scripts/verify-pins.sh on the final tree:

verify-pins: OK — 22 submodules, policy B holds

2. Harness parity

$ bash scripts/check-harness-parity.sh
check-harness-parity: OK — 6 shared harness files identical to charly/

3. Gate behavior

python3 .claude/hooks/gate_test.py → 39 case(s), 0 failure(s).

Manual gate checks (exit 2 == BLOCK):

git push --force origin feat/x     → pre-push-gate exit 2
git push origin main               → pre-push-gate exit 2
git commit --no-verify -m x        → pre-commit-gate exit 2
git push origin feat/x             → allowed (exit 0)
git commit -m "fine"               → allowed (exit 0)

4. Skills + dispatcher

scripts/link-skills.sh → linked 6 skills; AGENTS.md dispatcher table
parses 7 rows with the pi extension's parser.

5. Submodule cleanliness

task map / git status --porcelain → only root-level changes; no dirty
submodules (gitlinks untouched — no pins moved).

Rulebook compliance

Rule Status Evidence
1. No edits inside submodules ✅ All new files at umbrella root; git status clean for all 22 submodules
2. Submodule git via git -C ✅ Only read-only ops used (git -C charly submodule update --init)
3. No nested go.work ✅ Not touched
4. No worktrees ✅ Worktree tools deliberately not ported
5. Only merged refs pinned ✅ No pins moved (gitlinks unchanged)
6. Policy B equality ✅ verify-pins: OK — 22 submodules, policy B holds
7. Subrepo rulebooks read ✅ charly AGENTS.md/CLAUDE.md/hooks read before adapting
8. Harness parity ✅ check-harness-parity: OK — 6 shared files identical

Change Classification

  • Change class: chore (harness/config, no product code)
  • Verification gate: verify CI (verify.yml) + local scripts/verify-pins.sh
  • Attribution tier: fully tested and validated

Assisted-by: pi (Claude/pi agent), Andreas Trawoeger

…onix config, skills

Mirror charly/'s AI + harness configuration at the umbrella root (per
HARNESS-PARITY.md):
- AGENTS.md/CLAUDE.md: 8-rule umbrella rulebook with skill dispatcher,
  engineering rules, PR body contract, attribution tiers, hooks doctrine
- .pi/: same 6 packages, umbrella-gates.ts extension (gates + rules
  injection + umbrella_load_skills), 6 prompts, subagents, README
- .claude/: settings, hooks (pre-commit/pre-push gates + gitcmd + tests,
  identical to charly), verify-status + triage workflows
- .agents/: marketplace + 6 skill symlinks into plugins/ (link-skills.sh)
- opencode.json + .opencode/plugin/umbrella-gates.ts + pr-validator
- reasonix.toml + .reasonix/settings.json (identical hooks wiring)
- scripts/check-harness-parity.sh (task harness) keeps shared files in
  sync with charly; README documents the parity policy
@atrawog
atrawog merged commit ed62797 into main Aug 22, 2026
1 check passed
@atrawog
atrawog deleted the feat/harness-parity branch August 22, 2026 09:26
@atrawog atrawog mentioned this pull request Sep 12, 2026
atrawog added a commit that referenced this pull request Sep 15, 2026
Root-causes the disjoint-evidence defect the validator flagged on this PR (R2 —
it was previously declared "outside this gitlink-only diff" and parked):

`.github/workflows/sync.yml` built its How-tested fence from
`tail -40 /tmp/sync-pins.log`. The log carries ~400 pin lines in ONE pass, so its
last 40 are the alphabetically-last slice — structurally unable to name the pins
this PR actually moves (charly is pin line #1). The moved paths were already
available to the workflow as $MOVED; the fix filters the producer log to exactly
those paths, so every moved gitlink's resolution is pasted and a missing line
surfaces as its own diagnostic.
github-actions Bot added a commit that referenced this pull request Sep 15, 2026
* chore: sync gitlinks

* docs: repair the sync PR body — real pin evidence for the 10 moved gitlinks, the task verify gate run, and the dotgithub range (empty re-trigger)

* ci(sync): render the moved-pin evidence, not a fixed log tail

Root-causes the disjoint-evidence defect the validator flagged on this PR (R2 —
it was previously declared "outside this gitlink-only diff" and parked):

`.github/workflows/sync.yml` built its How-tested fence from
`tail -40 /tmp/sync-pins.log`. The log carries ~400 pin lines in ONE pass, so its
last 40 are the alphabetically-last slice — structurally unable to name the pins
this PR actually moves (charly is pin line #1). The moved paths were already
available to the workflow as $MOVED; the fix filters the producer log to exactly
those paths, so every moved gitlink's resolution is pasted and a missing line
surfaces as its own diagnostic.

* docs: re-trigger validation with the current-head gate + workflow-leg evidence

* docs: re-trigger validation with the T4 range evidence + tree-equality proof

* docs: re-trigger validation with the count-independent R6 row

* docs: re-trigger validation

* docs: re-trigger with the MOVED definition + R8/R9 rows

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: atrawog <[email protected]>
Co-authored-by: atrawog <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Nov 14, 2026
…nto design/ (#1031)

The containerd image contract takes the name it now describes, and the reasonix
harness binding moves out of the repo root into design/ beside the design ledger.

reasonix loads instruction files only from the workspace root, so a binding that
moves off the root is delivered by nobody unless something prints it into the
session. The move therefore ships WITH the injection that keeps it loaded: the
existing SessionStart hook now emits the binding after the SOUL.md identity, and
scripts/check-harness-config.mjs gains check 7b, which asserts both halves (the
binding exists at its declared home, and the hook cats it) plus the self-test
mutations that prove each half can go RED.

The old filename's remaining citations live in six sibling repos, which the
umbrella never edits (AGENTS.md Part II #1); they are filed as #1028.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

Co-authored-by: aitrawog <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Nov 14, 2026
* docs: rename CONTAINERD-IMAGES.md to IMAGES.md and move REASONIX.md into design/

The containerd image contract takes the name it now describes, and the reasonix
harness binding moves out of the repo root into design/ beside the design ledger.

reasonix loads instruction files only from the workspace root, so a binding that
moves off the root is delivered by nobody unless something prints it into the
session. The move therefore ships WITH the injection that keeps it loaded: the
existing SessionStart hook now emits the binding after the SOUL.md identity, and
scripts/check-harness-config.mjs gains check 7b, which asserts both halves (the
binding exists at its declared home, and the hook cats it) plus the self-test
mutations that prove each half can go RED.

The old filename's remaining citations live in six sibling repos, which the
umbrella never edits (AGENTS.md Part II #1); they are filed as #1028.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

* docs(program): the schema-ownership RCA and the mechanism design

The RCA behind the remaining schema cutovers, and the design that replaces per-kind
"keeper" judgements with one wire discipline plus a checker.

Root cause: the cutover treated the wire shape as a constraint on the kind instead of as part
of the cutover, so every kind whose wire named an authored type stayed in spec and was
recorded as a keeper. Ten entities are still in that state.

Design: five invariants — opaque bodies on the wire, plugin-declared gates, composed
resolution with no base fallback, a process-blind threaded gate, and a citation-witnessed
ownership checker — plus one registry-driven acceptance test and an ordered migration whose
first cutover (the wire collapse) is already merged as opencharly/spec#322.

DESIGN.md additions, no scope reduction: a normative row for the deployment entity, a
D-SCH-7 wire rule, and the ownership check in the section-25 census.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)

* docs: the headline counts carry the commands that produced them

Review round: the PR body claimed the document holds its commands; now it does, for the three
counts a reader can re-run in one line each (the contract's defs, the kind words, and the four
dead re-exports).

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)

* docs: the stat at this PR's head (review round)

* docs: the dead-def sweep, and the counts claim narrowed to what is proven

Round 2: the document asserted more than it proved. §6 now carries the repo-wide sweep for
the four dead re-exports (three sites each: the def, its generated type, and the test that
pins it) and the remaining figures no longer claim a command they do not show.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)

* docs: the stat at the new head (review round)

* docs: the claim scoped to what section 6 proves (review round)

---------

Co-authored-by: aitrawog <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Nov 26, 2026
`opencharly/pod-kde-vnc-cdp` merged today (PR #1, tag v2026.330.2042): the KDE-over-VNC
desktop with the org's full CDP surface — a supervised, maximized Chrome as a Plasma window,
cdp-proxy on 9222, chrome-devtools-mcp on 9224, a CachyOS fixture subject image, and two
disposable beds (the pod, and the pod-to-pod cross-deployment CDP mechanism that replaced the
retired Fedora check-cross-pod-cdp, opencharly/distro-fedora#140).

- submodule `pod-kde-vnc-cdp` at its merged `main`, with `branch = main` (a leaf pin);
- the `kde-vnc-cdp` import, so `kde-vnc-cdp.check-kde-vnc-cdp-pod` and
  `kde-vnc-cdp.check-cross-kde-cdp-pod` are addressable and join `check-all-beds`;
- the README org-map row and the census 330 → 331.

The import is here only because its `main` now carries the project: the first attempt at this
PR (before the pod merged) made the umbrella FAIL TO LOAD — measured, `charly: error: …
import kde-vnc-cdp ("./pod-kde-vnc-cdp"): reading …/charly.yml: no such file or directory`.

*Agent: `kde-vnc-cdp` · Claude Code session `b88a10d8-cb6d-4efa-9495-4424321b1635`*
*Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)*

Co-authored-by: Andreas Trawoeger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant