Repository navigation
Commit e13aaa2
fix: PR #3 review-3 — seed health-check + pre-commit output + roadmap clarity
One inline + three nitpicks from the review. The fourth nitpick
(frontend tsconfig _comment field) was already closed in 1a5f245.
Inline (scripts/seed.sh):
- The health-check loop captured only `.Health`; a service with no
healthcheck (empty Health column) was treated as already-healthy.
All current dev.yml services carry a healthcheck per Standards 12,
but the policy should be enforced not assumed. Rewrote the awk to
consume `{{.Name}}\t{{.State}}\t{{.Health}}` and flag three
distinct failure shapes — service not running, service running
but with no healthcheck defined, service running but healthcheck
not yet `healthy`. Each shape prints its own diagnostic so the
developer can see whether to wait or to fix a missing healthcheck.
Nitpick (.githooks/pre-commit):
- Leakwatch failure path piped scanner output to `/dev/null`, leaving
the developer guessing which detector fired. Now captures stdout +
stderr, replays it before exiting 1 — exit code drives the gate,
scanner output drives the diagnosis.
Nitpicks (docs/roadmap/phase-01-repository-tooling.md):
- The CI Baseline section listed Integration / OpenAPI-diff /
Lighthouse as plain bullets, contradicting the in-progress status
block above that calls them deferred. Each now carries an inline
*(scaffolded as `if: false` placeholder; activates in Phase 0Xx
when …)* note so Scope and Status read coherently.
- "Optional `learnstack-hub` compose overlay for local Hub
development" was ambiguous about ownership — could be read as
"lives in this repo." Rewritten to "Optional **external**
`learnstack-hub` compose overlay (maintained in the separate
`learnstack-hub` repository per ADR-0019)" so location + ownership
are unambiguous.
Skipped:
- Action SHA pinning (.github/workflows/ci.yml): genuine supply-
chain hardening recommendation, but maintaining SHA pins without
Renovate / Dependabot is operationally heavy for a Phase 01 PR.
Track for Phase 11 production-hardening — the addition there
bundles SHA pinning + a Renovate config in one change. The
current `@v4` / `@v5` major-tag pins are the GitHub-recommended
Phase-01-grade posture.
Verification: `bash -n` clean on both shell scripts; `python3
yaml.safe_load` clean on ci.yml; roadmap links resolve under the
new sibling-relative + repo-relative auditor.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c503fd9 commit e13aaa2
3 files changed
Lines changed: 36 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
107 | 112 | | |
108 | 113 | | |
109 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
206 | 209 | | |
207 | 210 | | |
208 | 211 | | |
| |||
221 | 224 | | |
222 | 225 | | |
223 | 226 | | |
224 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
225 | 230 | | |
226 | | - | |
227 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
228 | 237 | | |
229 | 238 | | |
230 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
52 | 64 | | |
53 | 65 | | |
54 | 66 | | |
| |||
61 | 73 | | |
62 | 74 | | |
63 | 75 | | |
64 | | - | |
| 76 | + | |
65 | 77 | | |
66 | 78 | | |
67 | 79 | | |
| |||
0 commit comments