Repository navigation
ci: roll out org-wide bot-token validation flow - #46
Conversation
Replace the inline validator with the thin org-wide dispatcher (job 'validate', workflow_dispatch trigger), delete the obsolete auto-merge.yml engine, add the tag-on-merge dispatcher for org parity. The shared reusable in opencharly/.github finalizes the CHANGELOG via the Contents API with the charly-auto-merge app token. Assisted-by: pi ollama-cloud deepseek-v4-flash:preview (analysed on a live system)
Review — BLOCKHead SHA: Change class: Code (CI workflow) — org-wide validator dispatcher rollout. Blocks
Verdict: BLOCK openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
|
Maintainer sign-off (T4 — gate coverage + permissions): The fork-PR validation exclusion ( Rationale: fork PRs cannot complete the org-wide flow — the CHANGELOG rename requires — @atrawog (opencharly maintainer) |
Review — PASSHead SHA: Security screen: PASS Comment dispositions:
Change class: Code (CI workflow) — org-wide validator dispatcher rollout; non-runtime standards. Checklist summary:
Verdict: PASS openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
* feat(vm)!: delete the authored body from the contract #304 unit 8, the contract leg. The vm body lives in the plugin that serves the kind (plugin-substrate#42/#46), its tests moved there first (#43/#45), the resolve arm decodes straight into the envelope (#44) and loaderkit names the envelope (sdk#514) - so this contract stops declaring the body. Deleted: #Vm's seventy-three-line body, the #VmValue twin in node.cue, the four vocabulary tables only the body cited (_backend, _machine, _vmFirmware, _vmKind) with their four public re-exports, and the spec-side copies of the tests that moved (TestVmBackendKrunCrossRules, TestVmKrunDefaultsMaterialize, TestVm_MCPProvideSchemaParse, TestVm_MCPProvideYAMLRoundTrip). KEPT, deliberately and measured: the resolve envelope #ResolvedVm and every def it cites (#VmSource, #VmNetwork, #VmSsh, #VmCloudInit family, the sixty #Libvirt* defs, #VmKrun, #VmSnapshot), #VmBackend/#VmBackendName (cited by #Deploy and the spec.VmBackends generator), and the tables the keepers cite. VmSpec repoints to ResolvedVm. Proven by the ASSEMBLED build: charly + this contract + sdk + all 63 plugins at their merged mains builds clean (rc=0), where it failed on spec.Vm before the consumers landed. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * fix: drop the helpers and imports the moved tests left behind The go CI job's golangci-lint named two unused functions (allErrors in the engine-vocab test, loadSchema in the mcp-provide test) and the compiler then named the imports those deletions orphaned. All removed; the suite is green and the generation reproducible. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) --------- Co-authored-by: aitrawog <[email protected]>
ci: roll out org-wide bot-token validation flow
Replaces the per-repo inline validator with the thin org-wide
dispatcher (shared logic lives in
opencharly/.github):validate(branch protection check becomesvalidate / validate— already updated).workflow_dispatchtrigger added for manual re-validation..github/workflows/auto-merge.yml(the obsoletecheck_run/workflow_run engine that never fired for
approval-required runs) deleted.
tag-on-merge.ymldispatcher added for org parity (tags everymerged PR — the org rulebook's per-merge CalVer tag).
Maintainer sign-off (T4 — gate coverage + permissions)
org-wide flow (the CHANGELOG rename needs
contents: write, whichGITHUB_TOKEN lacks on fork PRs), so the gate skips them.
contents: read→contents: write,added
actions: write): required to call the shared reusable;identical to all other org-wide dispatchers.
Change class
Code (workflow) — CI gate; non-runtime standards.
How tested
Identical flow proven end-to-end:
opencharly/.github(PRs #52–#54),sdk(#155),charly(#368, #367) — all merged fully automatically.This PR exercises the same flow in
spec.Project-rulebook compliance
.github.auto-merge.ymldeleted..github,sdk,charly.Attribution
Assisted-by: pi ollama-cloud deepseek-v4-flash:preview (analysed on a live system)