Skip to content

fix(deps): adopt the spec tag carrying proc.RepoOverrideDir - #267

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/adopt-spec-override-pin
Sep 19, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
fix/adopt-spec-override-pin

Conversation

@atrawog

@atrawog atrawog commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

RCA + heal: sdk main is RED — a cross-repo ordering violation.

opencharly/sdk#266 (the loaderkit.RepoOverrideDir → proc.RepoOverrideDir delegation) merged before its producer opencharly/spec#139, and it did not bump the github.com/opencharly/spec require. Against the pre-merge pin, the tree does not build:

loaderkit/refs_collect.go:72:14: undefined: proc.RepoOverrideDir

This is the failure the sdk CI correctly reports on main (go, cross-compile (arm), cross-compile (386), go vet all red) — the delegation references a symbol the published spec did not yet expose. The validator could not catch it (it cannot resolve cross-repo dependency availability).

opencharly/spec#139 is now merged and tagged v0.2026262.957, so the fix is a one-line pin adoption.

Concrete edit (2 files): go.mod + go.sum — github.com/opencharly/spec v0.2026259.2033 → v0.2026262.957.

Change class

cross-repo — the healing consumer of opencharly/spec#139 (merged + tagged FIRST). This PR restores sdk main to green.

Closes / relates to: relates to opencharly/spec#139 (producer) and opencharly/sdk#266 (the delegation that needed this pin).

Breaking change + rollback: none — a require-version bump.

How R10-tested — exact gate, commands, and pasted output

  • The gate for this change class: the sdk module's go build/go vet/go test (the same gate sdk CI runs). The repo ships no beds.
  • Eval beds run: N/A — sdk ships no charly.yml/beds; its gate is Go build/test.
  • Fresh rebuild: N/A — a Go SDK module; built + tested from source.
  • Did the CHANGED code path execute live? The changed path is the delegated RepoOverrideDir call; loaderkit's tests exercise it (pasted).
  • Concurrency (shared-state changes only): N/A — a require bump.

Evidence — put each item in the block whose label names it.

1. Fresh-rebuild gate output (real per-package output; the failure BEFORE the bump, the pass AFTER):

# BEFORE (at sdk main, spec pinned v0.2026259.2033):
$ GOWORK=off go build ./...
loaderkit/refs_collect.go:72:14: undefined: proc.RepoOverrideDir

# AFTER (this PR, spec pinned v0.2026262.957):
$ cd sdk && gofmt -l . && GOWORK=off go build ./... && GOWORK=off go vet ./...
# clean — no output

$ GOWORK=off go test -count=1 ./loaderkit/
ok  	github.com/opencharly/sdk/loaderkit	0.603s

2. Each changed code path executing (the lines proving the changed branch ran, not that it built):

$ git diff origin/main...HEAD
-github.com/opencharly/spec v0.2026259.2033
+github.com/opencharly/spec v0.2026262.957

$ git -C spec tag --contains 8019bfa20 | head -1     # the producer tag this adopts
v0.2026262.957

3. Docs-only evidence: N/A — not a docs-only change.

Attribution tier

fully tested and validated — the sdk tree builds, vets, and tests green against the adopted spec tag on the final tree; the pre-bump failure and post-bump pass are both pasted.

Harness rulebook compliance — state HOW each is satisfied (or N/A — <reason>)

  • R0 skills: /charly-internals:git-workflow (cross-repo landing order), /charly-internals:go, /charly-internals:marketplace loaded.
  • R1 RCA + zero warnings: the red main is RCA'd to the merged consumer whose producer tag was not yet adopted (cross-repo ordering); the fix adopts the now-existing tag. Zero warnings.
  • R2 no out-of-scope: the one pin bump restores the tree; the producer already merged.
  • R3 no duplication: N/A.
  • R4 no workaround: no replace, no local override — a real published tag is adopted (rule 5: pin only merged refs).
  • R5 hard cutover + grep: no identifier removed.
  • R6 git safety: git status checked; append-only; no force-push.
  • R7 runtime gate: N/A — no runtime deployment in sdk.
  • R8 artifact invariants: N/A.
  • R9 binary == source + deps: the build/vet/test ran against the adopted pin.
  • R10 disposable + coverage: N/A — no deployable target.
  • RDD / ADE / SDD: RDD — the broken state and its heal are both measured. N/A otherwise.
  • Hard cutover: atomic commit.
  • Kernel/plugin boundary law: N/A.
  • Disposable-only autonomy: N/A.
  • Clean architecture + Go gates: gofmt -l . empty, go vet clean, go test ./... green.
  • CHANGELOG: N/A by construction — written at merge by charly-auto-merge[bot] from this body.

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)

R1: sdk main is RED — sdk#266 (the loaderkit -> proc.RepoOverrideDir delegation)
merged before its producer (opencharly/spec#139) tagged, and it did not bump the
github.com/opencharly/spec require. Against the old pin, loaderkit fails to build:
  loaderkit/refs_collect.go:72:14: undefined: proc.RepoOverrideDir

spec#139 is now merged and tagged v0.2026262.957. This adopts that tag; the sdk tree
builds, vets, and tests green again.

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 099856dbd1c5eac145e94637c9a84b82856832c6

Change class: cross-repo dependency pin adoption (go.mod + go.sum, 3+/3−, one atomic commit; producer opencharly/spec#139 merged and tagged first).

Security screen: PASS — no injection/instruction content in body or commits; no secrets, no new dependency, no network code, no guardrail/validator-rulebook/CI-config edits; the only supply-chain change is a monotone CalVer advance (v0.2026259.2033 → v0.2026262.957, day 262 > day 259) with matching h1 update and unchanged /go.mod hash.

Checklist: All applicable rules PASS or NA (A1 body accounts for the full diff and carries the AI-form *Assisted-by: …* footer; A2 gate is the module's go build/vet/test, correct for this class, no beds shipped by sdk; A3 fully tested and validated is supported by pasted post-bump go build ./... / go vet ./... clean plus ok …/loaderkit 0.603s exercising the delegated call, with the pre-bump undefined: proc.RepoOverrideDir failure pasted; R1 RCA present, no "flake/pre-existing/follow-up" framing; R2 issue cured in-tree; R5 no identifier removed; R10/deploy rules NA — no deployable target; placement NA/CORRECT, no core/sdk/candy movement).

Tool-limited note (non-blocking): the compliance line claiming go test ./... green is not separately pasted — the pasted test evidence is go test -count=1 ./loaderkit/ (the package owning the changed call path), so the module-wide assertion is unverifiable here; it is a summary-scope imprecision, not a contradiction with the diff.

Verdict: PASS


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

[step: review]

Review — PASS

Head SHA: 099856dbd1c5eac145e94637c9a84b82856832c6

Change class: cross-repo dependency pin adoption (go.mod + go.sum, 3+/3−, one atomic commit; producer opencharly/spec#139 merged and tagged first).

Security screen: PASS — no injection/instruction content in body or commits; no secrets, no new dependency, no network code, no guardrail/validator-rulebook/CI-config edits; the only supply-chain change is a monotone CalVer advance (v0.2026259.2033 → v0.2026262.957, day 262 > day 259) with matching h1 update and unchanged /go.mod hash.

Checklist: All applicable rules PASS or NA (A1 body accounts for the full diff and carries the AI-form *Assisted-by: …* footer; A2 gate is the module's go build/vet/test, correct for this class, no beds shipped by sdk; A3 fully tested and validated is supported by pasted post-bump go build ./... / go vet ./... clean plus ok …/loaderkit 0.603s exercising the delegated call, with the pre-bump undefined: proc.RepoOverrideDir failure pasted; R1 RCA present, no "flake/pre-existing/follow-up" framing; R2 issue cured in-tree; R5 no identifier removed; R10/deploy rules NA — no deployable target; placement NA/CORRECT, no core/sdk/candy movement).

Tool-limited note (non-blocking): the compliance line claiming go test ./... green is not separately pasted — the pasted test evidence is go test -count=1 ./loaderkit/ (the package owning the changed call path), so the module-wide assertion is unverifiable here; it is a summary-scope imprecision, not a contradiction with the diff.

Verdict: PASS


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 19, 2026 10:04
@github-actions
github-actions Bot merged commit fa38403 into main Sep 19, 2026
6 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 19, 2026
@aitrawog
aitrawog deleted the fix/adopt-spec-override-pin branch September 25, 2026 19:08
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