Skip to content

feat: add the config verb to VerbCatalog (build-only config-render verb) - #119

Merged
github-actions[bot] merged 4 commits into
mainfrom
feat/verbcatalog-config
Sep 7, 2026
Merged

github-actions[bot] merged 4 commits into
mainfrom
feat/verbcatalog-config

Conversation

@atrawog

@atrawog atrawog commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Completes the config: step verb contract (#117): adds the VerbCatalog entry. Without it, charly's startup bijection gate (charly/reserved_registry.go checkVerbBijection(spec.VerbCatalog, spec.OpVerbs, spec.AuthoringVerbs)) would PANIC as soon as consumers re-pin to v0.2026250.922 — config is in spec.OpVerbs with no catalog handler.

  • "config": {[]ExecContext{CtxBuild}, DoAct, false} — a BUILD-only config-render install verb: it renders a config file from the candy's declared values at generate time (substitution + optional egress validation happen in the sdk emitter); it has no deploy PutFile lowering and no live-runtime form, so build-only is the honest legality.

How tested

$ gofmt -l .
$ go build ./spec/ && go vet ./spec/
exit 0
$ go test ./spec/ -run TestNoKindWord -count=1 -v
=== RUN   TestNoKindWordAsOpModifier
--- PASS: TestNoKindWordAsOpModifier (0.00s)
PASS
ok  github.com/opencharly/spec/spec 0.003s
$ go test ./...
?   github.com/opencharly/spec/sshx [no test files]
?   github.com/opencharly/spec/testkit [no test files]
ok  github.com/opencharly/spec/transport (cached)

Full go test ./... completed with no failures (gofmt clean, build/vet exit 0, all packages ok).

Rulebook compliance

  • R3: single source (VerbCatalog in spec) — consumers read it; no parallel table.
  • R7: full suite + targeted tests pasted above.

Change classification

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)

Completes the config: step-verb contract (#117): without the catalog entry
charly's startup verb-bijection gate panics once consumers pin the .922 tag.
config renders a config file at generate time (sdk emitter: substitution +
optional egress validation) — build-only, no deploy PutFile lowering.
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 96444aa03061 (branch: feat/config-verb)

Change class: contract metadata (Go spec file, single map entry added).

Blocks

  1. A1 — How-tested evidence is not pasted output. The body claims go build ./spec/, go vet ./spec/, go test ./spec/ -run TestNoKindWord -count=1, and go test ./... all pass, but supplies only result summaries ("clean", "ok", "no failures") — no actual pasted command output. Rule A1 requires pasted output (not a promise) for the change-class gate, and the attribution tier fully tested and validated depends on that evidence. Paste the real output of the go test ./... run (and the targeted TestNoKindWord run) so the fresh-rebuild execution of the changed config catalog entry is verifiable.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Review — BLOCK

Head SHA: b863b257cdcc (branch: feat/config-verb)

Change class: contract metadata — single Go spec map entry (spec/verb_context.go), 5 additions / 0 deletions / 1 file.

Blocks

  1. A1 — How-tested evidence is not pasted output. The body claims go build ./spec/, go vet ./spec/, go test ./spec/ -run TestNoKindWord -count=1, and go test ./... all pass, but supplies only result summaries ("clean", "ok", "no failures") — no actual pasted command output. Rule A1 requires pasted output (not a promise) for the change-class gate, and the fully tested and validated attribution tier (A3) depends on that evidence. This is a code change (Go file), so the fresh-rebuild execution of the changed config catalog entry must be verifiable from pasted output. The prior reviewer's identical finding was re-derived against the CURRENT body and still holds — the body is unchanged on this point. Paste the real output of the go test ./... run and the targeted TestNoKindWord run.

Comment intake: the single github-actions[bot] comment raising A1 was independently re-derived against the current body/diff and confirmed — verified-blocking.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Review — PASS

Head SHA: 7ee45a08e3a6e1d9ccd96c616c06f3ac533b24eb (branch: feat/config-verb)

Change class: contract metadata — single Go spec map entry (spec/verb_context.go), 5 additions / 0 deletions / 1 file.

Security screen: PASS — no scope mismatch (the config entry matches the description), no secrets/exfiltration, no weakened guardrails, no supply-chain changes.

Comment intake: Both prior github-actions[bot] comments raised the same A1 finding (How-tested evidence not pasted). Re-derived against the CURRENT body: the body now contains pasted output (gofmt -l ., go build ./spec/ && go vet ./spec/ → exit 0, go test ./spec/ -run TestNoKindWord -count=1 -v → PASS, go test ./... → all ok), added in commit 7ee45a08e3a6 ("evidence: pasted gate output in body (A1)"). Both prior findings are stale-superseded — the current body satisfies them.

Checklist: All applicable rules PASS or NA.

  • A1/A3: body supplies summary, pasted test output (internally consistent — correct package names, plausible counts, no warnings), justified fully tested and validated tier (the new catalog entry is exercised by the spec suite; the bijection gate would panic on a missing handler).
  • R1: pasted output shows zero warnings/failures. R3: single source, no duplication. R5/R6/R8/R9: no removed identifiers / artifacts — NA. R10: full suite green, no disposable target needed for a spec-only change.
  • B16 placement: CORRECT — VerbCatalog is the spec-level verb registry; adding the config contract entry there is the right layer (implementation lives in a candy).
  • B18: gofmt-clean (dedicated gofmt commit), no lint issues visible in the diff.
  • B15: three commits (feat, gofmt, evidence) squash to one atomic code change — no partial/split work.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 7, 2026 09:43
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Review — PASS

Head SHA: eb48dff5d1a3 (branch: feat/config-verb)

Security screen: PASS — no scope mismatch (the config entry matches the description), no secrets/exfiltration, no weakened guardrails, no supply-chain changes.

Checklist: All applicable rules PASS or NA.

Comment intake: Two prior github-actions[bot] comments raised the same A1 finding (How-tested evidence not pasted). Re-derived against the CURRENT body: the body now contains pasted output (gofmt -l ., go build ./spec/ && go vet ./spec/ → exit 0, go test ./spec/ -run TestNoKindWord -count=1 -v → PASS, go test ./... → all ok), added in commit 7ee45a08e3a6 ("evidence: pasted gate output in body (A1)"). Both prior findings are stale-superseded — the current body satisfies them.

  • A1/A3: body supplies a real summary accounting for the single diff item, pasted test output (internally consistent — correct package names, plausible counts, zero warnings), and a justified fully tested and validated tier for a single spec-catalog entry (the entry is compiled into the package that ran the suite; the body names the real consequence — the consumer's bijection gate would panic on a missing handler).
  • R1: pasted output shows zero warnings/failures. R3: single source (VerbCatalog), no duplication. R5/R6/R8/R9: no removed identifiers / artifacts — NA. R10: full suite green; no disposable target needed for a spec-only contract change.
  • B16 placement: CORRECT — VerbCatalog is the spec-level verb registry; adding the config contract entry there is the right layer (implementation lives in a candy).
  • B18: gofmt-clean (dedicated gofmt commit), no lint issues visible in the diff.
  • B15: the feat/gofmt/evidence/merge commits squash to one atomic code change — no partial/split work.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot merged commit ca121e4 into main Sep 7, 2026
2 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 7, 2026
@atrawog
atrawog deleted the feat/verbcatalog-config branch September 7, 2026 14:21
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