Skip to content

feat(core)!: K3 ready-now opener — dissolve alias residue + calamares_types + dead code - #137

Merged
atrawog merged 8 commits into
mainfrom
feat/k3-build-engine
Jul 16, 2026
Merged

atrawog merged 8 commits into
mainfrom
feat/k3-build-engine

Conversation

@atrawog

@atrawog atrawog commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

K3 (build-engine lane) core-minimization cutover, the READY-NOW half decoupled from the engine-relocation spike:

  • Deleted all 24 remaining charly/*_aliases.go/*_alias.go files (ZERO-ALIASES dissolution) — every call site now references spec.X/deploykit.X/kit.X/buildkit.X directly. The handful of real (non-alias) symbols each file carried (3 init() DI hooks, 4 reverse-executor methods, 3 utility functions) were relocated to the semantically nearest existing file, not deleted.
  • Deleted labels.go's 44-entry LabelX alias block and install_plan.go's ~35-symbol Scope/Venue/Phase/StepKind/Gate/ReverseOp*/InstallStep alias slice.
  • Deleted calamares_types.go (its 2 functions moved to sdk/spec via sdk PR docs(autonomy): context-exhaustion is a forbidden excuse; "fresh context" = DELEGATE #61, merged as 7275884/v0.2026197.2042 — this PR bumps the sdk gitlink + go.mod require to match, and repoints layers.go's 3 callers).
  • Deleted layers.go's dead NeedsGit()/HasPypiDeps() (zero callers).
  • R1 stale-doc sweep: candy_model_accessors.go's header wrongly justified Candy staying core via "the compiler depends on the abstraction" — corrected to the real reason (construction calls the loader). 9 more comments across 8 files + 2 candy plugins named now-deleted alias files in present tense — swept.
  • Investigated (not moved, documented in the CHANGELOG): Candy struct → sdk/buildkit (construction genuinely loader-coupled, deferred); the build engine itself (found ALREADY relocated to sdk/deploykit+candy/plugin-build in an earlier wave — see CHANGELOG "K3 spike verdict"); intermediates.go's auto-intermediate DAG orchestration (design complete and confirmed movable, but its 1534-line test suite has no CandyModel fake to migrate onto — scoped as its own follow-on cutover, not folded in here).
  • Merged origin/main's concurrent K5-lane-A landing (vm+k8s status collector relocation) mid-flight: resolved 2 modify/delete conflicts by taking the deletion, repointed one new test file's BundleConfig reference to deploykit.BundleConfig.

Precise deletion list (verify each against reality — do not trust the summary alone)

Scope confirmation: these 24 files are exactly the ones team-lead's original K3 brief named ("your ~22 P15 alias files (deploykit_*/kit_*/buildkit_aliases/ssh_config_aliases/deploykit_pod_aliases/calamares_types) + labels.go's + install_plan.go's alias slice + build_stage_atomic.go") — K3 build-engine-scoped calamares relocation + core-alias residue. This is NOT the separate, parked #52 "K4 consumer-move" wave (a different, not-yet-executed wave with its own owner) — zero files here were claimed by or borrowed from that wave.

24 files deleted in commit f1bc841 (git show f1bc841 --diff-filter=D --name-only):

charly/buildkit_aliases.go
charly/build_stage_atomic.go
charly/calamares_types.go
charly/deploykit_aliases.go
charly/deploykit_candymodel_alias.go
charly/deploykit_candyref_aliases.go
charly/deploykit_compiler_aliases.go
charly/deploykit_compiler_helper_aliases.go
charly/deploykit_pod_aliases.go
charly/deploykit_state_aliases.go
charly/deploykit_tree_aliases.go
charly/kit_aliases.go
charly/kit_container_name_aliases.go
charly/kit_engine_aliases.go
charly/kit_env_aliases.go
charly/kit_envfile_aliases.go
charly/kit_executor_aliases.go
charly/kit_http_fetch_aliases.go
charly/kit_ledger_aliases.go
charly/kit_refs_aliases.go
charly/kit_reverse_aliases.go
charly/kit_runtime_config_aliases.go
charly/kit_transfer_aliases.go
charly/ssh_config_aliases.go

22 of these carry the *_aliases.go/*_alias.go naming (pure type X = spec.X / var x = kit.Y re-export files); build_stage_atomic.go and calamares_types.go are named differently but are the same class (a 2-symbol alias file, and a dead-weight relocated-content file, respectively) — both explicitly named in the original brief. Verify GONE: git show HEAD:<path> on any of the 24 must error path does not exist. Verify no dangling consumer: git grep for each bare alias symbol name (e.g. InstallPlan =, DeployExecutor =) outside sdk/ returns nothing in charly/. Verify build green: pasted below.

layers.go's dead NeedsGit()/HasPypiDeps() are function-level deletions WITHIN a kept file — pre-deletion, git grep -rn 'NeedsGit(\|HasPypiDeps(' in the base commit found zero callers anywhere in the tree outside their own definitions; post-deletion, the same grep on this branch returns nothing at all. labels.go's 44-entry LabelX alias block and install_plan.go's ~35-symbol alias slice are block-level deletions within kept files (both files retain their real, non-alias content).

Full narrative: CHANGELOG/2026.197.2300.md.

Change class

cross-repo — sdk half (PR #61) already merged; this is the charly consumer half. Landing order per B2: sdk (done) → this PR.

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

  • The gate for this change class: charly Go code touching build-engine/install-plan/deploy-execution surfaces broadly — go test ./... + task build:binary (R9) + charly check run <bed> for the bed whose kind matches the touched code paths (build + deploy + install-plan + labels): check-pod.
  • Eval beds run: check-pod | pod (box/fedora) | ok | 12 steps | 319s. Binary version 2026.197.2101 (built fresh via task build:binary from this branch's HEAD, confirmed via charly version BEFORE the run). Run CalVer 2026.197.2113. Not a cross-cutting loader/resolver/IR change requiring the full concurrent roster — this touches build/deploy/install-plan specifically, which check-pod (candy image build + candy layer composition order + kind: pod runtime + every DeployTarget rendering path) directly exercises.
  • Fresh rebuild: confirmed — the bed's own sequence includes a charly update fresh-rebuild step (update (fresh rebuild) | ok=true | 47s), followed by a full feature-run-rebuild pass (24 steps, 21 passed, 0 failed, 3 skipped — all 3 skips are benign: 1 unbound agent-check, 2 build-context-only steps correctly inactive live).
  • Did the CHANGED code path execute live? Yes. check-live/feature-run-rebuild exercised check-compose-order (candy layer composition — install-plan's dissolved Scope/Venue/Phase/Gate types flow through this), check-port-listening/check-service-running (kind:pod runtime), status-shows-pod (DeployTarget rendering — the relocated reverse-executor methods in bundle_add_cmd.go), and every built-in plugin-verb dispatch, ALL on the fresh rebuild, not merely compiled.
  • Concurrency: N/A — this change doesn't touch the loader/discover walk, deploy ledger, podman store, or resource arbiter; it's a mechanical alias-dissolution + relocation, not new concurrent-state logic.
$ task build:binary   (in worktree root, HEAD ee722b2)
... (clean)
$ ./bin/charly version
2026.197.2101

$ go test ./charly/... 2>&1 | tail -5
ok  	github.com/opencharly/charly/charly	88.953s
ok  	github.com/opencharly/charly/charly/internal/pluginsgen	0.008s

$ cd charly && golangci-lint run ./...
0 issues.

$ cd box/fedora && charly check run check-pod
EXIT: 0
CALVER: 2026.197.2113
STEPS:
  image-build           ok=true   196s
  check-image            ok=true    11s
  deploy-add              ok=true    21s
  config                    ok=true     3s
  start                     ok=true     8s
  bring-up-members     ok=true     0s
  check-live               ok=true    11s   (25 steps: 22 passed, 0 failed, 3 skipped)
  feature-run             ok=true     9s
  update (fresh rebuild)  ok=true    47s
  feature-run-rebuild     ok=true    10s   (24 steps: 21 passed, 0 failed, 3 skipped)
  cleanup                  ok=true     3s
  cleanup-members       ok=true     0s
TOTAL: 319s
OVERALL: ok

$ git grep -n 'deploykit_aliases\.go\|buildkit_aliases\.go\|kit_aliases\.go\|calamares_types\.go' -- ':!CHANGELOG'
candy/plugin-vm/vm_move_aliases.go:13: ...K3 ZERO-ALIASES dissolved charly/buildkit_aliases.go...
charly/format_config.go:15: ...K3 ZERO-ALIASES dissolved charly/buildkit_aliases.go...
(both PAST-TENSE, correctly describing the dissolution this PR performs — no
stale claim that either file still exists; no hits outside these + CHANGELOG/)

Attribution tier

fully tested and validated — all 10 Testing Standards met, the check-pod R10 bed passed on a fresh rebuild with the changed code paths (build engine, install-plan, labels, deploy reverse-ops) actually exercised.

Assisted-by: Claude Sonnet 5 (fully tested and validated)

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

  • R0 skills: /charly-internals:go, /charly-internals:plugin (the kernel/plugin boundary law — ZERO-ALIASES), /charly-internals:install-plan, /charly-internals:generate-source, /charly-internals:strict-policy, /charly-internals:git-workflow, /charly-check:check were consulted throughout.
  • R1 RCA + zero warnings: every failure/anomaly RCA'd before fixing (documented in the CHANGELOG's "K3 spike verdict" — a mistaken plan to relocate ComputeIntermediates was caught by tracing its actual callers before committing, and reverted cleanly rather than shipped); build/test/lint clean at zero warnings throughout.
  • R2 no out-of-scope: every stale reference the dissolution surfaced was swept in this same commit (9 additional files beyond the primary alias deletions); intermediates.go's move and the localpkg.go deploy-executor half were explicitly evaluated and are NOT included here (documented reasons in the CHANGELOG), not silently dropped.
  • R3 no duplication: this PR IS the duplication removal (24 alias files were the duplication); the relocated real symbols each went to ONE semantically-correct home, no new duplication introduced.
  • R4 no workaround: no sleep/retry/magic-number/env-shim; the 2 merge conflicts were resolved by taking the correct side (the file that superseded the deleted one), not papered over.
  • R5 hard cutover + grep: git grep for every deleted alias filename returns only 2 correctly-past-tense mentions + CHANGELOG history (pasted above) — the full self-test, including a second pass that caught 9 more stale references beyond the primary deletion commit.
  • R6 git safety: git status/git diff --stat checked before every destructive action; the merge conflict resolution used git rm (explicit) not a blind overwrite.
  • R7 runtime gate: the check-pod R10 bed ran the full live sequence, not just go test — pasted above.
  • R8 artifact invariants: N/A for this specific diff (no Containerfile-generation LOGIC changed, only reference-target dissolution) — but the check-pod bed's image-build step did produce and validate a real Containerfile.
  • R9 binary == source + deps: charly version (2026.197.2101) confirmed matching this branch's HEAD before the bed ran; no new runtime OS dependency introduced.
  • R10 disposable + coverage: check-pod is disposable: true; ran to a fresh rebuild; the change ships no new FUNCTIONALITY (a pure relocation), so the existing full test suite + the live bed IS the coverage that would fail if the dissolution broke a call site.
  • RDD / ADE / SDD: RDD — the ComputeIntermediates relocation's design was proven correct via live tracing before any code was committed, then explicitly NOT shipped once the test-coverage gap was found (a spike that discovered scope, not an excuse to skip). ADE/SDD: N/A — no candy/plan or CUE schema touched in this PR (the sdk half's PackageNames/PackageItemsFromStrings addition already landed via docs(autonomy): context-exhaustion is a forbidden excuse; "fresh context" = DELEGATE #61).
  • Hard cutover: ONE atomic cutover, no transitional/dual-mode path left (every alias file fully deleted, not stubbed); no "Phase 2" deferred INTO this scope (the deferred items — Candy/buildkit, intermediates.go, localpkg.go deploy-half — are explicitly out-of-scope discoveries, documented as their own follow-ons, not incomplete parts of THIS scope).
  • Kernel/plugin boundary law: this cutover IS boundary-law enforcement (dissolving aliases that violated ZERO-ALIASES); the spike additionally confirmed the render engine already correctly lives in sdk/deploykit+candy/plugin-build, not core.
  • Disposable-only autonomy: the check-pod bed run was on a disposable: true target only.
  • Clean architecture + Go gates: gofmt -l . clean (via the mechanical gofmt -r rewrite passes), golangci-lint run ./... = 0 issues, go vet clean, go test ./... green — all pasted above.
  • CHANGELOG: CHANGELOG/2026.197.2300.md staged (placeholder CalVer; the pr-validator finalizes it at merge).

atrawog added 7 commits July 16, 2026 22:23
…ares_types + dead code

Core-minimization K3 (build-engine lane), the READY-NOW half decoupled from
the engine-relocation spike:

- ZERO-ALIASES dissolution: delete all ~23 remaining charly/*_aliases.go /
  *_alias.go files (deploykit_*, kit_*, buildkit_aliases, ssh_config_aliases,
  build_stage_atomic) and labels.go's 44-entry LabelX alias block +
  install_plan.go's Scope/Venue/Phase/StepKind/Gate/ReverseOp*/InstallStep
  alias slice. Every call site now references spec.*/deploykit.*/kit.*/
  buildkit.* directly — an alias is always residue regardless of what it
  aliases. The handful of real (non-alias) symbols each file carried — 3
  init() DI hooks, 4 reverse-executor methods, 3 utility functions — were
  relocated to the semantically nearest existing file (checkspec.go,
  egress.go, bundle_add_cmd.go, shell_profile.go, checkrun_act.go) rather
  than deleted or left as orphaned alias-named files.
- calamares_types.go dissolution: PackageNames/PackageItemsFromStrings moved
  to sdk/spec (alongside the PackageItem type they operate on); the file is
  deleted and its 3 callers in layers.go repoint to spec.*.
- R5 dead-code removal: layers.go's NeedsGit()/HasPypiDeps() (zero callers
  anywhere in the tree).

Candy struct relocation to sdk/buildkit was investigated and DEFERRED to the
engine-relocation spike: its field types are already sdk-hosted (via the
vmshared aliases), but its construction (ScanCandy/scanCandy/parseCandyYAML)
is genuinely loader-coupled, the same dependency the spike addresses head-on.

Gate: go build/vet/test/lint clean on both charly and sdk (fresh
`task build:binary`, `go test ./...`, `golangci-lint run ./...`); a live
`charly box generate` run against check-k8s-deploy-app produced a correct
Containerfile end-to-end, proving the change didn't disturb the existing
CandyModel/EmitTasks emission path.

Assisted-by: Claude Sonnet 5 (analysed on a live system)
charly/buildkit_aliases.go was deleted by the prior K3 commit
(f1bc841); format_config.go's own doc-comment and
candy/plugin-vm/vm_move_aliases.go's comment both still named it as an
existing alias surface. Documentation divergence surfaced by the same
cutover that caused it — swept in the same working tree per R1/R2
rather than deferred.

Assisted-by: Claude Sonnet 5 (analysed on a live system)
candy_model_accessors.go's header claimed the Candy struct stays in charly
because "the compiler depends on the abstraction" — but an interface never
pins its implementer's location; deploykit.CandyModel is already consumed
plugin-side today (render.go, graph_shim/intermediates_shim). The real
reason Candy's construction stays host is that ScanCandy/scanCandy/
parseCandyYAML call the loader (a genuine core Mechanism), confirmed by the
K3 build-engine investigation. Corrected the comment to state that.

Assisted-by: Claude Sonnet 5 (analysed on a live system)
sdk PR #61 (feat(spec): add PackageNames/PackageItemsFromStrings) merged
as 7275884, tagged v0.2026197.2042 — the K3 calamares_types.go relocation's
producer half. Bumps the gitlink to the merged commit and charly/go.mod's
require version to match (in-tree resolution rides the replace directive;
the require version matters for out-of-tree consumers).

Assisted-by: Claude Sonnet 5 (analysed on a live system)
# Conflicts:
#	charly/status_collect_vm.go
#	charly/status_collect_vm_test.go
…ferences

The R5 grep self-test for the K3 alias dissolution (f1bc841) surfaced 9 more
stale comments naming deleted alias files in present tense ("aliased in
kit_aliases.go" / "re-points ... deploykit_pod_aliases.go" / etc.) across
check_feature_run.go, check_members.go, checkspec.go, cue_loader.go,
quadlet.go, secrets.go, sidecar.go, volumes.go, and
candy/plugin-secrets/aliases.go. Every one now states the current, correct
fact: the symbol is referenced directly (kit.X / deploykit.X), not through a
deleted alias file. `git grep` for every deleted alias filename now returns
only the two already-correct past-tense mentions (K3 dissolved ...) plus
CHANGELOG/ history.

Assisted-by: Claude Sonnet 5 (analysed on a live system)
Placeholder CalVer filename per convention; the pr-validator finalizes the
stamp (git mv to the real merge-time CalVer) at merge.

Assisted-by: Claude Sonnet 5 (documentation reviewed)
@atrawog

atrawog commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Head SHA validated: ee722b26ce3116aa7fac17d2825130e2878423ce (base 0bd54bc1c2b1d32e33b4adc706baa959b6f75c54)

Change class: charly-or-sdk Go, cross-repo (sdk producer half already merged). Runtime tier.

What this PR does (independently confirmed, not re-stated on trust)

Deletes all 24 remaining charly/*_aliases.go/*_alias.go files (ZERO-ALIASES dissolution) + labels.go's 44-entry LabelX alias block + install_plan.go's ~35-symbol alias slice + calamares_types.go (its 2 functions moved to sdk/spec via the already-merged sdk PR #61) + 2 dead functions in layers.go, and sweeps 10 stale comments (including a genuine R1 boundary-law reasoning fix in candy_model_accessors.go).

Independent verification (fresh, unique worktree /home/atrawog/Atrapub/o/charly-wt-val137, HEAD ee722b2)

  1. B2 gitlink correctness — PASS. sdk gitlink pins 7275884 (go.mod require v0.2026197.2042). Verified 727588... is a genuine ancestor of sdk's real origin/main (git merge-base --is-ancestor → yes) and the tag v0.2026197.2042 exists on the remote (git ls-remote --tags). Not an unmerged/local SHA.
  2. All 24 deletions REAL — PASS. git cat-file -e HEAD:<path> confirms every one of the 24 named files is GONE on the PR head (zero "still exists" hits). labels.go's LabelX block and install_plan.go's alias slice are also confirmed removed (0 grep matches for either pattern).
  3. R5 self-test — PASS. git grep for all 24 deleted filenames (+ calamares_types.go, build_stage_atomic.go) outside CHANGELOG/ returns exactly 2 hits, both correctly PAST-TENSE describing THIS PR's own dissolution (candy/plugin-vm/vm_move_aliases.go:13, charly/format_config.go:15) — not stale, since the claim becomes true in the same atomic commit that makes the assertion (unlike PR docs(changelog): align 2026.193.1611 H1 with its filename #77's cross-repo premature-claim problem I caught earlier this session, this is a same-commit claim about the change it itself makes).
  4. intermediates.go / intermediates_shim.go NOT moved — PASS. Per the earlier constraint that this PR must not fold in the intermediates DAG-orchestration move: diffed both files against the merge-base and confirmed the changes are PURELY type/qualifier repoints (ResolvedBox→buildkit.ResolvedBox, BuilderMap→buildkit.BuilderMap, sortStrings→kit.SortStrings) — zero control-flow or algorithm changes. The orchestration logic itself is untouched and stays in charly/, exactly as scoped.
  5. K4/K5-file risk classification — sampled every flagged file, all confirmed MECHANICAL. Diffed bundle_add_cmd.go (103 lines), check_cmd.go (65), bundle_cmd.go (38), check_venue.go (30), check_kit_adapter.go (29), check_runner_live.go (27), check_bed_run.go (14), data.go (13), check_members.go (11), build_overlay.go (20), agent_forward.go (6), deploy.go (4), plus the largest overall-churn file labels.go (225). Every hunk is a bare-identifier→qualified-name repoint (X→kit.X/deploykit.X/buildkit.X/spec.X) or import reordering. The one non-trivial addition — 4 one-line deployDelCmd accessor methods satisfying kit.ReverseExecutor in bundle_add_cmd.go — matches the PR's own stated "4 reverse-executor methods relocated" claim exactly. No substantive logic change found anywhere sampled. This confirms the low-risk classification: check-pod + a green independent build is a sufficient gate for this diff; a check-local/bundle bed would not exercise anything this diff could newly break.
  6. candy_model_accessors.go R1 fix — verified ACCURATE. The OLD comment's reasoning ("the compiler depends on the abstraction, so Candy stays core") is a genuine boundary-law error — an interface consumed elsewhere never pins its implementer's location. The NEW comment correctly identifies the real reason (Candy's construction calls the loader, a genuine core Mechanism). This is a legitimate R1 fix, not just relabeling.
  7. Independent rebuild — PASS, clean. task build:binary from this branch's HEAD: clean, no warnings. ./bin/charly version → 2026.197.2129 (fresh, matches this HEAD).
  8. Independent go vet ./...(workspace mode) — PASS, clean. (Note: GOWORK=off go vet fails on plugins_generated.go's candy/plugin-* workspace-member imports — this is the documented architectural fact from /charly-internals:go, not a defect; go mod verify is the correct GOWORK=off check, vet/test run in workspace mode.)
  9. Independent GOWORK=off go mod verify — PASS, "all modules verified".
  10. Independent go test ./... — PASS, both packages green (103.8s), zero failures.
  11. Independent golangci-lint run ./... — PASS, 0 issues.
  12. Independent live R10 bed — PASS. Ran charly check run check-pod myself, fresh, from my OWN build (not re-reading the author's pasted output): charly check run check-pod: PASS (steps=12), exit 0.
  13. Comment intake: zero PR comments, zero reviews on feat(core)!: K3 ready-now opener — dissolve alias residue + calamares_types + dead code #137.
  14. Cross-PR interaction — informational, non-blocking. K5 lane A continuation: android status collector → plugin-substrate #136 (feat/k5-status-android, K5 lane A continuation) also touches charly/android_deploy_cmd.go, charly/android_deploy_preresolve.go, charly/bundle_members.go. Both PRs are currently MERGEABLE against main (no conflict today). Per the standing sequencing directive (alias-dissolution foundation lands first, domain waves rebase after), K5 lane A continuation: android status collector → plugin-substrate #136 will need gh pr update-branch + the delta re-gate once feat(core)!: K3 ready-now opener — dissolve alias residue + calamares_types + dead code #137 merges — flagging for the orchestrator's post-merge broadcast, not a finding against feat(core)!: K3 ready-now opener — dissolve alias residue + calamares_types + dead code #137 itself.
  15. CHANGELOG (2026.197.2300.md) — present, correctly named, H1 matches filename, no trailing whitespace/tabs, narrative consistent with the PR body and with everything I independently verified above.

One process finding, not blocking (feedback for the record)

Team-lead's cited independent-confirmation command — gh pr diff 137 | grep '^+' | grep 'opencharly/sdk/\(kit\|deploykit\|buildkit\|loaderkit\|vmshared\)"' — actually errors (gh pr diff refuses PRs over GitHub's 300-file API limit; this one has 344 changed files) and produces zero stdout, so the "0 matches" was grep running on empty/failed input, not a real check. I independently re-verified the REAL underlying claim properly: comparing the set of sdk/* subpackages charly/*.go imports at the merge-base vs. the PR head (git grep -h '"github.com/opencharly/sdk/' <rev> -- 'charly/*.go') — the set is IDENTICAL both sides (buildkit, deploykit, enginekit, kit, schemaconcat, spec, sshx, vmshared). So the architectural claim itself is TRUE — no new sdk mechanism-kit package enters charly's dependency closure, only the distribution of an already-existing package-level dependency shifts from 24 alias files into their direct consumers (expected, since every deleted alias file, by definition, already imported the very kit it re-exported). This does not change my verdict, but the verification INSTRUMENT that produced the claim was broken and should not be reused as-is on a similarly large PR.

Decision

APPROVED. Every claim in the PR body that I could independently check, checked out true. The diff is exactly what it says it is: a mechanical ZERO-ALIASES dissolution + the calamares relocation + a legitimate R1 documentation fix, gated correctly by check-pod given the confirmed low-risk nature of every touched call site. Proceeding to Phase 3 (finalize CalVer, merge --squash, tag).

Assisted-by: Claude Sonnet 5 (fully tested and validated)

Assisted-by: Claude Sonnet 5 (fully tested and validated)
@atrawog
atrawog merged commit ecaa6d4 into main Jul 16, 2026
@atrawog
atrawog deleted the feat/k3-build-engine branch July 16, 2026 22:07
atrawog added a commit that referenced this pull request Jul 16, 2026
…tus-android

# Conflicts:
#	charly/status_collect_adb.go
#	charly/status_collect_adb_test.go
#	charly/status_substrate.go
atrawog added a commit that referenced this pull request Jul 16, 2026
…verdict

Fresh PR-validator pass on a fresh worktree: rebased feat/k5-status-android
onto origin/main (#137's K3 alias-dissolution merged first), re-verified
build/vet/test/lint clean on both modules post-rebase, re-ran the live
status smoke tests against a fresh rebuild, and accepted the already-green
check-group + check-k8s-deploy R10 bed roster as the risk-proportional
delta re-gate (the #136/#137 file overlap is pure type-alias/relocation,
confirmed by diff). Documents the check-android-emulator-pod bed's
environmental host/image block (rootless-podman fuse + missing
gsettings-desktop-schemas) transparently rather than silently, and flags a
non-blocking test-hygiene finding for a future batch. Finalizes the
merge-time CalVer 2026.197.2104 -> 2026.197.2224 and upgrades the tier to
fully tested and validated.

Assisted-by: Claude Code Claude Sonnet 5 (fully tested and validated)
atrawog added a commit that referenced this pull request Jul 16, 2026
… plugin-substrate

Completes the status-collector generalization (the 3rd and final substrate
after vm+k8s, #135): moves charly/status_collect_adb.go's android device
collector into candy/plugin-substrate, following the exact vm/k8s pattern.
This deletes the last SubstrateCollector in-proc registrant, so
charly/status_substrate.go collapses to a bare CollectOpts data-carrier —
the SubstrateCollector interface, collectorFactory, substrateFactories,
and registerSubstrate are ALL deleted, and collectFlat's worker-pool
concurrency fan-out is gone entirely. Net -214 additional LOC from
charly/ core (combined -490 with #135 for the full 3-substrate move).

Rebased onto #137 (K3 alias-dissolution). During independent validation,
a genuine test-isolation defect was found in TestCollectAndroidStatus_Rows
(it reused the real committed check-android-emulator-pod bed name and
called the real, un-mocked containerRunning, so it nondeterministically
failed under concurrent host state) — routed back to the author, fixed at
the root cause (containerRunning is now a swappable var, the test stubs
it, the fixture uses a test-only name), and re-proven by running the test
with a real, identically-named container deliberately up on the host.

The vm/k8s/pod/local collapse is proven via the R10 disposable-bed roster
(check-group + check-k8s-deploy, both green with fresh-rebuild cycles);
the android collector via a real live invocation against the genuinely
declared check-android-emulator-pod bed. The live-running-emulator proof
remains an environmental host/image block (rootless-podman fuse
limitation + missing gsettings-desktop-schemas), independent of this PR.

Assisted-by: Claude Code Claude Sonnet 5 (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