Repository navigation
fix: entity loader + live-pilot hardening - #1
Merged
Merged
Conversation
- entity.go: now reads the named kind:pipeline node from charly.yml (cwd/CHARLY_PROJECT_DIR) — placement-independent, no reliance on the in-process loader cache; validates against the served schema. - agent.go: extractJSON plan-json special-case — the agent's single JSON object (Config-Oracle contract) powers @stage.plan-json.field refs. - probes.go: media_gate is pr-aware (pr-<pr>.<ext> and bare <ext>); resolve_channel returns its value (probe stage outputs). - executor.go: per-stage status lines; the ledger dumps on FAIL-HARD too; runCtx carries the entity's report/media blocks for .X template sources. - render.go: generate resolves .* templates from the entity's report block. - pipeline_test.go: TestCLIValidate via a charly.yml fixture. - Live-proven: pilot-live (command/probe/agent/generate/gate/media/media-gate all ok, exit 0, local Ollama deepseek-v4-flash:cloud + gh PR tools + skills corpus, ffmpeg mjpeg->mp4 211KB->49KB) and the real eval-lane-plan legs 1-4 green.
This was referenced Sep 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make the pipeline command surface placement-independent and live-pilot-hardened:
pipeline run/validate <entity>reads the named kind: pipeline node from charly.yml (cwd or CHARLY_PROJECT_DIR) and validates it against the served schema — no reliance on the in-process loader cache.plan-jsonspecial-case (the agent's single JSON object powers@stage.plan-json.fieldrefs).pr-<pr>.<ext>and bare<ext>); resolve_channel returns its value as a probe output.$report.Xtemplate sources).$report.*templates from the entity's report block.How tested
go test ./...ok,go vetok;charly box validateon eval-charly: OK — 186 candies, 0 warnings.pilot-live) with the local Ollama (deepseek-v4-flash:cloud) + real gh PR tools + the skills corpus:[stage live-command] ok,channels ok,triage ok(live LLM),bed-render ok,gate-pass ok,media ok(ffmpeg mjpeg→mp4, 211KB→49KB),media-gate ok,gate-fail ok— exit 0.Rulebook compliance
R1: every fix driven by a live failure (gates naming, env_accept descriptions, probe naming, plan-json extraction); R10 fresh proof from the committed tree pending validator; PR-only landing.
Change classification
Enhancement/fix — internal engine; verification gate: full live test (above); attribution tier: fully tested and validated (live runs, pasted output).
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)