Execution Log: --version derives from package metadata
Append-only log of progress for the user's visibility.
Phase transitions
| Phase | Entered | Reviewed/approved by | Notes |
|---|---|---|---|
| requirements-definition | 2026-07-23 | @MadaraUchiha-314 | Bug: --version frozen at hardcoded 0.1.0 (issue #78) |
| design | 2026-07-23 | @MadaraUchiha-314 | Derive from importlib.metadata, drop the duplicate literal |
| tasks-breakdown | 2026-07-23 | @MadaraUchiha-314 | 5-task DAG |
| implementation | 2026-07-23 | Implemented on claude/github-issue-78-5i8j1x | |
| needs-review | 2026-07-23 | PR opened; awaiting human review | |
| complete |
Progress entries
2026-07-23 — implemented
- Phase: implementation → needs-review
- Did:
cli/the_loop/__init__.py:__version__now derives fromimportlib.metadata.version("the-loopy-one")with a0.0.0+unknownfallback for an uninstalled source tree — no longer a hardcoded"0.1.0".cli/the_loop/webhook/server.py:server_versionbuilt from__version__instead of the hardcoded"the-loop-gh-webhook/0.1.0".cli/tests/test_cli.py: added regression tests asserting__version__matches installed metadata, is not"0.1.0", and that--versionprintsthe-loop <version>.docs/capabilities/cli.md: documented the derived-version behaviour + history row.
- Checkpoint/tests:
ruff check,ruff format --check,pyright(0 errors),pytest— 241 passed. Underuvthe package is installed, so--versionreports0.14.0. - Next: open PR, request review.
- Blockers: none.
Review cycles
| Cycle | Type (self/critic) | Reviewer | Outcome | Link |
|---|---|---|---|---|
Final validation evidence
Recorded on the PR: local gate output (ruff/pyright/pytest) and uv run --project cli python -c "import the_loop; print(the_loop.__version__)" printing the installed version (0.14.0) rather than 0.1.0.