Repository navigation
feat: egress schema for the crabbox local-container config (crabbox-yaml) - #3
Conversation
…aml) Registers the crabbox-yaml egress kind (#CrabboxYaml) so the config: verb's validate: option can gate rendered crabbox.yaml bytes: typed localContainer surface (noHostname/dockerSocket real bools), non-empty provider, tolerant of upstream field additions. Tests: good/bad cases.
Review — BLOCKHead SHA: Change class: plugin-egress schema (code/config — Go + CUE). Security screen: PASS — no scope mismatch (all 3 files accounted for in the body), no secrets/exfiltration, no weakened guardrails, no new dependencies. Blocks
Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
Review — BLOCKHead SHA: Change class: plugin-egress schema (code/config — Go + CUE). Security screen: PASS — no scope mismatch (all 3 files accounted for in the body), no secrets/exfiltration, no weakened guardrails, no new dependencies, no embedded directives. Blocks
Comment intake
Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
Review — BLOCKHead SHA: Change class: plugin-egress schema (code/config — Go + CUE). Security screen: PASS — no scope mismatch (all 3 files accounted for in the body), no secrets/exfiltration, no weakened guardrails, no new dependencies, no embedded directives. Blocks
Comment intake
Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (all 3 files accounted for in the body), no secrets/exfiltration, no weakened guardrails, no new dependencies, no embedded directives. Checklist: All applicable rules PASS or NA.
Comment intake:
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
Summary
Egress schema for the rendered crabbox local-container config (
~/.config/crabbox/config.yaml) that the newconfig:plan-step verb produces (contract: opencharly/spec#117 + sdk emitter opencharly/sdk#237).egress-schemas/egress_crabbox.cue:#CrabboxYaml— types the docs/providers/local-container.md surface (non-emptyprovider;localContainer.{runtime,image,user,workRoot,cpus,memory,network,dockerSocket,noHostname,volumes}typed;noHostname/dockerSocketREAL bools). The...tolerances keep upstream field additions from hard-failing while still catching type errors.main.go: registers the kind ("crabbox-yaml": "#CrabboxYaml").crabbox_egress_test.go: good minimal / good noHostname-bool / string-bool rejected / missing-provider rejected.How tested
Rulebook compliance (per-rule dispositions)
Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)