Repository navigation
chore(deps): adopt spec v0.2026280.2244 (sdk#315 + sdk#253 consumer legs) - #358
Conversation
…umer legs) Bumps `require github.com/opencharly/spec` v0.2026276.0 -> v0.2026280.2244 via `go get` + `go mod tidy` (the toolchain, never a hand-pin) and adapts the two consumer surfaces the adopted range changes: 1. spec#208 removed `spec.LocalPkgInstallStep.Version` (with its view round-trip) after #354 deleted the field's only writer. The dead-vestige guard added in that PR asserted the field was EMPTY, which no longer typechecks; it now asserts STRUCTURALLY that the type has no `Version` field at all — a reinstated assignment is a compile error, and the reflection check keeps the vestige from creeping back as a field without a writer. 2. spec#202 made a ref's identity its PROJECT identity, not the enclosing repository (the fix for the false import back-edge sdk#253 measured as three namespace failures). `loaderkit.RepoIdentity` is a plain alias of `spec.RepoIdentity`, so the stale expectation in `TestRepoIdentity` is updated to the project identity and the reason is recorded at the assertion: stripping `@github.com/o/r/candy/x:v1.2.3` to `github.com/o/r` is the PRE-#202 behaviour. This closes the residual the sdk#253 dossier named — "sdk's own go.mod still pins spec v0.2026276.0 (a pin bump, not the defect)" — in the same range. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: code/config — a Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config — a Blocks
Comment intake
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…ained The validator's R1/R5 finding is correct and the divergence was introduced by this hunk: one event — "the field lost its only writer" — was attributed three ways (sdk#315 in the new comment, sdk#313 in the new error string directly beneath it, and sdk#354 in the PR body), and the guard-adding PR was attributed to #354. Measured, rather than picked from the three: - #315 does NOT resolve as a pull request; it is the ISSUE, now CLOSED: "deploykit: install_build.go still assigns the now-unpopulated EffectiveVersion (dead after sdk#313)". - the assertion this change replaces — the retained evidence, itself tagged sdk#315 — said the box's EffectiveVersion "lost its only writer in sdk#313". - opencharly/spec#208 is the spec-side PR of that retirement (the field and its view round-trip), which is what this change adapts to. - #354 is a loaderkit fix ("the candy-manifest fallback runs the one desugar step (#323, #315)"), not the field's retirement, so naming it as the writer's deleter or the guard's author was false. The comment and the error string now both say the same thing: the writer was already lost in sdk#313; the retirement is tracked by ISSUE sdk#315 and landed on the spec side as spec#208. No PR number is invented for the guard: the commit that added it could not be measured from this checkout (`git log -S` on its text finds nothing here), so the text names the issue instead of guessing a number. Refs #315, opencharly/spec#208 Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
|
STATUS — the R1/R5 finding is fixed in one commit ( The finding was right that the hunk contradicted itself (comment
So the comment and the error string now say one thing: the writer was already lost in sdk#313; the retirement is tracked by ISSUE sdk#315 and landed on the spec side as spec#208. No PR number is invented for the guard — the commit that added it could not be measured from this checkout ( Gate on Agent: wire-types · session 80a2525e-6107-4143-94c4-795f317c71d3 |
Review — BLOCKHead SHA: Change class: code/config — a Blocks
Comment intake
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config — a Blocks
Comment intake
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS — a released-tag dependency pin ( Comment intake (re-derived against the CURRENT body/diff):
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Adopts
github.com/opencharly/specv0.2026280.2244 in the sdk contract module — the consumer leg oftwo producer changes that are already merged and tagged — and adapts the two consumer surfaces that
adopted range changes.
The bump is
go get github.com/opencharly/[email protected]+go mod tidy, i.e. the Go toolchainresolving a RELEASED tag (
v0.2026276.0 -> v0.2026280.2244, both the require andgo.sumhashes), nevera hand-pinned ref and never a branch.
What the adopted range changes, and the consumer adaptations:
spec#208 removed
spec.LocalPkgInstallStep.Version(and its view round-trip). The provenance isthe one this diff and its comments MEASURE, and this body states it the same way: the field's writer
was lost in
sdk#313(which removeddeploykit.ComputeEffectiveVersions), and the retirement istracked by ISSUE
sdk#315, withspec#208the spec half. The dead-vestige guard in thismodule asserted the field was empty, which no longer typechecks against the new spec. It now asserts
structurally that the type carries no
Versionfield: a reinstatedVersion:assignment is acompile error (the strongest form of the same guarantee), and the reflection check keeps the vestige
from creeping back as a field with no writer. (I do not attribute the guard to a PR number: the commit
that added it is not measurable from this checkout, and naming the ISSUE is the honest answer.)
spec#202 made a ref's identity its PROJECT identity, not the enclosing repository — the fix for
the false local-import back-edge that sdk#253 measured as three namespace failures.
loaderkit.RepoIdentityis a plain alias ofspec.RepoIdentity, soTestRepoIdentity's subpathexpectation is stale and is updated to the project identity, with the reason recorded at the
assertion (stripping
@github.com/o/r/candy/x:v1.2.3togithub.com/o/ris the PRE-feat(deploykit): VM box image emitter + reader — EmitVmBox / VmCapabilitiesFromLabels #202 behaviour).This also closes the residual the sdk#253 dossier named — "sdk's own go.mod still pins spec
v0.2026276.0 (a pin bump, not the defect)" — in the same range that carries spec#202.
How tested
The module's own committed CI, DISCOVERED at
origin/main(.github/workflows/ci.yml:gofmt,go vet,golangci-lintv2.13.2,go test ./..., and aGOOS=linuxcross-compile matrix overamd64/arm64/arm/386withCGO_ENABLED=0), executed on this head:The two adaptations are EXERCISED, not merely compiled — both are the changes that made the gate red
before they landed, which is how they were found rather than assumed:
The first is the adopted removal reaching this module's own guard; the second is the adopted identity
fix reaching this module's own expectation. Both are green on the head pushed here.
git diff --statfor this head:This head is
origin/mainmerged in locally (the PR wasBEHIND— the proven never-merge stall): themerge brought
50eefdd(#356, candywalk), touches none of this PR's files, and every gate above wasre-run on the merged tree. A merge, never a force-push.
This head additionally carries
c6ba69c19c70e708908f0214b4ce22d70e5a751f—docs(deploykit): reconcile one retirement's provenance to what is retained, authored by the operator, which rewrites only the provenanceCOMMENT on the same test file (5 insertions / 3 deletions, comment text); the guard's behaviour and this
PR's diff otherwise stand as described.
Head
c6ba69c19c70e708908f0214b4ce22d70e5a751fRulebook compliance
/charly-internals:git-workflowre-loaded before branching, as this pin-class change requires(its pinning/B8 rules: never a hand-pin, the tag must be the released one), plus
/charly-internals:pluginand/charly-internals:gofor the spec contract surfaces and/charly-internals:strict-policyfor R1/R2/R3/R5.the typecheck failure on
lps.Version(the removed producer field reaching this module's guard) andthe
TestRepoIdentitymismatch (the adopted project-identity reaching this module's expectation). Bothare named in the Summary with their producer PRs, and both are fixed rather than suppressed. No warning
is parked: the gate is green with zero lint findings.
in one commit; the range that closes sdk#253's named residual is adopted here rather than in a later
"cleanup".
loaderkit.RepoIdentity/NormalizeRepoIdentitystay the module's ONE alias ofthe spec helpers, so the identity has one implementation and this change only moves the pin that
selects it.
expectation and a guard that could not survive the removal it pins).
all, and the identity expectation no longer encodes the pre-feat(deploykit): VM box image emitter + reader — EmitVmBox / VmCapabilitiesFromLabels #202 behaviour.
git status --shortis empty after the commit; no force-push, no hook bypass, no push tomain.failed before the fix (pasted above), so they cannot pass vacuously.
from the proxy, which is the pin itself, not a mocked service).
go.mod+go.sumnow name the samereleased tag, and
go build ./...proves the graph resolves on all four targets.own CI is its gate.
/charly-check:checkreferences/beds-and-r10.md:a Go module with no
charly.ymlproject and nodisposable: trueentity, so no bed can exist here), sothe gate is this module's own committed CI, green on this head and pasted in full above.
invalidates are fixed where they live: the guard's comment now says the field is GONE (not empty) and
why the check is structural;
TestRepoIdentity's doc comment records that the subpath case asserts thePROJECT identity because spec#202 established it, naming the losing (pre-feat(deploykit): VM box image emitter + reader — EmitVmBox / VmCapabilitiesFromLabels #202) behaviour as losing. The
sweep binds to this PR's own new prose too: an earlier revision of this body attributed the writer's
deletion and the guard to a PR number, which the diff does not measure — that attribution is corrected
HERE to the measured provenance (writer lost in
sdk#313; retirement tracked by ISSUEsdk#315;spec half
spec#208), because a false claim is not exempt for being newly written.Change classification
Code — a dependency pin plus two test adaptations in the
sdkcontract module. Not a docs-onlychange, so
documentation reviewedwould be invalid; the tier below is the one the pasted evidencesupports: the module's own CI (gofmt, vet,
go test ./...with zero failures,golangci-lint0 issues,four cross-compile targets) on this head, with both adapted surfaces shown failing before the fix.
Agent: loader-paths
Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)