IW-106: Restructure source code location - separate from .iw directory #330

Merged
mprihoda merged 7 commits from IW-106 into main 2026-04-02 21:21:07 +00:00
mprihoda commented 2026-04-02 17:47:45 +00:00 (Migrated from github.com)

Summary

  • Move source code (commands/, core/, test/, scripts/, VERSION) from .iw/ to repo root so dev layout matches release layout
  • test.scala stays in .iw/commands/ as a project-specific command (invoked as ./iw ./test)
  • .iw/docs/ API reference docs merged into docs/api/
  • iw-run now exports IW_INSTALL_DIR for project-specific commands

Fixes: VERSION always reading 0.0.0 in dev, ./iw needing path overrides, iw-bootstrap layout-sniffing, package-release.sh path remapping.

Closes #106

Test plan

  • ./iw version shows 0.4.0 (not 0.0.0)
  • ./iw --list shows shared commands + project command ./test
  • Unit tests pass (./iw ./test unit)
  • All 35 commands compile (./iw ./test compile)
  • Release tarball includes VERSION file
  • E2E tests pass (CI)
  • Grep for stale .iw/ source refs — only consumer-config refs remain

🤖 Generated with Claude Code

## Summary - Move source code (`commands/`, `core/`, `test/`, `scripts/`, `VERSION`) from `.iw/` to repo root so dev layout matches release layout - `test.scala` stays in `.iw/commands/` as a project-specific command (invoked as `./iw ./test`) - `.iw/docs/` API reference docs merged into `docs/api/` - `iw-run` now exports `IW_INSTALL_DIR` for project-specific commands Fixes: VERSION always reading `0.0.0` in dev, `./iw` needing path overrides, `iw-bootstrap` layout-sniffing, `package-release.sh` path remapping. Closes #106 ## Test plan - [x] `./iw version` shows `0.4.0` (not `0.0.0`) - [x] `./iw --list` shows shared commands + project command `./test` - [x] Unit tests pass (`./iw ./test unit`) - [x] All 35 commands compile (`./iw ./test compile`) - [x] Release tarball includes VERSION file - [ ] E2E tests pass (CI) - [ ] Grep for stale `.iw/` source refs — only consumer-config refs remain 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.