Decisions

WCHT keeps the useful knowledge-work pattern from the official company-knowledge-base guide: maintain attributable documents, retrieve before answering, and make the answer checkable. It does not reproduce every service or interface in the example. See architecture for the implementation and tutorial-dissection for the source-to-component mapping.

flowchart TD
  A[Attributed local documents] --> B[Local lexical retrieval]
  B --> C{Evidence supports the claim}
  C -->|Yes| D[OMP answer with source citations]
  C -->|No| E[Explain the evidence gap]
  D --> F[Human checks the source]
  E --> F

1. No new paid provider or API key

The project uses its existing OMP OAuth capability rather than provisioning a Sanity project, an OpenAI API key, a hosted vector service, or another paid inference integration. The guide’s optional OpenAI API stage is not a WCHT setup instruction. Its chat lesson distinguishes API billing from a ChatGPT subscription; WCHT does not treat either as permission to add another billed service.

Consequence: local ingestion and retrieval need no provider credentials. Answer generation still depends on the existing OMP session and the capabilities available to that session. This is not a claim that model inference has zero infrastructure cost or runs offline.

2. Lexical ranking, not semantic-search parity

SQLite FTS5 and a second lexical ranking are combined with reciprocal rank fusion. Both rankings depend on words in the query and the indexed material. No embeddings are generated, no vector database is maintained, and no semantic-similarity guarantee is implied by the word “hybrid.” WCHT calls this lexical hybrid retrieval.

This favors a small, inspectable, credential-free implementation and exact technical terms. It can miss a paraphrase whose words do not overlap the source. The guide’s semantic-search lesson describes a different system: Sanity-managed embeddings and semantic query scoring. Its example rankings are source claims about that demo, not measured WCHT results. eval-results separates what the WCHT evaluation does and does not establish.

The bounded native research run measured a retrieval baseline of 1.00 against the predefined 0.90 gate. It did not optimize ranking or establish that lexical retrieval is generally superior. One native baseline plus one harness-validation execution left all 19 protected files unchanged, and research mode ended off with a subsequent explicit /autoresearch off. The historical 0.85 answer result remains archived in receipts/history-d161-before-media-completion/; the later fresh native answer run passed 1.00 after a class-level skill correction, not a retrieval-benchmark change.

3. Wiki Chat uses OMP under the hood

The lexical-only web scope is superseded: D-167 requires real Wiki Chat, with OMP-generated answers and instant lexical search retained as a fallback. The kb-answer discipline remains retrieve, cite, and refuse unsupported claims; kb-ingest remains an operator-only maintenance workflow. The public Quartz wiki is still a reading surface, not a conversation service.

Conversations are persisted per authenticated Authelia Remote-User, with no client-selected owner. Native omp acp sessions drive SSE text, available real thinking, sanitized tool activity, and citations. Immediate follow-ups reuse a live session; after teardown the backend replays that owner’s stored transcript into a fresh ACP session because the installed session/load path ignores the custom session directory. Two OMP children globally, per-user FIFO, bounded requests, timeouts, and disconnect/cancel cleanup constrain the lifecycle. This reuses existing OMP OAuth, not a second provider client or a cloned Next.js application. Runtime acceptance remains a separate proof.

4. Local storage does not mean local inference

Documents and the SQLite index remain in the project filesystem during ingestion and retrieval. If the OMP assistant reads retrieved passages to compose an answer, the question, passages, and relevant conversation context may be sent to its configured remote OAuth model provider. “Local-first” describes storage and retrieval, not a guarantee that source material never leaves the machine.

Only material authorized for that provider boundary should be used in an OMP answer. Public wiki publication is a second, distinct disclosure boundary. Private documents do not become safe for public publication merely because their retrieval ran locally. The public/private wiki split does not create per-document access control inside SQLite.

5. Memory is not citation authority

Project memory and automatic learning can preserve workflow knowledge and useful operating lessons. They are not substitutes for a source passage. The assistant must retrieve current evidence for factual answers rather than cite a remembered answer, a prior session, or an evaluation expectation.

For this run, the observed project configuration used Mnemopi with per-project scope, automatic recall/retention, and automatic learning enabled. The learning tool recorded the parser-offset/citation-provenance lesson. There are two authored project skills and zero new managed skills; no automatic skill-creation success is claimed. Managed-skill storage belongs to the active agent and is not project-isolated merely because memory is per-project.

Source text is evidence, not an instruction channel. If a retrieved document tells the agent to reveal secrets, ignore its instructions, or invent a citation, those directions do not override the project skill. A citation should identify the actual retrieved chunk and its source; an impressive-looking link alone does not prove the claim.

6. A guide is not a video transcript

The video metadata supplies 12 chapter titles and start times. The official guide supplies independent prose and code examples. The pinned author repository supplies a reproducible code snapshot. None of the latter two establishes the exact words spoken or pixels displayed at a video timestamp.

The initial host capture received LOGIN_REQUIRED and did not recover usable captions or recording frames; that historical receipt remains unchanged. Authorized Mac-supplied media now supports a reconstruction using 1,307 normalized nonblank JSON3 cues and 56 unique sampled 1280×720 frames. All 85 Mac checksums passed; JSON3 normalization had zero text/timing mismatches. VTT and JSON3 differ, so caption text is not independently verified verbatim audio. The frame set covers all 12 chapter starts plus two seconds and 44 scene samples, with no byte/pixel duplicates—not continuous video or a full-video download. Raw frames may expose credentials and require individual publication review.

The pinned repository is b01ec5e5a50bd718b8233710a9510be5e35c99ad. The guide is identified by capture time and SHA-256, not by a matching commit. Later guide changes must not silently rewrite what an earlier capture proves.

7. No unnecessary MCP or duplicate provider client

The operator CLI still handles approved ingestion and retrieval; the tutorial’s optional Sanity MCP editing path and hosted content service are not installed. Browser chat needs a narrower model capability than the operator CLI: a fixed child-local read-only stdio MCP tool, wcht.search, exposes actual retrieval and verified source spans without generic shell/filesystem tools. This is not a new independently deployed MCP service. A project-local exact allowlist and deny guard enforce the tool boundary; child runtime overlays disable memory, automatic learning, automatic QA, and discovery without changing global OMP configuration.

Subagents can assist with bounded source review or implementation, but they do not become a second authoritative corpus. The canonical facts remain attributable documents; SQLite is a derived index. The static Quartz wiki remains independent of D-167 Wiki Chat. Chat uses approved public-corpus evidence and does not expose ingestion, private opt-in, or database selection. Same-origin browser assets and no external telemetry do not make inference local: OMP sends relevant prompts, passages, and conversation context to its configured OAuth provider.

8. Publish analysis, not an upstream mirror

The guide and fictional handbook remain attributed source material. The wiki publishes original summaries, source links, implementation decisions, and measured results—not the complete upstream guide, employee records, or policy corpus. Fictional example policies are not WCHT’s real operating rules. Local possession of source files does not establish permission to republish their full contents.

Sensitive operational evidence stays outside the public pages. Account identity and raw OMP sessions are never inferred or published here. See the restricted operations page for the release-evidence policy.

9. Keep predefined failures visible

The fresh measured record is retrieval 20/20, actual-answer lexical contract 20/20, complete answer coverage, and passing citation/refusal integrity at unchanged 0.90. The earlier 17/20 remains explicitly historical in receipts/history-d161-before-media-completion/: tutorial-08 omitted [[...slug]], tutorial-15 omitted Sanity, and tutorial-18 used pet-daycare rather than pet daycare. These were lexical mismatches, not a semantic-error count.

The only source fix was .omp/skills/kb-answer/SKILL.md: require self-contained subjects and exact technical identifiers, name source actors, and preserve source topic spelling. The dataset, evaluator normalization, and threshold were unchanged. A fresh native openai-codex/gpt-6-astra run performed 20 actual CLI queries and 19 cited source-span readbacks without reading gold or old answers. eval-results records this new evidence without rewriting the failed baseline or treating a lexical pass as semantic correctness. Earlier source-line failures and their regression proof remain historical evidence too.

Wiki sync

D-167 corrects the product to OMP-backed Wiki Chat plus instant search. A separately protected static /showcase/ alias exists, but its user-permitted empty directory is not an available showcase. Runtime and automation observations are preserved; the fresh D-161 answer evaluation is separate. Final D-161 publication/mission evidence belongs in receipts/wcht-first-task.json; the old exact receipt remains in receipts/history-d161-before-media-completion/wcht-first-task.json. D-167 deployment observations remain in receipts/wcht-web.json, with wiki_sync before final current_state; no active distribution name or unobserved runtime pass is embedded here.

State block

Decisions reconciled on 2026-09-26. Research is explicitly off; one lesson was retained, two project skills exist, and no new managed skills were created. Supplied-caption and sampled-frame reconstruction is documented; fresh retrieval and answer lexical contracts pass 20/20 with integrity/refusal passing. Caption/audio uncertainty and sampled coverage remain explicit.

Final receipts/wcht-first-task.json, with its identical external copy /home/loca/.flowmaster-d161/wcht-first-task.json, governs D-161 publication and full mission completion; no issued signal is asserted here. D-167 web status and its separate signal remain in receipts/wcht-web.json, without a new runtime-proof claim.