ingest: Lesson-Template-Contribution-Discipline
New synthesis page filed in response to user observation that lessons
learned during template development should live in wiki memory rather
than per-user Claude local memory, so they survive a clean pull (via
--dev-self per PR #25).
Captures four rationalizations and their empirical incidents:
1. Defaulting to single-writer when web_forager proved multi-writer
(incident: 2026-06-12 Omegaice/csweet1 log_*.md collision, ~3 min
manual reconcile).
2. Introducing speculative "Option C" integrations the user did not
propose (MCP overreach in PR7's first draft, pushed back on
2026-06-13).
3. Hardcoding speculative PR numbers in code (PR #28 stale #26
references; Priscila cleaned up four in commit e48f7d4).
4. Adding structural assertions that lock historical state rather
than catch behaviour regressions (PR6's three rename-locking
assertions, flagged 2026-06-13).
Each pattern has the same shape as Discipline-Gates' Universal
Rationalizations, just one layer up: instead of rationalizing a bad
wiki entry, the agent rationalizes a bad PR draft, a noisy test, or
a stale reference. Discipline-Gates See-also gains a back-reference.
Sister page to Lesson-Hook-Type-Matters, Lesson-Parallel-File-Drift,
Lesson-Validation-Methodology — matches their synthesis-type +
empirical-motivation style.
After this lands the four corresponding personal Claude memory entries
can be deleted; the lessons now live where they survive a clean pull.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
lint: KG aspirational -> implemented; bidirectional back-references; example cleanup
Stale-claim correction: PR #14 shipped scripts/kg/ (rdflib + pyshacl
in-process KG pipeline) to template main, but nine wiki pages still
described the pipeline as aspirational. Reclassified Knowledge-Graph-
Pipeline to implemented; corrected architecture from Fuseki to rdflib +
pyshacl; flagged the distribution gap (scripts/kg/ not yet in
ALWAYS_FILES, likely to ship as features/kg/ under RFC #13). Updated
Implementation-Status, Wiki-LLM-Pattern, Three-Operations, Typed-Edges-
and-Frontmatter, SCHEMA, Limitation-Inverse-Edges-Missing, Sync-Flow,
and the index to match.
Example cleanup: Wiki-LLM-Pattern line 23 used the placeholder example
[Markov-Chain-v5c2](Markov-Chain-v5c2). Replaced with a real wiki page
name so lint and the KG see a valid edge.
Bidirectional back-references added for the high-value concept <-> lesson
/ limitation pairs (Verification-Gate, Discipline-Gates, Lesson-
Validation-Methodology, Lesson-Parallel-File-Drift, Template-vs-Derived-
Projects, PostToolUse-Hook, Agent-Overlays). Index/log roll-ups
(Implementation-Status, Wiki-Corrections-Log) intentionally left one-way.
Wiki-Corrections-Log entry appended with the receipt.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Initialize wiki: scaffold + first ingest of template knowledge
Scaffolded SCHEMA, Home, index, log, and Home.md redirect to match the
canonical create-mode output of wiki/init-wiki.sh. Authored 18 content
pages across five categories (foundation, mechanisms, lessons,
limitations, applied examples) capturing the wiki-llm pattern, the
template's structure, the contents of PR #1 (discipline gates,
verification gate, PostToolUse hook) and PR #4 (log entry
attribution), the parallel-file-drift / hook-type / validation-method
lessons surfaced by PR review, and the three open limitations
(prompt-injection residual, missing edge inverses per issue #3,
untested non-Claude-Code overlays).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>