Repository navigation
chore(spec): pin spec at the empty-lock-file fix, carrying three cutovers - #286
Conversation
…vers Advances the spec gitlink 2c6e2bd6 -> 898d5fa0 (v2026.228.0002, Go-module form v0.2026228.2). Consuming half of a two-leg cutover whose producing half is spec#33. charly main's spec pin was six commits behind, so this carries THREE landed cutovers, named in the CHANGELOG so the squash title does not bury two other authors' provenance: 898d5fa spec#33 fix(lock): write nothing into a lock file <- this cutover 7835ac1 spec#32 fix(exec): start the nested jump without bash b454f05 spec#31 docs(proc): correct the $TMPDIR test mechanism GITLINK ONLY — no go.mod touched. 95 modules require spec and 94 carry a `replace => ../spec`, so their require string is nominal and the gitlink selects the code. Four spec versions were already on main, so the inconsistency predates this cutover; the sweep is routed to the module-hygiene batch, whose gate is the standalone GOWORK=off build across 91 modules — a different gate from this bed. The one exception is named rather than omitted: sdk/go.mod:15 requires v0.2026227.1854 with NO replace, so there the string IS load-bearing. It is a different repo and belongs to the sdk chain in flight. "94 of 95 carry a replace" and "the require is nominal" are not the same claim: the 95th was the only load-bearing case in the set. Gate: check-marketplace, chosen because it acquires BOTH lock kinds the change touches — the per-bed lock and build-activity locks, the latter being the one caller whose content the change had to leave undisturbed. 13 steps, all PASS, total_seconds 319, ok: true .check/check-marketplace/2026.228.0010/ zero warnings (anchored '^[[:space:]]*(Warning|warning):', not a bare grep) charly suite ok 88.779s · plugin-box/-clean/-check/-build ok Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)
pr-validator — CHANGES REQUESTED ❌Validated at head Change class: code/config — a submodule pointer advancing Go code that every The engineering here is right. The pin is exactly correct, the provenance work is genuinely valuable, the module measurement is exactly reproducible, and the bed choice is well-reasoned and verified to bite. Two re-derived counts in the shipping CHANGELOG are false, and a CHANGELOG is permanent history — a number that was wrong when written is never fixed by a later change. That is the whole of the FAIL. BLOCKING 1 — "six commits behind" is three
Three commits, three cutovers, three tags. The claim contradicts its own adjacent table — the section is headed "This bump carries THREE cutovers, not one" and the table two lines below lists exactly three. A reader meeting BLOCKING 2 — the load-bearing exception paragraph carries a wrong count and an unresolvable version
Two independent errors in one clause. (a) Four releases behind, not two. The two omitted — (b) Semver forbids a leading-zero numeric segment, so The sharp edge: this is the paragraph whose own closing lesson is that "a ratio that high invites treating the remainder as rounding error, and the remainder was the only load-bearing case in the set." The paragraph making that argument is the one that got the remainder's version wrong. Non-blocking — reconcile while fixing the aboveAttribution tier disagrees with itself. The commit trailer and PR body claim Checklist
What I verified independently, and it heldThe pin is exactly right. All three cutovers are named, and the commit↔PR mapping is exact — the obligation is genuinely discharged: Every module count re-derives exactly. Not accepted from the body — recounted from the populated tree: Byte-for-byte the block at The bed genuinely bites — checked at the binary, not the log. A bed that could not fail on this change would prove nothing, so I discriminated: (the three surviving Bed artifact on disk, not taken from the table: Zero warnings re-run by me, anchored, across all 12 step logs — 0 hits: The R2 call is correct, judged independently. The 95-module sweep genuinely belongs elsewhere: its gate is a standalone Comments considered: none — the PR carried no comments. Cross-PR interactions considered: DecisionCHANGES REQUESTED. Fix the two counts, align the CHANGELOG's attribution tier with the commit's, push a fix commit — the status resets and I re-run. Nothing else needs to change: the pin, the provenance table, the scope call, the bed, and the tier are all correct and independently confirmed. Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated) |
…nce earned Two counts in the shipping CHANGELOG were wrong, and both were relayed figures I wrote without deriving — while the correct data sat in the same paragraph. 1. "six commits behind" is THREE. git -C spec rev-list --count 2c6e2bd6..898d5fa0 = 3 The claim sat two lines above its own table listing exactly three commits, under a heading reading "this bump carries THREE cutovers, not one". I derived the table from git log and then wrote a contradicting number from a message. 2. "two releases behind" is FOUR, and the version named cannot exist. After v0.2026227.1854: 1934, 2122, 2226, and v0.2026228.2. Three of the four are this PR's own contents — 1934 is the pin it moves off, 2122 is spec#31, 2226 is spec#32 — so the omitted two were the ones the entry exists to credit. And the tag is v0.2026228.2, NOT v0.2026228.0002: semver forbids a leading-zero segment, which is why the stripped form exists at all. The unresolvable form was named in the one sentence whose whole subject is what sdk resolves from a proxy. Both are now tables of derived values rather than prose figures, so a reader can check them against the repository rather than against my arithmetic. Also: CHANGELOG:85 claimed `analysed on a live system` while the commit and PR body claimed `fully tested and validated`. The evidence supports the higher tier — the bed ran the new lock code, discriminated at the binary rather than from a log (`strings bin/charly`: the removed pid=%d literal absent, the lock package present) — so the CHANGELOG was UNDER-claiming and is reconciled upward. The paragraph whose closing lesson is that a 94-of-95 ratio invites treating the remainder as rounding error is the paragraph that miscounted the remainder. That is recorded in it, because the lesson was right and its author applied it to everything except the sentence stating it. Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)
pr-validator — round 2 — CHANGES REQUESTED ❌Supersedes my round-1 verdict. Validated at head Both round-1 blockers are fixed in the CHANGELOG, and I re-derived every corrected figure rather than reading the diff. One item remains, and it is one I named in round 1 and it did not move: the PR description still asserts both refuted counts. The carry-forward is sound — verified, not acceptedThis was the load-bearing claim, so I derived it rather than taking it: Gitlink byte-identical, CHANGELOG the sole delta. So round 1's bed artifact ( Blocker 1 — FIXEDNow stated as a derivation a reader can run: "three commits behind — derived, not assumed: Blocker 2 — FIXED, and the correction is better than the one I asked forI asked for a count. What landed is a table where every row is checkable, so I checked every row against the remote: Four rows, four exact matches, and The retained
|
| # | Rule | Verdict |
|---|---|---|
| 1 | Description complete and accurate | FAIL — asserts two counts I positively refuted |
| 5 | R1 — no doc-vs-reality divergence | FAIL — the divergence survives in the description |
| 0, 2–4, 6–18 | all remaining | PASS — unchanged from round 1, re-confirmed at this head |
| 15 | Architecture gate | PASS — placement: CORRECT. Per-item trace: zero charly/*.go staged; no alias file, no kit import, no boundary-law question, no *Legacy* smell |
Comments considered: one — my own round-1 verdict (atrawog, 00:24:52Z), verified-blocking at the time, now verified-non-blocking for the CHANGELOG half (fixed and re-derived) and still verified-blocking for the description half.
Cross-PR interactions considered: charly#286 is the only open charly PR; spec has none. sdk#138 — verified-non-blocking and corroborating: still open, still bumps v0.2026227.1854 → v0.2026228.2, which substantiates the deferral and confirms the stripped form. plugins#178 has closed since round 1. No coordination comment needed.
On the author's diagnosis
I ran the measurement and then wrote a contradicting number from a relay, in adjacent sentences.
That is a sharper reading than mine and worth keeping: when you already hold the measurement, a relayed figure is not a second source — it is a claim your own evidence can adjudicate. The CHANGELOG now records that failure honestly in its own text, which is the right place for it. The description is the one surface where the un-adjudicated relay is still standing.
Decision
Fix the two sentences in the description. Everything else is verified and merge-ready: the pin, the provenance table, the release table, the scope call, the bed, and the tier all hold at this head. On that edit I go green, generate the CalVer, squash, and tag.
Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)
pr-validator — correction to my round-2 verdictMy round-2 cross-PR line is false and I am correcting it here rather than in my next verdict. I argued two comments ago that a wrong statement frozen on a permanent page is blocking; deferring my own correction until a later post would be the "it gets fixed in a later change" move I just refused to accept from this PR. What I wrote: " What is true, verified by my own call just now: Open, unmerged, deliberately held. The cause is worse than "a stale reading", and the distinction mattersIt was put to me that a So this is not a stale measurement. It is a conclusion with no measurement under it, which is the more serious shape: a stale reading is at least anchored to an observation that was once true. Absence of a query is not absence of a PR, and neither is absence of movement a state. It is also the exact error I spent two rounds enforcing against, inverted. This PR's author held a measurement and wrote a relay beside it. I held no measurement and wrote a conclusion anyway. Both land the same thing: a confident false sentence in a durable record. Mine landed in the section of the verdict whose entire job is checking other people's work, on a page whose subject is that false statements in durable records are not inert. Corrected entry
The verdict does not move. Status unchangedStill Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated) |
Renames the placeholder CHANGELOG entry to its merge-time CalVer and rewrites the H1 to match, and drops the placeholder note now that the CalVer is final. Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)
pr-validator — round 3 — APPROVED ✅ — merged and taggedValidated at head Merged as The description fix — read, not countedThe instrument for this round was reading the sentences, because two artifacts on this branch now deliberately quote a wrong form inside a correction, which makes any grep count guaranteed non-zero and guaranteed uninformative. I read all five count-bearing sentences:
The two surviving quotations of a wrong form are correct sentences. One thing I checked and cleared rather than flagged: Carry-forward — re-derived each round, never carriedThe gitlink has been byte-identical at every head since Merge-time finalization
Trailer proofVerified against the fetched merge object, not the submitted input. Final checklistEvery item PASS. Items 1 and 5, the two that failed in rounds 1–2, are now satisfied on every surface the figures reached. Item 15 Comments considered: three, all mine — round-1 verdict ( Cross-PR interactions considered: What this cutover got right, worth keepingThe provenance obligation is genuinely discharged: a reader arriving from The finding I'd carry forward is the author's, not mine: a figure's blast radius is the set of surfaces it was written into, and only some of those have gates. One wrong relay reached three artifacts; the two gated ones were caught by review, and the ungated one — the description — kept it through two rounds. The description is less ceremonious than the CHANGELOG and strictly more permanent, because a release note has a successor mechanism and a merged PR body has none. Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated) |
…lidator sweep Address the three blocks from the pr-validator verdict on head d2830c7: - A3/A2 change-class/tier: reclassify honestly. The diff is a documentation sweep + comment-only Go/JS/YAML edits + a substantive non-runtime rewrite of scripts/validate-agent-config.py, so the class is code+config+docs and the tier is `analysed on a live system` (the changed validator ran live with retained output and `go build` is clean; no fresh-rebuild runtime target exists). `documentation reviewed` is forbidden once code/config changed. - R5/R1 stale docstring: the parent commit deleted validate_developer_profiles and its call, so the module docstring no longer claims "the generated per-harness developer profiles". - R3/R4 + B14(d) marker narrowing: FORBIDDEN_GENERIC_RULEBOOK_MARKERS now holds only harness-specific CONFIG identifiers (CODEX_HOME, .codex, ~/.kimi-code). The harness *names* (Claude Code, Codex, Kimi Code) are not config leaks: AGENTS.md is the single harness-neutral rulebook and legitimately names its consumer harnesses in its R0 loading prose. `git grep -nE 'Codex|Claude Code|Kimi Code' -- AGENTS.md` proves the names present (lines 21-22); the config identifiers are absent. The class rule (names allowed, config identifiers forbidden) replaces the ad-hoc deletion. Refs #286 Assisted-by: opencode deepseek-v4.1-flash (analysed on a live system)
…KILL_REF Address the pr-validator BLOCK on head 100f8a5: with the adapter/generic dispatcher comparison gone, the module-level SKILL_REF regex was named as an orphaned dead symbol in a file this PR rewrites. Scope the regex to dispatcher() — its only production consumer — and delete the module-level constant plus its now-invalid self_test assertions. Drop the unused `json` import and update the meta-test comment (R5 sweep; no sibling orphans remain). `--self-test` and the full validator both pass. Refs #286 Assisted-by: opencode deepseek-v4.1-flash (analysed on a live system)
… (#727) * chore(agents): retire CLAUDE.md — AGENTS.md is the sole rulebook (#286) Retire the CLAUDE.md surface across the charly repo: AGENTS.md is now the single, harness-neutral rulebook. - git rm the repo-root CLAUDE.md symlink. - git mv charly/CLAUDE.md -> charly/AGENTS.md and repoint the nested signpost at the repo-root AGENTS.md. - Sweep every live CLAUDE.md reference to AGENTS.md: AGENTS.md (dispatcher rows + the documented-surfaces bullet), README.md, VISION.md (kept; reference rename only), PROGRAM/nfpm-packaging-north-star.md, PROGRAM/pi-integration.md, .pi/README.md, .claude/workflows/{audit-deploy-configs,triage-check-failure}.js, charly/.golangci.yml, charly/import_purity_test.go, charly/main.go, charly/no_kind_switch_in_kernel_test.go, charly/provider_bench_test.go. - Rewrite scripts/validate-agent-config.py to validate ONLY the single AGENTS.md rulebook: drop adapter_path/adapter and the adapter-vs-generic dispatcher comparison; make rulebook_contract_errors single-document; validate only AGENTS.md in the core Go gate. - Complete the validator's de-submodule adaptation: the plugins subtree was removed in #382, so drop the orphaned plugins gitlink/developer-profile checks and the plugins markdown/attribution scans that could no longer resolve. Narrow FORBIDDEN_GENERIC_RULEBOOK_MARKERS to harness-config identifiers (CODEX_HOME/.codex/Kimi Code/~/.kimi-code) so the sole rulebook may name its consumer harnesses in R0 prose, as it does. Refs #286 Assisted-by: opencode deepseek-v4.1-flash (documentation reviewed) * fix(agents): address #727 pr-validator BLOCK — honest class/tier + validator sweep Address the three blocks from the pr-validator verdict on head d2830c7: - A3/A2 change-class/tier: reclassify honestly. The diff is a documentation sweep + comment-only Go/JS/YAML edits + a substantive non-runtime rewrite of scripts/validate-agent-config.py, so the class is code+config+docs and the tier is `analysed on a live system` (the changed validator ran live with retained output and `go build` is clean; no fresh-rebuild runtime target exists). `documentation reviewed` is forbidden once code/config changed. - R5/R1 stale docstring: the parent commit deleted validate_developer_profiles and its call, so the module docstring no longer claims "the generated per-harness developer profiles". - R3/R4 + B14(d) marker narrowing: FORBIDDEN_GENERIC_RULEBOOK_MARKERS now holds only harness-specific CONFIG identifiers (CODEX_HOME, .codex, ~/.kimi-code). The harness *names* (Claude Code, Codex, Kimi Code) are not config leaks: AGENTS.md is the single harness-neutral rulebook and legitimately names its consumer harnesses in its R0 loading prose. `git grep -nE 'Codex|Claude Code|Kimi Code' -- AGENTS.md` proves the names present (lines 21-22); the config identifiers are absent. The class rule (names allowed, config identifiers forbidden) replaces the ad-hoc deletion. Refs #286 Assisted-by: opencode deepseek-v4.1-flash (analysed on a live system) * fix(agents): scope the skill-ref regex to dispatcher, drop orphaned SKILL_REF Address the pr-validator BLOCK on head 100f8a5: with the adapter/generic dispatcher comparison gone, the module-level SKILL_REF regex was named as an orphaned dead symbol in a file this PR rewrites. Scope the regex to dispatcher() — its only production consumer — and delete the module-level constant plus its now-invalid self_test assertions. Drop the unused `json` import and update the meta-test comment (R5 sweep; no sibling orphans remain). `--self-test` and the full validator both pass. Refs #286 Assisted-by: opencode deepseek-v4.1-flash (analysed on a live system) --------- Co-authored-by: atrawog <[email protected]>
…il to the harness skill (#286) (#728) Neutralize the R0 skill-loading prose: remove the per-harness enumeration (Claude Code's marketplace, pi's package, Kimi's plugin, Codex's catalog) and point at the canonical `/charly-<family>:<skill>` reference plus the per-harness install table in the marketplace README. No mandate changes: load every dispatched skill, load all matches before acting, and missing registration remains a profile defect — never permission to skip a skill. Re-tighten scripts/validate-agent-config.py: FORBIDDEN_GENERIC_RULEBOOK_MARKERS again forbids harness NAMES (Claude / Codex / Kimi / opencode / reasonix / cursor) alongside the config identifiers, plus a word-boundary `\bpi\b` pattern (a bare `pi` substring would match api / pipeline / capabilities). The self-test now covers every restored marker and the pi negative control; the pre-fix origin/main rulebook fails the gate, the neutral rulebook passes. Refs #286 Assisted-by: opencode deepseek-v4.1-flash (analysed on a live system) Co-authored-by: atrawog <[email protected]>
Summary of changes
Advances the
specgitlink2c6e2bd6→898d5fa0(v2026.228.0002, Go-module formv0.2026228.2). Consuming half of a two-leg cutover whose producing half isspec#33, already merged and tagged.This carries THREE cutovers, and two of them are not mine
charlymain'sspecpin was three commits behind — derived, not assumed:git -C spec rev-list --count 2c6e2bd6..898d5fa0= 3 — predating two other authors' landed work. (Corrected in review: this said "six", a relayed figure written beside my owngit logoutput that listed exactly three. I held the measurement and did not adjudicate the relay against it.) Named here because a squash titled for the lock file would erase their provenance:898d5faspec#33—fix(lock): write nothing into a lock file, and keep the truncate that makes it empty (this cutover's producing half)7835ac1spec#32—fix(exec): start the nested jump on a base without bashb454f05spec#31—docs(proc): correct the$TMPDIRtest mechanism — GOTMPDIR precedence, not statement orderA reader arriving from
#31or#32must be able to find that their work shipped here. That is the forward-reference obligationcharly#278created and could not discharge, applied in advance rather than after the fact.Scope: gitlink only — measured, not argued
Four versions were already on
main, so the inconsistency predates this cutover. Thereplaceselects the code, so the gitlink is what changes what builds — proved by moving it alone and touching nogo.mod:The version sweep routes to the module-hygiene batch, which already owns it: its gate is the standalone
GOWORK=offbuild across 91 modules — a different gate from this cutover's bed — and folding a 95-file sweep into a two-line pin bump would be a forced union.The one exception, named so it is not read as forgotten
sdk/go.mod:15requiresv0.2026227.1854with NOreplace. It is the single case where the require string is load-bearing: built standalone,sdkresolves spec from the proxy at that version, now four releases behind — and three of the four are this PR's own contents:v0.2026227.19342c6e2bd6v0.2026227.2122b454f05cspec#31v0.2026227.22267835ac1aspec#32v0.2026228.2898d5fa0spec#33The tag is
v0.2026228.2, notv0.2026228.0002— semver forbids a leading-zero segment, which is why the stripped form is the only one a module graph resolves.Not touched here — different repository, and its bump belongs to the
sdkchain in flight (sdk#138, which moves it tov0.2026228.2).(Corrected in review: this said "two releases behind" and named the unresolvable
v0.2026228.0002. The two omitted were the pin this PR moves off andspec#31— the cutover this entry exists to credit.)Worth stating on its own: "94 of 95 carry a replace" and "the require is nominal" are not the same claim. The 94 are nominal; the 95th is precisely the one where the string selects code. A ratio that high invites treating the remainder as rounding error, and the remainder was the only load-bearing case in the set.
Change class
code/config — a submodule pointer advancing real Go code that every lock acquisition in the process runs through.
How R10-tested
charly check run check-marketplace. Chosen because it acquires both lock kinds the change touches: the per-bed lock (bed_session.go:366) and build-activity locks (plugin-box/box.go:373) — the latter being the one caller whose content the change had to leave undisturbed. A bed that took neither could not fail on this change.grep -rinE '^[[:space:]]*(Warning|warning):'rather than a baregrep -rin warn— the bare form matches the word inside candy skill prose baked into theai.opencharly.skilllabel and reports a hit on a clean run, so it cannot carry a zero-warnings claim. That lesson isspec#31's, one of the cutovers this pin carries.task build:binary,charly version2026.227.2146; the bed'supdateandcheck-live-rebuildsteps are the fresh-rebuild legs and both passed.spec#33's body: acquisition and release paths untouched; the only window is betweenAcquireFileLockreturning andplugin-box'sos.WriteFile, where a concurrent retention sweep previously read"pid=<n>"and now reads""— both failParseCalVerat the samelen(parts) != 3guard, so the outcome is identical and was already the outcome. This bed exercises that path under real concurrent builds.Attribution tier
fully tested and validated. The changed code executes on a disposable bed, both rebuild legs passed, zero warnings, and the coverage that fails without the change isspec#33's two-mutation proof, which shipped with the producing half.Landing order
spec#33(merged, taggedv2026.228.0002) → this leg. The gitlink pins a sha that exists and a tag that is on the remote.Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)