Phase 1: Bootstrap script runs tool via scala-cli #1

Merged
mprihoda merged 3 commits from IWLE-72-phase-01 into IWLE-72 2025-12-11 18:50:24 +00:00
mprihoda commented 2025-12-11 15:40:45 +00:00 (Migrated from github.com)

Phase 1: Bootstrap script runs tool via scala-cli

Goals: Establish foundation for running iw-cli commands through POSIX-compliant shell bootstrap with scala-cli command discovery

Scenarios: 13 verified
Tests: 5 unit tests for Output utilities, 7 E2E scenarios manually verified

Full review packet

What was built

  • iw - POSIX-compliant bootstrap shell script with command discovery
  • .iw/core/Output.scala - Output formatting utilities
  • .iw/commands/version.scala - Fully implemented version command
  • 6 command stubs (init, doctor, start, open, rm, issue)

Key Features

  • Command discovery via structured headers (PURPOSE, USAGE, ARGS, EXAMPLE)
  • LLM-friendly discoverability (--list, --describe)
  • Commands declare dependencies via //> using file
  • Input validation to prevent path traversal attacks

Commits

  • d40bb7d - Implement Phase 1: Bootstrap script with command discovery
  • bc7c6a9 - Fix critical security vulnerabilities and output inconsistency
  • 42d29ee - Add Phase 1 review packet and implementation log

🤖 Generated with Claude Code

## Phase 1: Bootstrap script runs tool via scala-cli **Goals**: Establish foundation for running iw-cli commands through POSIX-compliant shell bootstrap with scala-cli command discovery **Scenarios**: 13 verified **Tests**: 5 unit tests for Output utilities, 7 E2E scenarios manually verified [Full review packet](./project-management/issues/IWLE-72/review-packet-phase-01.md) ### What was built - `iw` - POSIX-compliant bootstrap shell script with command discovery - `.iw/core/Output.scala` - Output formatting utilities - `.iw/commands/version.scala` - Fully implemented version command - 6 command stubs (init, doctor, start, open, rm, issue) ### Key Features - Command discovery via structured headers (PURPOSE, USAGE, ARGS, EXAMPLE) - LLM-friendly discoverability (`--list`, `--describe`) - Commands declare dependencies via `//> using file` - Input validation to prevent path traversal attacks ### Commits - `d40bb7d` - Implement Phase 1: Bootstrap script with command discovery - `bc7c6a9` - Fix critical security vulnerabilities and output inconsistency - `42d29ee` - Add Phase 1 review packet and implementation log 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.