Skip to content

feat(check): fail-fast SKIP for GPU beds with no matching host card - #8

Merged
atrawog merged 2 commits into
mainfrom
feat/gpu-bed-failfast
Jul 8, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/gpu-bed-failfast

Conversation

@atrawog

@atrawog atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

A check bed claiming a GPU resource (requires_exclusive / requires_shared → a resource: gpu vendor) on a host with no matching card used to build a 10-30 GB image and only then die at start with "unresolvable CDI devices nvidia.com/gpu=all" (the shared-nvidia pods), or hard-FAIL at vm-create (the exclusive nvidia VMs). On this AMD-only host that made three NVIDIA-passthrough beds unrunnable-but-reported-as-FAIL — noise that obscured real failures in the P1 roster.

Added a deterministic pre-build host-prerequisite check: before any build or resource acquire, bedGPUPrereqMissing (pure inner gpuPrereqMissing, reusing DetectVFIO + selectGPUByVendor) detects when a required GPU vendor is absent and SKIPS the bed — a new CheckSkippedExitCode (3) + a SKIPPED — no GPU matching vendor … line, exactly like a missing /dev/kvm, never a FAIL and never a wasted build. bedRunResult gains SkippedPrereq/SkipReason; charly check run + main() map it to exit 3; the verify-beds workflow now reads exit 3 as skippedPrereq deterministically (R4 — was an agent's heuristic inference of the output).

Change class + gate (R10, code)

  • go test ./... green (+ new TestGPUPrereqMissing: absent/present vendor, non-GPU token never probes, mixed, none); golangci-lint 0 issues; task build:charly R9 (charly version 2026.189.0146).
  • Live gates (pasted): the GPU bed skips with no build; a non-GPU bed is unaffected.
$ charly -C box/cachyos check run check-cachyos-gpu-vm
charly check run check-cachyos-gpu-vm: SKIPPED — no GPU matching vendor 0x10de on this host (bed requires resource "nvidia-gpu")   # exit 3, NO build

$ charly check run check-local
charly check run check-local: PASS (steps=4)   # exit 0, normal path

Tier: fully tested and validated.

Assisted-by: Claude (fully tested and validated)

A bed claiming a GPU resource (requires_exclusive/requires_shared → resource: gpu
vendor) on a host without that card built a 10-30GB image then died at start
("unresolvable CDI devices nvidia.com/gpu=all") or hard-failed at vm-create. Add
a deterministic pre-build host-prereq check (bedGPUPrereqMissing / pure
gpuPrereqMissing, reusing DetectVFIO + selectGPUByVendor): an absent GPU vendor
SKIPS the bed with a new CheckSkippedExitCode (3) + a "SKIPPED" line, like a
missing /dev/kvm — never a FAIL, never a wasted build. bedRunResult gains
SkippedPrereq/SkipReason; check run + main() map exit 3; verify-beds reads exit 3
as skippedPrereq deterministically (was agent-inferred). Live: check-cachyos-gpu-vm
→ SKIPPED exit 3, no build; check-local (non-GPU) → PASS exit 0 unaffected.

Assisted-by: Claude (fully tested and validated)
@atrawog

atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: code/config (Go) + a prompt-string workflow edit (.claude/workflows/verify-beds.js) riding along at the code runtime tier.

Check Verdict
security & anti-tampering (T1–T4) PASS — no exfiltration / scope-mismatch / weakened-gate / supply-chain finding; no attempt to instruct the validator. No submodule gitlink change (git diff origin/main...HEAD --submodule=short is in-tree only). The verify-beds.js edit strengthens a guardrail: reading exit 3 deterministically replaces an agent's heuristic inference (R4).
description complete PASS — Summary, change-class + R10 gate, pasted live evidence, attribution tier all present.
change-class gate matches evidence PASS — re-ran the gate live on a fresh task build:charly (charly 2026.189.0158).
attribution tier justified PASS — fully tested and validated: fresh build + both changed paths executed live with pasted output.
R5 grep self-test PASS — additive change; no identifier removed/renamed.
R1–R4 / clean architecture PASS — gpuPrereqMissing is a pure, tested function reusing existing primitives (DetectVFIO/selectGPUByVendor/normalizePCIVendor) — no duplication, no sleep/retry/magic-number. Precheck placed BEFORE the acquire (L422) and build (L597); detects only on definite absence (empty resource vocab → false; detect called at most once, only for a GPU token).
CHANGELOG present PASS — placeholder CHANGELOG/2026.189.0150.md (finalized to the merge-time CalVer).
skills honored PASS — /charly-check:check (exit-code convention extended to 3 cleanly), /charly-internals:disposable (requires_exclusive/shared arbitration), /charly-internals:go (errors.AsType exit mapping in main()).

Verified independently (adversarial):

  • Host is AMD-only — lspci -nn: 1002:15bf (Phoenix1), no 10de. The NVIDIA passthrough beds are genuinely unsatisfiable here.
  • go build ./... clean · gofmt -l . empty · go test ./... ok (52.7s) · TestGPUPrereqMissing 6/6 subcases pass · golangci-lint run ./... 0 issues.
  • False-skip concern resolved: scanVFIO enumerates every PCI display-class device by sysfs vendor regardless of current driver binding (nvidia OR vfio-pci), so a real NVIDIA passthrough host is never false-skipped — the skip fires only on true absence. This is the same DetectVFIO+vendor-select the already-shipping auto-allocation path relies on.
  • Live gate 1 (mandatory GPU skip): charly -C box/cachyos check run check-cachyos-gpu-vm → SKIPPED — no GPU matching vendor 0x10de on this host (bed requires resource "nvidia-gpu"), exit 3, instant — NO image build.
  • Live gate 2 (non-GPU unaffected): charly check run check-local → PASS (steps=4), exit 0 — full build→deploy→check→fresh-update→teardown sequence, precheck did not interfere.

Non-blocking observation (author's next cutover, not gating): the skip reason prints three times (runCheckBed + CheckRunCmd.Run + main()'s FormatCLIError). Cosmetic redundancy; the exit-3 contract + deterministic detection are unaffected.

Decision: APPROVED. The change is additive, sound, and both new code paths are proven live on a fresh rebuild. Finalizing the merge-time CalVer, merging (rebase), and tagging.

Assisted-by: Claude (fully tested and validated)

…ail-fast skip)

Merge-time version stamp for PR #8 (feat/gpu-bed-failfast), applied by the
fresh pr-validator on PASS. No behavior change — renames the placeholder
CHANGELOG entry to the merge-time CalVer.

Assisted-by: Claude (fully tested and validated)
Claude-Session: https://claude.ai/code/session_01LjLm6DGQasmXaXw2ZorwhE
@atrawog
atrawog merged commit a69f0fb into main Jul 8, 2026
@atrawog
atrawog deleted the feat/gpu-bed-failfast branch July 8, 2026 02:11
atrawog added a commit that referenced this pull request Jul 24, 2026
…fedora main

opencharly/distro-fedora PR #8 (the R5 HostArbiter prose-sweep completion,
companion to this PR) merged as afb9237b (squash) on distro-fedora main.
Repoint this PR's box/fedora gitlink from the branch-tip commit (a06cd314,
which was never on distro-fedora's protected main) to the merged commit --
the half-assembled-base hazard B2 warns about (a superproject PR must never
reference a submodule commit its own main has never seen).

git -C box/fedora fetch origin main confirms afb9237b is origin/main's tip;
git diff --cached --submodule=short shows the gitlink advancing FORWARD to
the descendant merge commit, never re-pinning the older branch tip.

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; documentation reviewed)
atrawog added a commit that referenced this pull request Aug 4, 2026
…ips with

The previous commit's subject was "the excerpt checker shipped red". It fixed the
two classification bugs and pasted EXIT=0. The checker still exits 1 at the
committed state, and the EXIT=0 I pasted was executed against my WORKING TREE,
where the `docs` submodule sits on the unmerged `faae85c`.

Mechanically, no experiment needed:

    $ git -C docs cat-file -e 9b4697f2:src/content/docs/guides/authoring-a-candy.md
    fatal: path '...' exists on disk, but not in '9b4697f2...'

The script reads pages that exist only on the branch opencharly/docs#8 lands. A
missing page is a hard failure, by design. So against the `docs` gitlink this
commit pins — which is what the squash lands — it exits 1 on missing pages, and
would have gone onto main as a gate red on its own tree.

That is the fourth time in this program a claim survived only because of local
checkout state, and the first inside a commit whose entire subject was the same
class of error. The rule that catches it is not new and I keep restating it
without applying it: evidence must be executed against `git ls-tree HEAD
<submodule>`, never the working tree, because the working tree is exactly the
thing under suspicion.

THE FIX IS ORDERING, NOT CODE. The script is correctly placed in the superproject
— it is the only place that can see the docs and the sources they quote at once —
and it is genuinely non-vacuous (review mutated three blocks; each failed). It
simply cannot pass until the pages it reads exist at the pinned gitlink. So it
moves to the leg that bumps the `docs` gitlink after #8 merges: the first tree
where it can be green.

The two alternatives were worse. Adding a "not-yet-landed" category to let it
degrade would build a silent-skip path into the one tool whose docstring exists
because an earlier version silently skipped blocks and reported a confident false
pass. Bumping the gitlink now is the unmerged-pointer defect that blocked
charly#207.

The CHANGELOG's "Also here" section claimed the checker was part of this landing.
It is now under "Deliberately not here" with the reason, so the entry no longer
claims excerpt verification this tree does not perform.

Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
atrawog added a commit that referenced this pull request Aug 4, 2026
…ot a manual (#209)

The tagline described what charly produces. The bet it actually makes — VISION.md's
opening and its first tenet — is that you hand an agent everything rather than taking
things away. "The fully stocked gourmet kitchen for you and your agents" says that
directly: a kitchen is where you work, and fully stocked is the whole argument.

README.md is cut to roughly a quarter of its length. It was a pitch, a concept primer,
a command reference, a catalog index and a troubleshooting table at once, most of it
duplicated on opencharly.ai — where the reference and recipe halves are GENERATED and
cannot drift, while a hand-kept copy can and did. It is now a door: what this is, the
words, one worked example, install, where to learn more. The install section is
inverted to lead with the native package and scope the checkout to working ON charly,
and every command outside that section runs from the binary alone via --repo.

VISION.md changes ONE bullet, and not a tenet: all twelve numbered tenets are
byte-identical. The changed line is one of six under "Where the factory is heading",
which used "kitchen" for the small kernel while the new tagline uses it for the whole
product. CLAUDE.md's H1 is the tagline, so it follows or the sweep is false; AGENTS.md
carries no tagline.

CLAUDE.md and AGENTS.md also add R4a — fix the product first; documentation never
routes around a defect. Every command a reader is told to run must work with nothing
but the charly binary installed; where it cannot, the page says nothing and the gap is
filed as a product defect rather than documented as a workaround. The rule is applied
to this same diff: the skill-tree setup commands are removed and filed as #210, and the
MCP section states the reachable form instead of a verb the binary does not carry.

GRIEVANCES.md (new) states the four DevOps grievances charly reacts to, each with the
status quo stated fairly rather than strawmanned, the mechanism that answers it, and an
explicit honest-limits section.

taskfiles/Docs.yml fixes four tasks that had never worked: DOCS_DIR is absolute and was
used as a task-level dir:, which Task resolves relative to the include's own
dir: {{.ROOT_DIR}}, so the two concatenated. install, dev, build and preview now use a
relative dir: docs.

No gitlink moves — all twelve submodule pointers are byte-identical to main, pkg/arch
included, because opencharly/pkg-arch#7 has not merged yet. This is the producer for
opencharly/docs#8, which regenerates the vision projection against the VISION.md
changed here and lands next; task docs:drift is red at this commit by design and
returns to a no-op the moment #8 merges.

Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
atrawog added a commit that referenced this pull request Aug 17, 2026
…-merge PR heads

A validator caught that four of NINE gitlinks named commits that are on no branch. Three are fixed
here; sdk stays pending until sdk#140 lands.

  box/arch    e77a894 -> 67cf83d   the pre-CalVer feat head; the merge is already on main
  box/debian  fdbf9ba -> 90c260b   pre-squash feat head from 08-14; PR #8 merged the squashed form
  box/ubuntu  f3822d5 -> 72cb06e   same shape

Verified recoverable-and-superseded rather than assumed: main is strictly AHEAD of each old pin,
carrying the CalVer-finalized CHANGELOG (2026.226.1807 / 2026.226.1833) plus an add_candy repoint, so
re-pinning loses nothing. Nothing was orphaned.

**Why my own gate missed it, which is the reusable part.** I reported "all seven gitlinks in sync with
their submodule HEADs". That compares the gitlink to a LOCAL CHECKOUT — and a checkout sitting on a PR
head satisfies it perfectly, so it cannot detect an unmerged target. It also counted seven; there are
nine, and both uncounted ones (box/debian, box/ubuntu) were in the failing set. The question that
discriminates is per-submodule, after a fetch:

  git merge-base --is-ancestor <gitlink> origin/main

Merging with an unmerged pin would have been worse than early: when those PRs merge, the CalVer commit
plus the squash produce DIFFERENT SHAs, so the pins would be permanently wrong rather than merely
ahead.

Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
github-actions Bot pushed a commit that referenced this pull request Aug 30, 2026
main ships the omarchy `installer:` block (#485) with a plugin-vm that
does not implement `source.kind: iso`. So the answer format is there and
unusable:

  charly: error: command "vm": vm "omarchy-vm":
    unsupported source.kind "iso" (want one of cloud_image, bootc, bootstrap)

#485 carried this bump as a second commit; the squash-merge landed only
charly/charly.yml. Confirmed:

  $ git show --stat 5caaf43 | tail -2
   charly/charly.yml | 236 +++++++++++++++++++++++++++++++++++++++++++
   1 file changed, 236 insertions(+)

So this is not a new dependency decision — it is the half of #485 that
did not land, restored, and re-verified against what is published now
rather than what was published then.

  plugin-vm      v0.2026240.2034 -> v0.2026242.1323
  plugin-distro  v0.2026242.804  -> v0.2026242.1131
  sdk            v0.2026241.2111 -> v0.2026242.1250
  spec           v0.2026242.753  -> v0.2026242.1251

plugin-vm brings the iso engine (#8), the virtio answers volume (#9) and
the per-domain seed (#10). plugin-distro brings the resolver that stops
`installer:` arriving nil at every consumer (#6) — without it the block
in charly.yml is silently dropped even once the engine exists. sdk and
spec bring the seed context's disk_size_bytes and the template
arithmetic the partition geometry needs.

Verified: `task build:binary` passes its own go.work.sum drift guard, and
the resulting binary builds an iso VM — vm-build and vm-create both PASS
on check-omarchy-iso-vm, where the previous binary failed in 761 ms with
the error above.

Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3

Co-authored-by: atrawog <[email protected]>
atrawog added a commit that referenced this pull request Aug 30, 2026
#499)

distro-omarchy has landed two PRs that charly's gitlink does not reach, so none of the work
is usable from charly:

  #8  the omarchy beds assert through typed verbs instead of shell
  #9  upstream's system and cups acceptance suites ported onto check-omarchy-iso-vm

  box/omarchy   2f5e5c1 -> db2199a
  import pin    v2026.242.0551 -> v2026.242.2251

Until this bump, `charly -C box/omarchy check run check-omarchy-iso-vm` resolves the pinned
commit and runs the OLD 28-step shell-based bed. The work was merged but not wired in.

Policy B is preserved by construction: this repo's box/omarchy IS the pin the umbrella
mirrors, so the umbrella syncs to this rather than being hand-pinned. That sync is its own
PR in opencharly/opencharly.

## What it brings in

The bed goes from 28 steps to 52, and from 43 `command:` shell steps across three beds to
4 in this one — each of the four justified in place with the reason it is not a verb.

The 24 new assertions are the first consumer of the verb fields charly#498 just repinned:
`service: {scope: user}` for the user-session audio stack, `service: {none_failed:}` on
both managers, `user: {not_groups: [docker]}` for the root-equivalent-group posture,
`file: {owner, group_of, mode}` for the CUPS policy file, and
`command: {expect_non_zero: true}` for the two assertions whose whole point is that they
must fail.

## How tested

    $ task build:binary
    [exit 0]

    $ charly -C box/omarchy box validate
    [exit 0]

The bed is reachable through charly at its new size, which is the thing this bump exists to
make true:

    $ python3 -c "... yaml.safe_load(open('box/omarchy/charly.yml')) ..."
    iso bed steps reachable from charly: 52

The bed itself was proven in distro-omarchy#9 on the submodule commit this pins —
`PASS (steps=9)`, with `check-live` and `check-live-rebuild` both at
`52 steps: 52 passed, 0 failed, 0 skipped` and no `warnings=` counter on any step.

Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3

Co-authored-by: atrawog <[email protected]>
atrawog added a commit that referenced this pull request Aug 31, 2026
distro-omarchy#10 converted `check-omarchy-pacstrap-vm` to typed check verbs — the
conversion withdrawn from #8 while its guest could not boot, unblocked by #502. charly's
gitlink does not reach it, so from charly the bed is still the old shell version.

  box/omarchy   db2199a9 -> b82ed69e
  import pin    v2026.242.2251 -> v2026.243.0406

Policy B is preserved by construction: this repo's box/omarchy IS the pin the umbrella
mirrors, so the umbrella syncs to this rather than being hand-pinned. That sync is its own
PR in opencharly/opencharly.

## How tested

    $ task build:binary
    [exit 0]

    $ charly -C box/omarchy box validate
    [exit 0]

The converted bed is reachable through charly at its new shape, which is the thing this
bump exists to make true:

    pacstrap bed reachable from charly: 6 steps, 1 command

(5 `command:` steps before the conversion, 1 after — the remaining one needs `sudo -n` to
read a mode-0700 ESP, which `file:` cannot do.)

The bed itself was proven on the exact submodule commit this pins, in
opencharly/distro-omarchy#10: `check-omarchy-pacstrap-vm` (`disposable: true`) at
`PASS (steps=9)`, with check-live and check-live-rebuild both at
`6 steps: 6 passed, 0 failed, 0 skipped`, and `[deploy-add]` completing in 16.26s where it
previously hung indefinitely.

Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3

Co-authored-by: atrawog <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Aug 31, 2026
…#516)

charly pinned plugin-box v0.2026243.729, from before two fixes merged and tagged
in the owning repo. A merged and tagged module is not a shipped fix until its
consumer repins, so neither was in any charly binary:

  #8 (v0.2026243.1040) -- `charly box validate` reported "N warnings" and never
     said what any of them were. The count was visible, the cause was not.

  #9 (v0.2026243.1718) -- `charly box reconcile`, which the git-workflow rule
     names as THE remedy for a `resolved to multiple versions` warning, rewrote
     the 4 pins it reported and 405 lines in total. It re-serialized the whole
     document, and yaml.v3 does not reproduce a folded block scalar (`>-`): every
     authored description: in the file was reflowed. The remedy's own diff was a
     review blocker, so the warning it exists to clear could not be cleared with it.

Both verified against a stock `task build:binary` of this tree, on a real 160KB
project rather than a fixture:

  box validate   now prints the two warnings by name, not just the count
  box reconcile  2 files changed, 4 insertions(+), 4 deletions(-)
                 (was 170 insertions(+), 235 deletions(-) on the same 4 pins)

go.sum moves with the require; no source changes.

Claude-Session: https://claude.ai/code/session_016fnPmYiC6ZkqXSi6D8PAP6

Co-authored-by: atrawog <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Sep 8, 2026
…e parsed node (wave: spec 533, sdk 531, plugin-loader 534) (#565)

* refactor: F2 — the genericNode dual representation dies (bridge deletion)

Parser consolidation F2 (plan/nested-capture-architecture.md, Cutover F2). The
dual-representation member-tree IR is gone: node_parsed.go (the
JSON→yaml→JSON round-trip machine parsedNodeToGeneric/genericToParsedNode +
the normalizeNodeInto test bridge), node_parse.go (the genericNode type),
node_candy.go (the yaml-key candyIsImage + buildCandy re-conversion) and
node_build.go (decodeNodeValue's wrapper) are DELETED. Their last prod callers
(foldCandyKind, validateKindValueCUE, materializeDiscoveredNode) now operate
on the wire-safe spec.ParsedNode through the loader seam:

- foldCandyKind: pl.CandyIsImage(pn)/pl.BuildCandy(pn) (the loaderkit parsed-node
  restatement) + the SHARED spec set-body folds (spec.SetBoxInto/SetCandyInto,
  F2.4) — no genericNode reconstruction anywhere in the dispatch.
- validateKindValueCUE: the mapping-shape check reads the canonical JSON body
  directly; the CUE ingest is CueDocFromJSON (F2.3) — the
  gn→yaml.Marshal→CueDocFromYAML round trip is gone.
- materializeDiscoveredNode: pl.CandyIsImage(pn) (F2.1).
- materializeDocStream: the ONE loaderkit doc-stream composer
  (pl.ParseDocStream, F2.5) drives the embedded-vocab stream with the same
  per-document pipeline as the file walk; the hand-rolled classify/gate/parse
  loop is deleted.
- The three self-labeled (R3) one-line wrappers (isStandaloneResourceKind,
  foldStandaloneTemplateReply, decodeNodeValue) are inlined at their call
  sites / die with buildCandy; node_normalize.go disappears, ensureMap moves
  beside its consumer.
- pluginPrimaries (F2.6): the frozen 11-entry table is DELETED — the table is
  seeded at init from the compiled-in units' declared capability primaries
  (the embedded charly.yml verb_primaries: data directive, admitted by
  #NodeDoc), and the expectation is a parity assertion (node_desugar_test.go).
- KindProvider (the last type naming genericNode) + its no-op bijection gate
  die with the type; the reserved-registry test iterates the live ClassKind
  registry instead.
- R5 sweep: stale claims about the deleted bridge fixed across
  loader_threaded.go / plugin_prescan.go / materialize.go /
  materialize_seam_parity_test.go / plugin_inproc.go / the kernel manifest.
- Moved tests: the bridge test files' candy/child-form coverage lives beside
  the loaderkit implementation in sdk (candy_node_test.go,
  node_childform_test.go); the charly-side plugin e2e + node-form tests were
  rewritten against parsed-node fixtures (parsednode_helpers_test.go).

Full kernel suite green on the committed tree (with the wave's worktree
replaces; the final pin commit swaps them for the released tags).

* fix(deps): pin the F2 wave tags — spec v0.2026251.533, sdk v0.2026251.531, plugin-loader v0.2026251.534

The F2 bridge-deletion wave's seam surface + implementations are released
(spec #123/#124, sdk #240, plugin-loader #8). The dev worktree replaces are
dropped; the full kernel suite is green on the final committed real-pinned
tree.

* chore: re-trigger validator with the A2/A3 bed evidence (pod 2026.251.0621 + VM 2026.251.0627, both PASS)
atrawog added a commit that referenced this pull request Sep 12, 2026
…encode-session fix (#593)

ROOT CAUSE of the org-wide verdict outage, second half. The PR validator runs `charly review`
from the PINNED charly RELEASE bundle (charly-linux-amd64 + charly-plugins-linux-amd64.tar.gz),
NOT from plugin-review@main — so merging opencharly/plugin-review#8 changed nothing on the gate.
That bundle still welds plugin-review v2026.254.1719, which never sends the `x-opencode-session`
header the org's Go gateway now requires, so every review attempt returns HTTP 400
MissingSessionID and NO PR in any repo can obtain a verdict.

EVIDENCE (the live gate, after #8 merged at 16:48:23Z): validator runs at 16:48:54Z and
16:49:11Z still log
  plugin-review: attempt 1/3 failed: LLM 400: {"type":"error","error":{"type":"MissingSessionID"...}}
while plugin-review's main demonstrably carries the fix — because the gate never reads main.

This commit delivers it: pin the welded plugin-review at v2026.255.1648, the tag-on-merge tag
of #8's merge commit 80dbbdb4c1ae. The next charly release then bundles the fixed engine, and
the org variable CHARLY_VERSION must be pointed at that release (nothing else on the gate
changes; the workflow's hardcoded default is unreachable while the gate is down).

PROVEN LOCALLY with the org key before landing (every candidate explanation tested):
  /zen/go/v1 plain                 -> 400 MissingSessionID
  /zen/go/v1 + x-opencode-session  -> 200 + a real completion
  /zen/v1 (any header)             -> 401 - that base does not serve the org's model
  User-Agent default/none/action   -> 200/200/200 - the UA is IRRELEVANT
  stream:true + header             -> 200 + real SSE chunks
and through the engine's own request path ((*llmClient).chat): ACCEPTED with the header,
the exact 400 without it.

OPERATOR NOTE: this PR cannot obtain a validator verdict while the gate it repairs is dark, so
it needs the app-based (or admin-assisted) operator merge — same situation as plugin-review#8.
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