Skip to content

feat(buildkit): adopt sdk/buildkit ResolvedBox keystone (P3-unit-4 consumer) - #30

Merged
atrawog merged 3 commits into
mainfrom
feat/sdk-resolvedbox-move
Jul 8, 2026
Merged

atrawog merged 3 commits into
mainfrom
feat/sdk-resolvedbox-move

Conversation

@atrawog

@atrawog atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Consumer of P3-unit-4 (producer: sdk v0.2026189.1328, merged f7720229). ResolvedBox + BuilderMap + AggregatedCandyCaps live in sdk/buildkit now; charly:

  • deletes the struct/method defs from config.go (ResolvedBox + BuilderMap) + layer_capabilities.go (AggregatedCandyCaps struct);
  • re-exports all three via buildkit_aliases.go — zero-churn (every method is exported);
  • keeps AggregateCandyCapabilities (the candy-model walk) in layer_capabilities.go, constructing the aliased result type;
  • bumps sdk → f7720229 + go.mod → v0.2026189.1328.

Change class

charly Go (build-config adoption) + submodule/go.mod bump.

How R10-tested

  • Verbatim move; golden go test ./... green (zero-churn aliases prove behavior-neutral).
  • Beds on final code (merged sdk f7720229, fresh 2026.189.1256 binary, source frozen): check-builder-local PASS 4/4 + check-local PASS 4/4, golangci-lint 0, zero warnings.

Attribution tier

fully tested and validated

Compliance

  • R5: git grep 'type ResolvedBox struct|type BuilderMap|type AggregatedCandyCaps' -- charly/ returns none (defs in sdk/buildkit; charly aliases only). R3: one importable resolved-config library. Kernel/plugin boundary: the central build config moved core→sdk. Producer-first. CHANGELOG 2026.189.1259.md.

Assisted-by: Claude (fully tested and validated)

atrawog added 3 commits July 8, 2026 15:35
…nsumer)

Consumer of P3-unit-4 (producer: sdk v0.2026189.1328). ResolvedBox + BuilderMap +
AggregatedCandyCaps live in sdk/buildkit now; charly deletes the struct/method defs
from config.go + layer_capabilities.go and re-exports all three via
buildkit_aliases.go (zero-churn — every method is exported). AggregateCandyCapabilities
(the candy-model walk) stays in layer_capabilities.go, constructing the aliased result
type. Bumps sdk → v0.2026189.1328. Behavior-neutral; golden tests + check-builder-local
+ check-local beds green (fresh rebuild).

Assisted-by: Claude (fully tested and validated)
… buildkit ResolvedBox consumer)

Validator-finalized the CHANGELOG placeholder to the merge-time CalVer. Pure CHANGELOG rename; the runtime cutover (charly config.go/layer_capabilities.go type-def deletion + buildkit_aliases.go re-export + sdk -> v0.2026189.1328) rides the author commit 421d85f, certified fully tested and validated (go build/vet/test/gofmt/golangci-lint clean + check-builder-local PASS 4/4 + check-local PASS 4/4 fresh-rebuild beds, zero warnings).

Assisted-by: Claude (documentation reviewed)

Claude-Session: https://claude.ai/code/session_01LjLm6DGQasmXaXw2ZorwhE
@atrawog

atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: charly Go (build-config type relocation) + submodule/go.mod bump

Fresh, independent re-validation (new context; not the author). Every check re-run from the diff + my own gates — nothing taken on the author's word.

# Rule Verdict
0 Security & anti-tampering (T1–T4) PASS — pure type relocation; no secrets/exfiltration/scope-mismatch/weakened-gate/supply-chain; PR body carries no directive aimed at the validator
1 Description complete (template + evidence) PASS — Summary/change-class/How-R10-tested/tier/compliance all supplied; evidence independently confirmed
2 Change-class gate matches evidence (R7/R10) PASS — go test + build + both matching beds; no dry-run/rebuild-alone fraud (bed update step ran live)
3 Attribution tier justified PASS — fully tested and validated: changed paths (ResolvedBox across build+deploy) executed live on fresh rebuild
4 R0 skills honored PASS — /charly-internals:go (alias-surface zero-churn repoint), git-workflow
5 R1 RCA / ZERO warnings PASS — zero warnings across both bed runs + all gates
6 R2 no pre-existing/out-of-scope split PASS — single atomic relocation, nothing parked
7 R3 no duplication PASS — three types consolidated into one importable sdk/buildkit library; charly aliases
8 R4 no ad-hoc workaround PASS
9 R5 hard cutover + grep self-test PASS — type ResolvedBox/BuilderMap/AggregatedCandyCaps + all methods return EMPTY in charly/; AggregateCandyCapabilities function retained; no dual-mode/transitional
10 R6/R8/R9 artifact + binary integrity PASS — binary rebuilt (charly version 2026.189.1335), no new runtime OS dep (pure type move); no generation/label change
11 R10 disposable-only, fresh-rebuild, coverage PASS — both beds disposable: true, fresh update gate green, zero warnings; compile-time alias surface + golden tests are the behavior-neutral parity proof
12 RDD / ADE / SDD PASS — composition proven on beds; no candy/schema change
13 Concurrency mandate + anti-cheat PASS — both beds run CONCURRENTLY (same CalVer minute 2026.189.1342), both PASS; no idle/serial/flake dismissal
14 Hard cutover — one atomic commit PASS — one author change commit (421d85f); only the currency merge (b88ad89) + this validator version-stamp added
15 Kernel/plugin boundary law PASS — moves the central build-config type OUT of charly core INTO the sdk library (P3 extraction); no concrete-kind leak added to the kernel
16 Disposable-only autonomy PASS — destroy/rebuild only on disposable: true beds
17 Clean architecture + Go gates PASS — gofmt clean, golangci-lint run ./... = 0 issues, go vet clean, go test ./... green
18 CHANGELOG present PASS — finalized CHANGELOG/2026.189.1348.md

Submodule bump verified: sdk gitlink f7720229 == opencharly/sdk main HEAD == tag v0.2026189.1328 (annotated → derefs to f7720229) == charly/go.mod require v0.2026189.1328. Producer merged before consumer.

R10 evidence (both fresh-rebuild beds, ran concurrently, zero warnings):

  • charly check run check-builder-local → PASS (steps=4): deploy-add ✓ / check-live ✓ (builder-artifact-present) / update ✓ / cleanup ✓ — CalVer 2026.189.1342
  • charly check run check-local → PASS (steps=4): deploy-add ✓ / check-live ✓ / update ✓ / cleanup ✓ — CalVer 2026.189.1342

Decision: APPROVED. Behavior-neutral relocation of ResolvedBox + BuilderMap + AggregatedCandyCaps into sdk/buildkit, re-exported via buildkit_aliases.go (zero-churn). R5 grep self-test clean, AggregateCandyCapabilities function correctly retained charly-side, all Go gates green, both matching disposable beds pass on a fresh rebuild at zero warnings. Merging at the finalized merge-time CalVer.

Assisted-by: Claude (fully tested and validated)

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