Skip to content

Knowledge wiki: add confidence, questions, and contradictions fields #103

@mindsocket

Description

@mindsocket

Context

From the memory-wiki comparison (issue #100). memory-wiki tracks epistemically unresolved state at the page level using lightweight frontmatter fields. These are low-overhead additions that complement the claims model (issue #102) and add meaningful queryable state without needing full claim machinery.

Decision: add confidence, questions, and contradictions as optional fields on knowledge wiki page types. Do not add updatedAt (no freshness/decay rules planned).

Fields to add

On concept, entity, and synthesis types in schemas/_knowledge_wiki.json:

Field Type Description
confidence number (0–1) Page-level confidence score in the content
questions string[] Open questions this page hasn't resolved
contradictions string[] Known conflicts with other pages or sources

All three are optional. source, note, and index types do not get these fields.

Rules to add

Add to the rules array in _knowledge_wiki.json. Each rule only triggers when its triggering field is present — pages without these fields are unaffected.

  • open-questions (category: best-practice) — flags pages where questions is present and non-empty. Communicates that the page has unresolved questions worth addressing.
  • contradictions-present (category: coherence) — flags pages where contradictions is present and non-empty. Surfaces known conflicts for review.
  • low-confidence (category: quality) — flags pages where confidence < 0.5. Indicates content that is uncertain enough to warrant review or supporting evidence.

Acceptance criteria

  • All three fields validated on concept, entity, synthesis; absent from other types
  • All three rules fire on pages with the triggering fields in the relevant state; silent otherwise
  • Rules are covered by unit tests

Reference

docs/memory-wiki-research.md — "Questions and contradictions arrays" section; notes on fields and rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions