Repository navigation
Conversation
…ther — per-member independent Runners Cutover C tasks 5-7 CONSUMER: the check engine's live gather now drives the new kit.RunPlanStaged walk (sdk #236) whenever the bed's plan carries the `stage:` shared modifier or the deploy node carries `parallel: true`. The root live gather's set ALREADY spans the whole bed (load-time FlattenVenuesByPosition hoists every member's plan steps into the root node.Plan with Op.Venue stamped). This PR partitions that set by venue into per-member runs: - staged_walk.go: the partition + decision helpers (hasStageSteps, bedParallel, memberVenueKeys, partitionMemberSet, buildMemberRuns) + the runLiveStaged seam; - live_gather.go (pod arm): when stages or parallel are present, buildMemberRuns assembles ONE MemberRun per venue — the ROOT on the existing runner, each member on an INDEPENDENT newPluginCheckRunner (A4 — never share one Runner across concurrent members) built from the member's own venue executor via podMemberRunner — and drives kit.RunPlanStaged; otherwise today's single-runner sequential walk is preserved byte-for-byte. - stages group in first-seen order and stage groups execute in order; WITHIN a stage, different members run CONCURRENTLY (always, by construction); same-member steps keep authored order. `parallel:` does not interact with stages (stages dominate); without stages, `parallel: true` runs whole-member plans concurrently. - result collection + drain semantics live in the kit walk (per-member slices, one mutex for the shared-summary append, WaitGroup stage barriers — a member step failure never stops other members). Tests (staged_walk_test.go): stage detection over the whole set, the parallel scalar read (node + overlay), distinct member venues in first-seen order, per-member partition preserving authored order, empty-member filtering, no-member fallback (nil -> the plain single-runner path). sdk/spec re-pins: sdk v0.2026250.527 -> v0.2026250.928, spec v0.2026250.709 -> v0.2026250.903.
Review — BLOCKHead SHA: Change class: feature — check-engine consumer of the staged/parallel bed walk (runtime/code change). Blocks
Security screen: PASS (no scope mismatch, no secrets/exfiltration, no weakened guardrails; sdk/spec re-pins are the project's own proxy modules). Placement: CORRECT — the consumer seam lives in the candy (plugin-check), the correct layer for a check-engine capability; the walk itself is in the sdk. Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
…s (policy B) Syncs all submodule pins to their merged main HEADs via scripts/sync-gitlinks.sh: - charly -> c1229f00 (config: verb stack #558 + CC-3/CC-R10); - distro-cachyos -> 5bb0eb5 (crabbox wave beds #74); - layer-crabbox v2026.250.1023 / plugin-crabbox + pod-crabbox v2026.250.1019 (the crabbox v0.51.0 wave PR tags); - the tag-on-merge advances of the wave + CC-3 contracts (spec/sdk/plugin-box/ plugin-egress/plugin-deploy-pod/plugin-generate-packages + the charly-* box gitlinks + marketplace). All pins are merged refs (policy B). plugin-check is intentionally NOT in this sync (its working tree carries the CC-3 consumer wave's in-flight WIP under opencharly/plugin-check#33; its gitlink is unchanged here).
…y B) (#153) * chore(umbrella): sync charly + plugin-fleet gitlinks to the CC-2 tags * chore: umbrella sync — pin the crabbox v0.51.0 wave + CC-3/CC-R10 tags (policy B) Syncs all submodule pins to their merged main HEADs via scripts/sync-gitlinks.sh: - charly -> c1229f00 (config: verb stack #558 + CC-3/CC-R10); - distro-cachyos -> 5bb0eb5 (crabbox wave beds #74); - layer-crabbox v2026.250.1023 / plugin-crabbox + pod-crabbox v2026.250.1019 (the crabbox v0.51.0 wave PR tags); - the tag-on-merge advances of the wave + CC-3 contracts (spec/sdk/plugin-box/ plugin-egress/plugin-deploy-pod/plugin-generate-packages + the charly-* box gitlinks + marketplace). All pins are merged refs (policy B). plugin-check is intentionally NOT in this sync (its working tree carries the CC-3 consumer wave's in-flight WIP under opencharly/plugin-check#33; its gitlink is unchanged here). * fix: charly gitlink -> 1912c7ff (true merged main; c1229f00 was an unmerged CC-R10 PR head — policy B) * evidence: tier corrected + operator sign-off + policy-B distro clarification (A1/A3/R1)
Decision: CLOSE as superseded-by-SDK-walk (trace-driven, not dismissal)The four validator findings (A2/A3/B5/B14/A1) are all valid, and the trace the parent 1. What the consumer does that
|
Summary
Cutover C tasks 5-7 (CC-3 wave) — the CONSUMER of the new staged bed walk. sdk #236 shipped the walk (
kit.RunPlanStaged: stage grouping in first-seen order, within-stage member concurrency on independent Runners, mutex result collection, drain semantics) and spec #116 shipped thestage:/parallel:schema. This PR drives them from the check engine's live gather.staged_walk.go (new) — the partition + decision helpers:
hasStageSteps— whole-set stage detection (Candy/Box/Deploy).bedParallel— theparallel:substrate scalar, read from the deploy node or its per-host overlay twin.memberVenueKeys/partitionMemberSet/buildMemberRuns— the whole-bed flattened set (root + hoisted member steps, venue-stamped by the load-time FlattenVenuesByPosition pass) is partitioned by venue into per-member runs in first-seen order.live_gather.go (pod arm) — when the bed carries stages or
parallel: true:newPluginCheckRunner(A4 — never share one Runner across concurrent members) with the member's own venue executor (podMemberRunner);kit.RunPlanStagedruns the members: stage groups in order, members concurrent within a stage, same-member steps in authored order;parallel:dominates nothing — stages dominate; without stages,parallel: trueruns whole-member plans concurrently.Result collection + drain semantics are in the kit walk (sdk #236), which this consumer only feeds member runs into.
How tested
TDD coverage (staged_walk_test.go): stage detection over the whole set incl. member steps; parallel scalar read from node AND overlay; distinct member venues in first-seen order with the root excluded; per-member partition preserving authored order; empty-member filtering; no-member fallback returns nil (plain path).
The R10 two-VM-member bed + the cross-venue
stage:ordering case land with the charly wave's box/bed updates (the consumer seam is in place; the bed fixture + live proof follow in the charly repo wave).Rulebook compliance
newPluginCheckRunner; the walk's collector serializes the shared-summary append under one mutex.Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)