Harness Intelligence Wiki
Research

IP-439 Knowledge Consultation

Readonly Wiki Context consultation: overlap and conflict between wiki knowledge maintenance and Fog IP-439, with options for requirements-grill. No decision.

IP-439 Knowledge Consultation

Purpose

This page is a readonly consultation. It runs the synced create-plan Wiki Context step (apps/cli/skills/agnostic/planning/create-plan/SKILL.md step 5) for one deferred question:

Does the wiki knowledge-maintenance capability supersede Fog IP-439, "Unify Harness knowledge into one domain-oriented documentation system"?

It is the AC-037 later-planning exercise: plan task T10, decisions P2 (supersession deferred) and P6 (readonly consultation). It records evidence, overlap, conflict and options. Supersession is a product decision; a later requirements-grill run owns it. This page accepts nothing and rejects nothing.

Inputs:

  • IP-439, read once before and once after this work through the Linear get_issue tool, readonly. State Backlog, label fog, created 2026-09-02T15:59:00.137Z. updatedAt before: 2026-09-02T16:42:02.858Z; after: 2026-09-02T16:42:02.858Z. No Linear write.
  • Wiki contract, resolved from apps/wiki/AGENTS.md § Wiki contract. All six fields are declared and their paths exist (raw/, content/docs, content/docs/project/index.mdx, scripts/sync-content.mjs, scripts/check-health.mjs). One recorded defect stays open: the per-page Markdown entrypoint /docs/<path>.mdx returns 404 (implementation notes, § Health). This consultation uses the root/topic map, which resolves.
  • Base: branch feat/wiki-knowledge-maintenance at commit e7258daf4.

Wiki Context

Selection started at the root/topic map Project and followed "Applies when" cues. Searches: git grep IP-439 (hits only the knowledge-maintenance overview, consultation flow, implementation notes and plan; no earlier research answers IP-439) and git grep "Feature Map" under content/docs/project/domains.

Knowledge used

  1. Wiki Knowledge Maintenance, blob a7a829c5.
    • Selected by: "Applies when: you start a wiki capture, ingest, health or consultation task."
    • Claims used: (a) the project owns its wiki, contract, sources and articles; the installer catalog owns no wiki files. (b) Source committed, knowledge integrated and renderer working are distinct facts. (c) Raw home, index.md and log.md sit outside the HTTP exports. (d) Open question: IP-439 proposes removing apps/wiki; the accepted spec keeps it; the decision is deferred (P2).
    • Freshness: fresh. source SPEC blob 1629e04a and IMPLEMENTATION-NOTES blob 0df9f1d5 differ from the current files only in bookkeeping fields; ARCHITECTURE.md SHA-256 equals the retained identity 37d4b792…a65; the sources Karpathy original SHA-256 dc3efe98…7401 equals its source.json, and ac46de1ad27f is its only revision.
    • Status: (a) verified implementation: docs/README.md line 104, docs/reference/hi-requirements.md line 70, commit 80a483bcf (CLI 6.0.0, 2026-09-28); git grep finds no fumadocs or sync-content in apps/cli/src/data or apps/cli/src/features. (b) accepted axiom (Q10). (c) verified: apps/wiki/AGENTS.md Raw home field. (d) verified against PLAN P2 and the IP-439 text.
  2. Knowledge Consultation Flow, blob ad35342f.
    • Selected by: "Applies when: you write a plan's ## Wiki Context."
    • Claims used: select through the map and search; check claims against primary evidence; cite; return novel findings or record a knowledge no-op; promote no unaccepted product decision.
    • Freshness: fresh (same source set as page 1).
    • Status: verified implementation of the skill text (synced create-plan/SKILL.md step 5 and references/plan-schema.md § Wiki Context, sync commit 56c22bf8e). The consumer proof (AC-037) is this run.
  3. Wiki Knowledge Maintenance Glossary, blob cd0abb37.
    • Selected by: "Applies when: you name a knowledge-maintenance concept."
    • Claims used: Project-owned wiki means the repository-owned knowledge surface and its application; the installer owns none of it.
    • Freshness: freshness unknown (no recorded identity), evaluated: unchanged since the retained decision commit bd90ddc6 (git diff empty).
    • Status: accepted terminology (Q10).
  4. Spec: Wiki Knowledge Maintenance § Non-Goals and § Constraints.
    • Selected by: the overview's spec link and the Specs cue "Applies when: you plan, implement or verify a delivery."
    • Claims used: Constraint "Preserve existing Fumadocs routing/rendering, one content/docs article tree, owning meta.json…" (Q8). Constraint "Root docs remains authority for implemented operations and runbooks. Update projection sources…" (Q8). Non-Goals: "Reintroducing installer ownership of wiki application files…" and "A duplicate canonical knowledge tree".
    • Freshness: fresh (ingested_revision 1629e04a; only bookkeeping lines differ).
    • Status: accepted product intent (compiled, agent-ready). Projection boundary verified as implemented: rule HI-DOCS-001 (.agents/rules/docs/knowledge-boundary.md) and apps/wiki/scripts/sync-content.mjs.
  5. Decision Log § Q8 and § Explicit supersession and disposition.
    • Selected by: Grilling cue "Applies when: you need why a requirement or term was accepted."
    • Claims used: Q8 user evidence "respecting the routing/rendering structure for fumadocs". Disposition: "The Registry's September 28 removal of wiki scaffolding is preserved by Q2; no restoration is authorized."
    • Freshness: freshness unknown, evaluated: unchanged since bd90ddc6.
    • Status: accepted decisions.
  6. Wiki Content Ownership.
    • Selected by: Decisions cue "Applies when: you plan to change a boundary."
    • Claims used: apps/wiki owns routed Fumadocs content; root docs/ keeps runbooks and implementation references.
    • Freshness: freshness unknown, evaluated stale: its source path apps/wiki/specs/cli/IP-99-private-harness-wiki-app/SPEC.md is gone (see Stale claim 3). Last change 490aed789, 2026-05-27.
    • Status: the boundary claims agree with current rule HI-DOCS-001 and docs/README.md; verified.
  7. Project Verification Capability Glossary § Feature Map.
    • Selected by: search "Feature Map" (IP-439 names the Feature Map as a projection).
    • Claims used: a Feature Map is the maintained index of executable entry points; product specifications and domain documentation stay authoritative for meaning; docs-ingest-phase never writes Feature Maps.
    • Freshness: freshness unknown (no recorded identity).
    • Status: verified against apps/cli/skills/phases/docs-ingest-phase/SKILL.md § Project Verifier boundary and SPEC AC-039.

Stale or contradictory claims

  1. Contradiction, IP-439 vs SPEC. IP-439: "supersede the scaffolded Fumadocs project completely and remove the apps/wiki versus docs divide." SPEC Constraints keep Fumadocs rendering and root docs authority with projection; rule HI-DOCS-001 enforces the split. Already recorded in the implementation notes § Health. Resolution: unresolved; P2 carries it to requirements-grill. Findings narrows it.
  2. Stale premise in IP-439. IP-439 describes "a scaffolded Fumadocs application" and says "Scaffold/update logic owns wiki detection, generation, and sync behavior." Since CLI 6.0.0 (commit 80a483bcf, 2026-09-28, after IP-439's last update on 2026-09-02) the Registry installs no wiki and hi never creates or aligns one (docs/README.md line 104). hi keeps only detection of an existing wiki root into Recorded Shape (docs/reference/hi-requirements.md line 70; apps/cli/src/data/registry/handoff/AGENT-HANDOFF.md.tmpl reads shape.wikiRoot). The project-owned apps/wiki/scripts/sync-content.mjs owns sync. Resolution: no Linear write is authorized; returned finding R1.
  3. Stale source on a Decisions page. decisions/wiki-content-ownership.mdx frontmatter source names apps/wiki/specs/cli/IP-99-private-harness-wiki-app/SPEC.md, which does not exist. The spec now lives at apps/wiki/content/docs/project/specs/cli/IP-99-private-harness-wiki-app/SPEC.md. check:health checks links, not source paths. Resolution: returned finding R2.

Returned findings

  • R1 → docs-ingest-phase. Target: the overview § Open questions callout and the IMPLEMENTATION-NOTES § Health contradiction row. Add: IP-439's scaffold premise predates CLI 6.0.0; the remaining conflict is the authority split and the renderer home (see Findings). Evidence: Stale claim 2.
  • R2 → docs-ingest-phase (health, semantic). Target: decisions/wiki-content-ownership.mdx source. Evidence: Stale claim 3.
  • R3 → docs-ingest-phase (contract gap). docs-ingest-phase/references/wiki-ingest.md § Log lists entry kinds capture | ingest | maintenance | grill | spec; a consultation that writes a page has no kind. This run logs as maintenance. Evidence: apps/wiki/log.md entry "IP-439 knowledge consultation".
  • Knowledge no-op for every overlap row below: the SPEC and the domain pages already record each one.

Findings

Overlap: IP-439 goals the capability already meets

IP-439 goalCapability stateEvidence
No dependence on a scaffolded apps/wikiMet by CLI 6.0.0, preserved by this capability: the project owns the wikiStale claim 2; SPEC Non-Goals; Q2 disposition
Model knowledge by product and domainImplemented: flow and concept pages per capability under domains/Pages 1, 2; log entry "ingest | Wiki Knowledge Maintenance"
Preserve durable artifacts and historical evidenceImplemented: immutable raw originals, scoped commit, readback; append-only log.mdSPEC OUT-002, OUT-006; apps/wiki/AGENTS.md Raw home
Scoped context from authoritative knowledgeImplemented: root/topic map with "Applies when" cues; plans cite a ## Wiki ContextPage 2; this page
Separate source authority from presentationAccepted and implemented: distinct-facts axiom; raw outside the routed tree; generated pages edited at their projection sourcePages 1, 3, 4
Feature Map as a projection, not a second authorityPartly aligned: product and domain docs stay authoritative, but the verification lifecycle maintains Feature Maps; docs ingest never generates themPage 7

Conflict: what IP-439 asks that the accepted spec rules out

  • One authority vs two. IP-439 asks for "a single knowledge architecture" that owns runbooks, specifications, decisions and domain models. The SPEC (Q8) and HI-DOCS-001 keep two authorities: root docs/ for implemented operations, apps/wiki for product intent and domain knowledge, joined by projection.
  • Knowledge home and renderer. IP-439 asks for knowledge "without depending on a scaffolded apps/wiki application." The SPEC preserves Fumadocs routing/rendering and the one content/docs tree, on direct user evidence (Q8). IP-439 itself chooses no renderer, storage format, migration shape, hosting model or repository path (its "Explicit non-decision").

The conflict sits at the Harness project level, not in the reusable contract. The shared contract is location-agnostic: its Wiki location field is "the wiki root directory and the framework that renders it" (docs-ingest-phase/references/wiki-contract.md § Fields). Harness binds apps/wiki and Fumadocs only through SPEC Q8, HI-DOCS-001, the docs/README.md projection rules and the apps/wiki/AGENTS.md contract values.

Options for requirements-grill

Each option is a candidate, not a recommendation.

  • O1 Supersede. Record IP-439 as superseded by CLI 6.0.0 plus this capability; keep the docs/ and apps/wiki split as intended. Cost: IP-439's single-authority goal is dropped. Needs a Linear change through write-backlog.
  • O2 Narrow. Mark the scaffold premise resolved and keep IP-439 open on the remaining questions: one authority vs docs/ projection, and whether Feature Maps are generated from wiki knowledge. Needs a Linear change through write-backlog.
  • O3 Adopt the IP-439 direction. Amend SPEC Q8 and HI-DOCS-001, then point the contract fields (Wiki location, Source owners) at the chosen home. The capability's shared workflow stays as it is. Needs a new accepted scope and spec revision.
  • O4 Keep both open. No change; the overview callout and P2 stay as they are.

Questions the grill closes first:

  1. Which surface owns implemented operations and runbooks: root docs/, the wiki, or one merged tree?
  2. Is Fumadocs rendering a product requirement (Q8 user evidence) or a current implementation choice?
  3. Must Feature Maps derive from wiki knowledge, or stay maintained by the verification lifecycle?

Addendum: user direction

Appended 2026-10-08, after the consultation. The analysis above stays as written.

  • Direction, verbatim, from the user on 2026-10-08, answering the IP-439 conflict: "no docs we keep apps/wiki only".
  • Status: accepted by the user; not integrated. SPEC Q8, rule HI-DOCS-001, root docs/, the rule registry and the wiki contract stay as they are until a requirements-grill round on IP-439 closes the change.
  • Effect on the accepted record: it reverses Q8 and HI-DOCS-001, which keep root docs/ as the authority for implemented operations, projected into the wiki. It takes IP-439's single-authority goal and keeps the spec's knowledge home, apps/wiki.
  • Effect on the grill questions above: it answers question 1 (the wiki owns implemented operations); questions 2 (Fumadocs as requirement) and 3 (Feature Map derivation) stay open. The grill round confirms this reading before any spec, rule or docs/ change.

On this page