claude-print/notes/bf-42j.md
jedarden dfdf76300a Add Phase 9 verification notes for bead bf-42j
Confirms all deliverables complete: claude-print.yaml, install.sh,
claude-print-ci WorkflowTemplate, and --check subcommand. All probes
pass (openpty, mkfifo, mock_claude PTY round-trip). README flags match
--help output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 01:39:04 -04:00

1.8 KiB

Phase 9 Verification Notes (bf-42j)

Status: Complete

All deliverables present and verified.

Deliverables Verified

claude-print.yaml

  • input_method: stdin
  • output_transform: needle-transform-claude
  • invoke_template includes --output-format json --model {model} --no-inherit-hooks
  • Located at /home/coding/claude-print/claude-print.yaml

install.sh

  • bash -n install.sh passes (syntactically valid) ✓
  • Downloads from https://github.com/jedarden/claude-print/releases/latest/download/
  • Backs up existing binary to .prev before installing
  • Installs mock_claude unless SKIP_MOCK_CLAUDE=1
  • Installs claude-print.yaml to ~/.needle/agents/ if NEEDLE is installed
  • Runs claude-print --check to verify installation

claude-print-ci WorkflowTemplate

  • Located at jedarden/declarative-configk8s/iad-ci/argo-workflows/claude-print-ci-workflowtemplate.yml
  • Verify step only (Phase 11 adds build-musl + github-release)
  • Delegates to rust-verify WorkflowTemplate

--check subcommand

Ran claude-print --check after copying locally-built binary to ~/.local/bin/claude-print:

CHECK                RESULT DETAIL
------------------------------------------------------------------------
openpty              PASS   openpty() syscall succeeded
mkfifo               PASS   mkfifo succeeded (dir: /home/coding/.tmp)
mock_claude PTY      PASS   PTY round-trip OK — isatty=true in child (/home/coding/.local/bin/mock_claude)

All checks passed.
  • openpty syscall: PASS ✓
  • mkfifo in /home/coding/.tmp ($TMPDIR): PASS ✓
  • mock_claude PTY round-trip (mock_claude in PATH): PASS ✓

README flags table

README table verified to match claude-print --help output:

  • All 15 flags/options present with correct short forms, defaults, and descriptions ✓