generated from coulomb/repo-seed
issue-core flagged the installed `warden` lacked the `route` subcommand. Two causes: 1. uv reused a cached wheel (version stayed 0.1.0) so the installed warden.cli was stale. Documented the cache-clean + --reinstall fix in ADHOC-2026-06-27. 2. Even rebuilt, route/access/policy were unusable outside a checkout because the routing catalog + posture descriptors live in registry/ at repo root, outside the package. Bundle registry/ into the wheel (hatch force-include -> warden/_registry) and add a packaged-data fallback in find_catalog_path / find_posture_path after the repo walk, so source runs still prefer the repo's registry/ (single source of truth). Verified `warden route list` / `warden policy list` work from /tmp. 200 tests, lint clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
id, type, title, domain, repo, status, owner, topic_slug, created, updated
| id | type | title | domain | repo | status | owner | topic_slug | created | updated |
|---|---|---|---|---|---|---|---|---|---|
| ADHOC-2026-06-27 | workplan | Ad Hoc Tasks — 2026-06-27 | infotech | ops-warden | finished | claude | custodian | 2026-06-27 | 2026-06-27 |
Ad Hoc Tasks — 2026-06-27
Low-risk opportunistic fixes completed directly during the consolidation session.
T01 — Fix stale warden CLI install + make it usable outside the repo
id: ADHOC-2026-06-27-T01
status: done
priority: medium
issue-core reported (msg 70bcf238) that the warden CLI on ~/.local/bin lacked
the route subcommand, forcing a uv run warden fallback.
- Root cause:
uv tool installhad reused a cached wheel (version stayed0.1.0), so the installedwarden.clipredated theroute/access/policysubcommands.uv cache clean ops-warden+uv tool install . --reinstallfixed it. - Deeper cause: even rebuilt,
warden route/policyfailed outside a checkout because the catalog + posture descriptors live inregistry/at repo root, outside the package. Bundledregistry/into the wheel via hatchforce-include→warden/_registry, and added a packaged-data fallback infind_catalog_path/find_posture_path(after the repo walk, so source runs still prefer the repo'sregistry/as the single source of truth). - Verified
warden route list/warden policy listwork from/tmp; 200 tests pass, lint clean.