NS7 slice: Add installable server binary path #38

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

OBJECTIVE: Provide the simplest documented way to install the selected binary on a server reachable by SSH.

AUTHORITY: Parent #7 NS7: V1 release hardening and rollout; PRODUCT.md; REQUIREMENTS.md (PRODUCT.md; req: governance/001-005; all v1 requirement rows as release gates).

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: #7 via explicit issue link and parent checklist.

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

BOUNDARIES: No package manager integration unless later proven necessary.

ACCEPTANCE: A clean checkout can build and install/copy a binary; mim --version or equivalent verifies the installed artifact.

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: Provide the simplest documented way to install the selected binary on a server reachable by SSH. AUTHORITY: Parent #7 `NS7: V1 release hardening and rollout`; PRODUCT.md; REQUIREMENTS.md (PRODUCT.md; req: governance/001-005; all v1 requirement rows as release gates). 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: #7 via explicit issue link and parent checklist. SCOPE: The smallest source/docs/tests needed to make this behavior real and verified. BOUNDARIES: No package manager integration unless later proven necessary. ACCEPTANCE: A clean checkout can build and install/copy a binary; `mim --version` or equivalent verifies the installed artifact. 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:21 +00:00
tmk241 added the sliceready-for-agentgoal labels 2026-06-20 23:28:21 +00:00
Author
Owner

Implemented in commits 162634cb7a and 30faf3765f.

Verification:

  • zig fmt build.zig: pass
  • zig build test: pass
  • zig build: pass
  • zig build run -- --help: pass
  • zig build --prefix /tmp/mim-install-min verify-install-min: pass
  • zig build --prefix /tmp/mim-install-code verify-install-code: pass
  • zig build --prefix /tmp/mim-install-full verify-install-full: pass
  • file/stat on /tmp/mim-install-code/bin/mim: ELF executable, mode 755
  • redgate lint / health: pass

Regular tests: added install-min/install-code/install-full build steps that copy the selected named profile to /bin/mim; added verify-install-* steps that execute the installed artifact with --version. INSTALL.md documents the server copy path and version check; AGENTS.md records the canonical verification command.
Adversarial test: initial receipt caught incorrect --prefix ordering; docs were corrected to Zig global option order (zig build --prefix <dir> verify-install-code) and reverified on clean tree with the copied binary present under the requested prefix.

Boundary: simple Zig build install/copy and --version proof only. No package manager, service manager, bootstrap installer, remote provisioning, signing, or release upload added.

Implemented in commits 162634cb7a8f and 30faf3765f99. Verification: - zig fmt build.zig: pass - zig build test: pass - zig build: pass - zig build run -- --help: pass - zig build --prefix /tmp/mim-install-min verify-install-min: pass - zig build --prefix /tmp/mim-install-code verify-install-code: pass - zig build --prefix /tmp/mim-install-full verify-install-full: pass - file/stat on /tmp/mim-install-code/bin/mim: ELF executable, mode 755 - redgate lint / health: pass Regular tests: added install-min/install-code/install-full build steps that copy the selected named profile to <prefix>/bin/mim; added verify-install-* steps that execute the installed artifact with --version. INSTALL.md documents the server copy path and version check; AGENTS.md records the canonical verification command. Adversarial test: initial receipt caught incorrect --prefix ordering; docs were corrected to Zig global option order (`zig build --prefix <dir> verify-install-code`) and reverified on clean tree with the copied binary present under the requested prefix. Boundary: simple Zig build install/copy and --version proof only. No package manager, service manager, bootstrap installer, remote provisioning, signing, or release upload added.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tmk241/mim#38