Commit 50008ef
committed
refactor(okf): remove the OKF import, tier-1 ontology and concept sidecar -- code, tests, migrations, registrations
Owner ruling 2026-09-10 (ADR-0011 on main): OKF is not part of the solution
and is removed entirely, leaving no remnant, in preparation for a semantic
layer. Evidence in receipts/okf-removal-inventory-2026-09-10.md: no serving
path read any of it, 0/2,033 imported concepts citation-bound, the ontology
moved fused recall by +0.00, value gates never reached.
agent-session-tools: 12 modules deleted (concept_cli, concept_live,
concept_schema, concepts, okf_import, ontology, ontology_live, plus the
sidecar-only authorization, projection, safe_fs, winddown and recall
seams) and 18 test files; migrations v48/v49 and their registration
removed, CURRENT_VERSION back to 47 (what main ships); the
memory_winddown and memory_recall MCP tools removed so the tool set equals
main's; live_ontology/live_concepts markers removed from both pyproject
files. Ten files whose whole branch diff was OKF were restored to the
MERGE BASE (not main's current version -- restoring to main would have
imported main's newer work; caught and corrected during the lane's own
audit). recall.py was memory_recall's engine (PR #18 drop-half, d573133):
deleted rather than kept as a second session_search.
studyloop: check_ontology_freshness and its doctor registration removed
(_doctor.py and doctor/harness.py now match main); test_doctor_ontology.py
deleted. scripts/b4_recall_acceptance.py deleted (existed only to run the
v49 migration and import_okf); pin_poc_set.py docstring retargeted.
Kept, because they are not OKF: the learning-memory package and its
claims/evidence store; studyloop's learning tier (history/concepts.py,
learning/concept_quality.py, get_concept_context -- identical on main).
Gates on the worktree: ruff check clean, 727 files formatted, pyright
0/0/0; agent-session-tools 1,691 passed / 0 failed; studyloop reds equal
the pinned environment set plus two expected on a branch that predates
main's Stage 3 fix. Finish line: git grep for
okf|ontolog|concept_sidecar|context_concept|memory_winddown|memory_recall
over packages/ returns nothing.1 parent 27842b7 commit 50008ef
57 files changed
Lines changed: 88 additions & 19300 deletions
File tree
- docs/architecture/session-memory/receipts/retired-okf-evidence
- packages
- agent-session-tools
- src/agent_session_tools
- context
- replication
- tests
- studyloop
- src/studyloop
- cli
- doctor
- tests
- scripts
- knowledge_proof
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | 136 | | |
145 | 137 | | |
146 | 138 | | |
147 | 139 | | |
148 | | - | |
149 | | - | |
150 | 140 | | |
151 | 141 | | |
152 | 142 | | |
| |||
Lines changed: 0 additions & 128 deletions
This file was deleted.
0 commit comments