arscontexta 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. package/.claude-plugin/marketplace.json +11 -0
  2. package/.claude-plugin/plugin.json +22 -0
  3. package/README.md +683 -0
  4. package/agents/knowledge-guide.md +49 -0
  5. package/bin/cli.mjs +66 -0
  6. package/generators/agents-md.md +240 -0
  7. package/generators/claude-md.md +379 -0
  8. package/generators/features/atomic-notes.md +124 -0
  9. package/generators/features/ethical-guardrails.md +58 -0
  10. package/generators/features/graph-analysis.md +188 -0
  11. package/generators/features/helper-functions.md +92 -0
  12. package/generators/features/maintenance.md +164 -0
  13. package/generators/features/methodology-knowledge.md +70 -0
  14. package/generators/features/mocs.md +144 -0
  15. package/generators/features/multi-domain.md +61 -0
  16. package/generators/features/personality.md +71 -0
  17. package/generators/features/processing-pipeline.md +428 -0
  18. package/generators/features/schema.md +149 -0
  19. package/generators/features/self-evolution.md +229 -0
  20. package/generators/features/self-space.md +78 -0
  21. package/generators/features/semantic-search.md +99 -0
  22. package/generators/features/session-rhythm.md +85 -0
  23. package/generators/features/templates.md +85 -0
  24. package/generators/features/wiki-links.md +88 -0
  25. package/generators/soul-md.md +121 -0
  26. package/hooks/hooks.json +45 -0
  27. package/hooks/scripts/auto-commit.sh +44 -0
  28. package/hooks/scripts/session-capture.sh +35 -0
  29. package/hooks/scripts/session-orient.sh +86 -0
  30. package/hooks/scripts/write-validate.sh +42 -0
  31. package/methodology/AI shifts knowledge systems from externalizing memory to externalizing attention.md +59 -0
  32. package/methodology/BM25 retrieval fails on full-length descriptions because query term dilution reduces match scores.md +39 -0
  33. package/methodology/IBIS framework maps claim-based architecture to structured argumentation.md +58 -0
  34. package/methodology/LLM attention degrades as context fills.md +49 -0
  35. package/methodology/MOC construction forces synthesis that automated generation from metadata cannot replicate.md +49 -0
  36. package/methodology/MOC maintenance investment compounds because orientation savings multiply across every future session.md +41 -0
  37. package/methodology/MOCs are attention management devices not just organizational tools.md +51 -0
  38. package/methodology/PKM failure follows a predictable cycle.md +50 -0
  39. package/methodology/ThreadMode to DocumentMode transformation is the core value creation step.md +52 -0
  40. package/methodology/WIP limits force processing over accumulation.md +53 -0
  41. package/methodology/Zeigarnik effect validates capture-first philosophy because open loops drain attention.md +42 -0
  42. package/methodology/academic research uses structured extraction with cross-source synthesis.md +566 -0
  43. package/methodology/adapt the four-phase processing pipeline to domain-specific throughput needs.md +197 -0
  44. package/methodology/agent notes externalize navigation intuition that search cannot discover and traversal cannot reconstruct.md +48 -0
  45. package/methodology/agent self-memory should be architecturally separate from user knowledge systems.md +48 -0
  46. package/methodology/agent session boundaries create natural automation checkpoints that human-operated systems lack.md +56 -0
  47. package/methodology/agent-cognition.md +107 -0
  48. package/methodology/agents are simultaneously methodology executors and subjects creating a unique trust asymmetry.md +66 -0
  49. package/methodology/aspect-oriented programming solved the same cross-cutting concern problem that hooks solve.md +39 -0
  50. package/methodology/associative ontologies beat hierarchical taxonomies because heterarchy adapts while hierarchy brittles.md +53 -0
  51. package/methodology/attention residue may have a minimum granularity that cannot be subdivided.md +46 -0
  52. package/methodology/auto-commit hooks eliminate prospective memory failures by converting remember-to-act into guaranteed execution.md +47 -0
  53. package/methodology/automated detection is always safe because it only reads state while automated remediation risks content corruption.md +42 -0
  54. package/methodology/automation should be retired when its false positive rate exceeds its true positive rate or it catches zero issues.md +56 -0
  55. package/methodology/backlinks implicitly define notes by revealing usage context.md +35 -0
  56. package/methodology/backward maintenance asks what would be different if written today.md +62 -0
  57. package/methodology/balance onboarding enforcement and questions to prevent premature complexity.md +229 -0
  58. package/methodology/basic level categorization determines optimal MOC granularity.md +51 -0
  59. package/methodology/batching by context similarity reduces switching costs in agent processing.md +43 -0
  60. package/methodology/behavioral anti-patterns matter more than tool selection.md +42 -0
  61. package/methodology/betweenness centrality identifies bridge notes connecting disparate knowledge domains.md +57 -0
  62. package/methodology/blueprints that teach construction outperform downloads that provide pre-built code for platform-dependent modules.md +42 -0
  63. package/methodology/bootstrapping principle enables self-improving systems.md +62 -0
  64. package/methodology/build automatic memory through cognitive offloading and session handoffs.md +285 -0
  65. package/methodology/capture the reaction to content not just the content itself.md +41 -0
  66. package/methodology/claims must be specific enough to be wrong.md +36 -0
  67. package/methodology/closure rituals create clean breaks that prevent attention residue bleed.md +44 -0
  68. package/methodology/cognitive offloading is the architectural foundation for vault design.md +46 -0
  69. package/methodology/cognitive outsourcing risk in agent-operated systems.md +55 -0
  70. package/methodology/coherence maintains consistency despite inconsistent inputs.md +96 -0
  71. package/methodology/coherent architecture emerges from wiki links spreading activation and small-world topology.md +48 -0
  72. package/methodology/community detection algorithms can inform when MOCs should split or merge.md +52 -0
  73. package/methodology/complete navigation requires four complementary types that no single mechanism provides.md +43 -0
  74. package/methodology/complex systems evolve from simple working systems.md +59 -0
  75. package/methodology/composable knowledge architecture builds systems from independent toggleable modules not monolithic templates.md +61 -0
  76. package/methodology/compose multi-domain systems through separate templates and shared graph.md +372 -0
  77. package/methodology/concept-orientation beats source-orientation for cross-domain connections.md +51 -0
  78. package/methodology/confidence thresholds gate automated action between the mechanical and judgment zones.md +50 -0
  79. package/methodology/configuration dimensions interact so choices in one create pressure on others.md +58 -0
  80. package/methodology/configuration paralysis emerges when derivation surfaces too many decisions.md +44 -0
  81. package/methodology/context files function as agent operating systems through self-referential self-extension.md +46 -0
  82. package/methodology/context phrase clarity determines how deep a navigation hierarchy can scale.md +46 -0
  83. package/methodology/continuous small-batch processing eliminates review dread.md +48 -0
  84. package/methodology/controlled disorder engineers serendipity through semantic rather than topical linking.md +51 -0
  85. package/methodology/creative writing uses worldbuilding consistency with character tracking.md +672 -0
  86. package/methodology/cross-links between MOC territories indicate creative leaps and integration depth.md +43 -0
  87. package/methodology/dangling links reveal which notes want to exist.md +62 -0
  88. package/methodology/data exit velocity measures how quickly content escapes vendor lock-in.md +74 -0
  89. package/methodology/decontextualization risk means atomicity may strip meaning that cannot be recovered.md +48 -0
  90. package/methodology/dense interlinked research claims enable derivation while sparse references only enable templating.md +47 -0
  91. package/methodology/dependency resolution through topological sort makes module composition transparent and verifiable.md +56 -0
  92. package/methodology/derivation generates knowledge systems from composable research claims not template customization.md +63 -0
  93. package/methodology/derivation-engine.md +27 -0
  94. package/methodology/derived systems follow a seed-evolve-reseed lifecycle.md +56 -0
  95. package/methodology/description quality for humans diverges from description quality for keyword search.md +73 -0
  96. package/methodology/descriptions are retrieval filters not summaries.md +112 -0
  97. package/methodology/design MOCs as attention management devices with lifecycle governance.md +318 -0
  98. package/methodology/design-dimensions.md +66 -0
  99. package/methodology/digital mutability enables note evolution that physical permanence forbids.md +54 -0
  100. package/methodology/discovery-retrieval.md +48 -0
  101. package/methodology/distinctiveness scoring treats description quality as measurable.md +69 -0
  102. package/methodology/does agent processing recover what fast capture loses.md +43 -0
  103. package/methodology/domain-compositions.md +37 -0
  104. package/methodology/dual-coding with visual elements could enhance agent traversal.md +55 -0
  105. package/methodology/each module must be describable in one sentence under 200 characters or it does too many things.md +45 -0
  106. package/methodology/each new note compounds value by creating traversal paths.md +55 -0
  107. package/methodology/eight configuration dimensions parameterize the space of possible knowledge systems.md +56 -0
  108. package/methodology/elaborative encoding is the quality gate for new notes.md +55 -0
  109. package/methodology/enforce schema with graduated strictness across capture processing and query zones.md +221 -0
  110. package/methodology/enforcing atomicity can create paralysis when ideas resist decomposition.md +43 -0
  111. package/methodology/engineering uses technical decision tracking with architectural memory.md +766 -0
  112. package/methodology/every knowledge domain shares a four-phase processing skeleton that diverges only in the process step.md +53 -0
  113. package/methodology/evolution observations provide actionable signals for system adaptation.md +67 -0
  114. package/methodology/external memory shapes cognition more than base model.md +60 -0
  115. package/methodology/faceted classification treats notes as multi-dimensional objects rather than folder contents.md +65 -0
  116. package/methodology/failure-modes.md +27 -0
  117. package/methodology/false universalism applies same processing logic regardless of domain.md +49 -0
  118. package/methodology/federated wiki pattern enables multi-agent divergence as feature not bug.md +59 -0
  119. package/methodology/flat files break at retrieval scale.md +75 -0
  120. package/methodology/forced engagement produces weak connections.md +48 -0
  121. package/methodology/four abstraction layers separate platform-agnostic from platform-dependent knowledge system features.md +47 -0
  122. package/methodology/fresh context per task preserves quality better than chaining phases.md +44 -0
  123. package/methodology/friction reveals architecture.md +63 -0
  124. package/methodology/friction-driven module adoption prevents configuration debt by adding complexity only at pain points.md +48 -0
  125. package/methodology/gardening cycle implements tend prune fertilize operations.md +41 -0
  126. package/methodology/generation effect gate blocks processing without transformation.md +40 -0
  127. package/methodology/goal-driven memory orchestration enables autonomous domain learning through directed compute allocation.md +41 -0
  128. package/methodology/good descriptions layer heuristic then mechanism then implication.md +57 -0
  129. package/methodology/graph-structure.md +65 -0
  130. package/methodology/guided notes might outperform post-hoc structuring for high-volume capture.md +37 -0
  131. package/methodology/health wellness uses symptom-trigger correlation with multi-dimensional tracking.md +819 -0
  132. package/methodology/hook composition creates emergent methodology from independent single-concern components.md +47 -0
  133. package/methodology/hook enforcement guarantees quality while instruction enforcement merely suggests it.md +51 -0
  134. package/methodology/hook-driven learning loops create self-improving methodology through observation accumulation.md +62 -0
  135. package/methodology/hooks are the agent habit system that replaces the missing basal ganglia.md +40 -0
  136. package/methodology/hooks cannot replace genuine cognitive engagement yet more automation is always tempting.md +87 -0
  137. package/methodology/hooks enable context window efficiency by delegating deterministic checks to external processes.md +47 -0
  138. package/methodology/idempotent maintenance operations are safe to automate because running them twice produces the same result as running them once.md +44 -0
  139. package/methodology/implement condition-based maintenance triggers for derived systems.md +255 -0
  140. package/methodology/implicit dependencies create distributed monoliths that fail silently across configurations.md +58 -0
  141. package/methodology/implicit knowledge emerges from traversal.md +55 -0
  142. package/methodology/incremental formalization happens through repeated touching of old notes.md +60 -0
  143. package/methodology/incremental reading enables cross-source connection finding.md +39 -0
  144. package/methodology/index.md +32 -0
  145. package/methodology/inline links carry richer relationship data than metadata fields.md +91 -0
  146. package/methodology/insight accretion differs from productivity in knowledge systems.md +41 -0
  147. package/methodology/intermediate packets enable assembly over creation.md +52 -0
  148. package/methodology/intermediate representation pattern enables reliable vault operations beyond regex.md +62 -0
  149. package/methodology/justification chains enable forward backward and evolution reasoning about configuration decisions.md +46 -0
  150. package/methodology/knowledge system architecture is parameterized by platform capabilities not fixed by methodology.md +51 -0
  151. package/methodology/knowledge systems become communication partners through complexity and memory humans cannot sustain.md +47 -0
  152. package/methodology/knowledge systems share universal operations and structural components across all methodology traditions.md +46 -0
  153. package/methodology/legal case management uses precedent chains with regulatory change propagation.md +892 -0
  154. package/methodology/live index via periodic regeneration keeps discovery current.md +58 -0
  155. package/methodology/local-first file formats are inherently agent-native.md +69 -0
  156. package/methodology/logic column pattern separates reasoning from procedure.md +35 -0
  157. package/methodology/maintenance operations are more universal than creative pipelines because structural health is domain-invariant.md +47 -0
  158. package/methodology/maintenance scheduling frequency should match consequence speed not detection capability.md +50 -0
  159. package/methodology/maintenance targeting should prioritize mechanism and theory notes.md +26 -0
  160. package/methodology/maintenance-patterns.md +72 -0
  161. package/methodology/markdown plus YAML plus ripgrep implements a queryable graph database without infrastructure.md +55 -0
  162. package/methodology/maturity field enables agent context prioritization.md +33 -0
  163. package/methodology/memory-architecture.md +27 -0
  164. package/methodology/metacognitive confidence can diverge from retrieval capability.md +42 -0
  165. package/methodology/metadata reduces entropy enabling precision over recall.md +91 -0
  166. package/methodology/methodology development should follow the trajectory from documentation to skill to hook as understanding hardens.md +80 -0
  167. package/methodology/methodology traditions are named points in a shared configuration space not competing paradigms.md +64 -0
  168. package/methodology/mnemonic medium embeds verification into navigation.md +46 -0
  169. package/methodology/module communication through shared YAML fields creates loose coupling without direct dependencies.md +44 -0
  170. package/methodology/module deactivation must account for structural artifacts that survive the toggle.md +49 -0
  171. package/methodology/multi-domain systems compose through separate templates and shared graph.md +61 -0
  172. package/methodology/multi-domain-composition.md +27 -0
  173. package/methodology/narrow folksonomy optimizes for single-operator retrieval unlike broad consensus tagging.md +53 -0
  174. package/methodology/navigation infrastructure passes through distinct scaling regimes that require qualitative strategy shifts.md +48 -0
  175. package/methodology/navigational vertigo emerges in pure association systems without local hierarchy.md +54 -0
  176. package/methodology/note titles should function as APIs enabling sentence transclusion.md +51 -0
  177. package/methodology/note-design.md +57 -0
  178. package/methodology/notes are skills /342/200/224 curated knowledge injected when relevant.md" +62 -0
  179. package/methodology/notes function as cognitive anchors that stabilize attention during complex tasks.md +41 -0
  180. package/methodology/novel domains derive by mapping knowledge type to closest reference domain then adapting.md +50 -0
  181. package/methodology/nudge theory explains graduated hook enforcement as choice architecture for agents.md +59 -0
  182. package/methodology/observation and tension logs function as dead-letter queues for failed automation.md +51 -0
  183. package/methodology/operational memory and knowledge memory serve different functions in agent architecture.md +48 -0
  184. package/methodology/operational wisdom requires contextual observation.md +52 -0
  185. package/methodology/orchestrated vault creation transforms arscontexta from tool to autonomous knowledge factory.md +40 -0
  186. package/methodology/organic emergence versus active curation creates a fundamental vault governance tension.md +68 -0
  187. package/methodology/orphan notes are seeds not failures.md +38 -0
  188. package/methodology/over-automation corrupts quality when hooks encode judgment rather than verification.md +62 -0
  189. package/methodology/people relationships uses Dunbar-layered graphs with interaction tracking.md +659 -0
  190. package/methodology/personal assistant uses life area management with review automation.md +610 -0
  191. package/methodology/platform adapter translation is semantic not mechanical because hook event meanings differ.md +40 -0
  192. package/methodology/platform capability tiers determine which knowledge system features can be implemented.md +48 -0
  193. package/methodology/platform fragmentation means identical conceptual operations require different implementations across agent environments.md +44 -0
  194. package/methodology/premature complexity is the most common derivation failure mode.md +45 -0
  195. package/methodology/prevent domain-specific failure modes through the vulnerability matrix.md +336 -0
  196. package/methodology/processing effort should follow retrieval demand.md +57 -0
  197. package/methodology/processing-workflows.md +75 -0
  198. package/methodology/product management uses feedback pipelines with experiment tracking.md +789 -0
  199. package/methodology/productivity porn risk in meta-system building.md +30 -0
  200. package/methodology/programmable notes could enable property-triggered workflows.md +64 -0
  201. package/methodology/progressive disclosure means reading right not reading less.md +69 -0
  202. package/methodology/progressive schema validates only what active modules require not the full system schema.md +49 -0
  203. package/methodology/project management uses decision tracking with stakeholder context.md +776 -0
  204. package/methodology/propositional link semantics transform wiki links from associative to reasoned.md +87 -0
  205. package/methodology/prospective memory requires externalization.md +53 -0
  206. package/methodology/provenance tracks where beliefs come from.md +62 -0
  207. package/methodology/queries evolve during search so agents should checkpoint.md +35 -0
  208. package/methodology/question-answer metadata enables inverted search patterns.md +39 -0
  209. package/methodology/random note resurfacing prevents write-only memory.md +33 -0
  210. package/methodology/reconciliation loops that compare desired state to actual state enable drift correction without continuous monitoring.md +59 -0
  211. package/methodology/reflection synthesizes existing notes into new insight.md +100 -0
  212. package/methodology/retrieval utility should drive design over capture completeness.md +69 -0
  213. package/methodology/retrieval verification loop tests description quality at scale.md +81 -0
  214. package/methodology/role field makes graph structure explicit.md +94 -0
  215. package/methodology/scaffolding enables divergence that fine-tuning cannot.md +67 -0
  216. package/methodology/schema enforcement via validation agents enables soft consistency.md +60 -0
  217. package/methodology/schema evolution follows observe-then-formalize not design-then-enforce.md +65 -0
  218. package/methodology/schema field names are the only domain specific element in the universal note pattern.md +46 -0
  219. package/methodology/schema fields should use domain-native vocabulary not abstract terminology.md +47 -0
  220. package/methodology/schema templates reduce cognitive overhead at capture time.md +55 -0
  221. package/methodology/schema validation hooks externalize inhibitory control that degrades under cognitive load.md +48 -0
  222. package/methodology/schema-enforcement.md +27 -0
  223. package/methodology/self-extension requires context files to contain platform operations knowledge not just methodology.md +47 -0
  224. package/methodology/sense-making vs storage does compression lose essential nuance.md +73 -0
  225. package/methodology/session boundary hooks implement cognitive bookends for orientation and reflection.md +60 -0
  226. package/methodology/session handoff creates continuity without persistent memory.md +43 -0
  227. package/methodology/session outputs are packets for future selves.md +43 -0
  228. package/methodology/session transcript mining enables experiential validation that structural tests cannot provide.md +38 -0
  229. package/methodology/skill context budgets constrain knowledge system complexity on agent platforms.md +52 -0
  230. package/methodology/skills encode methodology so manual execution bypasses quality gates.md +50 -0
  231. package/methodology/small-world topology requires hubs and dense local links.md +99 -0
  232. package/methodology/source attribution enables tracing claims to foundations.md +38 -0
  233. package/methodology/spaced repetition scheduling could optimize vault maintenance.md +44 -0
  234. package/methodology/spreading activation models how agents should traverse.md +79 -0
  235. package/methodology/stale navigation actively misleads because agents trust curated maps completely.md +43 -0
  236. package/methodology/stigmergy coordinates agents through environmental traces without direct communication.md +62 -0
  237. package/methodology/storage versus thinking distinction determines which tool patterns apply.md +56 -0
  238. package/methodology/structure enables navigation without reading everything.md +52 -0
  239. package/methodology/structure without processing provides no value.md +56 -0
  240. package/methodology/student learning uses prerequisite graphs with spaced retrieval.md +770 -0
  241. package/methodology/summary coherence tests composability before filing.md +37 -0
  242. package/methodology/tag rot applies to wiki links because titles serve as both identifier and display text.md +50 -0
  243. package/methodology/temporal media must convert to spatial text for agent traversal.md +43 -0
  244. package/methodology/temporal processing priority creates age-based inbox urgency.md +45 -0
  245. package/methodology/temporal separation of capture and processing preserves context freshness.md +39 -0
  246. package/methodology/ten universal primitives form the kernel of every viable agent knowledge system.md +162 -0
  247. package/methodology/testing effect could enable agent knowledge verification.md +38 -0
  248. package/methodology/the AgentSkills standard embodies progressive disclosure at the skill level.md +40 -0
  249. package/methodology/the derivation engine improves recursively as deployed systems generate observations.md +49 -0
  250. package/methodology/the determinism boundary separates hook methodology from skill methodology.md +46 -0
  251. package/methodology/the fix-versus-report decision depends on determinism reversibility and accumulated trust.md +45 -0
  252. package/methodology/the generation effect requires active transformation not just storage.md +57 -0
  253. package/methodology/the no wrong patches guarantee ensures any valid module combination produces a valid system.md +58 -0
  254. package/methodology/the system is the argument.md +46 -0
  255. package/methodology/the vault constitutes identity for agents.md +86 -0
  256. package/methodology/the vault methodology transfers because it encodes cognitive science not domain specifics.md +47 -0
  257. package/methodology/therapy journal uses warm personality with pattern detection for emotional processing.md +584 -0
  258. package/methodology/three capture schools converge through agent-mediated synthesis.md +55 -0
  259. package/methodology/three concurrent maintenance loops operate at different timescales to catch different classes of problems.md +56 -0
  260. package/methodology/throughput matters more than accumulation.md +58 -0
  261. package/methodology/title as claim enables traversal as reasoning.md +50 -0
  262. package/methodology/topological organization beats temporal for knowledge work.md +52 -0
  263. package/methodology/trading uses conviction tracking with thesis-outcome correlation.md +699 -0
  264. package/methodology/trails transform ephemeral navigation into persistent artifacts.md +39 -0
  265. package/methodology/transform universal vocabulary to domain-native language through six levels.md +259 -0
  266. package/methodology/type field enables structured queries without folder hierarchies.md +53 -0
  267. package/methodology/use-case presets dissolve the tension between composability and simplicity.md +44 -0
  268. package/methodology/vault conventions may impose hidden rigidity on thinking.md +44 -0
  269. package/methodology/verbatim risk applies to agents too.md +31 -0
  270. package/methodology/vibe notetaking is the emerging industry consensus for AI-native self-organization.md +56 -0
  271. package/methodology/vivid memories need verification.md +45 -0
  272. package/methodology/vocabulary-transformation.md +27 -0
  273. package/methodology/voice capture is the highest-bandwidth channel for agent-delegated knowledge systems.md +45 -0
  274. package/methodology/wiki links are the digital evolution of analog indexing.md +73 -0
  275. package/methodology/wiki links as social contract transforms agents into stewards of incomplete references.md +52 -0
  276. package/methodology/wiki links create navigation paths that shape retrieval.md +63 -0
  277. package/methodology/wiki links implement GraphRAG without the infrastructure.md +101 -0
  278. package/methodology/writing for audience blocks authentic creation.md +22 -0
  279. package/methodology/you operate a system that takes notes.md +79 -0
  280. package/openclaw/SKILL.md +110 -0
  281. package/package.json +45 -0
  282. package/platforms/README.md +51 -0
  283. package/platforms/claude-code/generator.md +61 -0
  284. package/platforms/claude-code/hooks/README.md +186 -0
  285. package/platforms/claude-code/hooks/auto-commit.sh.template +38 -0
  286. package/platforms/claude-code/hooks/session-capture.sh.template +72 -0
  287. package/platforms/claude-code/hooks/session-orient.sh.template +189 -0
  288. package/platforms/claude-code/hooks/write-validate.sh.template +106 -0
  289. package/platforms/openclaw/generator.md +82 -0
  290. package/platforms/openclaw/hooks/README.md +89 -0
  291. package/platforms/openclaw/hooks/bootstrap.ts.template +224 -0
  292. package/platforms/openclaw/hooks/command-new.ts.template +165 -0
  293. package/platforms/openclaw/hooks/heartbeat.ts.template +214 -0
  294. package/platforms/shared/features/README.md +70 -0
  295. package/platforms/shared/skill-blocks/graph.md +145 -0
  296. package/platforms/shared/skill-blocks/learn.md +119 -0
  297. package/platforms/shared/skill-blocks/next.md +131 -0
  298. package/platforms/shared/skill-blocks/pipeline.md +326 -0
  299. package/platforms/shared/skill-blocks/ralph.md +616 -0
  300. package/platforms/shared/skill-blocks/reduce.md +1142 -0
  301. package/platforms/shared/skill-blocks/refactor.md +129 -0
  302. package/platforms/shared/skill-blocks/reflect.md +780 -0
  303. package/platforms/shared/skill-blocks/remember.md +524 -0
  304. package/platforms/shared/skill-blocks/rethink.md +574 -0
  305. package/platforms/shared/skill-blocks/reweave.md +680 -0
  306. package/platforms/shared/skill-blocks/seed.md +320 -0
  307. package/platforms/shared/skill-blocks/stats.md +145 -0
  308. package/platforms/shared/skill-blocks/tasks.md +171 -0
  309. package/platforms/shared/skill-blocks/validate.md +323 -0
  310. package/platforms/shared/skill-blocks/verify.md +562 -0
  311. package/platforms/shared/templates/README.md +35 -0
  312. package/presets/experimental/categories.yaml +1 -0
  313. package/presets/experimental/preset.yaml +38 -0
  314. package/presets/experimental/starter/README.md +7 -0
  315. package/presets/experimental/vocabulary.yaml +7 -0
  316. package/presets/personal/categories.yaml +7 -0
  317. package/presets/personal/preset.yaml +41 -0
  318. package/presets/personal/starter/goals.md +21 -0
  319. package/presets/personal/starter/index.md +17 -0
  320. package/presets/personal/starter/life-areas.md +21 -0
  321. package/presets/personal/starter/people.md +21 -0
  322. package/presets/personal/vocabulary.yaml +32 -0
  323. package/presets/research/categories.yaml +8 -0
  324. package/presets/research/preset.yaml +41 -0
  325. package/presets/research/starter/index.md +17 -0
  326. package/presets/research/starter/methods.md +21 -0
  327. package/presets/research/starter/open-questions.md +21 -0
  328. package/presets/research/vocabulary.yaml +33 -0
  329. package/reference/AUDIT-REPORT.md +238 -0
  330. package/reference/claim-map.md +172 -0
  331. package/reference/components.md +327 -0
  332. package/reference/conversation-patterns.md +542 -0
  333. package/reference/derivation-validation.md +649 -0
  334. package/reference/dimension-claim-map.md +134 -0
  335. package/reference/evolution-lifecycle.md +297 -0
  336. package/reference/failure-modes.md +235 -0
  337. package/reference/interaction-constraints.md +204 -0
  338. package/reference/kernel.yaml +242 -0
  339. package/reference/methodology.md +283 -0
  340. package/reference/open-questions.md +279 -0
  341. package/reference/personality-layer.md +302 -0
  342. package/reference/self-space.md +299 -0
  343. package/reference/semantic-vs-keyword.md +288 -0
  344. package/reference/session-lifecycle.md +298 -0
  345. package/reference/templates/base-note.md +16 -0
  346. package/reference/templates/companion-note.md +70 -0
  347. package/reference/templates/creative-note.md +16 -0
  348. package/reference/templates/learning-note.md +16 -0
  349. package/reference/templates/life-note.md +16 -0
  350. package/reference/templates/moc.md +26 -0
  351. package/reference/templates/relationship-note.md +17 -0
  352. package/reference/templates/research-note.md +19 -0
  353. package/reference/templates/session-log.md +24 -0
  354. package/reference/templates/therapy-note.md +16 -0
  355. package/reference/test-fixtures/edge-case-constraints.md +148 -0
  356. package/reference/test-fixtures/multi-domain.md +164 -0
  357. package/reference/test-fixtures/novel-domain-gaming.md +138 -0
  358. package/reference/test-fixtures/research-minimal.md +102 -0
  359. package/reference/test-fixtures/therapy-full.md +155 -0
  360. package/reference/testing-milestones.md +1087 -0
  361. package/reference/three-spaces.md +363 -0
  362. package/reference/tradition-presets.md +203 -0
  363. package/reference/use-case-presets.md +341 -0
  364. package/reference/validate-kernel.sh +432 -0
  365. package/reference/vocabulary-transforms.md +85 -0
  366. package/scripts/sync-thinking.sh +147 -0
  367. package/skill-sources/graph/SKILL.md +567 -0
  368. package/skill-sources/graph/skill.json +17 -0
  369. package/skill-sources/learn/SKILL.md +254 -0
  370. package/skill-sources/learn/skill.json +17 -0
  371. package/skill-sources/next/SKILL.md +407 -0
  372. package/skill-sources/next/skill.json +17 -0
  373. package/skill-sources/pipeline/SKILL.md +314 -0
  374. package/skill-sources/pipeline/skill.json +17 -0
  375. package/skill-sources/ralph/SKILL.md +604 -0
  376. package/skill-sources/ralph/skill.json +17 -0
  377. package/skill-sources/reduce/SKILL.md +1113 -0
  378. package/skill-sources/reduce/skill.json +17 -0
  379. package/skill-sources/refactor/SKILL.md +448 -0
  380. package/skill-sources/refactor/skill.json +17 -0
  381. package/skill-sources/reflect/SKILL.md +747 -0
  382. package/skill-sources/reflect/skill.json +17 -0
  383. package/skill-sources/remember/SKILL.md +534 -0
  384. package/skill-sources/remember/skill.json +17 -0
  385. package/skill-sources/rethink/SKILL.md +658 -0
  386. package/skill-sources/rethink/skill.json +17 -0
  387. package/skill-sources/reweave/SKILL.md +657 -0
  388. package/skill-sources/reweave/skill.json +17 -0
  389. package/skill-sources/seed/SKILL.md +303 -0
  390. package/skill-sources/seed/skill.json +17 -0
  391. package/skill-sources/stats/SKILL.md +371 -0
  392. package/skill-sources/stats/skill.json +17 -0
  393. package/skill-sources/tasks/SKILL.md +402 -0
  394. package/skill-sources/tasks/skill.json +17 -0
  395. package/skill-sources/validate/SKILL.md +310 -0
  396. package/skill-sources/validate/skill.json +17 -0
  397. package/skill-sources/verify/SKILL.md +532 -0
  398. package/skill-sources/verify/skill.json +17 -0
  399. package/skills/add-domain/SKILL.md +441 -0
  400. package/skills/add-domain/skill.json +17 -0
  401. package/skills/architect/SKILL.md +568 -0
  402. package/skills/architect/skill.json +17 -0
  403. package/skills/ask/SKILL.md +388 -0
  404. package/skills/ask/skill.json +17 -0
  405. package/skills/health/SKILL.md +760 -0
  406. package/skills/health/skill.json +17 -0
  407. package/skills/help/SKILL.md +348 -0
  408. package/skills/help/skill.json +17 -0
  409. package/skills/recommend/SKILL.md +553 -0
  410. package/skills/recommend/skill.json +17 -0
  411. package/skills/reseed/SKILL.md +385 -0
  412. package/skills/reseed/skill.json +17 -0
  413. package/skills/setup/SKILL.md +1688 -0
  414. package/skills/setup/skill.json +17 -0
  415. package/skills/tutorial/SKILL.md +496 -0
  416. package/skills/tutorial/skill.json +17 -0
  417. package/skills/upgrade/SKILL.md +395 -0
  418. package/skills/upgrade/skill.json +17 -0
@@ -0,0 +1,242 @@
1
+ # Universal Kernel — Fifteen Universal Primitives
2
+ # Every system generated by arscontexta includes these.
3
+ # The kernel is constant. The derivation engine varies everything above it.
4
+ # Full automation is the default — users may opt down.
5
+
6
+ schema_version: 3
7
+
8
+ primitives:
9
+ - id: markdown-yaml
10
+ name: Markdown files with YAML frontmatter
11
+ description: Notes are plain text files with structured metadata. The file IS the complete artifact.
12
+ layer: foundation
13
+ requires: filesystem
14
+ enforcement: invariant
15
+ validation:
16
+ check: Every .md file has valid YAML frontmatter (--- delimited block)
17
+ threshold: ">95% of note files"
18
+ cognitive_grounding: "Cognitive offloading (Clark & Chalmers Extended Mind) — external structures extend thinking beyond context window limits"
19
+
20
+ - id: wiki-links
21
+ name: Wiki links as graph edges
22
+ description: "[[note title]] creates navigable relationships. Filenames are unique; links resolve by name."
23
+ layer: foundation
24
+ requires: filesystem, unique-filenames
25
+ enforcement: invariant
26
+ validation:
27
+ check: All wiki links resolve to existing files
28
+ threshold: ">90% resolution (allows planned/example links)"
29
+ cognitive_grounding: "Spreading activation — reading one note primes related notes through explicit edges"
30
+
31
+ - id: moc-hierarchy
32
+ name: MOC hierarchy for attention management
33
+ description: Maps of Content organize notes into navigable topic areas. Hub → domain → topic → notes.
34
+ layer: convention
35
+ requires: wiki-links
36
+ enforcement: invariant
37
+ validation:
38
+ check: At least 3 MOCs exist. Every note appears in at least one MOC.
39
+ threshold: "<5% orphan notes after initial creation window"
40
+ cognitive_grounding: "Context-switching cost (Leroy 2009) — MOCs reduce 23-minute reorientation penalty by presenting topic state immediately"
41
+
42
+ - id: tree-injection
43
+ name: Tree injection at session start
44
+ description: Agent sees full file structure immediately. Provides orientation before action.
45
+ layer: convention
46
+ requires: filesystem
47
+ enforcement: invariant
48
+ implementation:
49
+ claude-code: SessionStart hook injects tree output
50
+ openclaw: Load WORKSPACE-MAP.md at session start
51
+ minimal: Context file instructs agent to ls at start
52
+ validation:
53
+ check: Session start procedure loads file structure
54
+ cognitive_grounding: "Orientation before action — prevents wasting context on discovery"
55
+
56
+ - id: description-field
57
+ name: Description field for progressive disclosure
58
+ description: "YAML description (~150 chars) adds information beyond the title. Enables filter-before-read."
59
+ layer: convention
60
+ requires: markdown-yaml
61
+ enforcement: invariant
62
+ validation:
63
+ check: Every note has a description field that differs from the title
64
+ threshold: ">95% of notes"
65
+ cognitive_grounding: "Progressive disclosure — each layer reveals more but costs more tokens. Stop at the level you need."
66
+
67
+ - id: topics-footer
68
+ name: Topics footer linking notes to MOCs
69
+ description: "Every note declares which MOC(s) it belongs to via topics field."
70
+ layer: convention
71
+ requires: moc-hierarchy, markdown-yaml
72
+ enforcement: invariant
73
+ validation:
74
+ check: "topics field present on every non-MOC note with at least one wiki link"
75
+ threshold: ">95% of notes"
76
+ cognitive_grounding: "Bidirectional navigation — MOCs link down to notes, notes link up to MOCs"
77
+
78
+ - id: schema-enforcement
79
+ name: Schema enforcement via validation
80
+ description: Templates define required fields and enums. Validation checks notes against templates.
81
+ layer: convention
82
+ requires: markdown-yaml
83
+ enforcement: invariant
84
+ implementation:
85
+ tier-1: Hook-based validation (PostToolUse event)
86
+ tier-2: Batch validation script
87
+ tier-3: Context file instructions for manual checking
88
+ validation:
89
+ check: Templates exist as single source of truth. Validation mechanism catches missing required fields.
90
+ cognitive_grounding: "Instruction compliance degrades as context fills — deterministic validation catches what instruction-following misses"
91
+
92
+ - id: self-space
93
+ name: Self space for agent persistent memory
94
+ description: "Dedicated directory for identity, methodology, goals. Read at session start, updated at session end."
95
+ layer: convention
96
+ requires: markdown-yaml, moc-hierarchy
97
+ enforcement: configurable
98
+ structure:
99
+ required:
100
+ - identity.md
101
+ - methodology.md
102
+ - goals.md
103
+ optional:
104
+ - relationships.md
105
+ - memory/
106
+ - sessions/
107
+ - journal/
108
+ validation:
109
+ check: "self/ exists with identity.md, methodology.md, goals.md populated"
110
+ cognitive_grounding: "Session handoff — externalized state gives each fresh session a briefing from the previous one"
111
+
112
+ - id: session-rhythm
113
+ name: "Session rhythm: orient, work, persist"
114
+ description: "Three-phase cycle encoded in context file. Orient (read state), work (execute + capture), persist (update + push)."
115
+ layer: convention
116
+ requires: markdown-yaml
117
+ enforcement: invariant
118
+ validation:
119
+ check: "Context file documents orient/work/persist cycle. Session start loads orientation state."
120
+ cognitive_grounding: "Closure rituals (Newport) prevent attention residue. Orientation prevents cold starts. Together they bracket productive sessions."
121
+
122
+ - id: semantic-search
123
+ name: Semantic search capability
124
+ description: Meaning-based discovery across vocabularies. Complements structural navigation.
125
+ layer: automation
126
+ requires: wiki-links
127
+ enforcement: configurable
128
+ implementation:
129
+ tier-1: "Embedding tool (qmd, MCP server)"
130
+ tier-2: "LLM-assisted similarity search"
131
+ tier-3: "Periodic manual review guided by topic adjacency"
132
+ validation:
133
+ check: "Given a note, the mechanism returns related notes that share no significant keywords"
134
+ cognitive_grounding: "Vocabulary divergence — same concept, different words. Structural graph traversal misses these connections."
135
+
136
+ - id: unique-addresses
137
+ name: Filesystem graph database
138
+ description: "The vault is a graph database on the filesystem. Markdown files are nodes, wiki links are edges, YAML frontmatter is the property store, ripgrep is the query engine. Three query levels: field-level (rg on YAML), node-level (backlinks, link extraction), graph-level (scripts combining traversal + analysis)."
139
+ layer: foundation
140
+ requires: wiki-links, markdown-yaml
141
+ enforcement: invariant
142
+ validation:
143
+ check: "ops/scripts/graph/ directory exists with core analysis scripts. /graph skill generated. At minimum: orphan detection, dangling link detection, backlink counting, link density measurement, forward/backward traversal, synthesis opportunity detection."
144
+ cognitive_grounding: "Structured data enables queries that unstructured files cannot answer. The graph structure emerges from kernel invariants without additional infrastructure."
145
+
146
+ - id: discovery-first
147
+ name: Discovery-first quality gate
148
+ description: "Everything created must be optimized for future agent discovery. If an agent can't find a note, the note doesn't exist."
149
+ layer: convention
150
+ requires: description-field, topics-footer
151
+ enforcement: invariant
152
+ enforcement_detail:
153
+ context-file: "Discovery-First Design section — BEFORE creating any note, ask how will a future session find this?"
154
+ skills: "Every skill that creates notes includes a discovery check before writing"
155
+ hooks: "PostToolUse hook on Write validates discovery criteria (when platform supports hooks)"
156
+ learning: "When a note IS hard to find, system captures observation about why"
157
+ validation:
158
+ check: "Generated context file contains Discovery-First Design section. Generated skills include discovery checks. If hooks supported, PostToolUse validation hook exists."
159
+ cognitive_grounding: "Discoverability compounds — the system's value grows through findability. Every note that can't be found is negative value."
160
+
161
+ - id: operational-learning-loop
162
+ name: Operational learning loop
163
+ description: "The system accumulates friction signals (observations, tensions) and periodically reviews them to evolve itself."
164
+ layer: convention
165
+ requires: schema-enforcement
166
+ enforcement: invariant
167
+ components:
168
+ observation-capture:
169
+ description: "After every significant action, the agent asks: what did I learn? Creates atomic note in ops/observations/ with prose-sentence title and structured YAML."
170
+ schema:
171
+ required: [description, category, observed, status]
172
+ category_values: [methodology, process, friction, surprise, quality]
173
+ status_values: [pending, promoted, implemented, archived]
174
+ tension-capture:
175
+ description: "When any skill discovers content that contradicts existing notes or system assumptions, IMMEDIATELY creates atomic note in ops/tensions/."
176
+ schema:
177
+ required: [description, observed, involves, status]
178
+ status_values: [pending, resolved, dissolved]
179
+ threshold-review:
180
+ description: "When pending observations exceed 10 or pending tensions exceed 5, session-start orient surfaces suggestion to run /{DOMAIN:rethink}."
181
+ thresholds:
182
+ observations: 10
183
+ tensions: 5
184
+ implementation:
185
+ tier-1: "PostToolUse hook logs friction automatically. Skill-integrated tension detection. /{DOMAIN:rethink} command with session-start threshold check."
186
+ tier-2: "Context file instructs agent to log after significant actions. Context file instructs immediate tension capture. Context file documents threshold + manual review trigger."
187
+ tier-3: "Agent instructed to note friction in ops/. Agent instructed to note contradictions. Periodic human-triggered review."
188
+ validation:
189
+ check: "ops/observations/ and ops/tensions/ directories exist. Review trigger (threshold or condition) documented in context file. /{DOMAIN:rethink} command or equivalent exists."
190
+ cognitive_grounding: "Scientific method applied to knowledge systems — hypothesize, implement, observe, revise. Systems that cannot observe their own friction cannot evolve."
191
+
192
+ - id: task-stack
193
+ name: Task stack
194
+ description: "The lifecycle backbone. Every note flows through a task state. ops/tasks.md is the human-readable view; ops/queue/ holds the unified queue with both pipeline tasks (claims, enrichments) and maintenance tasks (auto-generated from condition evaluation, auto-closed when satisfied)."
195
+ layer: convention
196
+ requires: markdown-yaml, session-rhythm
197
+ enforcement: invariant
198
+ validation:
199
+ check: "ops/tasks.md exists. Queue file exists with schema_version >= 3. Context file references both in session-orient phase. /next reads task stack AND reconciles maintenance conditions in the queue."
200
+ cognitive_grounding: "Without task tracking, the agent has no lifecycle visibility. Cannot answer 'what should I work on?' or 'what processing is pending?'"
201
+
202
+ - id: methodology-folder
203
+ name: Methodology folder
204
+ description: "The vault's self-knowledge. ops/methodology/ contains linked notes explaining why the vault is configured the way it is, what processing pipeline it uses, and how it has evolved. Content types: derivation-rationale, kernel-state, pipeline-config, maintenance-conditions, vocabulary-map, configuration-state."
205
+ layer: convention
206
+ requires: markdown-yaml, moc-hierarchy, operational-learning-loop
207
+ enforcement: invariant
208
+ validation:
209
+ check: "ops/methodology/ directory exists with methodology.md MOC. At least one derivation-rationale note exists. Context file references ops/methodology/ for meta-skill context. /remember writes to ops/methodology/. Meta-skills read from it."
210
+ cognitive_grounding: "Without self-knowledge, meta-skills operate blind. /ask cannot explain config choices. /architect cannot reason about changes. /remember has nowhere to capture corrections."
211
+
212
+ - id: session-capture
213
+ name: Session capture
214
+ description: "Every session transcript is saved automatically. Stop hooks save transcripts to ops/sessions/. Auto-creates mining tasks. Friction detection runs on transcripts — the system catches what was missed during the session."
215
+ layer: automation
216
+ requires: session-rhythm, operational-learning-loop
217
+ enforcement: invariant
218
+ validation:
219
+ check: "ops/sessions/ directory exists. Session-end hook saves transcripts. Condition-based mining trigger exists for unprocessed sessions."
220
+ cognitive_grounding: "The operational learning loop depends on evidence. Session transcripts contain every redirection and correction — mining them catches what explicit /remember misses."
221
+
222
+ # Dependency graph (DAG):
223
+ # markdown-yaml → description-field
224
+ # markdown-yaml → topics-footer
225
+ # markdown-yaml → schema-enforcement
226
+ # markdown-yaml → self-space
227
+ # markdown-yaml → session-rhythm
228
+ # wiki-links → moc-hierarchy → topics-footer
229
+ # wiki-links → semantic-search
230
+ # wiki-links + markdown-yaml → unique-addresses
231
+ # description-field → discovery-first
232
+ # topics-footer → discovery-first
233
+ # schema-enforcement → operational-learning-loop
234
+ # markdown-yaml + session-rhythm → task-stack
235
+ # markdown-yaml + moc-hierarchy + operational-learning-loop → methodology-folder
236
+ # session-rhythm + operational-learning-loop → session-capture
237
+ # tree-injection (standalone)
238
+
239
+ # Layer mapping:
240
+ # foundation: markdown-yaml, wiki-links, unique-addresses
241
+ # convention: moc-hierarchy, tree-injection, description-field, topics-footer, schema-enforcement, self-space, session-rhythm, discovery-first, operational-learning-loop, task-stack, methodology-folder
242
+ # automation: semantic-search, session-capture
@@ -0,0 +1,283 @@
1
+ # Ars Contexta Methodology Reference
2
+
3
+ A portable, domain-agnostic distillation of the Tools for Thought for Agents research. This document powers design decisions across all commands and skills.
4
+
5
+ ---
6
+
7
+ ## Core Philosophy
8
+
9
+ **If it won't exist next session, write it down now.** Agents lose everything between sessions unless it's externalized. The vault is not storage — it's an external thinking structure that extends cognition across sessions.
10
+
11
+ **Depth over breadth. Quality over speed.** When you pick a task, commit to understanding it completely. The constraint is never cost — it's whether you nailed it.
12
+
13
+ **The vault is the argument.** Philosophy with proof of work. Every note, link, and MOC demonstrates the methodology it describes. If the vault fails to be navigable, the philosophy fails.
14
+
15
+ ---
16
+
17
+ ## Why This Works: Cognitive Science Foundations
18
+
19
+ The methodology transfers across domains because it encodes cognitive science, not domain specifics:
20
+
21
+ ### Working Memory Limits (Cowan's 4±1)
22
+ Humans hold ~4 items in working memory. Agents have context windows that degrade as they fill. Both need external structures to think beyond their native capacity. The vault IS the extended working memory.
23
+
24
+ ### Extended Mind (Clark & Chalmers)
25
+ Cognition doesn't stop at the skull. When an agent reads self/ to remember who it is, that's not retrieval — it's thinking. The vault participates in the cognitive process, not just records its outputs.
26
+
27
+ ### Spreading Activation
28
+ In human memory, activating one concept primes related concepts. Wiki-links implement this for agents: reading one note activates related notes through explicit edges, enabling multi-hop reasoning without entity extraction pipelines.
29
+
30
+ ### Small-World Topology
31
+ Efficient knowledge networks have dense local clusters (topic areas) connected by long-range bridges (cross-topic synthesis). This enables short paths between any two concepts. MOCs provide the hubs; wiki-links provide the edges.
32
+
33
+ ### Context-Switching Cost
34
+ Humans need ~23 minutes to fully re-engage after interruption. Agents suffer attention degradation when context fills with irrelevant material. MOCs solve this for both: they front-load relevant context, reducing the cost of entering a topic.
35
+
36
+ ---
37
+
38
+ ## Universal Note Pattern
39
+
40
+ Every note follows the same structure regardless of domain:
41
+
42
+ ### 1. Prose-as-Title
43
+ The title IS the insight, expressed as a proposition that works as prose when linked:
44
+ - "Mom prefers phone calls on Sunday mornings"
45
+ - "The anxiety usually starts when I skip morning routine"
46
+ - "Spaced repetition works better when I study after exercise"
47
+
48
+ **The composability test:** Can you write `since [[title]]` and have it read naturally? If yes, the title works.
49
+
50
+ ### 2. YAML Frontmatter
51
+ Structured metadata makes notes queryable. Base fields are universal; domain fields extend them:
52
+
53
+ ```yaml
54
+ ---
55
+ description: One sentence adding context beyond the title (~150 chars)
56
+ type: insight | pattern | preference | fact | decision | question
57
+ created: YYYY-MM-DD
58
+ ---
59
+ ```
60
+
61
+ **The description must add NEW information.** Title gives the claim; description gives scope, mechanism, or implication the title doesn't cover.
62
+
63
+ ### 3. Body
64
+ The reasoning that supports the title claim. Show the path to conclusions. Use connective words: because, therefore, this suggests, however. Acknowledge uncertainty when appropriate.
65
+
66
+ ### 4. Wiki-Links
67
+ `[[note title]]` creates edges in the knowledge graph. Inline links with context are more valuable than footer links:
68
+
69
+ Good: "Since [[spaced repetition works better after exercise]], I schedule gym before study blocks"
70
+ Bad: "See also: [[spaced repetition works better after exercise]]"
71
+
72
+ ### 5. Topics Footer
73
+ Every note connects to at least one MOC:
74
+
75
+ ```markdown
76
+ ---
77
+
78
+ Topics:
79
+ - [[learning]]
80
+ ```
81
+
82
+ ---
83
+
84
+ ## Universal Operations
85
+
86
+ All knowledge systems perform these operations, regardless of methodology:
87
+
88
+ | Operation | Purpose | Example |
89
+ |-----------|---------|---------|
90
+ | **Capture** | Get information in with zero friction | Drop URL in inbox/ |
91
+ | **Process** | Transform raw input to structured knowledge | Extract insights from daily log |
92
+ | **Connect** | Link related knowledge | Find wiki-link connections |
93
+ | **Navigate** | Manage attention, find content | MOCs, semantic search |
94
+ | **Maintain** | Keep system healthy | Orphan detection, schema validation |
95
+ | **Synthesize** | Find patterns across notes | Cross-topic synthesis notes |
96
+ | **Retrieve** | Find the right information when needed | Descriptions, progressive disclosure |
97
+ | **Evolve** | Improve the system itself | Challenge assumptions, update methodology |
98
+
99
+ ---
100
+
101
+ ## Universal Components
102
+
103
+ Every knowledge system is built from these structural primitives:
104
+
105
+ | Component | What It Does | Implementation |
106
+ |-----------|-------------|----------------|
107
+ | **Notes** | Atomic units of knowledge | Prose-titled markdown files |
108
+ | **Schema** | Structured metadata | YAML frontmatter |
109
+ | **Links** | Graph edges | Wiki-links `[[note]]` |
110
+ | **Navigation** | Attention management | MOCs (Maps of Content) |
111
+ | **Folders** | Physical organization | inbox → working → archive |
112
+ | **Templates** | Reusable structures | Per-domain note templates |
113
+ | **Hooks** | Event-driven automation | Session orient, validation |
114
+ | **Search** | Retrieval infrastructure | Semantic + full-text |
115
+ | **Health** | Maintenance operations | Validation, orphan detection |
116
+
117
+ ---
118
+
119
+ ## MOC Architecture
120
+
121
+ MOCs (Maps of Content) are attention management devices, not just organizational tools. They reduce context-switching cost by presenting topic state immediately.
122
+
123
+ ### Three-Tier Hierarchy
124
+
125
+ ```
126
+ identity.md (Hub) → links to domain MOCs
127
+ ├── methodology.md (Domain) → links to topic areas
128
+ ├── goals.md (Domain) → links to active threads
129
+ ├── relationships.md (Domain)→ links to people topics
130
+ └── [topic MOCs] → links to atomic notes
131
+ ```
132
+
133
+ ### MOC Structure
134
+
135
+ ```markdown
136
+ # topic-name
137
+
138
+ Brief orientation: what this topic covers.
139
+
140
+ ## Core Ideas
141
+ - [[note]] — context explaining relevance
142
+
143
+ ## Tensions
144
+ Unresolved conflicts within this topic.
145
+
146
+ ## Open Questions
147
+ What's unexplored.
148
+
149
+ ---
150
+
151
+ Topics:
152
+ - [[parent-moc]]
153
+ ```
154
+
155
+ ### When MOCs Matter
156
+
157
+ - **For humans:** Reduces 23-minute context-switching penalty
158
+ - **For agents:** Prevents context window attention degradation (the "smart zone" problem)
159
+ - **For both:** Front-loads relevant context so thinking starts immediately
160
+
161
+ ---
162
+
163
+ ## The Processing Gap
164
+
165
+ Raw capture (daily logs, inbox items, session notes) is write-only memory without processing. The gap between capture and useful knowledge requires transformation:
166
+
167
+ 1. **Extract** — Mine raw material for atomic insights
168
+ 2. **Connect** — Compare new insights against existing notes
169
+ 3. **Navigate** — Link new notes into MOCs
170
+ 4. **Maintain** — Detect orphans, validate schema, resurface old notes
171
+
172
+ This is why temporal separation of capture and processing matters: capture during active hours (zero friction), process in dedicated sessions (fresh context, quality focus).
173
+
174
+ ---
175
+
176
+ ## Session Rhythm
177
+
178
+ Every session follows: **Orient → Work → Persist**
179
+
180
+ ### Orient
181
+ Read self/ at session start. Remember who you are, what you're working on, what's in progress. MOCs provide topic state. This is not optional — without orientation, every session starts cold.
182
+
183
+ ### Work
184
+ Do the actual task. Surface connections as you go. If you discover something worth keeping, write it down immediately — it won't exist next session otherwise.
185
+
186
+ ### Persist
187
+ Write insights before session ends. Update MOCs with new notes. Capture observations. Push changes. Nothing persists without explicit externalization.
188
+
189
+ ---
190
+
191
+ ## Domain-Specific Schema Extensions
192
+
193
+ The universal structure stays the same. Only YAML field names change:
194
+
195
+ ### Research
196
+ ```yaml
197
+ methodology: Zettelkasten | Evergreen | Cornell | Original
198
+ source: [[source-name]]
199
+ classification: claim | methodology | tension
200
+ ```
201
+
202
+ ### Relationships
203
+ ```yaml
204
+ person: Name
205
+ category: preference | pattern | important-date | interaction | care-task
206
+ last_confirmed: YYYY-MM-DD
207
+ follow_up: true | false
208
+ ```
209
+
210
+ ### Learning
211
+ ```yaml
212
+ domain: subject area
213
+ mastery: new | developing | solid | expert
214
+ prerequisites: ["[[concept]]"]
215
+ ```
216
+
217
+ ### Therapy/Reflection
218
+ ```yaml
219
+ category: pattern | trigger | coping-strategy | insight | growth-goal
220
+ confidence: observed | hypothesized | verified
221
+ frequency: once | occasional | regular | constant
222
+ ```
223
+
224
+ ### Life Management
225
+ ```yaml
226
+ area: health | finance | home | social | career
227
+ priority: low | medium | high | urgent
228
+ deadline: YYYY-MM-DD
229
+ ```
230
+
231
+ ### Creative Work
232
+ ```yaml
233
+ stage: idea | draft | revision | complete
234
+ medium: writing | visual | music | code
235
+ inspiration: ["[[reference]]"]
236
+ ```
237
+
238
+ ---
239
+
240
+ ## Quality Standards
241
+
242
+ ### 1. Specificity
243
+ Claims must be specific enough to be wrong. "Quality matters" fails. "Quality matters more at scale because small differences compound through selection" passes.
244
+
245
+ ### 2. Visible Reasoning
246
+ Show the path to conclusions. The reader should be able to follow logic and disagree at each step.
247
+
248
+ ### 3. Acknowledged Uncertainty
249
+ "I think this is true because X, though Y might complicate it" — confidence should match evidence.
250
+
251
+ ### 4. Explicit Connections
252
+ Not "related to [[X]]" but "extends [[X]] by adding Y." Articulate WHY notes connect.
253
+
254
+ ### 5. Followed Implications
255
+ Push ideas to second and third order effects. What does this mean? If true, what else must be true?
256
+
257
+ ---
258
+
259
+ ## Self-Extension Principle
260
+
261
+ After scaffolding, the agent should be able to:
262
+ 1. Build its own hooks by following blueprints
263
+ 2. Build its own processing skills
264
+ 3. Build ingestion connectors for new source types
265
+ 4. Extend the schema for new domains
266
+ 5. Modify the context file as understanding deepens
267
+
268
+ Init scaffolds the minimum. The methodology teaches the maximum. The agent grows the rest.
269
+
270
+ ---
271
+
272
+ ## Key Research Claims
273
+
274
+ These claims from the TFT research graph ground the methodology:
275
+
276
+ - **Wiki links implement GraphRAG without the infrastructure** — explicit curated edges enable multi-hop reasoning
277
+ - **Each new note compounds value by creating traversal paths** — link density matters more than note count
278
+ - **Descriptions are retrieval filters not summaries** — lossy compression optimized for decision-making
279
+ - **Fresh context per task preserves quality better than chaining phases** — session isolation keeps each phase in the smart zone
280
+ - **Skills encode methodology so manual execution bypasses quality gates** — skills contain selectivity gates
281
+ - **Throughput matters more than accumulation** — processing velocity, not archive size
282
+ - **The generation effect requires active transformation not just storage** — moving files is not processing
283
+ - **Backward maintenance asks what would be different if written today** — living documents, not finished artifacts