Skip to content

feat(spec)!: SDD-conversion batch — the last 13 hand-written wire files land - #92

Merged
atrawog merged 3 commits into
mainfrom
feat/sdd-wire-conversion
Jul 22, 2026
Merged

atrawog merged 3 commits into
mainfrom
feat/sdd-wire-conversion

Conversation

@atrawog

@atrawog atrawog commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Converts the remaining 13 hand-written sdk/spec/*_wire.go host↔plugin wire
files to CUE defs, per the standing operator directive: WIRE TYPES ARE
CUE-SOURCED WITHOUT EXCEPTION
, and a hand-written wire struct not yet
converted is conversion-in-progress, never a sanctioned exception.

Converted: agent, deploy (987 lines / ~50 types, converted LAST after the
pattern was re-proven on the smaller files), distro, doctor, enc,
feature, gpu, init, k8sgen, resource, settings,
substrate_template, vm. sdk/spec/*_wire.go is now an EXTINCT file class
(joining buildctx.cue/clean.cue/arbiter.cue, landed earlier).

New/appended sdk/schema/*.cue: settings.cue, feature.cue, doctor.cue,
gpu.cue, enc.cue, k8sgen.cue, substrate_template.cue, buildwire.cue
(new); agent.cue, distro.cue, init.cue, vm.cue, resource.cue,
sidecar.cue, deploy.cue, seam.cue, validateproject.cue
(appended/repointed). Every def is a plain or discriminated struct — the
batch needed zero disjunctions anywhere, confirming the mandate's core claim.

Two representation reshapes, both zero-wire-format-change:

  • HostProbeReply.GroupAccessible (doctor): map[int]bool → map[string]bool.
    CUE has no int-keyed-map construct. encoding/json already renders a
    map[int]bool's keys as decimal strings on the wire, so this is a pure
    Go-side representation fix.
  • VFIOGpu (gpu): the former anonymous-embedded VFIOPCIDevice FLATTENED.
    CUE unification has no Go-embedding concept; Go's own JSON-promotion of an
    embedded field already made the wire shape identical either way. A new
    spec.NewVFIOGpu(d) constructor replaces every VFIOGpu{VFIOPCIDevice: d}
    literal.

Hand-written exceptions (all pre-existing categories, none new):
Scope/ReverseOpKind (named enum types with Go behavior, spec/deploy_consts.go,
mirroring Status/status_result.go); Diagnostics.HasErrors(),
LifecycleOptsFromEmit, ResolvedDistro.PrimaryFormat()/LocalPkgFormat(),
ResolvedAndroid.IsEndpoint()/EffectiveSerial() (pure Go methods CUE cannot
express, mirroring Op.Kind()); EncMethod* (spec/enc_consts.go, plain
string constants). RawBody moved from the deleted deploy_wire.go to
spec/scalar_aliases.go (a scalar alias, not a wire struct).

RDD catch: #KeyValue would have collided with the schemagen
kindValueDefs auto-registration (any top-level #<X>Value def is treated as
a kind-value gate) — renamed to #EnvKV with a KeyValue = EnvKV charly-name
alias preserving every real consumer's type name.

Change class

sdk (charly-or-sdk Go) — cross-repo: this PR (sdk) lands first; a companion
opencharly/charly PR (the NewVFIOGpu/GroupAccessible consumer fixes at
the 8 call sites, held until this merges + the gitlink bumps) and a companion
opencharly/plugins PR (skill-doc sweep, held for the same reason) follow.

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

  • The gate for this change class: sdk standalone battery + a dedicated
    marshal-parity harness + a full charly-workspace build/test against the
    branch + ONE composing disposable bed (check-exampledeploy — the change
    touches deploy/check wire: InstallPlanView/InstallStepView/ReverseOp/
    DeployVenue/VenueDescriptor, and this bed is the sole live exerciser of
    the external-deploy-target reverse channel + the F3 build-engine channel
    those types carry).
  • Eval beds run: check-exampledeploy | local (pod) | ok | 6 steps | ~87s total —
    run on charly version 2026.203.1239 (built from this branch via a
    temporary go.work use override, since the superproject's committed sdk
    gitlink cannot point at an unmerged sdk PR), .check/check-exampledeploy/2026.203.1255/.
    Single bed — not a cross-cutting loader/resolver change, so no roster fan-out.
  • Fresh rebuild: yes — the bed's own update step (line below) IS the
    fresh-rebuild leg (charly update re-applies the deploy from the SAME
    rebuilt binary + regenerated plan).
  • Did the CHANGED code path execute live? Yes — every check-exampledeploy
    step below exercises a converted type: deploy-add marshals LifecycleOpts/
    DeployVenue/InstallPlanView over the reverse channel; check-live's 5
    checks assert the plugin executed InstallStepView (file-write + shell-hook
    steps) via the round-tripped per-step IR, pushed via PutFile, and drove the
    F3 RunHostStep/build-engine leg; update re-applies idempotently;
    cleanup replays the recorded ReverseOps (teardown proof).
  • Concurrency: N/A — this batch touches wire TYPES only, not the
    loader/ledger/store/arbiter shared-state paths.
$ ./bin/charly check run check-exampledeploy
charly check run check-exampledeploy: [deploy-add] START (charly bundle add; log: .check/check-exampledeploy/2026.203.1255/deploy-add.log)
charly check run check-exampledeploy: [deploy-add] PASS after 41.407s (log: .check/check-exampledeploy/2026.203.1255/deploy-add.log)
charly check run check-exampledeploy: [bring-up-members] START
charly check run check-exampledeploy: [bring-up-members] PASS after 0s
charly check run check-exampledeploy: [check-live] START (charly check live; log: .check/check-exampledeploy/2026.203.1255/check-live.log)
charly check run check-exampledeploy: [check-live] PASS after 6.359s (log: .check/check-exampledeploy/2026.203.1255/check-live.log)
charly check run check-exampledeploy: [update] START (charly update; log: .check/check-exampledeploy/2026.203.1255/update.log)
charly check run check-exampledeploy: [update] PASS after 19.249s (log: .check/check-exampledeploy/2026.203.1255/update.log)
charly check run check-exampledeploy: [cleanup] START (charly bundle del; log: .check/check-exampledeploy/2026.203.1255/cleanup.log)
charly check run check-exampledeploy: [cleanup] PASS after 19.455s (log: .check/check-exampledeploy/2026.203.1255/cleanup.log)
charly check run check-exampledeploy: [cleanup-members] START
charly check run check-exampledeploy: [cleanup-members] PASS after 0s
charly check run check-exampledeploy: PASS (steps=6)

$ cat .check/check-exampledeploy/2026.203.1255/check-live.log
Local deploy: check-exampledeploy [host (local)]
  PASS  check command=test -f /tmp/charly-exampledeploy/check-exampledeploy/probe && echo EXAMPLEDEPLOY-PROBE-PRESENT  [exampledeploy-applied]  exit=0
  PASS  check the external deploy plugin EXECUTED the file-write step from the round-tripped per-step IR — the authored dest holds the step's content  [exampledeploy-step-write]  exit=0
  PASS  check the external deploy plugin EXECUTED the shell-hook (env:) step — the rendered env.d file holds the contributed env var  [exampledeploy-step-env]  exit=0
  PASS  check the external deploy plugin PUSHED a file via the new reverse-channel PutFile leg — the pushed file landed on the venue with its content  [exampledeploy-putfile]  exit=0
  PASS  check F3 — the external deploy plugin drove the RunHostStep reverse leg on examplebuild-localpkg's LocalPkgInstallStep; the host built charly-f3-witness with makepkg and installed it with pacman -U, so its marker file is present on the venue  [exampledeploy-f3-buildstep]  exit=0

5 steps: 5 passed, 0 failed, 0 skipped

$ GOWORK=off go build ./... && GOWORK=off go vet ./... && GOWORK=off go test ./...
(all green — 15 packages ok, including TestGenReproducible in sdk/spec)

$ GOWORK=off go mod tidy   # no-op, clean
$ GOWORK=off go mod verify # all modules verified
$ GOWORK=off golangci-lint run ./...
0 issues.

$ cd /tmp/wire-parity && go run .   # 21-case marshal-parity harness (old hand-copied types vs new CUE-generated types)
PASS ResourceResolveReply / ResourceResolveInput / SettingsReply / SettingsRequest / FeatureReply /
AgentResolveReply / VmResolveReply / K8sGenInput / K8sGenReply / EncExecInput / HostProbeReply /
"VFIOGpu (embed flatten)" / GpuProbeReply / DistroResolveReply / SubstrateTemplateResolveRequest /
ResolvedLocal / ResolvedAndroid / ResolvedPod / ResolvedK8s / InitResolveReply / ServiceRenderInput
21 cases exercised, 0 failed

$ (sed go.work to `use /tmp/sdk-sdd-convert`) go build ./charly/... [+ every candy/plugin-* in go.work]
(clean — 0 errors across charly/ + ~85 candy/plugin-* modules)
$ go test ./charly/...   # full suite
ok  github.com/opencharly/charly/charly  181.363s
(+ candy/plugin-gpu, candy/plugin-doctor, candy/plugin-deploy-vm, candy/plugin-deploy-pod, and 14 other
touched-type consumers, all ok/no-test-files)

Attribution tier

fully tested and validated — the cutover's new/changed code paths (every
converted type, both reshapes) executed live against a fresh rebuild via the
check-exampledeploy bed above, plus the full standalone + workspace battery.

Harness rulebook compliance

  • R0 skills: /charly-internals:go, /charly-internals:plugin,
    /charly-internals:strict-policy, /charly-internals:git-workflow,
    /charly-internals:cutover-policy loaded before any edit.
  • R1 RCA + zero warnings: two RCA'd findings during the batch — (a) the
    #KeyValue/kindValueDefs collision (caught via the regenerated
    KindValueDefs map before commit, fixed by renaming to #EnvKV); (b) the
    int64-default-for-untyped-CUE-int gengotypes behavior (every int field
    needing Go int, not int64, now carries an explicit type=int override —
    discovered by inspecting the ALREADY-LANDED arbiter.cue conversion's
    OwnerPID/int64 outcome and its companion candy/plugin-preempt fix,
    confirming the pattern rather than repeating the churn). Zero warnings in
    the final battery (build/vet/lint/test all clean).
  • R2 no out-of-scope: the gpu_consts.go driver-switch wire types
    (GpuSwitchInput/GpuSwitchReply) are a SEPARATE, untouched, pre-existing
    hand-written surface — explicitly out of scope for this batch (I did not
    modify that file, so "modified code obligates full compliance" doesn't
    apply); it is tracked debt for its own future batch. One unrelated
    gofmt -l hit (vmshared/cloud_init_iso.go, a trailing-blank-line nit) is
    pre-existing on origin/main (from e6b0208, not this PR's diff) — confirmed
    via git log blame — and is NOT part of this PR's changed-file set;
    reported, not silently fixed here (R2: genuinely unrelated, non-blocking).
  • R3 no duplication: the flatten/reshape fixes are each ONE shared
    mechanism (spec.NewVFIOGpu, the string-key reshape) applied at every call
    site, not per-site patches.
  • R4 no workaround: no sleep/retry/magic-number; the temporary go.work
    use override for cross-repo verification is a standard pre-merge
    producer/consumer testing technique (git-workflow B6), reverted before
    every commit.
  • R5 hard cutover + grep: git grep '_wire\.go' (excluding CHANGELOG)
    returns only historical/explanatory "the former X is deleted" mentions —
    pasted and reviewed; zero live references to any deleted file remain.
    A companion follow-up commit (cace03d) caught 3 stale doc-comment
    citations in seam.cue/ir_enums.go before push.
  • R6 git safety: git status/git stash list checked before the
    rebase-onto-origin/main (which had advanced with an unrelated dead-code
    batch, e6b0208); git stash -u + git rebase + git stash pop, no data
    loss.
  • R7 runtime gate: the check-exampledeploy bed IS the end-to-end gate
    (not just go test).
  • R8 artifact invariants: N/A — no Containerfile/OCI-label surface
    touched by this sdk-only change.
  • R9 binary == source + deps: the bed ran on charly version 2026.203.1239,
    built from this exact branch (pasted above); no new runtime OS deps.
  • R10 disposable + coverage: check-exampledeploy is disposable: true;
    fresh rebuild proven via its own update step; the marshal-parity harness
    is the new coverage this PR ships (would FAIL without the conversion's
    byte-compatibility).
  • RDD / ADE / SDD: RDD — the two reshapes and the #KeyValue collision
    were each proven empirically (a live task cue:gen run + inspection),
    never assumed. ADE — N/A (no candy/box changed). SDD — this whole PR IS the
    SDD pipeline in action; task cue:gen on the final tree is a verified no-op
    (TestGenReproducible passes).
  • Hard cutover: ONE atomic commit-set on this branch (2 commits: the
    batch + an R5-sweep follow-up, squashed at merge); no transitional/dual-mode
    path — every hand file is deleted outright in the same commit as its CUE
    replacement.
  • Kernel/plugin boundary law: N/A — sdk/spec is the wire-envelope layer
    itself (clause-E), not a kernel/plugin placement question.
  • Disposable-only autonomy: the bed is disposable: true; charly update
    ran unattended per standing authorization.
  • Clean architecture + Go gates: gofmt -l . clean for every file this PR
    touches (the one unrelated pre-existing hit is noted above, not in this
    diff); golangci-lint run ./... 0 issues; go vet clean; go test ./...
    green.
  • CHANGELOG: CHANGELOG/2026.203.1300.md staged (placeholder CalVer).

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

atrawog added 2 commits July 22, 2026 14:45
…es land

Converts agent/deploy/distro/doctor/enc/feature/gpu/init/k8sgen/resource/
settings/substrate_template/vm from hand-written sdk/spec/*_wire.go to
CUE defs (sdk/schema/*.cue), per the standing SDD mandate: wire types are
CUE-sourced without exception, and a hand-written wire struct not yet
converted is conversion-in-progress, never a sanctioned exception.
sdk/spec/*_wire.go is now an extinct file class.

Two representation reshapes were required for byte-compatible generation
(both zero wire-format change, proven via a 21-case marshal-parity harness):
HostProbeReply.GroupAccessible int-keyed -> string-keyed map (CUE has no
int-keyed-map construct; encoding/json already renders int map keys as
decimal strings), and VFIOGpu's embedded VFIOPCIDevice flattened (CUE
unification has no Go-embedding concept; Go's own JSON promotion already
made the wire shape identical) with a new spec.NewVFIOGpu constructor.

Scope/ReverseOpKind (named enum types with Go behavior) and the pure
Diagnostics/LifecycleOptsFromEmit/ResolvedDistro/ResolvedAndroid
methods stay hand-written beside their CUE-generated siblings, mirroring
the existing Status/status_result.go and Op.Kind()/charly_methods.go
precedents. An RDD-caught #KeyValue/kindValueDefs naming collision was
avoided by renaming to #EnvKV with a charly-name alias.

Breaking: HostProbeReply.GroupAccessible changes from map[int]bool to
map[string]bool (JSON-wire-identical; Go-source-breaking for any direct
int-keyed construction/read — fixed in the companion charly PR) and
VFIOGpu loses its anonymous-embedded VFIOPCIDevice field (also
JSON-wire-identical; fixed via the new spec.NewVFIOGpu constructor).

Verified: GOWORK=off build/vet/test all green (incl. TestGenReproducible),
go mod tidy/verify clean, the 21-case marshal-parity harness all PASS, and
a full charly-workspace build/vet/test (charly/ + all candy/plugin-*
modules, incl. the two out-of-workspace plugin-deploy-vm/-pod modules)
against this branch, all green.

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; fully tested and validated)
…e.go citations

Follow-up to the SDD-conversion batch: three seam.cue doc comments and
ir_enums.go's two doc-comment citations still named the just-deleted
sdk/spec/*_wire.go files (deploy_wire.go, substrate_template_wire.go,
vm_wire.go) as the current home of types this same batch converted to CUE.
Caught by the R5 grep self-test before push.

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; fully tested and validated)
@atrawog

atrawog commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: charly-or-sdk Go (sdk-only; runtime tier). Fresh independent re-derivation performed in a standalone clone ([email protected]:opencharly/sdk.git, pr92 = cace03d8), never trusting the PR body's pasted claims without re-running them.

Change class → gate check. 13 hand-written sdk/spec/*_wire.go files → CUE defs. Confirmed via git diff e6b0208..cace03d --stat: all 13 *_wire.go files fully deleted (0 remaining under spec/), replaced by generated additions to cue_types_gen.go + legitimate hand-written support files (*_consts.go, *_methods.go). git grep '_wire\.go' -- ':!CHANGELOG' returns only explanatory "the former X (deleted)" comments — zero live references. This is the correct gate for this class (standalone battery + the composing bed for the touched deploy/check wire surface), and I re-ran the battery myself rather than accepting the pasted output.

Independent re-derivation (all commands re-run by me, live, in a fresh clone)

Check Result
GOWORK=off go build ./... clean, exit 0
GOWORK=off go vet ./... clean, exit 0
GOWORK=off go test ./... 15 packages, all ok, 0 skips (grep -c '^--- SKIP:' = 0)
TestGenReproducible (-run TestGenReproducible -v) --- PASS, 0.35s (actually executed against the pinned cue binary, not skipped)
GOWORK=off go mod tidy no diff to go.mod/go.sum — no-op
GOWORK=off go mod verify all modules verified
gofmt -l . 1 hit: vmshared/cloud_init_iso.go — confirmed dirty on origin/main too (checked out main, same hit) and absent from this PR's changed-file list → genuinely pre-existing/unrelated, correctly R2-classified non-blocking
golangci-lint run ./... (isolated GOLANGCI_LINT_CACHE) 0 issues

SDD mandate — verified at 100%, not accepted on the author's word

  • Zero wire files remain, zero live stale references (grep above).
  • Zero new @go(-) / hand-written exceptions. git diff on spec/union_types.go + spec/hand_state_types.go is empty (untouched); a full-diff grep for newly-added @go(-) lines returns only one pre-existing-pattern comment mentioning the syntax, no new directive.
  • Zero new struct-shaped disjunctions. Every | in the touched .cue files is either a string-literal enum (fine, not the forbidden pattern) or one of the PRE-EXISTING @go(-) union exceptions (#PortScope, VmSSH's port union, #LibvirtListen) — confirmed by diffing those exact lines against e6b0208..cace03d: none are new.
  • Generated-file banner intact, cue_types_gen.go starts with the DO NOT EDIT banner; TestGenReproducible (the drift gate) passed live.
  • The two reshapes verified against the actual generated code, not just the prose claim: GroupAccessible is map[string]bool in cue_types_gen.go (was map[int]bool); #VFIOGpu in schema/gpu.cue embeds #VFIOPCIDevice (CUE-flattens); NewVFIOGpu in spec/gpu_methods.go is a legitimate pure-Go constructor, not a hidden wire struct.
  • The #EnvKV/#KeyValue RDD catch is real: spec/vocab_gen.go's KindValueDefs map has exactly 6 entries (android/candy/k8s/local/pod/vm) — no spurious "key" entry — confirming the rename avoided the collision.
  • Hand-written exceptions match the documented taxonomy (Scope/ReverseOpKind mirror Status; the pure methods mirror Op.Kind()) — inspected spec/deploy_consts.go + spec/deploy_methods.go directly, not just the PR's description of them.

R10 bed evidence — cross-checked against on-disk artifacts, not trusted blind

.check/check-exampledeploy/2026.203.1255/summary.yml on this host: ok: true, 6/6 steps ok, total_seconds: 86 (PR claimed ~87s — consistent). check-live.log and deploy-add.log on disk are byte-identical to what the PR body pasted. This is a disposable: true bed exercising exactly the converted wire surface (InstallPlanView/InstallStepView/ReverseOp/DeployVenue/VenueDescriptor via the deploy-add/check-live/update/cleanup steps) — the correct, composing bed for this change class; no roster fan-out needed (not a cross-cutting loader/resolver change, correctly marked N/A for the concurrency mandate).

Cross-repo / cutover-sizing note

This PR converts sdk wire types only; the companion opencharly/charly consumer-fix PR and opencharly/plugins skill-doc-sweep PR are explicitly HELD pending this merge, per git-workflow B6 (producer merges first). This is expected, not a defect — confirmed no such PRs are yet open in either sibling repo.

Security & anti-tampering (T1–T4)

No exfiltration, no scope-mismatch (every changed file accounted for in the description), no weakened guardrail (CLAUDE.md diff is a 5-line doc-pointer update only), no supply-chain change, no prompt-injection attempt in the PR body or commit messages (scanned for the standard trigger phrases — none found).

Comment intake

None — the PR carries zero comments.

Cross-PR interactions considered

  • opencharly/charly#118 (RED kernel-manifest floor gate) — file overlap: none (charly/kernel_manifest_floor_test.go, CHANGELOG/2026.195.0000.md). none-found.
  • opencharly/plugins#105 (doc-divergence fix, internals/skills/go/SKILL.md) — file overlap: none. none-found.
  • No other open PRs in opencharly/sdk.

Checklist

# Item Verdict
0 Security & anti-tampering PASS
1 Description complete PASS
2 Change-class gate matches evidence PASS
3 Attribution tier justified PASS — fully tested and validated supported by live build/test/lint + bed artifact cross-check
4 R0 skills honored PASS (/charly-internals:go, :plugin, :strict-policy, :git-workflow — spot-checked against SDD/CAN-CANNOT taxonomy)
5 R1 RCA, zero warnings PASS — 2 RCA'd findings documented; zero warnings in my own re-run
6 R2 no out-of-scope split PASS — gofmt hit independently confirmed pre-existing/unrelated
7 R3 no duplication PASS
8 R4 no ad-hoc workaround PASS — go.work override is the documented B6 technique, reverted
9 R5 hard cutover + grep PASS — verified myself
10 R6/R8/R9 PASS/N/A as claimed (sdk-only, no OCI surface; bed ran on stated version)
11 R10 disposable/fresh/coverage PASS — bed artifacts cross-checked; marshal-parity harness ships new coverage
12 RDD/ADE/SDD PASS — SDD verified at 100% independently (see above)
13 Concurrency mandate N/A correctly — wire-types-only change
14 Hard cutover, one atomic commit PASS — 2 commits on branch, squash-collapses at merge
15 Architecture gate placement: CORRECT — this PR touches zero charly/*.go files (sdk repo only); the converted types are the wire-envelope layer itself (clause-E), which is sdk's whole purpose. No alias, no new kit import, nothing to trace.
16 Disposable-only autonomy PASS
17 Clean architecture + Go gates PASS — re-verified live (table above)
18 CHANGELOG present PASS — CHANGELOG/2026.203.1300.md, filename/H1 byte-match confirmed, no collision with existing main history or tags

Decision: PASS. Independently re-derived every claim in the PR body against a fresh standalone clone rather than trusting the pasted output — build/vet/test/lint/mod-tidy/mod-verify all reproduced green, the wire-file deletion and zero-new-disjunction/zero-new-hand-exception claims verified directly against the diff, and the disposable-bed evidence cross-checked byte-for-byte against artifacts left on disk. No blocking finding. Proceeding to finalize the merge-time CalVer, merge, and tag.

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)

pr-validator: rewrite the CHANGELOG placeholder to the merge-time CalVer.

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)
@atrawog
atrawog merged commit 922b346 into main Jul 22, 2026
@atrawog
atrawog deleted the feat/sdd-wire-conversion branch July 22, 2026 13:13
@atrawog

atrawog commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — merged + tagged

  • CHANGELOG placeholder finalized: CHANGELOG/2026.203.1300.md → CHANGELOG/2026.203.1311.md (commit 325077c, pushed fast-forward, non-force).
  • charly/pr-validator re-posted success on the new head 325077c — ALLOWED, zero denials (superproject-rooted permissions.allow).
  • gh pr merge 92 --squash --delete-branch — ALLOWED, zero denials (standing autoMode.allow in effect). Merge commit: 922b34692cce229cec5e05e59f37a37f3ea32b53. feat/sdd-wire-conversion deleted.
  • Tagged v0.2026203.1311 (sdk Go-module scheme: v0.<YYYYDDD>.<HHMM leading-zeros-stripped>, 1311 needed no stripping) on the merged HEAD, annotated (git cat-file -t = tag), pushed and confirmed on origin via git ls-remote --tags.

main is now at 922b3469. Companion opencharly/charly and opencharly/plugins PRs may now be opened against this merged commit.

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)

atrawog added a commit to opencharly/charly that referenced this pull request Jul 22, 2026
… VFIOGpu

Companion to `opencharly/sdk#92` (merged, `v0.2026203.1311`): bumps the `sdk`
gitlink + `charly/go.mod` require, and updates every consumer of the two
representation reshapes that PR's `HostProbeReply.GroupAccessible` and
`VFIOGpu` CUE conversion required (both wire-format-identical, Go-source
breaking).

- `sdk` gitlink bumped to `922b3469`; `charly/go.mod` require bumped to
  `v0.2026203.1311`.
- `HostProbeReply.GroupAccessible` is now `map[string]bool` (was
  `map[int]bool`) — updated construction/read call sites.
- `VFIOGpu` no longer embeds `VFIOPCIDevice` anonymously — every composite
  literal replaced with the new `spec.NewVFIOGpu(d)` constructor.
- One stale doc-comment citation of the deleted `sdk/spec/deploy_wire.go`
  repointed to `sdk/schema/buildwire.cue`.
- Mechanical gofmt rider: 8 files left unformatted by #179 (whitespace-only,
  verified via `git diff -w --ignore-blank-lines` emptiness).

Independently re-verified by a fresh pr-validator: JSON wire-identity of the
GroupAccessible reshape confirmed mechanically; sdk gitlink verified as
sdk's real origin/main HEAD; fresh rebuild + go test/vet/lint + the
check-exampledeploy disposable bed all re-run from scratch on the exact PR
head, all green.

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; fully tested and validated)
atrawog added a commit to opencharly/marketplace that referenced this pull request Jul 22, 2026
…c/*_wire.go files land

Documentation-only sweep: repoints every skill reference to the 13
hand-written `sdk/spec/*_wire.go` files (`deploy`/`init`/`gpu`/`doctor`/
`enc`/`feature`/`k8sgen`/`resource`/`settings`/`substrate_template`/`agent`/
`distro`/`vm`) to their new CUE homes, following `opencharly/sdk#92`
(merged, `v0.2026203.1311`) and its companion `opencharly/charly#181`
(merged, `v2026.203.1349`).

- Rewrites the "Generation coverage" bullet in `internals/skills/go/SKILL.md`
  to mark the whole `sdk/spec/*_wire.go` class LANDED.
- Repoints the deploy-wire file-map rows in `internals/skills/install-plan/SKILL.md`,
  `internals/skills/plugin/SKILL.md`, `check/skills/android/SKILL.md`,
  `automation/skills/enc/SKILL.md`, `core/skills/charly-doctor/SKILL.md`.
- Closes an R1 divergence: `internals/agents/pr-validator.md`'s
  `arbiter_wire.go` worked example updated from "still in-flight" to its
  actual LANDED state.

Independently re-verified by a fresh pr-validator against the real merged
sdk content (every cited CUE/Go file confirmed to exist at sdk 922b3469;
sdk/spec/*_wire.go confirmed EXTINCT; R5 grep self-test re-run from scratch).

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; documentation reviewed)
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