|
1 | 1 | # BUILD_REPORT |
2 | 2 |
|
3 | 3 | ## sprint objective |
4 | | -Implement Bridge Sprint 3 (`B3`) review queue + explainability scope: |
5 | | -- ship `alice_review_queue` |
6 | | -- ship `alice_review_apply` |
7 | | -- support review actions (`approve`, `reject`, `edit-and-approve`, `supersede-existing`) |
8 | | -- expose explanation/provenance rationale in review surfaces |
9 | | -- verify deterministic recall/resume effects after approved review actions |
| 4 | +Deliver Bridge Sprint 4 (`B4`) closeout scope only: package and document the shipped bridge phase for external operators, publish recommended/fallback Hermes config guidance, strengthen bridge smoke validation evidence, and provide a one-command local demo path. |
10 | 5 |
|
11 | 6 | ## completed work |
12 | | -- Added MCP tool surface `alice_review_queue` with deterministic queue/detail behavior. |
13 | | -- Added MCP tool surface `alice_review_apply` with B3 action vocabulary mapped to continuity correction semantics: |
14 | | - - `approve` -> `confirm` |
15 | | - - `edit-and-approve` -> `edit` |
16 | | - - `reject` -> `delete` |
17 | | - - `supersede-existing` -> `supersede` |
18 | | -- Kept `alice_memory_review` and `alice_memory_correct` as compatibility aliases. |
19 | | -- Extended continuity review serialization to include shared explanation records on review objects. |
20 | | -- Added deterministic `proposal_rationale` to continuity explanation output. |
21 | | -- Ensured explanation chain remains shared across review, recall, and resume paths. |
22 | | -- Updated B3-scoped integration docs for MCP and Hermes memory-provider guidance. |
23 | | -- Updated architecture status markers so B3 review surfaces are marked implemented and only B4 follow-up remains planned. |
24 | | -- Updated control-doc truth checker markers to B3 active-sprint truth. |
25 | | -- Updated B3 review evidence report (`REVIEW_REPORT.md`). |
26 | | -- Added/updated sprint-owned tests for: |
27 | | - - MCP tool surface and B3 names |
28 | | - - action alias mapping and deterministic correction semantics |
29 | | - - review queue explainability presence |
30 | | - - recall exclusion after reject and recall/resume updates after supersede |
| 7 | +- Published canonical B4 operator guide: `docs/integrations/hermes-bridge-operator-guide.md`. |
| 8 | +- Published operator decision note: `docs/integrations/hermes-provider-plus-mcp-why.md`. |
| 9 | +- Published concrete Hermes `config.yaml` examples: |
| 10 | + - recommended path: `docs/integrations/examples/hermes-config.provider-plus-mcp.yaml` |
| 11 | + - fallback path: `docs/integrations/examples/hermes-config.mcp-only.yaml` |
| 12 | +- Updated in-scope integration docs (`README.md`, `hermes.md`, `hermes-memory-provider.md`, `mcp.md`, `hermes-skill-pack.md`) to align on: |
| 13 | + - recommended path: provider plus MCP |
| 14 | + - fallback path: MCP-only |
| 15 | + - migration path from MCP-only to provider plus MCP |
| 16 | + - one-command demo command: `./.venv/bin/python scripts/run_hermes_bridge_demo.py` |
| 17 | +- Strengthened `scripts/run_hermes_mcp_smoke.py` to validate bridge flow beyond recall/resume/open-loops by also validating B2/B3 capture and review operations (`alice_capture_candidates`, `alice_commit_captures`, `alice_review_queue`, `alice_review_apply`). |
| 18 | +- Added one-command demo helper: `scripts/run_hermes_bridge_demo.py`. |
| 19 | +- Added sprint-owned validation coverage for the demo helper: `tests/unit/test_hermes_bridge_demo.py`. |
| 20 | +- Updated `scripts/check_control_doc_truth.py` required markers to B4-active truth so the required verifier aligns with the active sprint packet. |
| 21 | +- Updated `REVIEW_REPORT.md` to grade against B4-specific acceptance criteria and evidence. |
31 | 22 |
|
32 | 23 | ## incomplete work |
33 | | -- None in B3 sprint scope. |
| 24 | +- None within B4 sprint scope. |
34 | 25 |
|
35 | 26 | ## files changed |
36 | | -- `ARCHITECTURE.md` |
37 | 27 | - `PRODUCT_BRIEF.md` |
38 | 28 | - `README.md` |
39 | 29 | - `ROADMAP.md` |
40 | | -- `apps/api/src/alicebot_api/continuity_explainability.py` |
41 | | -- `apps/api/src/alicebot_api/continuity_review.py` |
42 | | -- `apps/api/src/alicebot_api/contracts.py` |
43 | | -- `apps/api/src/alicebot_api/mcp_tools.py` |
44 | | -- `docs/integrations/mcp.md` |
45 | 30 | - `docs/integrations/hermes-memory-provider.md` |
| 31 | +- `docs/integrations/hermes-skill-pack.md` |
| 32 | +- `docs/integrations/hermes.md` |
| 33 | +- `docs/integrations/mcp.md` |
| 34 | +- `docs/integrations/hermes-bridge-operator-guide.md` |
| 35 | +- `docs/integrations/hermes-provider-plus-mcp-why.md` |
| 36 | +- `docs/integrations/examples/hermes-config.provider-plus-mcp.yaml` |
| 37 | +- `docs/integrations/examples/hermes-config.mcp-only.yaml` |
| 38 | +- `scripts/run_hermes_mcp_smoke.py` |
| 39 | +- `scripts/run_hermes_bridge_demo.py` |
46 | 40 | - `scripts/check_control_doc_truth.py` |
47 | | -- `tests/unit/test_continuity_review.py` |
48 | | -- `tests/unit/test_mcp.py` |
49 | | -- `tests/integration/test_mcp_server.py` |
| 41 | +- `tests/unit/test_hermes_bridge_demo.py` |
50 | 42 | - `REVIEW_REPORT.md` |
51 | 43 | - `BUILD_REPORT.md` |
52 | 44 |
|
53 | 45 | ## tests run |
54 | 46 | - `python3 scripts/check_control_doc_truth.py` |
55 | 47 | - Result: PASS |
56 | 48 | - `./.venv/bin/python -m pytest tests/unit tests/integration -q` |
57 | | - - Result: `1189 passed in 196.98s (0:03:16)` (latest re-run) |
| 49 | + - Result: `1191 passed in 187.48s (0:03:07)` |
58 | 50 | - `./.venv/bin/python scripts/run_hermes_memory_provider_smoke.py` |
59 | 51 | - Result: PASS |
60 | | - - Evidence summary: single-external-provider enforcement message emitted; structural payload reports `single_external_enforced=true` and `bridge_status.ready=true`. |
61 | | - - Local filesystem-specific path fields from script output were intentionally omitted for identifier hygiene. |
| 52 | + - Evidence summary: `bridge_status.ready=true`, `single_external_enforced=true`, provider registered. |
| 53 | +- `./.venv/bin/python scripts/run_hermes_mcp_smoke.py` |
| 54 | + - Result: PASS |
| 55 | + - Evidence summary: required Hermes MCP tools registered, `recall_items=2`, `open_loop_count=1`, `capture_candidate_count=2`, `capture_auto_saved_count=1`, `capture_review_queued_count=1`, `review_apply_resolved_action=confirm`. |
| 56 | +- `./.venv/bin/python scripts/run_hermes_bridge_demo.py` |
| 57 | + - Result: PASS |
| 58 | + - Evidence summary: `status=pass`, `recommended_path=provider_plus_mcp`, `fallback_path=mcp_only`. |
62 | 59 |
|
63 | 60 | ## blockers/issues |
64 | | -- No functional blockers. |
65 | | -- No outstanding evidence or documentation blockers after alignment updates. |
| 61 | +- Initial run of `scripts/run_hermes_mcp_smoke.py` failed due local database schema lag and sandbox DB access restriction. |
| 62 | +- Resolved by applying local migrations (`./scripts/migrate.sh`) and rerunning smoke commands with local DB access available. |
| 63 | +- No remaining blockers. |
66 | 64 |
|
67 | 65 | ## recommended next step |
68 | | -Proceed to Bridge Sprint 4 (`B4`) packaging/docs/smoke closeout using the now-shipped B3 review queue/apply surfaces as baseline. |
| 66 | +Request B4 review against this evidence and, if approved, proceed with the single sprint PR for squash merge closeout. |
0 commit comments