Skip to content

feat(charly): #ResolvedProject host fill + resolved-project HostBuild seam — K5-Unit-0 (superproject half) - #96

Merged
atrawog merged 2 commits into
mainfrom
feat/k5u0-resolved-envelope
Jul 13, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/k5u0-resolved-envelope

Conversation

@atrawog

@atrawog atrawog commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

What & why

The host FILL for the RESOLVED-project envelope — the superproject half of K5-Unit-0 (the sdk
half landed as sdk v0.2026194.1655, PR opencharly/sdk#38). A thin DATA projection over the
resolve engines that already exist — ResolveBox (per enabled box) + ScanAllCandy + the folded
uf.Bundle deploy tree — serialized into the generic spec.ResolvedProject, the resolved half of
the config→spine artery (spec.ParsedProject → spec.LoadedProject → spec.ResolvedProject).

This is the S-K5 keystone the ~20k of registered K5 migration IOUs gate on. It is an ADDITION
(+196 core LOC); the deletions land when the consumers (inspect/list, bundle-add box graph, status,
bed runner) collect against this envelope in their later K5 units.

Changes

  • charly/resolved_project_host.go (+196 LOC) — projectResolvedBox (drops the 6 host-only
    json:"-" compute caches) + projectCandyView + projectResolvedProject /
    buildResolvedProjectFromDir + hostBuildResolvedProject (the F11 resolved-project HostBuild
    seam, plugin-requestable over the reverse channel + host-callable). Imports sdk/spec only
    (import-purity) — no new charly/*_aliases.go (zero-alias). P16 triple-gate intact.
  • charly/resolved_project_host_test.go + testdata/resolved_project_golden.json — the
    check-coverage gate (3 tests).
  • sdk gitlink → 07dbdbc (merged sdk main) + charly/go.mod require → v0.2026194.1655.

Boundary-law placement (P16)

The fill + host-builder STAY core as the kind-decode MATERIALIZE half (M) + the wire broker's
host-build seam — a data projection over the resolve engines, no spec.<Kind> switch, no per-kind
map. The envelope is a generic E-envelope (sdk/spec).

Verification & tier

  • go build ./... + go test ./... (exit 0) + golangci-lint run (0 issues) + gofmt clean, on
    the combined tree (rebased onto e38420e = P12 feat(check)!: relocate charly check / ADE family → compiled-in candy/plugin-check (P12) #95's check-family merge; surfaces disjoint
    — resolvedproject vs check-family — delta re-gate green).
  • 3 consumer tests (would FAIL without the projection):
    TestProjectResolvedBox_CompleteAndNoCacheLeak (completeness vs json.Marshal(*ResolvedBox) +
    no-cache-leak) · TestResolvedProject_ByteStableGolden (deterministic byte-stable golden) ·
    TestResolvedProject_SeamRoundTrip (plugin-side: request over the resolved-project HostBuild,
    decode spec.ResolvedProject).
  • No-regression on the fresh stamped binary (v2026.194.1434):
K5-Unit-0 no-regression gate (frozen tree, per-tree stamped binary v2026.194.1434):
check-commands-local  PASS  5 steps         ok:true  (load+command-composition through the new schema)
check-local-vm        PASS  7 steps  322s   ok:true  (full load+resolve+deploy+update cycle incl. the guest version-stamp check)

Tier: analysed on a live system — K5-Unit-0 is a pure ENABLER: the projector + seam ran live
(the seam round-trip drives the real loader/resolve engines; the fresh binary passed both
no-regression beds), but the new fill/seam path has no live CONSUMER yet (they are the next K5
units by design), so the fully tested and validated bar (the new path executed against the fresh
rebuild via a deployed consumer) is deliberately not met.

Assisted-by: Claude (analysed on a live system)

https://claude.ai/code/session_01JptaWtTENzSWbL2683QBtr

atrawog added 2 commits July 13, 2026 19:06
… seam (K5-Unit-0)

The thin host FILL for the resolved-project envelope (sdk half landed as v0.2026194.1655): a DATA
projection over ResolveBox/ScanAllCandy/uf.Bundle into spec.ResolvedProject — the resolved half of
the config-spine (ParsedProject -> LoadedProject -> ResolvedProject). +196 LOC field-copy dropping
the 6 host-only json:"-" compute caches; exposed as the F11 resolved-project HostBuild seam
(plugin-requestable + host-callable). Imports sdk/spec only (import-purity); no new *_aliases.go
(zero-alias) — P16 triple-gate intact. This is an ADDITION; the ~20k of K5 IOU deletions land when
the consumers (inspect/list, bundle-add box graph, status, bed runner) collect against this envelope
in their later K5 units. Ships 2 consumer tests + a golden (the check-coverage gate).

Tier analysed-on-a-live-system: a pure ENABLER — the projector + seam ran live (the seam round-trip
drives the real loader/resolve engines; the fresh binary passed both no-regression beds
check-commands-local + check-local-vm), but the new path has no live consumer yet (by design).

sdk gitlink -> 07dbdbc (merged sdk main) + go.mod require -> v0.2026194.1655. Based on e38420e
(P12 #95 merged); surfaces disjoint (resolvedproject vs check-family); delta re-gate green.

Assisted-by: Claude (analysed on a live system)
Claude-Session: https://claude.ai/code/session_01JptaWtTENzSWbL2683QBtr
…194.1713

Merge-time CalVer stamp (evaluator): rename the placeholder CHANGELOG to the
finalized 2026.194.1713 + rewrite its H1 to match. Docs-only; no code change.

Assisted-by: Claude (documentation reviewed)
Claude-Session: https://claude.ai/code/session_01FfCy1XJd7xT2KLd2csRj2v
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