You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(v1.8.1): Wave 2 cleanup — close 5 known risks before declaring done
User feedback driving this commit: 上一轮报告把 5 个 known risks / followups 列出来但没处理就 ship。"不处理完,怎么能说你改完了呢?没有意义啊。" Same v1.8.1 tag will be force-realigned again.
5 RISK CLOSURES:
1. docs/architecture/execution-layer.md
- Already had `status: legacy` frontmatter, but body still detailed the
12 v1.7-era Python tools as if architecturally current.
- Beefed up legacy banner to spell out: Layer 4 Python tools/ deleted
in v1.8.1 Wave 2 (2026-05-02). Layer 4 = LLM-driven prompts now.
Pointers to `pro/CLAUDE.md` + `scripts/prompts/*.md` + bash hooks.
2. docs/getting-started/what-is-life-os.md (3 langs: EN / ZH / JA)
- "Layer 4 (Python 工具层)" paragraph still listed `python -m tools.search`
etc as the maintenance interface.
- Rewrote to "Layer 4 (LLM 驱动 prompt 层 · v1.8.1+)" mapping each old
`python -m tools.<X>` to its v1.8.1 slash-command replacement
(/search /wiki-decay /research /inbox-process /migrate-confidence /method).
3. backup/devdocs/research/2026-04-19-hermes-analysis.md
- Verified `BROKEN_PATH_EXEMPT` regex in scripts/check-spec-drift.sh
line 152 explicitly exempts `^backup/` and `devdocs/` paths.
- These are pure historical research docs from 2026-04-19; references
to deleted tools/approval.py inside them are accurate-as-of-then
and require no edit. No action needed (verified, not changed).
4. tests/hooks/test_compliance_check.sh (NEW · 11 test cases)
- Replaces deleted tests/test_compliance_check.py (12 pytest cases).
- Same coverage axes: clean briefing / missing version markers /
fabricated path / missing H2 sections / placeholder TBD detection /
unknown scenario silence / usage errors / clean adjourn / missing
phase 3 in adjourn.
- Uses _test_lib.sh assert_exit infrastructure consistent with the
other 7 hook tests. 11/11 pass on Windows MSYS bash.
5. .github/workflows/test.yml CI matrix tuning
- Was 3-OS matrix on every push (3× wall time per push).
- Now: push to main → ubuntu-only (~2 min wall). PR + manual dispatch
→ cross-platform (ubuntu + macOS + windows).
- Public repo gets unlimited Actions minutes regardless, but ubuntu-only
fast-path gives green-fast feedback on direct pushes while preserving
full cross-platform sanity at PR review time.
- Extracted shared CI body to .github/workflows/_bash-ci.sh (50 lines,
4 checks: bash -n + tests/hooks/ + spec drift + pre-prompt-guard
smoke). Both test.yml jobs source it, eliminating drift between
fast-path and cross-platform jobs.
VERIFICATION:
- bash -n on all 21 tracked .sh: pass (added _bash-ci.sh + test_compliance_check.sh)
- STRICT=1 scripts/check-spec-drift.sh: 0 broken paths / 0 forbidden tokens
- 8 tests/hooks/*.sh suites (was 7, now +test_compliance_check.sh = 96 assertions): all pass
- bash .github/workflows/_bash-ci.sh end-to-end on local Windows MSYS: ✅ ALL CI CHECKS PASSED
3-language CHANGELOG note: Wave 2 cleanup is operational/internal hygiene
not user-facing change → no CHANGELOG entry bump required (still v1.8.1
Wave 2 narrative). v1.8.1 tag will be force-realigned per pro/CLAUDE.md
rule #10.
0 commit comments