NS1 slice: Build a Zig skeleton with canonical checks #8

Closed
opened 2026-06-20 23:28:12 +00:00 by tmk241 · 1 comment
Owner

OBJECTIVE: Create the smallest Zig project that builds one mim binary and has a canonical test command recorded in AGENTS.md.

AUTHORITY: Parent #1 NS1: Minimal protocol-first mim-min editor; PRODUCT.md; REQUIREMENTS.md (PRODUCT.md; req: session/001-004; req: coding/001; req: governance/001; req: governance/003).

AGENT AUTHORITY:

  • Delivery authority: local-commit
  • Tracker authority: this issue may be commented and closed when acceptance passes.
  • Handoff state: committed clean, tracker commented/closed.

PARENT: #1 via explicit issue link and parent checklist.

SCOPE: The smallest source/docs/tests needed to make this behavior real and verified.

BOUNDARIES: Do not add editor subsystems beyond a smoke path.

ACCEPTANCE: zig build and zig build test pass; mim --help or equivalent proves the binary starts.

VERIFICATION: Run the cheapest command that proves acceptance. Include regular tests for the intended payoff and adversarial tests for realistic failure, boundary, or regression cases. If no implementation test command exists yet, create/record the canonical command in AGENTS.md as part of the slice.

BLOCKERS: none

GOAL: Implement this vertical slice to the ACCEPTANCE above, keep the repo clean, cite relevant req: anchors in code/tests where applicable, and close only after verification passes.

OBJECTIVE: Create the smallest Zig project that builds one `mim` binary and has a canonical test command recorded in AGENTS.md. AUTHORITY: Parent #1 `NS1: Minimal protocol-first mim-min editor`; PRODUCT.md; REQUIREMENTS.md (PRODUCT.md; req: session/001-004; req: coding/001; req: governance/001; req: governance/003). AGENT AUTHORITY: - Delivery authority: local-commit - Tracker authority: this issue may be commented and closed when acceptance passes. - Handoff state: committed clean, tracker commented/closed. PARENT: #1 via explicit issue link and parent checklist. SCOPE: The smallest source/docs/tests needed to make this behavior real and verified. BOUNDARIES: Do not add editor subsystems beyond a smoke path. ACCEPTANCE: `zig build` and `zig build test` pass; `mim --help` or equivalent proves the binary starts. VERIFICATION: Run the cheapest command that proves acceptance. Include regular tests for the intended payoff and adversarial tests for realistic failure, boundary, or regression cases. If no implementation test command exists yet, create/record the canonical command in AGENTS.md as part of the slice. BLOCKERS: none GOAL: Implement this vertical slice to the ACCEPTANCE above, keep the repo clean, cite relevant `req:` anchors in code/tests where applicable, and close only after verification passes.
tmk241 added this to the v1 milestone 2026-06-20 23:28:12 +00:00
tmk241 added the sliceready-for-agentgoal labels 2026-06-20 23:28:12 +00:00
Author
Owner

Implemented in commit 760afbf471 (Build Zig skeleton with canonical checks).

Verification:

  • zig build: pass
  • zig build test: pass
  • zig build run -- --help: pass; output shows the mim help/smoke path
  • redgate lint / health: pass

Regular tests: help text/version smoke checks.
Adversarial tests: unknown arguments and unsupported positional file args are rejected instead of silently accepted.

Implemented in commit 760afbf471bc (Build Zig skeleton with canonical checks). Verification: - zig build: pass - zig build test: pass - zig build run -- --help: pass; output shows the mim help/smoke path - redgate lint / health: pass Regular tests: help text/version smoke checks. Adversarial tests: unknown arguments and unsupported positional file args are rejected instead of silently accepted.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tmk241/mim#8