Harness Intelligence Wiki
Domains

Knowledge Reconciliation Flow

How private/internal ingest turns changed evidence into current flow and concept articles, discovery entries and one truthful outcome.

Knowledge Reconciliation Flow

Ingest reconciles evidence into the one canonical article tree. It updates owning articles instead of adding a parallel page per source, and it ends with exactly one outcome. Spec authority: FLOW-003, AC-016–AC-024.

Karpathy's LLM Wiki describes the same operation as "Ingest": a new source can touch many pages, and the agent updates the index and appends to the log (raw original, repository-only). That source is an external idea file, not a Harness requirement; the accepted contract is the spec above.

Trigger and actors

  • Trigger: a spec, implementation notes, operator workflow or captured source is new or stale for the wiki.
  • Ingesting agent: classifies freshness, writes flows, then concepts, then discovery, then records the outcome.
  • Project owner: settles contradictions and unaccepted product choices. Inside AFK delivery-phase, the ingesting agent settles each one as an Autonomous Decision and posts each out-of-bounds one to the thread.

Steps

  1. Freshness. Classify each source as fresh, stale or freshness unknown from recorded identities (freshness). All fresh ends the run as a freshness no-op.
  2. Learning. Scan learning artifacts in the domain scope and record one refresh outcome each: keep, update, consolidate, replace, delete or mark_stale.
  3. Flows. Write or merge one routed flow page per extracted flow. A failed or unrouted flow stops concept writing; the outcome is partial.
  4. Concepts. Merge into the owning article; create a page only when no article owns the concept. Keep contradictions attributed in a warning callout. No new delta is a knowledge no-op.
  5. Discovery. Each changed article is in its owning meta.json, has one map entry with an "Applies when" cue, and its links resolve.
  6. Projections. Change a specs/ projection only through its source in apps/wiki/specs/, then sync. Edit every other page, including runbooks and reference, in place.
  7. Outcome. Run the contract's validation commands, record the outcome, write bookkeeping and append one log entry.

Terminal outcomes

  • complete: every flow, concept, discovery entry and validation command finished with evidence.
  • partial: each missing item is listed; the earlier ingested_revision stays, so the next run resumes.
  • no-op: freshness no-op or knowledge no-op, with the evidence that set it.

Page status follows evidence: implemented needs code, tests or verification output; implementation notes alone establish nothing.

Implemented behavior and evidence

  • Raw source (sources): apps/wiki/raw/external/karpathy-llm-wiki/ac46de1ad27f/llm-wiki.md, SHA-256 dc3efe98ae62f23dd08acad13aba2e95287beb20b6bec2f4af0423557fe37401, repository-only.
  • Skill text: private-internal.md and wiki-ingest.md, skills commit 0500473; test tests/wiki-reconciliation.contract.test.mjs.
  • First real run: T9 of this delivery wrote these knowledge-maintenance pages in that order (flows, concepts, discovery) and recorded the outcome in the implementation notes.

On this page