On this page
CHANGELOG.md
Early changelog
Aegis-Terminal — Changelog
Append-only. New entries at the bottom.
2026-09-13 — major infrastructure day
Pipeline architecture
- Added
definition_path.py— classifier, seed, terminal resolution, formatter helpers - Added
disambiguation_route.py— ambiguity gate as a named function - Added
disambiguate.py— pure logic for ambiguity detection - Added
session_store.py— in-memory TTL session for sense memory
Definition fast path
- Wiktionary seed via Wikipedia REST summary endpoint
- Formatter v3 → v4 → v5 → v5b (appositive guard, list-reject, no double-copula)
- Terminal sense resolution: user pick returns exact doc, no pipeline
- Multi-token subject terminal (Apple Inc, Marie Curie)
- Single-token non-whitelisted terminal (Napoleon)
Classifier v2 / v2b
- Question words: what, who, where, when, define, explain
- Multi-token subjects up to 5 words
- Appositive-style extract handling
Ambiguity overlay
- Whitelist-gated detection (20 subjects)
- Frontend overlay with clickable sense cards
- Session memory so user teaches once per subject
User corrections
query_corrections.py— save/get/forget- Correction check runs first in query() — always wins
- Frontend widget: Helpful / Wrong / Teach Aegis buttons
/query/correctand/query/feedbackendpoints- Used-count tracking on each correction
Observability
query_log.py— every query logged with qtype, source, elapsed, feedback/debug/query_logand/debug/correctionsendpoints- NaN sanitizer for JSON-safe responses
Fast paths
- Math (arithmetic, roots, powers)
- Units (time, length, mass)
- Stock (Yahoo Finance via yfinance)
- Tutorials (manual for Python/Rust/JS/Go/SQL, structural for W3Schools topics)
Dead code cleanup
- Removed vector search chunks block
- Removed
_low_no_artorphan - Removed
_wk_termorphan - Removed verifier if-False gate
2026-09-13 19:43 — item 6 closed
- test run — no actual fix
2026-09-13 19:50 — item 6 closed
- Step 2 shipped: weather.py, time_zone.py, currency.py — live-data fast paths at 1-3s (geocode state-abbrev fix included)
2026-09-13 19:56 — item 1 closed
- Relationship queries (capital/population/currency/area of X) resolved via Wikidata with 429 retry
2026-09-13 20:05 — item 9 closed
- Curated sense supplement module — LAC now surfaces Lithium Americas Corp as the first sense
2026-09-13 20:06 — item 2 closed
- Ambiguity overlay wikitext parsing restored (editorial order, curated senses, italics stripped)