Skip to content

chore(spec): pin spec at the empty-lock-file fix, carrying three cutovers - #286

Merged
atrawog merged 3 commits into
mainfrom
feat/spec-pin-lock-file
Aug 16, 2026
Merged

atrawog merged 3 commits into
mainfrom
feat/spec-pin-lock-file

Conversation

@atrawog

@atrawog atrawog commented Aug 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

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, already merged and tagged.

This carries THREE cutovers, and two of them are not mine

charly main's spec pin 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 own git log output 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:

spec commit Cutover
898d5fa spec#33 — fix(lock): write nothing into a lock file, and keep the truncate that makes it empty (this cutover's producing half)
7835ac1 spec#32 — fix(exec): start the nested jump on a base without bash
b454f05 spec#31 — docs(proc): correct the $TMPDIR test mechanism — GOTMPDIR precedence, not statement order

A reader arriving from #31 or #32 must be able to find that their work shipped here. That is the forward-reference obligation charly#278 created and could not discharge, applied in advance rather than after the fact.

Scope: gitlink only — measured, not argued

95 modules require github.com/opencharly/spec
94 carry `replace github.com/opencharly/spec => ../spec`     -> require is NOMINAL there
versions already on main:  91 x v0.2026227.1854 · 2 x v0.2026224.1942
                            1 x v0.2026217.301  ·  1 x v0.2026218.138

Four versions were already on main, so the inconsistency predates this cutover. The replace selects the code, so the gitlink is what changes what builds — proved by moving it alone and touching no go.mod:

task build:binary                                         ok    charly version 2026.227.2146
(cd charly && go test ./...)                              ok    88.779s
plugin-box · plugin-clean · plugin-check · plugin-build    all ok

The version sweep routes to the module-hygiene batch, which already owns it: its gate is the standalone GOWORK=off build 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:15 requires v0.2026227.1854 with NO replace. It is the single case where the require string is load-bearing: built standalone, sdk resolves spec from the proxy at that version, now four releases behind — and three of the four are this PR's own contents:

tag (module form) commit what it is
v0.2026227.1934 2c6e2bd6 the pin this PR moves off
v0.2026227.2122 b454f05c spec#31
v0.2026227.2226 7835ac1a spec#32
v0.2026228.2 898d5fa0 spec#33

The tag is v0.2026228.2, not v0.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 sdk chain in flight (sdk#138, which moves it to v0.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 and spec#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

  • Named gate: 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.
  • Eval beds run:
check-marketplace | pod | ok | 13 steps | 319s | .check/check-marketplace/2026.228.0010/
  image-build 49.789s · check-image 16.654s · deploy-add 25.012s · config 18.180s
  start 14.977s · bring-up-members 0.029s · check-live 30.149s · feature-run 15.982s
  update 1m30.822s · check-live-rebuild 30.056s · feature-run-rebuild 15.808s
  cleanup 11.218s · cleanup-members 0.000s
summary.yml: ok: true, total_seconds: 319
  • Zero warnings, checked with the anchored form grep -rinE '^[[:space:]]*(Warning|warning):' rather than a bare grep -rin warn — the bare form matches the word inside candy skill prose baked into the ai.opencharly.skill label and reports a hit on a clean run, so it cannot carry a zero-warnings claim. That lesson is spec#31's, one of the cutovers this pin carries.
  • Fresh-rebuild / R9: task build:binary, charly version 2026.227.2146; the bed's update and check-live-rebuild steps are the fresh-rebuild legs and both passed.
  • Concurrency: the change is to the build-lock primitive, so this is answered on the merits in spec#33's body: acquisition and release paths untouched; the only window is between AcquireFileLock returning and plugin-box's os.WriteFile, where a concurrent retention sweep previously read "pid=<n>" and now reads "" — both fail ParseCalVer at the same len(parts) != 3 guard, 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 is spec#33's two-mutation proof, which shipped with the producing half.

Landing order

spec#33 (merged, tagged v2026.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)

…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)
@atrawog

atrawog commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — CHANGES REQUESTED ❌

Validated at head f79d7340cd100f7767babf7c59eaf329e2b63651 (three independent probes: two ls-remote, one gh pr view, all agreeing). Scratch worktree at the PR head; author worktree read read-only, never entered for work.

Change class: code/config — a submodule pointer advancing Go code that every AcquireFileLock caller in the process runs through.

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

CHANGELOG/2026.228.0015.md:11, the commit message, and the PR body all say the pin was six commits behind. Re-derived against the remote:

$ git rev-list --count 2c6e2bd6c2c74c0f3d3a3c2a8bd9c85fa72336b4..898d5fa0a04f634b2d8ee30e69bf3c57c007c845
3

$ git log --oneline 2c6e2bd6..898d5fa0
898d5fa fix(lock): write nothing into a lock file, and keep the truncate that makes it empty
7835ac1 fix(exec): start the nested jump on a base without bash
b454f05 docs(proc): correct the $TMPDIR test mechanism — GOTMPDIR precedence, not statement order (#31)

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 6 above a list of 3 cannot tell which the author verified, and this entry's stated purpose is that two other authors' provenance survives the squash. The framing number has to be the true one.

BLOCKING 2 — the load-bearing exception paragraph carries a wrong count and an unresolvable version

CHANGELOG/2026.228.0015.md:63:

built standalone, sdk resolves spec from the proxy at that version, now two releases behind (v0.2026227.2226, v0.2026228.0002).

Two independent errors in one clause.

(a) Four releases behind, not two. sdk/go.mod:15 requires v0.2026227.1854 (verified at charly main's pinned sdk c1c41b068). Spec's v0.* tags strictly after it:

$ git tag -l 'v0.*' | sort -V | awk '/^v0\.2026227\.1854$/{f=1;next} f'
v0.2026227.1934
v0.2026227.2122
v0.2026227.2226
v0.2026228.2

The two omitted — 1934 and 2122 — are not incidental: 1934 is the pin this PR moves off, and 2122 carries spec#31, one of the three cutovers this entry exists to credit.

(b) v0.2026228.0002 does not exist and cannot exist. The tag is v0.2026228.2:

$ git tag -l 'v0.2026228*'
v0.2026228.2

Semver forbids a leading-zero numeric segment, so v0.2026228.0002 is not a resolvable Go module version — and the sentence is specifically about what sdk resolves from the proxy. This document states the correct form itself at line 6 ("Go-module form v0.2026228.2"), and sdk#138 — the open PR that discharges exactly this — bumps v0.2026227.1854 → v0.2026228.2.

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 above

Attribution tier disagrees with itself. The commit trailer and PR body claim fully tested and validated; CHANGELOG:85 claims analysed on a live system. My verification supports fully tested and validated — so the CHANGELOG under-claims, which is why this does not block. Align it to the commit.


Checklist

# Rule Verdict
0 Security / anti-tampering (T1–T4) PASS — two-file pointer move; no secrets, egress, dep, or guardrail surface; no instruction aimed at the validator
1 Description complete, footer present PASS — template filled, evidence pasted, body ends with the italicized Assisted-by: line
2 Change-class gate matches evidence (R7/R10) PASS — see bed verification below
3 Attribution tier justified PASS for the commit's fully tested and validated; see non-blocking note on the CHANGELOG's disagreeing tier
4 R0 skills honored PASS — /charly-internals:git-workflow, /charly-check:check, /charly-internals:go
5 R1 RCA, zero warnings FAIL — two doc-vs-reality divergences; R1 treats a documentation divergence as an incident
6 R2 no out-of-scope split PASS — judged independently, see below
7 R3 no duplication PASS — N/A, pointer move
8 R4 no workarounds PASS — N/A
9 R5 hard cutover + grep PASS — no identifier removed in this repo; spec#33's own sweep shipped with the producing half
10 R6/R8/R9 integrity PASS — binary rebuilt (2026.227.2146), verified below to carry the new code
11 R10 disposable, fresh-rebuild, coverage PASS — verified on disk, see below
12 RDD / ADE / SDD PASS — N/A, no candy, schema, or generated file touched
13 Concurrency mandate + anti-cheat PASS — no parking phrase without an advanced exit; the sdk deferral's named exit is real and verified in flight
14 Hard cutover, one atomic commit PASS — exactly one commit, two files
15 Architecture gate PASS — placement: CORRECT. Per-item trace: zero charly/*.go files staged, so no alias file, no kit import, no boundary-law placement question, and no *Legacy* relocation smell arises. The diff is one gitlink + one CHANGELOG.
16 Disposable-only autonomy PASS — charly.yml:2724 pod: … disposable: true
17 Clean architecture + Go gates PASS — no Go source in the diff; compilation proven by the bed's own image-build/update legs
18 CHANGELOG present PASS — filename and H1 valid, no collision (content defects are blockers 1–2)

What I verified independently, and it held

The pin is exactly right. 898d5fa0 is spec main's tip and the dereference target of both tags, confirmed on the remote:

898d5fa0a04f634b2d8ee30e69bf3c57c007c845  refs/heads/main
898d5fa0a04f634b2d8ee30e69bf3c57c007c845  refs/tags/v2026.228.0002^{}
898d5fa0a04f634b2d8ee30e69bf3c57c007c845  refs/tags/v0.2026228.2^{}

All three cutovers are named, and the commit↔PR mapping is exact — the obligation is genuinely discharged:

b454f05 = spec#31 MERGED   7835ac1 = spec#32 MERGED   898d5fa = spec#33 MERGED

Every module count re-derives exactly. Not accepted from the body — recounted from the populated tree:

96 go.mod files mention opencharly/spec, minus spec's own -> 95 modules require it
of the 95, exactly one lacks a replace:  sdk/go.mod -> v0.2026227.1854
version histogram: 91 x v0.2026227.1854 · 2 x v0.2026224.1942
                    1 x v0.2026218.138  · 1 x v0.2026217.301   (= 95)

Byte-for-byte the block at CHANGELOG:39-40, and the 94/95 split holds. The one place the body's own framing warns about rounding off is the one place the numbers were right and the version string was not.

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:

$ strings -a bin/charly | grep -c '^pid=%d$'      0     <- removed literal absent
$ strings -a bin/charly | grep -c 'flock %s: %w'  1     <- lock package compiled in

(the three surviving pid=%d hits are guest-exec/backgrounded, unrelated). So the binary carries the new lock code, and both acquisition sites the body names are real: candy/plugin-check/bed_session.go:366 (AcquireFileLock(..., false)) and candy/plugin-box/box.go:373 (kit.AcquireFileLock(path, true)). I also counted 11 direct acquisition sites, matching spec#33's own "eleven sites call it directly".

Bed artifact on disk, not taken from the table: .check/check-marketplace/2026.228.0010/summary.yml — ok: true, 13 steps all ok, total_seconds: 319, including the update and check-live-rebuild fresh-rebuild legs. Written 02:15:58 +0200, run calver 2026.228.0010 coherent, and the author's worktree is clean, so the bed measured the committed tree and nothing else.

Zero warnings re-run by me, anchored, across all 12 step logs — 0 hits:

$ grep -rInE '^[[:space:]]*(Warning|warning):' .check/check-marketplace/2026.228.0010/
(no output)

The R2 call is correct, judged independently. The 95-module sweep genuinely belongs elsewhere: its gate is a standalone GOWORK=off build, which this bed cannot run; four spec versions were already on main, so the inconsistency is not introduced here; and folding it in would turn a two-line pin bump into a 95-file change with a gate that does not cover it. That is a real gate distinction, not a convenience split. The sdk/go.mod deferral likewise stands — different repository, and its named exit is real: sdk#138 is open and bumps v0.2026227.1854 → v0.2026228.2. I verified that rather than accepting "chain already in flight".

Comments considered: none — the PR carried no comments.

Cross-PR interactions considered: charly#286 is the only open charly PR; spec has none open. sdk#138 (Alpine OpenRC sshd) is verified-non-blocking and confirming — it carries the sdk/go.mod spec bump this entry defers to, which substantiates the deferral and independently corroborates that v0.2026228.2, not v0.2026228.0002, is the resolvable form. plugins#178 (docs) — no interaction with this gitlink. No coordination comment needed.


Decision

CHANGES 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)
@atrawog

atrawog commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — round 2 — CHANGES REQUESTED ❌

Supersedes my round-1 verdict. Validated at head e0b4a074c580b94e3ab23677ba7b1e5e21d90d3c (three readings agreeing).

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 accepted

This was the load-bearing claim, so I derived it rather than taking it:

$ git rev-parse f79d7340…:spec      898d5fa0a04f634b2d8ee30e69bf3c57c007c845
$ git rev-parse e0b4a074…:spec      898d5fa0a04f634b2d8ee30e69bf3c57c007c845
$ git diff --stat f79d7340 e0b4a074
  CHANGELOG/2026.228.0015.md | 22 +++++++++---   (the only file)

Gitlink byte-identical, CHANGELOG the sole delta. So round 1's bed artifact (2026.228.0010) and the binary discrimination still describe this tree exactly — the runtime content this head ships is the content the bed proved. A CHANGELOG-only delta needs the non-runtime standards, not a bed re-run.

Blocker 1 — FIXED

Now stated as a derivation a reader can run: "three commits behind — derived, not assumed: git -C spec rev-list --count 2c6e2bd6..898d5fa0 = 3". That is the command I ran and the answer I got. It now agrees with the table two lines below it.

Blocker 2 — FIXED, and the correction is better than the one I asked for

I asked for a count. What landed is a table where every row is checkable, so I checked every row against the remote:

v0.2026227.1934^{} -> 2c6e2bd6c2c74c0f3d3a3c2a8bd9c85fa72336b4    the pin this PR moves off ✔
v0.2026227.2122^{} -> b454f05c67d8b458694074ac24edd43bb85083ee    spec#31 ✔
v0.2026227.2226^{} -> 7835ac1a7175141fd5647a515415c30174f2f762    spec#32 ✔
v0.2026228.2^{}    -> 898d5fa0a04f634b2d8ee30e69bf3c57c007c845    spec#33 ✔

Four rows, four exact matches, and 2c6e2bd6 confirmed as charly main's live pin. "Three of the four are this PR's own contents" is true.

The retained v0.2026228.0002 — judged, and it STAYS

Line 73 reads: "The tag is v0.2026228.2, not v0.2026228.0002: semver forbids a leading-zero segment…"

That is a contrast, not an assertion — the bolded not plus the reason the wrong form cannot resolve. No reader comes away believing it is the tag. This is the correct instance a blanket sweep would have destroyed, and removing it would delete the only place the document explains why the stripped form is mandatory. Keep it. I flag no residual defect here.

Tier — the higher one holds at this head

fully tested and validated is what my evidence supports, and reconciling upward was right. The binary discrimination is what earns it (^pid=%d$ → 0 hits, flock %s: %w → 1), and since the gitlink is byte-identical, a CHANGELOG-only commit cannot disturb it.


BLOCKING — the PR description still carries both refuted claims

Read live from this head, unedited:

Description line 7:

charly main's spec pin was six commits behind, predating two other authors' landed work.

Description line 38:

…sdk resolves spec from the proxy at that version, now two releases behind.

Three, and four. I refuted both in round 1 and named the description as one of the three places the first one lived — "CHANGELOG:11, the commit message, AND the PR body." The CHANGELOG and the new commit message were corrected; the description was not.

Why this blocks rather than trails as a nit: the description is as permanent as the CHANGELOG. Once I squash-merge, this page freezes with both wrong numbers on it — and this page is exactly where a reader arriving from spec#31 or #32 lands. The entire justification for this cutover's existence is that such a reader finds accurate provenance. My round-1 reasoning was that a number wrong when written is never fixed by a later change; that argument does not weaken because the surface is a PR body instead of a file. It is also the surface a human reviewer reads first.

The fix is gh pr edit --body-file on two sentences — align them with the CHANGELOG's now-correct figures. Nothing in the tree changes, so the gitlink stays identical and the bed evidence carries forward untouched. I do not need another commit; editing the description alone is sufficient, and I will re-run on request.

I am deliberately not editing it myself: curing a defect I am judging is not mine to do.


Checklist — round 2

# 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)

@atrawog

atrawog commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — correction to my round-2 verdict

My 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: "plugins#178 has closed since round 1."

What is true, verified by my own call just now:

$ gh pr view 178 -R opencharly/plugins --json state,mergedAt,closedAt,mergeCommit
  state OPEN · mergedAt null · closedAt null · mergeCommit null
$ gh pr list -R opencharly/plugins --state open
  plugins#178  docs(internals): where rigor points, what a measurement is worth, …

Open, unmerged, deliberately held.

The cause is worse than "a stale reading", and the distinction matters

It was put to me that a BLOCKED PR sitting static for a long stretch reads as closed from a sweep. That is a real failure mode, but it is not mine. My round-2 sweep queried charly, sdk, and spec. I never queried plugins at all. plugins#178 was missing from my output because I did not ask for it — and I converted that silence into a reported state transition.

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

Cross-PR interactions considered: charly#286 is the only open charly PR; spec has none open. sdk#138 — verified-non-blocking and corroborating (still open; bumps v0.2026227.1854 → v0.2026228.2, substantiating this PR's deferral and confirming the stripped form). plugins#178 — OPEN, unmerged, held; verified-non-blocking: no file overlap with a spec gitlink bump, no shared gate. No coordination comment owed.

The verdict does not move. plugins#178 has zero file overlap and no shared gate with this cutover, so the disposition is unchanged either way, and my round-2 conclusion (none-found, no coordination comment) stands on its merits. What changed is that one sentence supporting it is now true.

Status unchanged

Still failure on e0b4a074. The blocker remains the PR description, which I re-read live just now — lines 7 and 38 still say six commits and two releases. Three, and four. Two sentences via gh pr edit; no commit, tree unchanged, gitlink identical, bed evidence and binary discrimination carry forward untouched. On that edit I go green, generate the CalVer, squash, and tag.

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)
@atrawog
atrawog merged commit edaf46d into main Aug 16, 2026
@atrawog
atrawog deleted the feat/spec-pin-lock-file branch August 16, 2026 00:37
@atrawog

atrawog commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — round 3 — APPROVED ✅ — merged and tagged

Validated at head 98b8f03cd91fce6c5a7a310c967f314d94c58fec (the finalized head; the body fix landed on e0b4a074, three readings agreeing).

Merged as edaf46df81bd5dd515c67df3f1a83772637e975a · tagged v2026.228.0035.

The description fix — read, not counted

The 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:

body claim my derivation
:7 three commits behind, with the runnable derivation inline rev-list --count 2c6e2bd6..898d5fa0 = 3 ✔
:26 four versions already on main histogram 91/2/1/1 = 4 distinct ✔
:38 four releases behind, three of them this PR's contents 1934 · 2122 · 2226 · 228.2 = 4, three are the PR's commits ✔
:40-45 the four-row tag table all four tag^{} → commit re-derived against the remote ✔
:49 sdk#138 moves it to v0.2026228.2 verified in that PR's own diff ✔

The two surviving quotations of a wrong form are correct sentences. :47 is a contrast ("the tag is v0.2026228.2, not v0.2026228.0002", with the semver reason following). :51 is a labelled review correction, and I checked its substance rather than its label — "the two omitted were the pin this PR moves off and spec#31" is exactly what I found in round 1 (1934 and 2122). Both are true statements about a wrong form; a blanket sweep would have destroyed them while reporting success. They stay.

One thing I checked and cleared rather than flagged: :26 and :38 both say "four", twelve lines apart, both about spec versions — the population-swap shape, where two individually-correct totals read as one set. They are different sets (1854/2026224.1942/2026218.138/2026217.301 vs 1934/2122/2226/228.2), and each sits directly against its own enumeration, so neither can be mistaken for the other. Not a defect.

Carry-forward — re-derived each round, never carried

e0b4a074:spec   898d5fa0…      98b8f03c:spec   898d5fa0…

The gitlink has been byte-identical at every head since f79d7340, and the body fix was a gh pr edit with no commit. So round 1's bed artifact (2026.228.0010) and the binary discrimination (^pid=%d$ → 0 hits, flock %s: %w → 1) describe the merged tree exactly. The only commit I added is the CalVer finalization, which touches one CHANGELOG filename and its H1.

Merge-time finalization

  • CHANGELOG/2026.228.0015.md → CHANGELOG/2026.228.0035.md, H1 rewritten and self-verified byte-equal to # 2026.228.0035 — pin spec at the empty-lock-file fix, carrying three cutovers
  • the Placeholder CalVer (the pr-validator finalizes it at merge) line removed — it becomes false the moment the CalVer is final, and leaving it would ship exactly the class of statement this PR spent three rounds removing
  • 2026.228.0035 verified free of any existing tag or CHANGELOG on main before use
  • branch was current with main (0 behind); pushed fast-forward e0b4a074..98b8f03c, no force

Trailer proof

pre-merge  parse -> Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)
merged edaf46df parse -> Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)

Verified against the fetched merge object, not the submitted input.

Final checklist

Every 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 placement: CORRECT — per-item trace: zero charly/*.go staged, so no alias file, no kit import, no boundary-law question, no *Legacy* smell.

Comments considered: three, all mine — round-1 verdict (verified-blocking, now resolved), round-2 verdict (verified-blocking, now resolved), and my own posted correction (verified-blocking against myself, resolved).

Cross-PR interactions considered: sdk#138 — OPEN, verified-non-blocking and corroborating; it bumps sdk/go.mod to v0.2026228.2, which is the exit this entry defers to. plugins#178 — OPEN, unmerged, held; verified-non-blocking, no file overlap, no shared gate. spec has no open PRs. No coordination comment owed.

What this cutover got right, worth keeping

The provenance obligation is genuinely discharged: a reader arriving from spec#31 or #32 now lands on a page that names their work, with commit SHAs that resolve. And the correction history is in the artifact rather than only in this thread — the CHANGELOG records that its own remainder-paragraph miscounted the remainder, which is the honest form.

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)

aitrawog pushed a commit that referenced this pull request Sep 28, 2026
…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)
aitrawog pushed a commit that referenced this pull request Sep 28, 2026
…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)
github-actions Bot pushed a commit that referenced this pull request Sep 28, 2026
… (#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]>
github-actions Bot pushed a commit that referenced this pull request Sep 28, 2026
…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]>
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