|
1 | 1 | # ADR-0011: Retire the OKF import, the tier-1 ontology and the concept sidecar |
2 | 2 |
|
3 | | -**Status:** Accepted · **Date:** 2026-09-10 · **Deciders:** Andy Taylor (owner) |
| 3 | +**Status:** Accepted · **Date:** 2026-09-10 · **Amended:** 2026-09-15 · **Deciders:** Andy Taylor (owner) |
4 | 4 | **Supersedes:** the IN-FLIGHT ontology and concept-sidecar claims in |
5 | 5 | `docs/architecture/session-memory/README.md` (2026-09-09 record) and the corresponding sections of |
6 | 6 | the branch ADR *0011-claim-centric-learning-memory* on `feat/knowledge-proof` (marked RETIRED there; |
7 | 7 | its claim-centric learning-memory decision itself stands and will be renumbered when merged). |
| 8 | +[Superseded 2026-09-15: that decision was never merged and will not be — PR #19 is closed and the |
| 9 | +branch tip is archived; see *Disposition after semantic-layer completion* below. The sentence is |
| 10 | +kept as written.] |
8 | 11 |
|
9 | 12 | ## Context |
10 | 13 |
|
@@ -50,6 +53,8 @@ What is **kept**, because it is not OKF and the data supports it: |
50 | 53 | `get_concept_context`) — a first-party concept store with its own contract, unrelated to the sidecar; |
51 | 54 | - the **evidence tier** and the **learning-memory** claims/evidence store on `feat/knowledge-proof` |
52 | 55 | (ADR *claim-centric learning memory*) — the semantic layer's prerequisites; |
| 56 | + [Superseded 2026-09-15: the semantic-layer programme sealed without this store; see the |
| 57 | + disposition section below. The bullet is kept as written.] |
53 | 58 | - every **receipt** and evidence file that documents the experiment and this decision (immutable |
54 | 59 | history, marked RETIRED where it describes the removed layers). |
55 | 60 |
|
@@ -78,3 +83,51 @@ What is **kept**, because it is not OKF and the data supports it: |
78 | 83 | - **Leave the code on branches "in case".** Rejected: unmerged branches rot, and the owner's failure |
79 | 84 | mode is open tasks that never close. Tips are tagged `archive/*-2026-09-10` before deletion, so |
80 | 85 | nothing is lost. |
| 86 | + |
| 87 | +## Disposition after semantic-layer completion (2026-09-15) |
| 88 | + |
| 89 | +Written under council decision D-13 |
| 90 | +(`docs/architecture/plan-integration/council/arbitration-plan-round1-2026-09-15.md`): this ADR is |
| 91 | +amended, not rewritten. Everything above is preserved as written on 2026-09-10; the two statements |
| 92 | +that no longer hold are marked superseded in place, and this section records what actually happened. |
| 93 | + |
| 94 | +1. **The claim-centric learning-memory decision was not merged.** The header above says the branch |
| 95 | + ADR's "claim-centric learning-memory decision itself stands and will be renumbered when merged". |
| 96 | + It did not merge and will not: `feat/knowledge-proof` was never integrated into `main`, and its |
| 97 | + pull request is closed (item 4). The sentence is superseded; it stays in the header as the record |
| 98 | + of what was expected on 2026-09-10. |
| 99 | + |
| 100 | +2. **The semantic layer did not need that store.** The *Decision* section keeps "the evidence tier |
| 101 | + and the learning-memory claims/evidence store on `feat/knowledge-proof` … — the semantic layer's |
| 102 | + prerequisites". The semantic-layer programme on `main` **sealed on 2026-09-15** without it |
| 103 | + (`docs/architecture/session-memory/receipts/semantic-layer/`; SEALED outcome recorded at |
| 104 | + `a0272a52`: G2 met, G1 not established, owner keeps the `mcp`/`web` hybrid default). No claim or |
| 105 | + evidence table participates in the shipped `session_search`; the "prerequisites" claim is |
| 106 | + superseded. It had already been contradicted by the branch's own data: **Stage F measured the |
| 107 | + fused claims arm at −0.140 recall@5** on DEV, below prose alone (recorded in |
| 108 | + `docs/architecture/session-memory/receipts/okf-removal-inventory-2026-09-10.md`, citing branch |
| 109 | + ADR-0011:301, which also records the fused arm "significantly *worse* than prose alone (−0.154, |
| 110 | + CI95 [−0.252, −0.065]), replicating DEV (−0.140)"). Measured, the store was a cost to recall, not |
| 111 | + a prerequisite for it. |
| 112 | + |
| 113 | +3. **The portable lexical hypothesis was separated from the retired architecture and measured on |
| 114 | + its own.** The one retrieval win the branch produced (F-B0-1, *Context* above) was a planner |
| 115 | + construction — `plan_prose_query`'s quoted-raw-token `OR` — and owed nothing to the storage or |
| 116 | + ontology layers this ADR retired. It was ported to `main` as |
| 117 | + `agent_session_tools.query_planner.prose_or_query` and pre-registered (D-12) in its narrowest |
| 118 | + position, the `OR` *widen* step of the shipped planner: |
| 119 | + `docs/architecture/session-memory/receipts/lexical/preregistration-2026-09-15.md`. The verdict is |
| 120 | + `docs/architecture/session-memory/receipts/lexical/or-fallback-dev-2026-09-15.md`: |
| 121 | + **`adopt: false`** — DEV macro recall@5 paired delta −0.0101, CI95 [−0.0500, +0.0278]; clause 1 |
| 122 | + (CI95 lower bound > 0) failed, the other three clauses held. The shipped planner is unchanged; the |
| 123 | + helper and its tests stay as measured code. The historical +0.142 (*Context*) was measured against |
| 124 | + the Stage 1 planner and a different corpus and did not carry. |
| 125 | + |
| 126 | +4. **Branch disposition.** PR #19 is closed. Its tip `464a8cdc` is tagged |
| 127 | + `archive/feat-knowledge-proof-2026-09-15`; the branch's primary receipts (Stage F, the claims-layer |
| 128 | + gate results cited in *Context*) remain reachable via that tag. Nothing from the branch is deleted |
| 129 | + from history. |
| 130 | + |
| 131 | +5. **No renumbering.** An ADR that was never merged is not renumbered. `0011` on `main` is this |
| 132 | + document; the branch ADR *0011-claim-centric-learning-memory* remains what it is — a record on an |
| 133 | + archived branch, cited above by its branch line numbers. |
0 commit comments