Skip to content

wave: nested-capture Cutover A pin bumps + one-dial contract (in-proc + fixtures) - #540

Merged
github-actions[bot] merged 6 commits into
mainfrom
feat/nested-capture-wave-a
Sep 5, 2026
Merged

github-actions[bot] merged 6 commits into
mainfrom
feat/nested-capture-wave-a

Conversation

@atrawog

@atrawog atrawog commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The nested-capture Cutover A wave lands in charly: spec v0.2026248.1234, sdk v0.2026248.1522 (the materialized-cache connect-pass fix tag), plugin-check v0.2026248.1222, plugin-migrate v0.2026248.1106 (external at runtime: plugin-record v0.2026248.1204, plugin-spice v0.2026248.1241). hostCheckContext implements the new spec.CheckContext.InvokeProvider (the in-proc half of the one-dial contract - providerRegistry.resolve + Provider.Invoke, mirroring the reverse server). Embedded + parity + test fixtures migrated to the schema head 2026.248.1030; box/fedora gitlink advanced to the merged distro-fedora #48 (schema head); pluginsgen re-run (no-op); go.work.sum converged via go work sync.

The one-dial contract (spec#97 + sdk#210) unblocked the spice session E2E: spice: session start passes live through the runner service; the detached recorder lifecycle (systemd spawn -> real frames -> SIGTERM -> FINAL + row.json) proven.

R1 regression fixed in this wave (the go-check gate): the sdk pin bump brought in the materialized-tree cache (sdk#206), whose key (walk envelope + schema CalVer) omits the provider-registry connect state. The F4 external-kind connect pre-pass's nested load cached its DEFERRED-entity tree under the SAME key the outer load then read — handing the outer load a tree with the kind entities missing (TestExternalKind_PrescanConnectDecode + 3 siblings failed). Fixed by sdk#212 (connect-pass cache bypass via the optional connectPassAwareExecutor capability) + this PR's hostLoaderExecutor.InKindConnectPass. All 4 regression tests + the full charly suite pass.

How tested

The changed code paths execute live in the go test suite on this tree's binary: hostLoaderExecutor.InKindConnectPass is exercised by every LoadUnified-driven test (the connect-declared-kind pre-pass runs in TestExternalKind_PrescanConnectDecode and the 3 sibling regression tests); hostCheckContext.InvokeProvider is exercised by the check-context e2e tests (plugin_checkcontext_e2e_test.go).

$ cd charly && go test ./charly/ -run 'TestExternalKind_PrescanConnectDecode|TestExternalKind_OpValidateRejectsInvalidBody|TestExternalStructKind_StructuralDecode|TestMaterializeSeam_RealFixtureDeterministic' -count=1 -v
--- PASS: TestMaterializeSeam_RealFixtureDeterministic (5.94s)
--- PASS: TestExternalKind_PrescanConnectDecode (1.47s)
--- PASS: TestExternalKind_OpValidateRejectsInvalidBody (1.46s)
--- PASS: TestExternalStructKind_StructuralDecode (1.53s)
PASS
ok  github.com/opencharly/charly/charly 10.873s
$ go test ./charly/ -count=1   # full suite
ok  github.com/opencharly/charly/charly 90.137s
$ go test -run TestImportNamespace_MutualCycle -v ./...     # PASS (the sdk cycle-fix)
$ go run ./charly box validate -C box/fedora   # box/fedora at the schema head
charly box validate: OK — checked 441 candies, 38 boxes, 31 deploys, 7 distros, 7 builders; 0 warnings, 0 errors

The live instrument proof (record-session instrument full lifecycle: steps=9, exit 0, evidence.yml + .cast) was pasted in plugin-check#21 (the instrument-session PR, merged). The disposable R10 bed matrix (check-instrument-cachyos-vm / check-instrument-omarchy-vm / check-omarchy-pr-10199-vm / plugin-composition / rebuild-segment / orphan) is a follow-up batch: the two instrument beds are open PRs (distro-cachyos#66, distro-omarchy#45) that re-run on this tree's binary after this merge — this PR's gate is the go suite above.

Rulebook compliance

Rule How met
R1 8-step RCA of the go-check regression: the materialized-tree cache key omits the provider-registry connect state; the connect pre-pass's nested load caches its deferred-entity tree; the outer load hits it. Fixed at the source (sdk#212 + hostLoaderExecutor.InKindConnectPass).
R2 Fix at the source (the cache key's incompleteness), not a workaround.
R3 One cache wrapper, one bypass seam (the optional capability); no second copy of the materialize logic.
R4 No sleeps/retries.
R5 No legacy path retained; the cache stays for non-connect loads.
R6 PR-only landing, no direct push to main.
R7 Full charly suite + the 4 regression tests above.
R8 No disposable targets touched.
R9 No docs/marketplace surface changed.
R10 The changed paths execute live in the go suite on this tree's binary; the disposable R10 bed matrix is the follow-up batch (distro-cachyos#66, distro-omarchy#45).

Change classification

  • Change class: wave pin bumps + one-dial contract + R1 cache-correctness fix
  • Verification gate: full charly suite + 4 regression tests (changed paths execute live in the suite)
  • Attribution tier: analysed on a live system (the changed runtime paths ran live in the go suite with retained output; the disposable R10 bed matrix is the follow-up batch)

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)

Bump spec v0.2026248.1234 + sdk v0.2026248.1237 + plugin-check
v0.2026248.1222 + plugin-migrate v0.2026248.1106 (+ record v0.2026248.1204
external, runtime-resolved); embedded + parity configs migrated to schema
head 2026.248.1030; hostCheckContext implements the new
spec.CheckContext.InvokeProvider (in-proc half of the one-dial contract -
providerRegistry.resolve + Provider.Invoke, mirroring the reverse server);
go.work.sum converged via go work sync; pluginsgen re-run (no-op).
…host InKindConnectPass

The sdk pin bump to v0.2026248.1522 lands sdk#212: the materialized-tree cache
(PR #206) keyed on the walk envelope + schema CalVer, which omits the
provider-registry connect state - the F4 external-kind connect pre-pass's nested
load cached its DEFERRED-entity tree under the SAME key the outer load then read,
handing the outer load a tree with the kind entities missing (the go-check
regression: TestExternalKind_PrescanConnectDecode + 3 siblings).

hostLoaderExecutor.InKindConnectPass implements the sdk's optional
connectPassAwareExecutor capability so loaderkit bypasses the cache for the
connect pass's transient materialization; the outer load re-materializes with
the providers registered. All 4 regression tests + the full charly suite pass.
…48)

The distro-fedora #48 schema-head bump merged (v2026.248.1529); the box/fedora
gitlink advances so the charly tree's box/fedora validates at the wave's schema
head (the CI go check's TestMaterializeSeam_RealFixtureDeterministic loads
box/fedora and requires 2026.248.1030).
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 57186b5e6bc6117b458f327d65e56d51423d1d58 (branch: wave/nested-capture-cutover-a)

Change class: wave pin bumps (spec/sdk/plugin-check/plugin-migrate/box-fedora) + Go code change (check_kit_adapter.go InvokeProvider, load_executor_host.go InKindConnectPass) + fixture migrations.

Security screen: PASS — no scope mismatch (all diff items accounted for in the body), no secrets/exfiltration, no weakened guardrails, no unexpected supply-chain changes (all bumps are opencharly module pins consistent with the wave).

Blocks

  1. A2/A3 — inflated attribution tier + missing bed coverage. The body claims fully tested and validated, but the R10 matrix beds have not run on this tree's binary. The body states verbatim: "The A R10 matrix (check-instrument-cachyos-vm / check-instrument-omarchy-vm / check-omarchy-pr-10199-vm / plugin-composition / rebuild-segment / orphan) runs on this tree's binary once the wave lands … and re-run after this merge." The only pasted evidence is go test output (unit tests). The live instrument proof is "previously pasted in plugin-check#21" — a different PR, not pasted here. The NEW/CHANGED code paths (InvokeProvider, InKindConnectPass) are not shown executing live against a fresh rebuild in this PR. Per A3, a change whose changed branch never ran live is at most analysed on a live system, not fully tested and validated. The author must either paste the fresh-rebuild bed output for the changed paths in this PR, or downgrade the tier.

  2. A1 — body promises future work instead of supplying evidence. The body defers the R10 verification to "once the wave lands" / "re-run after this merge" rather than supplying the pasted output now. For a runtime/code change this is a "will test later" promise, which A1 forbids.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 83c13b6b4f32f9b74a8687739c1e8d51732440f1 (branch: wave/nested-capture-cutover-a)

Security screen: PASS — no scope mismatch (all diff items accounted for in the body), no secrets/exfiltration, no weakened guardrails, no unexpected supply-chain changes (all bumps are opencharly module pins consistent with the wave).

Checklist: All applicable rules PASS or NA.

Comment intake: The single prior github-actions[bot] BLOCK (A2/A3 inflated tier + A1 future-work promise) is stale-superseded — the current body has downgraded the tier to analysed on a live system (correct for a change whose changed paths ran live in the go suite but not on a disposable bed), and the R10 bed matrix is now routed to a NAMED follow-up batch (distro-cachyos#66, distro-omarchy#45), satisfying R2's routing requirement. The changed code paths (InvokeProvider, InKindConnectPass) execute live in the go suite with pasted output — not bare go test. The diff is internally consistent with the body's claims (spec/sdk/plugin-check/plugin-migrate pins, box/fedora gitlink, fixture migrations to 2026.248.1030, pluginsgen no-op, go.work.sum convergence).

Placement: CORRECT — InvokeProvider (hostCheckContext) and InKindConnectPass (hostLoaderExecutor) are host-side implementations of sdk interfaces dispatching through the provider registry / loader executor; both belong in core. No new aliases, no new core imports of sdk kits, no Legacy identifiers.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 5, 2026 15:46
@github-actions
github-actions Bot merged commit 48614fd into main Sep 5, 2026
3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 5, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 5, 2026
…#22) (#541)

* fix: plugin-check -> v0.2026248.1439 (the desugared pipeline-pair fix, #22)

charly #540 pinned plugin-check v0.2026248.1222 (the #21 tag), missing the #22
pipeline-pair fix (v0.2026248.1439): parsePipelines now accepts the loader-
desugared plugin/plugin_input pair. Without it every instrument bed with a
pipeline: stage fails at parse (exactly one verb per pipeline stage) - the
check-instrument-cachyos-vm / check-instrument-omarchy-vm blocker.

* fix: plugin-check -> v0.2026248.2113 (the detached-recorder ctx fix + evidence source threading, #23)

* fix(loader): surface each instrument's capture verb for the plugin scan (Cutover A)

An instrument entry's desugared plugin word (e.g. spice for a spice: session
screen capture) is NOT in the plan — it is a separate deploy-node field — so
without this the loader never build-connects the out-of-process plugin candy
serving it, and the instrument live-start fails with 'no provider registered
for plugin verb spice' (the baked search path is empty under
CHARLY_PLUGIN_ONLY=1). Inject the canonical plugin-<word> candy ref, the same
host-side-plugin pattern as vmPluginCandyRef for verb:libvirt.

* fix: drop the DEV-ONLY local plugin-check replace (CI must resolve the proxy pin)

* chore: re-trigger validator on the updated PR body (plugin-vm bump accounted)
@aitrawog
aitrawog deleted the feat/nested-capture-wave-a branch September 25, 2026 19:05
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