Harness Intelligence Wiki
SpecsWikiWiki Knowledge Maintenance

Wiki Knowledge Maintenance

Architecture: Wiki Knowledge Maintenance

Context and Scope

Capability identity: apps/wiki/content/docs/project/specs/wiki/knowledge-maintenance. This is the reusable project-wiki setup/adoption, source-capture, reconciliation, discovery and reuse contract accepted in Q1–Q11. It is proved first in Harness Intelligence. This document compiles accepted behavior; it is not a claim that the workflow is implemented.

Human project owners supply sources and retain authority over product decisions. Setup and ingest agents preserve evidence and keep the project-owned wiki current. Planning, research, debugging and review agents consume relevant knowledge and return reusable findings. Their shared outcome is less repeated discovery and more accurate future plans.

In scope: authorized project-owned wiki setup/adoption; capture and Git persistence of supplied originals; evidence-based current articles; Fumadocs-compatible indexes and machine views; planning consultation; structural/semantic maintenance and recovery. Existing projects keep their owners, routes, content and visibility.

Non-goals: restoring CLI-managed wiki files; inventing facts, accepted requirements or implementation proof; a new backend/database, connector transport, watcher, retrieval service, automatic remote backup, arbitrary-size storage backend, or authentication system. This compilation does not authorize implementation, backlog mutation, or a Registry release. Unsupported acquisition/commit remains incomplete and cannot be silently downgraded to a URL-only capture.

Sibling specification path: apps/wiki/content/docs/project/specs/wiki/knowledge-maintenance/SPEC.md. Its matching complete draft assigns the real OUT/AC codes mapped below. The enriched architecture is retained first, so this remains a textual path rather than a link to a file absent from that retained tree. No immutable spec identity is embedded.

Canonical Terms

The authoritative status glossary and published glossary agree under Q10.

  • Project-owned wiki: The repository-owned knowledge surface and its application, local guidance, sources, and routed articles. The installer does not own these files.
  • Raw source: The original artifact or exact text supplied for analysis, preserved with provenance. Its claims can remain unverified.
  • Extracted text: An agent-readable representation derived from a raw source. It does not replace the original.
  • Canonical article: The owning routed page that synthesizes current knowledge for a concept, flow, or other accepted topic.
  • Discovery index: A compact map of relevant articles with links, useful summaries, and applicability cues.
  • Source capture: Preservation and scoped Git persistence of a supplied raw source with verifiable identity and provenance.
  • Ingest: Reconciliation of source evidence into canonical knowledge, discovery links, and truthful processing outcomes.
  • Wiki setup/adoption: The bounded capability that establishes or adopts the project-owned wiki contract and reports the readiness of storage, knowledge/navigation, and rendering.

A raw source can support many canonical articles, and an article can cite many sources. Preserving a source does not establish its truth. Original, extracted text, and synthesized knowledge are distinct. Source committed, knowledge integrated, and renderer working are separate facts; the state labels here describe outcomes, not a prescribed API enum.

Sources

All source content is frozen for this compilation. Relative links identify the readable local source; the recorded commit and SHA-256 establish its exact identity.

SourceRoleExact location and anchorImmutable revision / content identity
S1Closure and active glossaryDecision status, including #technical-grounding and #glossaryCommit bd90ddc64a3343d3cc5dee17c782a604ecbecc9f; SHA-256 8bd97ee7964c150cc755c9f6a380ab294000df070ffa92b950ad1447dc7f356f
S2Accepted decisions and source utterancesDecision log, exact #q1 through #q11 entriesCommit bd90ddc64a3343d3cc5dee17c782a604ecbecc9f; SHA-256 fee0fcac62c46b3917783126d2c5fa8ef755f30666ba137b14b10ac33f56bd57
S3Published canonical terminologyGlossaryCommit bd90ddc64a3343d3cc5dee17c782a604ecbecc9f; SHA-256 f3352fb1d655f497636168a94632c17f39b6486c1c3dc2760649b4575742a026
S4Observed source behavior and historical candidatesResearch; its October 8 follow-upCommit bd90ddc64a3343d3cc5dee17c782a604ecbecc9f; SHA-256 f9a36a4c5083c0782b05f9f2b20003c5f06e500bfebd7b43dff51a96a7b00e4a
S5Current implementation evidence, not target proofapps/cli/src/registry/shape.ts; apps/cli/skills/agnostic/cli/hi-cli/references/post-command-flow.md and wiki-structure.md; apps/wiki/source.config.ts, src/lib/source.ts, scripts/sync-content.mjs; installed docs-ingest references cited by S4Repository snapshot 9faf6d4024dcdfb224bd696b8e79279e3ab4cd1d; symbols/line anchors are retained in S4
S6Preserved external source and capture proofapps/wiki/raw/external/karpathy-llm-wiki/ac46de1ad27f/llm-wiki.md and sibling source.jsonCommit 5060b0745c2c339df461c6c4b79fffff050f87d1; source SHA-256 dc3efe98ae62f23dd08acad13aba2e95287beb20b6bec2f4af0423557fe37401; gist revision ac46de1ad27f92b28ac95459c782c07f6b8c964a
S7Standing project ownership and shared-source constraintsRoot AGENTS.md, shared-skill source and validation paragraphs; S2 #q11SHA-256 1deb21760fa758f53cc7835249eef1122eabcbe956892048d66d8d73a745c280; constraints also preserved in source commit S2

No raw export of the conversation is claimed. S2 retains exact supplied utterances and identifies directly asked questions versus approval/imported requirements. It does not invent a numbered interview. Current-code observations and accepted target decisions are deliberately separate.

Source Disposition

Question / entryDispositionAccepted detail or replacementEvidenceParked owner / resume trigger
Q1acceptedReusable scope and proof; exact detail coverage belowS2 #q1Not parked
Q2acceptedProject ownership and installer boundary; exact detail coverage belowS2 #q2Not parked
Q3acceptedFive maintenance responsibilities; exact detail coverage belowS2 #q3Not parked
Q4acceptedMandatory original-source Git capture; exact detail coverage belowS2 #q4Not parked
Q5acceptedOriginals, extraction, provenance, and revisions; exact detail coverage belowS2 #q5Not parked
Q6acceptedLocal wiki contract and separate readiness; exact detail coverage belowS2 #q6Not parked
Q7acceptedOrdering, recovery, and truthful completion; exact detail coverage belowS2 #q7Not parked
Q8acceptedFumadocs and authority compatibility; exact detail coverage belowS2 #q8Not parked
Q9acceptedVerification and consumer proof; exact detail coverage belowS2 #q9Not parked
Q10acceptedTerminology and source authority; exact detail coverage belowS2 #q10Not parked
Q11acceptedShared source, scope, and closure; exact detail coverage belowS2 #q11Not parked
S4 historical candidate labelssuperseded where explicitly acceptedQ3 accepts the five responsibilities; Q2/Q6 accept the presented setup/adoption directionS2 #explicit-supersession-and-dispositionNot parked
Exact packaging, metadata names, coordination primitiveunknown implementation detailMust meet accepted behavior; no new guarantee is inferredS1 #non-material-implementation-choices; S2 #q11Not parked; create-plan selects compliant details

Whole System

The reusable policy is distributed through Harness, while the project owns its actual wiki. The local contract makes destinations, source ownership and checks explicit. Capture provides the durable evidence boundary. Reconciliation compiles that evidence into current articles. Discovery and consultation close the loop so the next plan benefits from earlier work.

The map explains authority and dependency, not a new process topology. Source anchors: Q1, Q2, Q3, Q6, Q8. Because all views share one canonical corpus, improving discovery does not create a second knowledge store.

Block selector / componentOwnerAuthoritative stateInterface / dependencySupported constraint
ARC-001 — Workflow entry and distributionShared skills; apps/cli distributes capabilities and contextUser task and existing phase authorityRoutes setup, supplied-source intake, ingest, and consultation to the same project contractQ1, Q2, Q11
ARC-002 — Project-owned wiki contractProject owner; apps/wiki is the proof surfaceAGENTS.md, actual source owners, canonical locations and visibilitySupplies raw home, article tree, indexes and validation commands; reports storage, knowledge/navigation and renderer readiness separatelyQ2, Q6, Q8
ARC-003 — Original sources and provenanceProject wiki raw home plus GitImmutable supplied bytes/text and separate origin/revision/acquisition evidenceSupports byte readback, reuse of identical content, new revisions without overwriting old originals, and derived-text attributionQ4, Q5, Q7
ARC-004 — Source captureIngesting agent through the reusable intake behaviorAvailability and capture progress; scoped Git outcomeAcquire, preserve, commit only owned files, verify committed content, then hand off extraction/ingestQ4, Q5, Q7
ARC-005 — Knowledge reconciliationdocs-ingest-phase and its bounded private/internal referencesCurrent evidence and source revisions; proposed versus implemented truthScoped learning refresh, flows before concepts, merge owning articles, preserve contradictions, verify freshness and required output completionQ3, Q7, Q9
ARC-006 — Canonical knowledge and operational projectionsProject wiki owns articles, including implemented operations, reference and runbooks (IP-439, Q12)One content/docs tree; apps/wiki/specs/ sources stay authoritative over their generated copiesKeep standard links, preserve route/access metadata, update actual projection sources, preserve Project Verifier boundaryQ3, Q8
ARC-007 — Discovery viewsProject wikiAuthored topic meaning and source-derived navigation/search/Markdown viewsCompact root/topic indexes, useful summaries and applicability, source relationships, existing Fumadocs exports over the same corpusQ3, Q8
ARC-008 — Knowledge-consuming agentsPlanning, requirements, research, debugging and review workflowsEvidence actually consulted; new findings and contradictionsRead applicable knowledge and primary evidence, cite planning context, return novel verified synthesis to ingestQ1, Q3, Q9
ARC-009 — Health, history, and recoveryIngest coordinator and project content checksDurable source/output relationships, chronology, partial outcomes and unresolved workStructural checks plus scoped semantic review, overlap reconciliation, retry from proven checkpoints, and explicit completion evidenceQ3, Q7, Q9

Runtime and rendering fit

In this proof repository, Fumadocs loads apps/wiki/content/docs with baseUrl: /docs. The existing meta.json files own sidebar membership/order; section indexes add meaning. The existing search route, /llms.txt, /llms-full.txt, per-page Markdown and Markdown negotiation expose the same collection. Root wiki bookkeeping and raw files sit outside that collection and are not automatically exported. Repository readers and HTTP readers therefore need explicit, truthful pointers to the available evidence rather than an assumption that every raw file is remotely served. S4/S5 establish this observed constraint; Q8 preserves it.

The wiki's schema currently enforces optional surface/permission values, not the full provenance/freshness contract. Existing check:content checks projection drift. The accepted target requires project validation and semantic reconciliation to state what they prove. Permission metadata is not proof of deployed access enforcement; this work preserves the configured boundary and does not add a new authentication design.

Accepted low-level boundaries

  • The project-owned AGENTS.md identifies wiki/raw/article/index/source-owner/check locations; exact new field names and skill packaging are not prescribed (Q6).
  • Original bytes stay immutable; provenance and extraction are separate. The source identity must support equality/revision checks and committed-blob verification (Q5, Q7). The existing SHA-256 proof in S6 is observed evidence, not a requirement for a new hashing service.
  • Capture commits are path-limited and preserve unrelated staged/working changes. Knowledge integration is a later side effect; a failed extraction does not roll back a committed original (Q7).
  • Projection sources in apps/wiki/specs/ precede their wiki projections; operational pages are authored in content/docs/project/ with no root docs source (IP-439, Q12). Source disappearance alone does not authorize deleting durable knowledge; retained sync learning in S4 explains why (Q8).
  • Shared skill edits are made on checked-out main in /home/stefan/repos/skills, committed/pushed there, then synchronized here with bun run sync:skills and exact receipt verification. Registry publication remains a separately requested operation (Q11).

Critical Flows and Boundaries

Accepted evidence: Q2, Q6, Q8.

Step selectorOperation and boundaryOwner block
FLOW-001-STEP-001 — Resolve the existing contract and destinationRead project guidance and the actual wiki. If destination or setup authority is unresolved, report that gap before placing canonical content.ARC-002
FLOW-001-STEP-002 — Adopt or prepare within authorityPreserve an existing tree and its owners. During authorized initial setup, create the missing project-owned destination/contract; do not restore installer ownership.ARC-001
FLOW-001-STEP-003 — Establish source storage independentlyMake declared raw storage and provenance usable without requiring a deployed renderer or full backlog reconstruction.ARC-003
FLOW-001-STEP-004 — Verify separate readinessCheck source storage, knowledge/navigation, and rendering independently through project commands. A failure in one area is not reported as success in another.ARC-002
FLOW-001-STEP-005 — Hand off the ready capabilityAllow capture where storage is ready; run docs onboarding for reconstruction after its destination is usable; leave exact unresolved setup work visible.ARC-009

Accepted evidence: Q4, Q5, Q7.

Step selectorOperation and boundaryOwner block
FLOW-002-STEP-001 — Acquire the available originalObtain supplied file bytes, exact pasted/exported text, or the fetched web revision. An inaccessible source remains not captured.ARC-004
FLOW-002-STEP-002 — Preserve identity and provenanceSave original bytes without injected frontmatter/normalization; keep provenance and derived representations distinct. Reuse identical captured bytes, retain a new revision when content changes.ARC-003
FLOW-002-STEP-003 — Make the scoped Git commitCommit only owned capture/provenance changes; preserve unrelated work and staging. Failure leaves saved but uncommitted source and explicit unfinished capture.ARC-004
FLOW-002-STEP-004 — Verify the committed originalRead the committed blob and compare its identity/bytes with the acquired source. Do not infer success from command exit alone or silently replace a failed source with its URL.ARC-003
FLOW-002-STEP-005 — Extract and hand off integrationCreate clearly derived text when useful, retaining transcript/notes distinctions. Extraction failure leaves the committed original and retriable ingest. Local commit does not authorize remote publication.ARC-005

Accepted evidence: Q3, Q7, Q8, Q9.

Step selectorOperation and boundaryOwner block
FLOW-003-STEP-001 — Inspect changed evidence and freshnessRead applicable accepted intent, implementation proof, source revisions and current owning pages. A permanent ingest boolean or notes existence alone cannot establish current implemented truth.ARC-005
FLOW-003-STEP-002 — Refresh scoped learning and flowsChoose the appropriate learning refresh outcome, then reconcile required flow pages from evidence. A required flow failure stops dependent concept work.ARC-005
FLOW-003-STEP-003 — Reconcile concepts and useful synthesisMerge into the owning canonical articles, preserving source relationships and unresolved contradictions. Promote material reusable knowledge; no novel delta is an explicit knowledge no-op, not permission to skip raw capture.ARC-006
FLOW-003-STEP-004 — Update discovery and projectionsUpdate owning meta.json, section/root-topic indexes and relevant source references. Edit apps/wiki/specs/ sources before their generated wiki projections; edit operational pages in place.ARC-007
FLOW-003-STEP-005 — Validate and record the real outcomeRun structural checks and scoped semantic reconciliation. Required missing routes/pages/checks leave a partial outcome. Complete integration records evidence, outputs, discovery links and remaining work without inventing implementation proof.ARC-009

Accepted evidence: Q1, Q3, Q8, Q9.

Step selectorOperation and boundaryOwner block
FLOW-004-STEP-001 — Select relevant contextUse the root/topic map, applicability cues and existing search to choose relevant articles; do not require reading the full wiki.ARC-007
FLOW-004-STEP-002 — Check claims against evidenceRead selected articles and supporting sources, assessing material staleness or contradiction. Retain the distinction between proposal and verified implementation.ARC-008
FLOW-004-STEP-003 — Use and cite contextA future plan records the relevant knowledge used and material unresolved conflicts affecting it. File-system and Fumadocs consumers refer to the same canonical corpus.ARC-008
FLOW-004-STEP-004 — Return useful findingsFeed new evidence-backed synthesis or discovered contradictions into scoped ingest. Do not archive every answer as a duplicate article or promote an unaccepted product decision.ARC-005

Accepted evidence: Q3, Q7, Q8, Q9.

Step selectorOperation and boundaryOwner block
FLOW-005-STEP-001 — Resume from proven evidenceInspect preserved source, Git identity, outputs and remaining work after a retry/disconnect. A lost acknowledgement must not cause duplicate originals or a false integration claim.ARC-009
FLOW-005-STEP-002 — Check structure and meaning separatelyAssess schema/link/navigation/source consistency, then stale claims, contradictions, missing synthesis and poor discovery within the relevant scope.ARC-009
FLOW-005-STEP-003 — Reconcile overlap and lifecycleRe-read shared pages before writes; preserve concurrent work or report conflict. Apply justified keep/update/consolidate/replace/delete/mark-stale outcomes, repairing references. Source absence alone is not deletion authority.ARC-006
FLOW-005-STEP-004 — Retain chronology and report completionKeep discoverable history, using an archive when needed rather than silently discarding old ingest entries. Report repairs, unresolved work, checks and precise capture/integration states.ARC-009

Source durability and partial outcomes

This view answers where durable completion occurs and what survives each failure. It uses Q4, Q5, Q7 and FLOW-002. A committed source is recoverable even when extraction or synthesis fails. Conversely, a saved file is not reported as committed until readback proves it. A local commit does not establish remote retention.

Knowledge compilation and reuse

This view answers why ordering and consumer feedback matter. Evidence: Q3, Q8, Q9. Flows complete before dependent concepts; discovery updates precede an integration-complete claim. Future plans cite relevant knowledge and return useful new findings to the same owning corpus.

Accepted Detail Coverage

Each row preserves one accepted detail, with its exact Q entry and structural home. No source link substitutes for the detail itself. The system map applies to ARC selectors; the source-durability and knowledge-compilation diagrams apply to their respective FLOW selectors.

Question and exact entryExact accepted detailProvided rationale / alternativesArchitecture selectors and applicable viewSystem constraint served
Q1 / S2 #q1Deliver a reusable knowledge-maintenance contract for Harness project wikis.Compounding future knowledge and preserving supplied evidenceARC-001, ARC-008, FLOW-004Shared workflow policy and project-local wiki ownership must remain separate.
Q1 / S2 #q1Prove the contract in this repository before claiming general implementation success.Compounding future knowledge and preserving supplied evidenceARC-001, ARC-008, FLOW-004Shared workflow policy and project-local wiki ownership must remain separate.
Q2 / S2 #q2Keep wiki application files and content project-owned.As recorded in S2; no additional rationale inventedARC-001, ARC-002, FLOW-001A missing wiki is visible setup work rather than installer success or a silent no-op.
Q2 / S2 #q2The Registry distributes reusable capabilities and wiki context; it does not resume creating, aligning, replacing, or deleting project wiki files.As recorded in S2; no additional rationale inventedARC-001, ARC-002, FLOW-001A missing wiki is visible setup work rather than installer success or a silent no-op.
Q2 / S2 #q2Introduce an agent-operated setup/adoption capability within authorized project setup and make it available for concrete readiness gaps during ingest.As recorded in S2; no additional rationale inventedARC-001, ARC-002, FLOW-001A missing wiki is visible setup work rather than installer success or a silent no-op.
Q3 / S2 #q3Preserve evidence and distinguish accepted intent, observed implementation, unresolved claims, and compiled knowledge.Compounding future knowledge and preserving supplied evidenceARC-005, ARC-006, ARC-007, ARC-008, ARC-009, FLOW-003, FLOW-004, FLOW-005Implementation and research must improve reusable knowledge, and future work must consume it.
Q3 / S2 #q3Reconcile existing canonical concepts and flows when meaningful source evidence changes; do not rely on ingested:true as a permanent freshness gate.Compounding future knowledge and preserving supplied evidenceARC-005, ARC-006, ARC-007, ARC-008, ARC-009, FLOW-003, FLOW-004, FLOW-005Implementation and research must improve reusable knowledge, and future work must consume it.
Q3 / S2 #q3Maintain compact root/topic discovery maps and useful summaries, applicability cues, references, and navigation.Compounding future knowledge and preserving supplied evidenceARC-005, ARC-006, ARC-007, ARC-008, ARC-009, FLOW-003, FLOW-004, FLOW-005Implementation and research must improve reusable knowledge, and future work must consume it.
Q3 / S2 #q3Make consultation of relevant wiki knowledge part of planning; retain materially novel, evidence-backed synthesis and record a no-op when there is no durable delta.Compounding future knowledge and preserving supplied evidenceARC-005, ARC-006, ARC-007, ARC-008, ARC-009, FLOW-003, FLOW-004, FLOW-005Implementation and research must improve reusable knowledge, and future work must consume it.
Q3 / S2 #q3Maintain structural and semantic knowledge health, recoverable partial outcomes, and discoverable chronological history.Compounding future knowledge and preserving supplied evidenceARC-005, ARC-006, ARC-007, ARC-008, ARC-009, FLOW-003, FLOW-004, FLOW-005Implementation and research must improve reusable knowledge, and future work must consume it.
Q4 / S2 #q4Preserve each supplied source artifact itself and Git-commit its original bytes or exact supplied text.Compounding future knowledge and preserving supplied evidenceARC-003, ARC-004, FLOW-002Source retention is unconditional for supplied artifacts; canonical knowledge promotion remains selective.
Q4 / S2 #q4Apply this to transcripts, PDFs, web-source revisions, and equivalent supplied source material.Compounding future knowledge and preserving supplied evidenceARC-003, ARC-004, FLOW-002Source retention is unconditional for supplied artifacts; canonical knowledge promotion remains selective.
Q4 / S2 #q4Capture remains required when synthesis produces no novel knowledge. A summary or URL alone is not preservation.Compounding future knowledge and preserving supplied evidenceARC-003, ARC-004, FLOW-002Source retention is unconditional for supplied artifacts; canonical knowledge promotion remains selective.
Q4 / S2 #q4Ordinary conversation messages are not automatically classified as raw source artifacts.Compounding future knowledge and preserving supplied evidenceARC-003, ARC-004, FLOW-002Source retention is unconditional for supplied artifacts; canonical knowledge promotion remains selective.
Q5 / S2 #q5Retain a PDF's original file separately from extracted text.As recorded in S2; no additional rationale inventedARC-003, FLOW-002-STEP-002, FLOW-002-STEP-005Derived representations remain traceable without mutating or overstating originals.
Q5 / S2 #q5Retain available Granola transcript and notes distinctly; preserve speaker/timestamp information when supplied and do not claim an unavailable recording or transcript was captured.As recorded in S2; no additional rationale inventedARC-003, FLOW-002-STEP-002, FLOW-002-STEP-005Derived representations remain traceable without mutating or overstating originals.
Q5 / S2 #q5Retain fetched web content with origin URL, source revision when available, and acquisition metadata.As recorded in S2; no additional rationale inventedARC-003, FLOW-002-STEP-002, FLOW-002-STEP-005Derived representations remain traceable without mutating or overstating originals.
Q5 / S2 #q5Record source identity and provenance outside original bytes; use content identity to verify preservation and distinguish revisions.As recorded in S2; no additional rationale inventedARC-003, FLOW-002-STEP-002, FLOW-002-STEP-005Derived representations remain traceable without mutating or overstating originals.
Q5 / S2 #q5Identical supplied content may reuse preserved bytes; changed content retains the older original as a separate revision.As recorded in S2; no additional rationale inventedARC-003, FLOW-002-STEP-002, FLOW-002-STEP-005Derived representations remain traceable without mutating or overstating originals.
Q6 / S2 #q6Use project-owned AGENTS.md to identify wiki location, raw-source storage, canonical article tree, discovery indexes, source ownership, and validation commands.As recorded in S2; no additional rationale inventedARC-002, FLOW-001Capturing a supplied source must not be blocked by unrelated project reconstruction.
Q6 / S2 #q6Adopt an existing wiki and preserve its deliberate framework, routes, visibility, content, and canonical/generated ownership.As recorded in S2; no additional rationale inventedARC-002, FLOW-001Capturing a supplied source must not be blocked by unrelated project reconstruction.
Q6 / S2 #q6When authorized setup has no wiki, establish the declared project-owned destination; unresolved destination or authority is a reported readiness gap.As recorded in S2; no additional rationale inventedARC-002, FLOW-001Capturing a supplied source must not be blocked by unrelated project reconstruction.
Q6 / S2 #q6Report source-storage readiness, knowledge/navigation readiness, and rendering readiness separately.As recorded in S2; no additional rationale inventedARC-002, FLOW-001Capturing a supplied source must not be blocked by unrelated project reconstruction.
Q6 / S2 #q6Source capture does not require a running/deployed Fumadocs renderer or completed backlog/spec reconstruction. Docs onboarding reconstructs existing project knowledge after its destination is usable.As recorded in S2; no additional rationale inventedARC-002, FLOW-001Capturing a supplied source must not be blocked by unrelated project reconstruction.
Q7 / S2 #q7Acquire the original, preserve it with provenance, make a scoped Git commit, verify committed bytes, then perform extraction and knowledge synthesis.As recorded in S2; no additional rationale inventedARC-004, ARC-009, FLOW-002, FLOW-005Multi-file and Git side effects have visible durable checkpoints and recoverable partial states.
Q7 / S2 #q7Preserve unrelated work and staged changes; source commits contain only the owned capture files.As recorded in S2; no additional rationale inventedARC-004, ARC-009, FLOW-002, FLOW-005Multi-file and Git side effects have visible durable checkpoints and recoverable partial states.
Q7 / S2 #q7Distinguish not captured, saved but uncommitted, source committed, and knowledge integrated as observable outcomes; these labels do not prescribe a new API enum.As recorded in S2; no additional rationale inventedARC-004, ARC-009, FLOW-002, FLOW-005Multi-file and Git side effects have visible durable checkpoints and recoverable partial states.
Q7 / S2 #q7An inaccessible source is not captured; commit failure leaves saved source plus unfinished capture; extraction failure leaves committed source plus retriable ingest.As recorded in S2; no additional rationale inventedARC-004, ARC-009, FLOW-002, FLOW-005Multi-file and Git side effects have visible durable checkpoints and recoverable partial states.
Q7 / S2 #q7Resume from durable evidence after interruption or lost acknowledgement; do not duplicate originals or claim missing projections are complete.As recorded in S2; no additional rationale inventedARC-004, ARC-009, FLOW-002, FLOW-005Multi-file and Git side effects have visible durable checkpoints and recoverable partial states.
Q7 / S2 #q7Re-read overlapping canonical content before reconciliation and preserve concurrent work; report unresolved conflicts.As recorded in S2; no additional rationale inventedARC-004, ARC-009, FLOW-002, FLOW-005Multi-file and Git side effects have visible durable checkpoints and recoverable partial states.
Q7 / S2 #q7Source capture does not authorize automatic remote push/publication or expanded visibility.As recorded in S2; no additional rationale inventedARC-004, ARC-009, FLOW-002, FLOW-005Multi-file and Git side effects have visible durable checkpoints and recoverable partial states.
Q8 / S2 #q8Keep one canonical routed article tree under content/docs and preserve owning meta.json and section indexes.As recorded in S2; no additional rationale inventedARC-002, ARC-006, ARC-007, FLOW-003-STEP-004Knowledge maintenance must improve discovery without creating duplicate truth or changing renderer ownership.
Q8 / S2 #q8Use standard Markdown links supported by the renderer; do not assume Obsidian wikilink support.As recorded in S2; no additional rationale inventedARC-002, ARC-006, ARC-007, FLOW-003-STEP-004Knowledge maintenance must improve discovery without creating duplicate truth or changing renderer ownership.
Q8 / S2 #q8Preserve root docs authority for implemented operations and reconcile generated wiki projections from their actual sources. Superseded by Q12: root docs/ is removed and the wiki is the only knowledge home.As recorded in S2; no additional rationale inventedARC-002, ARC-006, ARC-007, FLOW-003-STEP-004Knowledge maintenance must improve discovery without creating duplicate truth or changing renderer ownership.
Q8 / S2 #q8Keep raw originals and derived source bundles outside routed articles by default; navigation and machine discovery must expose their source relationships without silently expanding access.As recorded in S2; no additional rationale inventedARC-002, ARC-006, ARC-007, FLOW-003-STEP-004Knowledge maintenance must improve discovery without creating duplicate truth or changing renderer ownership.
Q8 / S2 #q8Use existing repository navigation, Markdown exports, and search; no new retrieval infrastructure is required.As recorded in S2; no additional rationale inventedARC-002, ARC-006, ARC-007, FLOW-003-STEP-004Knowledge maintenance must improve discovery without creating duplicate truth or changing renderer ownership.
Q8 / S2 #q8Preserve Project Verifier references; ordinary docs ingest does not maintain verifier assets.As recorded in S2; no additional rationale inventedARC-002, ARC-006, ARC-007, FLOW-003-STEP-004Knowledge maintenance must improve discovery without creating duplicate truth or changing renderer ownership.
Q9 / S2 #q9Verify source preservation at the committed Git blob boundary and verify owned capture scope.As recorded in S2; no additional rationale inventedARC-003, ARC-008, ARC-009, FLOW-004The contract has public, observable proof seams without prescribing plan-owned test choreography.
Q9 / S2 #q9Verify wiki structure through the project's content/schema/link/navigation checks; treat these separately from semantic reconciliation.As recorded in S2; no additional rationale inventedARC-003, ARC-008, ARC-009, FLOW-004The contract has public, observable proof seams without prescribing plan-owned test choreography.
Q9 / S2 #q9Prove one real source/change flows into current canonical knowledge, is discoverable from repository and Fumadocs views, and is used by later planning.As recorded in S2; no additional rationale inventedARC-003, ARC-008, ARC-009, FLOW-004The contract has public, observable proof seams without prescribing plan-owned test choreography.
Q9 / S2 #q9Use explicit evidence for implementation claims; implementation-notes existence alone is insufficient.As recorded in S2; no additional rationale inventedARC-003, ARC-008, ARC-009, FLOW-004The contract has public, observable proof seams without prescribing plan-owned test choreography.
Q9 / S2 #q9Record partial and unavailable validation honestly; a content-check pass does not prove the whole knowledge graph or deployed visibility.As recorded in S2; no additional rationale inventedARC-003, ARC-008, ARC-009, FLOW-004The contract has public, observable proof seams without prescribing plan-owned test choreography.
Q10 / S2 #q10Project-owned wiki, raw source, extracted text, canonical article, discovery index, source capture, ingest, and wiki setup/adoption keep the meanings stated in the linked glossary.As recorded in S2; no additional rationale inventedARC-002, ARC-003, ARC-006Agent instructions, implementation outcomes, and planning use the same bounded language.
Q10 / S2 #q10A raw source records evidence, not verified truth; extracted text and synthesis are different representations.As recorded in S2; no additional rationale inventedARC-002, ARC-003, ARC-006Agent instructions, implementation outcomes, and planning use the same bounded language.
Q10 / S2 #q10Source committed and knowledge integrated are distinct facts; a rendered wiki is not proof of either.As recorded in S2; no additional rationale inventedARC-002, ARC-003, ARC-006Agent instructions, implementation outcomes, and planning use the same bounded language.
Q11 / S2 #q11Shared skill changes belong in /home/stefan/repos/skills on checked-out main, with source commit/push, bun run sync:skills, and exact receipt verification; local mirrors are not the source.As recorded in S2; no additional rationale inventedARC-001, ARC-009Compilation preserves accepted guarantees without silently adding infrastructure or claiming implementation.
Q11 / S2 #q11This task compiles and retains architecture/spec artifacts. It does not implement the workflow, restore CLI wiki scaffolding, release the Registry, or mutate backlog providers.As recorded in S2; no additional rationale inventedARC-001, ARC-009Compilation preserves accepted guarantees without silently adding infrastructure or claiming implementation.
Q11 / S2 #q11No upstream feature dependency or parent/child branch constraint was supplied for this capability.As recorded in S2; no additional rationale inventedARC-001, ARC-009Compilation preserves accepted guarantees without silently adding infrastructure or claiming implementation.
Q11 / S2 #q11The accepted behavior is closed for compilation. Final skill packaging/name, metadata filenames, exact synchronization primitive, and command choreography remain implementation choices subject to these constraints.As recorded in S2; no additional rationale inventedARC-001, ARC-009Compilation preserves accepted guarantees without silently adding infrastructure or claiming implementation.
Q11 / S2 #q11Arbitrary-size storage backends, new connector transports, background watchers, embeddings, automated remote backup, and new authentication infrastructure are not promised by this capability; unsupported capture must remain explicit and incomplete.As recorded in S2; no additional rationale inventedARC-001, ARC-009Compilation preserves accepted guarantees without silently adding infrastructure or claiming implementation.

Spec Traceability

State: complete for the matching specification draft: 7 outcomes and 39 acceptance criteria. This is a metadata-only mapping of the accepted architecture. Spec selectors are recorded as text because the enriched architecture is retained before the sibling specification; no link to a nonexistent file or future commit is embedded.

Spec code / section selectorArchitecture selectorsAccepted grill Q / exact log-entry and evidence anchorsCoverage explanation
OUT-001 / #out-001ARC-001, ARC-002, FLOW-001Q2 / S2 #q2, Q6 / S2 #q6, Q8 / S2 #q8An agent can adopt an existing wiki or prepare an authorized missing destination using an explicit local contract, while distinguishing source storage, knowledge/navigation, and rendering readiness.
OUT-002 / #out-002ARC-003, ARC-004, FLOW-002Q4 / S2 #q4, Q5 / S2 #q5, Q7 / S2 #q7Every supplied source artifact is preserved as original evidence and Git-committed with provenance before source-dependent extraction or synthesis; absence of novel knowledge does not waive capture.
OUT-003 / #out-003ARC-005, ARC-006, FLOW-003Q3 / S2 #q3, Q7 / S2 #q7, Q8 / S2 #q8, Q9 / S2 #q9New evidence updates the owning canonical knowledge with current provenance and truthful status, retaining contradictions and accepted intent instead of turning proposals or incomplete implementation into facts.
OUT-004 / #out-004ARC-007, ARC-008, FLOW-004Q1 / S2 #q1, Q3 / S2 #q3, Q8 / S2 #q8, Q9 / S2 #q9Repository and Fumadocs consumers can find relevant knowledge through maintained indexes and existing machine views; future plans cite the relevant knowledge used and return reusable findings to ingest.
OUT-005 / #out-005ARC-004, ARC-009, FLOW-002, FLOW-005Q3 / S2 #q3, Q7 / S2 #q7, Q9 / S2 #q9Failures, retries, overlaps, and interruptions preserve evidence and unrelated work, with observable distinctions between unacquired, saved, committed, partially integrated and fully integrated outcomes.
OUT-006 / #out-006ARC-006, ARC-009, FLOW-005Q3 / S2 #q3, Q8 / S2 #q8, Q9 / S2 #q9Scoped structural checks and semantic reconciliation keep provenance, references, truth and discovery usable, while preserving discoverable chronology and respecting actual source ownership.
OUT-007 / #out-007ARC-001, ARC-008, ARC-009, FLOW-004Q1 / S2 #q1, Q2 / S2 #q2, Q9 / S2 #q9, Q11 / S2 #q11The shared maintenance behavior is distributed through the existing shared-skill ownership path, and a real end-to-end proof in this repository establishes capture, integration, discovery and later planning use.
AC-001 / #ac-001ARC-002, FLOW-001-STEP-002Q2 / S2 #q2, Q6 / S2 #q6, Q8 / S2 #q8An existing wiki is adopted without creating a second canonical article tree or replacing its deliberate routes, authored content, visibility policy, or canonical/generated source ownership.
AC-002 / #ac-002ARC-002, FLOW-001-STEP-001, FLOW-001-STEP-002Q6 / S2 #q6For authorized setup of a missing wiki, the project-owned AGENTS.md contract identifies wiki location, raw-source home, article tree, discovery indexes, source owners, and validation commands.
AC-003 / #ac-003FLOW-001-STEP-001, ARC-009Q6 / S2 #q6, Q7 / S2 #q7When the canonical destination or setup authority is unresolved, the outcome identifies the exact readiness gap and does not place canonical content in an invented destination or claim setup success.
AC-004 / #ac-004FLOW-001-STEP-004Q6 / S2 #q6, Q9 / S2 #q9Setup reports source-storage readiness, knowledge/navigation readiness, and rendering readiness separately, including any unavailable check.
AC-005 / #ac-005FLOW-001-STEP-003, FLOW-001-STEP-005Q6 / S2 #q6A supplied source can be captured when its declared storage is usable without requiring full docs onboarding, backlog reconstruction, a running application, or deployment.
AC-006 / #ac-006ARC-003, FLOW-002-STEP-002Q4 / S2 #q4, Q5 / S2 #q5The preserved original file bytes or exact supplied text match the acquired source; frontmatter, normalization, extraction, and synthesis do not alter that original.
AC-007 / #ac-007FLOW-002-STEP-003Q7 / S2 #q7A capture commit includes only its owned source/provenance changes and preserves unrelated staged and working-tree changes.
AC-008 / #ac-008FLOW-002-STEP-004Q7 / S2 #q7, Q9 / S2 #q9A source is reported committed only after its committed Git blob is read back and verified against the acquired original's content identity or bytes.
AC-009 / #ac-009ARC-003, FLOW-002-STEP-005Q5 / S2 #q5When PDF text is extracted, the original PDF remains preserved and the text is identified as a derived representation of that original.
AC-010 / #ac-010FLOW-002-STEP-001, FLOW-002-STEP-005Q5 / S2 #q5Granola or equivalent meeting material preserves the available transcript and notes distinctly, including supplied speaker/timestamp information, without claiming unavailable transcript or recording content was captured.
AC-011 / #ac-011FLOW-002-STEP-001, FLOW-002-STEP-002Q4 / S2 #q4, Q5 / S2 #q5A fetched web source retains the fetched content plus origin URL, source revision when available, and acquisition metadata; a URL-only reference is not reported as a preserved original.
AC-012 / #ac-012FLOW-002-STEP-002, FLOW-005-STEP-001Q5 / S2 #q5, Q7 / S2 #q7An identical supplied source can reuse previously preserved and verified original bytes rather than creating a duplicate original.
AC-013 / #ac-013ARC-003, FLOW-002-STEP-002Q5 / S2 #q5A changed source is retained as a new revision without overwriting its older original; derived representations remain attributable to the revision used.
AC-014 / #ac-014ARC-004, FLOW-003-STEP-003Q3 / S2 #q3, Q4 / S2 #q4A knowledge no-op caused by no materially new information does not waive preservation and Git persistence of the supplied source artifact.
AC-015 / #ac-015FLOW-002-STEP-001, FLOW-002-STEP-004Q7 / S2 #q7An inaccessible or unavailable supplied source is explicitly reported not captured; a saved URL, summary, or command success alone cannot substitute for acquisition proof.
AC-016 / #ac-016FLOW-003-STEP-001Q3 / S2 #q3Changed relevant source evidence triggers freshness evaluation and affected knowledge reconciliation even when an earlier spec or page is marked ingested.
AC-017 / #ac-017ARC-005, FLOW-003-STEP-001Q3 / S2 #q3, Q9 / S2 #q9A page is labelled implemented only from relevant implementation evidence; the existence of IMPLEMENTATION-NOTES.md alone does not establish implementation completion.
AC-018 / #ac-018FLOW-003-STEP-003Q3 / S2 #q3When an existing canonical article owns new reusable knowledge, ingest reconciles that article rather than creating an overlapping article solely because a new source or implementation arrived.
AC-019 / #ac-019ARC-006, FLOW-003-STEP-003Q3 / S2 #q3, Q5 / S2 #q5Material contradictions and unaccepted product choices remain attributed and visibly unresolved; retaining a source or answer does not silently accept its claims as product truth.
AC-020 / #ac-020FLOW-003-STEP-002, FLOW-003-STEP-003Q3 / S2 #q3, Q7 / S2 #q7Required flow reconciliation completes before dependent concept writing; a required flow failure leaves the ingest incomplete and prevents that dependent concept step.
AC-021 / #ac-021ARC-003, ARC-005, FLOW-003-STEP-001Q3 / S2 #q3, Q5 / S2 #q5Integrated knowledge records the source identity/revision and supporting evidence needed to distinguish current content from stale content; source path and date alone are not treated as proof of freshness.
AC-022 / #ac-022FLOW-003-STEP-004, FLOW-003-STEP-005Q3 / S2 #q3, Q8 / S2 #q8A newly created or changed routed article has the required owning navigation entry, section-index/discovery reference, and resolved links before integration is reported complete.
AC-023 / #ac-023ARC-007, FLOW-004-STEP-001Q3 / S2 #q3The maintained root/topic discovery map provides article links, scope summaries, and applicability cues that allow a consumer to select relevant knowledge without loading the full wiki.
AC-024 / #ac-024ARC-006, ARC-007, FLOW-004-STEP-003Q6 / S2 #q6, Q8 / S2 #q8Repository and Fumadocs machine views point to the same canonical routed corpus; source bundles outside that corpus are not falsely presented as automatically included in HTTP exports or exposed to a broader audience.
AC-025 / #ac-025FLOW-004-STEP-001, FLOW-004-STEP-002, FLOW-004-STEP-003Q3 / S2 #q3, Q9 / S2 #q9A future plan records the relevant wiki knowledge it used and material stale or contradictory claims checked against primary evidence; if no applicable context exists, that absence is explicit.
AC-026 / #ac-026FLOW-004-STEP-004, FLOW-003-STEP-003Q3 / S2 #q3Materially novel, evidence-backed findings from a query or investigation are reconciled into an owning article or justified new synthesis, while answers with no reusable delta produce an explicit knowledge no-op.
AC-027 / #ac-027ARC-009, FLOW-002, FLOW-003-STEP-005Q6 / S2 #q6, Q7 / S2 #q7The result distinguishes saved-but-uncommitted source, verified committed source, partial integration, and completed integration; a successful renderer or a stored file cannot collapse these distinctions.
AC-028 / #ac-028FLOW-002-STEP-003, FLOW-002-STEP-005Q7 / S2 #q7A failed commit preserves the saved original and unfinished capture; a failed extraction or synthesis preserves the verified committed original and identifies retriable integration work.
AC-029 / #ac-029FLOW-005-STEP-001Q7 / S2 #q7After interruption or a lost acknowledgement, resume inspects durable source/Git/output evidence and continues missing work without duplicating originals or falsely repeating a completed integration event.
AC-030 / #ac-030FLOW-005-STEP-003Q7 / S2 #q7Before reconciling overlapping canonical content, the agent re-reads current state and preserves concurrent changes or reports an explicit conflict instead of silently overwriting them.
AC-031 / #ac-031FLOW-003-STEP-005, ARC-009Q3 / S2 #q3, Q7 / S2 #q7Missing required route/output/validation work prevents an integration-complete claim and remains recorded as unfinished work rather than being hidden by final ingest bookkeeping.
AC-032 / #ac-032FLOW-005-STEP-002Q3 / S2 #q3, Q9 / S2 #q9A health outcome records structural checks of applicable frontmatter, links, navigation, and source references separately from semantic knowledge reconciliation.
AC-033 / #ac-033ARC-009, FLOW-005-STEP-002Q3 / S2 #q3Scoped semantic maintenance records material stale claims, contradictions, missing connections/synthesis, or discovery gaps and their resolution or explicit unresolved status.
AC-034 / #ac-034FLOW-005-STEP-003Q3 / S2 #q3Learning refresh records a justified keep, update, consolidate, replace, delete, or mark-stale outcome and repairs affected references when a page is superseded, consolidated, or removed.
AC-035 / #ac-035ARC-006, FLOW-003-STEP-004, FLOW-005-STEP-003Q8 / S2 #q8Operational wiki projections are updated through their canonical source owners; source disappearance alone is not treated as authority to delete durable routed knowledge.
AC-036 / #ac-036FLOW-005-STEP-004Q3 / S2 #q3Chronological capture/ingest/maintenance history remains discoverable, including through an archive when used; a recent-entry limit does not silently discard the retained history.
AC-037 / #ac-037ARC-008, FLOW-004Q1 / S2 #q1, Q9 / S2 #q9A real proof in this repository connects a retained source or implementation change to current canonical knowledge, verifies repository and Fumadocs discovery, and shows the knowledge used in a later planning exercise.
AC-038 / #ac-038ARC-001Q11 / S2 #q11Reusable skill changes follow the checked-out main source in /home/stefan/repos/skills, source commit/push, bun run sync:skills, and exact receipt verification; local mirrors are not edited as authority.
AC-039 / #ac-039ARC-001, ARC-006Q2 / S2 #q2, Q8 / S2 #q8The delivered behavior preserves the CLI/Registry wiki ownership boundary and Project Verifier references; ordinary wiki ingestion does not create or maintain verifier assets.

Flow Failure Coverage

LensGrounded evidence / unknown / not applicableGuarantee at stakeMaterial unresolved gap
Entry points and path convergenceQ2/Q4/Q6; ARC-001 and FLOW-001/002. Setup and supplied-source intake converge on the local contract across workflows.A source is not lost because it arrived outside delivery closeout.None
Critical execution pathsQ3/Q7; FLOW-002 and FLOW-003 preserve capture-before-extraction and flows-before-concepts.Dependency order and the Git durability boundary remain explicit.None
State ownership and authorityQ2/Q5/Q8; ARC-002/003/006 separate original evidence, derived text, accepted intent, implementation proof and projections.A derived view cannot silently replace its authority.None
Transaction and side-effect boundariesQ7; FLOW-002-STEP-003/004. Source commit is scoped; knowledge integration and publication are separate effects.Failed synthesis cannot erase a committed original; unrelated work is preserved.None
Concurrency and stale stateQ7; FLOW-005-STEP-003. Re-read overlapping content and preserve changes or report conflict; exact coordination primitive is plan-owned.Parallel agents do not silently overwrite each other's sources or articles.None; no stronger lock/transaction guarantee is inferred
Idempotency and retriesQ5/Q7; FLOW-002-STEP-002 and FLOW-005-STEP-001 use source identity and durable evidence.Identical input converges; changed input refreshes rather than overwrites history.None
Partial failure and recoveryQ7/Q9; source-durability view and FLOW-003-STEP-005 retain precise incomplete states.A partial capture/projection/check cannot be reported complete.None
Execution lifetime and durabilityQ4/Q7; raw files and Git survive a session, while unfinished integration stays visible through ARC-009.Disconnect or lost acknowledgement is recoverable from retained evidence.None; remote backup is not promised
Lifecycle and dependency transitionsQ3/Q5/Q8; FLOW-005-STEP-003 covers revisions, supersession, repaired references and actual projection ownership.New sources do not erase originals or strand dependent knowledge.None
Completion and observabilityQ6/Q7/Q9; separate readiness, Git readback, content checks and semantic reconciliation.The operator can distinguish source committed, knowledge integrated, blocked and partial outcomes.None

Non-material Unknowns and Scope Limits

SourceDisposition and scope consequenceOwner / next resolutionWhy current guarantees remain closed
S1/S2 Q11Exact skill name/packaging, metadata filenames/fields, index-generation technique and coordination primitive are not recorded.create-plan and scoped implementation, within this accepted contractThese choices cannot change ownership, ordering, truth, persistence or completion guarantees.
S4/S2 Q8Actual deployment access controls were not verified.Project owner/runtime validation when the visibility surface is touchedPreserve the existing configured audience; metadata alone is not treated as access proof.
S2 Q11New connector transport, arbitrary-size storage backends, background services, embeddings and automatic remote backup are outside the promised capability.A later accepted scope if neededUnsupported acquisition/commit remains explicit unfinished work; no success or URL-only substitute is claimed.
S2 Q11No upstream feature dependency or parent/base constraint was supplied.create-plan may establish execution sequencing without changing requirementsThe current capability can be planned from this pair; no blocked external feature is hidden.

No material in-scope decision is parked or unanswered. No prototype verdict is claimed.

Validation

  • Source readiness: status read before decision log; Q1–Q11, explicit closure, glossary and research disposition agree. Content identities are recorded above.
  • Exact-detail coverage: each accepted detail has a row and a concrete structural home. All ten canonical brainstorm failure lenses are covered; no new accepted mechanism or guarantee was inferred.
  • Relative links and selectors: checked against the complete candidate and current source files. Public ARC/FLOW/STEP selectors are explicit; no future sibling-spec link is used.
  • Spec mapping: every one of the matching draft's seven OUT codes and 39 AC codes resolves through the canonical mapping to existing architecture selectors and exact accepted Q log entries. This enrichment changes traceability metadata, not design. Final pair readiness also requires retained spec bytes bound to this architecture identity.
  • Mermaid: all three diagrams passed the installed Mermaid 11.15.0 parser with a temporary jsdom 26.1.0 DOM environment. The complete candidate also passed YAML and MDX compilation. This is syntax proof; full browser rendering and deployed Fumadocs rendering were not claimed.
  • Wiki validation: bun run --cwd apps/wiki check:content passed, as did all three public wiki contract tests with one worker. The owning spec navigation order follows the project sync generator; no broad sync or runtime change was applied.
  • Existing spec agreement: the complete matching draft and this enriched architecture agree on accepted behavior and source identities. The spec is retained after this architecture so it can bind the final immutable architecture identity.
  • Runtime limits: compilation checks documentation and traceability, not implemented behavior, deployed Fumadocs rendering, source-connector availability, or automatic capture.

On this page