Skip to content

Harden Oghma retrieval and knowledge classes - #698

Closed
RANGROO wants to merge 13 commits into
unstablefrom
codex/oghma-parity-v1
Closed

Harden Oghma retrieval and knowledge classes#698
RANGROO wants to merge 13 commits into
unstablefrom
codex/oghma-parity-v1

Conversation

@RANGROO

@RANGROO RANGROO commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add native Oghma parity runtime, catalog lifecycle, status vocabulary, and parity evidence
  • ship the curated Skyrim catalog with grounded retrieval, aliases, rich relational tags, and protected custom rows
  • add a checked-in CHIM knowledge-class ontology and immutable catalog v1.3
  • fix all 45 malformed rift reach basic-class assignments to distinct rift and reach classes
  • keep 1,509 ordinary basic articles on common and move 53 reviewed deep-lore subjects to esoteric
  • add retrieval_phrases as the only non-topic/alias metadata allowed to identify an article by itself
  • make ordinary tags corroborate/rank an existing topic match without creating a topic
  • canonicalize only 15 reviewed singular/plural phrase pairs before owner counts; no general stemming
  • retain backward-compatible import and rollback for format-v1 catalog packages
  • preserve unrestricted access for legacy/custom rows with an empty class and knowall as an explicit advanced override

This consolidates the Oghma work currently split across drafts #693, #695, and #697; those PRs remain open for manual review.

Validation

  • php unittests/oghma_parity_harness.php --iterations=500: 63 contract cases, 0 failures; p50 0.511 ms, p95 1.215 ms, p99 1.332 ms (25 ms p95 budget)
  • WSL focused PHPUnit: 19 tests, 5,251 assertions across parity, catalog lifecycle, and migration runner
  • catalog audit: 1,562 rows; 1,509 common basic; 53 esoteric basic; 0 malformed rift reach; 45 corrected rift + reach; 3 safe retrieval phrases
  • production-catalog probes resolve Night Mother -> dark_brotherhood, Cloud District -> dragonsreach, and Colored Rooms -> meridia
  • confirmed false-pull probes now abstain for It is hostile when provoked., This is a hidden location., and Tell me about the adjacent place.
  • PHP lint, JSON parsing, catalog checksum verification, schema-contract verification, and git diff --check passed

Limits

  • not deployed locally in this update
  • not verified in a live Skyrim conversation
  • Windows database-backed PHPUnit launcher cannot express its Unix-style PGPASSWORD=... command; the database suites were run successfully inside the configured WSL environment

@RANGROO RANGROO changed the title Oghma parity runtime and common knowledge default Harden Oghma retrieval and knowledge classes Aug 13, 2026
@RANGROO

RANGROO commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by consolidated draft #701, which contains this work plus the completed Oghma catalog, retrieval, knowledge-class, biography, parity, and UI changes. Please review the combined draft there.

@RANGROO RANGROO closed this Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant