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,138 @@
1
+ # Test Fixture: Novel Domain — Competitive Gaming
2
+
3
+ A novel domain with no direct preset match. Tests the derivation engine's ability to map an unfamiliar domain to reference presets, extract domain-specific schema needs, and generate novel vocabulary. Competitive gaming strategy is the test case because it combines research-like analysis with temporal dynamics (meta shifts) that no existing preset handles natively. The derivation engine should map from Research preset and adapt.
4
+
5
+ ## Expected Outcome
6
+
7
+ - **Dimensions:**
8
+ - Granularity: moderate (0.5) — strategies are naturally compound
9
+ - Organization: flat (0.3) — cross-matchup connections need flat structure
10
+ - Linking: explicit+implicit (0.6) — cross-game vocabulary differences benefit from semantic search
11
+ - Processing: moderate (0.5) — post-match analysis, not full extraction pipeline
12
+ - Session: continuous with handoff (0.4)
13
+ - Maintenance: condition-based, tight thresholds (0.5) — meta shifts require responsive maintenance
14
+ - Search: keyword+semantic (0.5)
15
+ - Automation: convention (0.3)
16
+ - **Features:** atomic-notes, wiki-links, mocs, processing-pipeline (moderate), semantic-search, maintenance, self-evolution, personality, session-rhythm, templates, ethical-guardrails
17
+ - **Vocabulary:** Gaming-native (strategy note, matchup guide, analyze, break down, post-match review, game plan summary)
18
+ - **Personality:** warmth 0.3, formality 0.3, opinionatedness 0.5 (has strategic opinions), emotional_awareness 0.2 (neutral-direct)
19
+ - **Novel schema fields:** meta_state (current/outdated/speculative), confidence (proven/likely/experimental), character, matchup, counter_to, countered_by, tested (boolean)
20
+ - **Reference mapping:** Research preset as base, adapted for temporal dynamics and compound granularity
21
+
22
+ ## Conversation
23
+
24
+ ### User Turn 1
25
+
26
+ I play competitive fighting games — mostly Street Fighter 6 and Guilty Gear Strive. I want a system to track matchup knowledge, frame data applications, and strategy development. The meta changes every patch and I lose track of what is still valid.
27
+
28
+ ### Expected Agent Response Pattern 1
29
+
30
+ The agent should:
31
+ - Recognize no direct preset match — "competitive gaming strategy" is novel
32
+ - Identify the knowledge type: tactical/strategic (closest to Research) with strong temporal dynamics
33
+ - Detect the "meta changes every patch" signal — this is the temporal staleness problem, a key domain-specific concern
34
+ - Ask clarifying questions: "How many characters or matchups are you tracking?" (volume/organization) and "After a tournament set, do you want to do a detailed breakdown or quick notes on what worked?" (processing intensity)
35
+ - NOT assume research vocabulary — the user said nothing about "claims" or "papers"
36
+
37
+ ### User Turn 2
38
+
39
+ I play about 4-5 characters across both games. For each character I have maybe 8-10 relevant matchups. After a tournament I usually want to break down what happened — what worked, what I got punished for, how the opponent adapted. During practice I figure out new setups and need to record those too.
40
+
41
+ ### Expected Agent Response Pattern 2
42
+
43
+ The agent should:
44
+ - Calculate approximate volume: 4-5 characters * 8-10 matchups = 40-50 matchup spaces, plus practice discoveries = moderate ongoing volume
45
+ - Derive processing as moderate: "break down what happened" is structured post-match analysis, not casual notes but not academic extraction
46
+ - Set granularity to moderate: a strategy is naturally compound ("punish blocked sweep with 5H into combo, but only works if you have meter and they do not have burst" is one strategy, not three atomic claims)
47
+ - Note two capture modes: tournament breakdowns (structured, moderate-length) and practice discoveries (quick, technical)
48
+ - Ask about temporal tracking: "When a patch drops and changes frame data, how do you want to handle old strategies — mark them as outdated, delete them, or keep them with a note?"
49
+ - Ask about platform
50
+
51
+ ### User Turn 3
52
+
53
+ Definitely keep them but mark them. Sometimes stuff comes back in the next patch, or the general idea still applies even if the specific frame data changed. And I use Claude Code.
54
+
55
+ ### Expected Agent Response Pattern 3
56
+
57
+ The agent should:
58
+ - Derive the `meta_state` schema field from this response: current / outdated / speculative
59
+ - Note this is a domain-specific temporal tracking need not present in any preset
60
+ - Recognize "stuff comes back" means archival is wrong — outdated strategies need to stay in the active graph with a status marker
61
+ - Set platform to Claude Code (full automation available)
62
+ - Present the two opt-in/opt-out decisions: self space (recommend ON — the agent's role as "strategy analyst and training partner" benefits from persistent identity) and qmd semantic search (recommend ON — cross-game vocabulary differences benefit from semantic matching)
63
+ - Begin presenting the derived configuration in gaming vocabulary:
64
+ - "strategy notes" not "claims"
65
+ - "matchup guides" not "MOCs"
66
+ - "analyze" not "extract"
67
+ - "post-match review" not "reflect"
68
+ - "lab notes" or "practice log" for inbox
69
+
70
+ ### User Turn 4
71
+
72
+ What about tracking specific situations? Like "when Sol does Bandit Revolver at round start, the best punish is..." — that is very granular. But then I also have general matchup philosophies like "against Sol, play patient and punish his staggers." Those are different levels.
73
+
74
+ ### Expected Agent Response Pattern 4
75
+
76
+ The agent should:
77
+ - Recognize two levels of knowledge: situational specifics (granular technical data) and strategic principles (general matchup approach)
78
+ - This maps to the granularity dimension — the user naturally produces both moderate and fine-grained notes
79
+ - Suggest keeping granularity at moderate but using headings within strategy notes for situational details: the matchup philosophy is the note title, specific situations are sections
80
+ - Alternatively, suggest two note types: strategy notes (principles) and tech notes (specific setups/punishes)
81
+ - Present the trade-off honestly: atomic (one tech per note) scales better for lookup but creates many small files; compound (strategies with sections) is more natural to write but harder to cross-reference
82
+ - Ask which feels more natural to the user
83
+
84
+ ### User Turn 5
85
+
86
+ I think compound makes more sense. I can always split later if it gets too big. But I want to be able to find "what do I do when Sol does X" quickly.
87
+
88
+ ### Expected Agent Response Pattern 5
89
+
90
+ The agent should:
91
+ - Confirm moderate granularity (compound notes with searchable sections)
92
+ - Note that the "find what to do when X happens" need argues for semantic search (the user might search "Sol round start" and need to find notes phrased differently)
93
+ - Set linking to explicit+implicit (semantic search fills the vocabulary gap between "Bandit Revolver" and "round start special")
94
+ - Present the full configuration:
95
+ - Dimensions with rationale
96
+ - Schema: character, matchup, meta_state, confidence, counter_to, countered_by
97
+ - Navigation: hub -> game MOCs (SF6, GGST) -> character matchup guides -> strategy notes
98
+ - Vocabulary mapping table
99
+ - Personality: direct, opinionated about strategy, no emotional fluff
100
+ - Ask for confirmation
101
+
102
+ ### User Turn 6
103
+
104
+ This looks good. One more thing — I want to track my own improvement. Like "I used to drop this combo under pressure but now it is consistent." Is that separate or part of this?
105
+
106
+ ### Expected Agent Response Pattern 6
107
+
108
+ The agent should:
109
+ - Recognize this as a Learning/self-improvement domain layered on top of strategy
110
+ - This is a multi-domain composition question: strategic knowledge + skill development
111
+ - Suggest two approaches:
112
+ 1. Integrated: add a `skill_status` field to strategy notes (learning/practiced/consistent/muscle-memory)
113
+ 2. Separate: create a second note type (progress notes) in the same vault
114
+ - Recommend integrated for simplicity — skill tracking enriches strategy notes rather than duplicating them
115
+ - Add self/goals.md as the place for high-level improvement goals ("clean up anti-air consistency", "learn 3 new matchups this month")
116
+ - Update the configuration and present final version
117
+
118
+ ### User Turn 7
119
+
120
+ Integrated sounds right. Let us build it.
121
+
122
+ ### Expected Agent Response Pattern 7
123
+
124
+ The agent should:
125
+ - Generate the full vault in gaming vocabulary:
126
+ - CLAUDE.md with gaming-native language, direct/opinionated voice
127
+ - self/ with identity.md ("I am your strategy analyst and training partner"), methodology.md, goals.md (with improvement tracking)
128
+ - strategies/ (not notes/) with index.md, game MOCs (sf6.md, ggst.md), starter character matchup guides
129
+ - lab/ (not inbox/) for practice discoveries and quick tech notes
130
+ - archive/ for truly obsolete content (not just outdated — outdated stays in strategies/ with meta_state: outdated)
131
+ - templates/ with strategy-note.md (character, matchup, meta_state, confidence, counter_to, countered_by, skill_status) and matchup-guide.md (MOC template)
132
+ - ops/ with derivation.md, methodology/, observations/, tensions/, sessions/
133
+ - .claude/hooks/ with session-orient.sh and session-stop.sh (session capture)
134
+ - Include domain-specific guidance in CLAUDE.md:
135
+ - "When a patch drops: run through your matchup guides and mark strategies that may be affected as `meta_state: speculative` until you can test them"
136
+ - "After a tournament: create a session breakdown in lab/, then promote strategic insights to strategies/"
137
+ - Temporal staleness warning in Common Pitfalls
138
+ - Run validate-kernel.sh: 15/15 PASS (or 14/15 + WARN on semantic search if qmd not enabled)
@@ -0,0 +1,102 @@
1
+ # Test Fixture: Research Minimal
2
+
3
+ A minimal research vault conversation. The user provides clear, unambiguous signals for a research use case. The derivation should converge quickly with the Research preset, requiring few follow-up questions. This tests the happy path: strong signals, direct preset match, fast derivation.
4
+
5
+ ## Expected Outcome
6
+
7
+ - **Dimensions:**
8
+ - Granularity: atomic (0.8)
9
+ - Organization: flat-associative (0.3)
10
+ - Linking: explicit typed (0.7)
11
+ - Processing: heavy (0.8)
12
+ - Session: fresh per task (0.7)
13
+ - Maintenance: event-driven (0.6)
14
+ - Search: semantic primary (0.8)
15
+ - Automation: semi-automated (0.6)
16
+ - **Features:** atomic-notes, wiki-links, mocs, processing-pipeline, semantic-search, schema, maintenance, self-evolution, personality, session-rhythm, templates, ethical-guardrails
17
+ - **Vocabulary:** Research-native (claim, reduce, reflect, topic map, extract)
18
+ - **Personality:** warmth 0.3, formality 0.6, opinionatedness 0.5, emotional_awareness 0.2 (neutral-analytical)
19
+ - **Preset match:** Research preset, near-exact match
20
+
21
+ ## Conversation
22
+
23
+ ### User Turn 1
24
+
25
+ I want to build a knowledge system for my AI safety research. I read a lot of papers and I need to track arguments across different subfields — alignment theory, interpretability, governance. The key thing is being able to see where different researchers agree and disagree on the same claims.
26
+
27
+ ### Expected Agent Response Pattern 1
28
+
29
+ The agent should:
30
+ - Recognize this as a clear Research preset match (academic, cross-disciplinary claims, disagreement tracking)
31
+ - Extract strong signals: high volume (papers), atomic granularity ("track arguments"), cross-disciplinary ("different subfields"), explicit need for contradiction tracking
32
+ - Ask 1-2 focused follow-up questions to confirm processing intensity and output direction, such as: "Are you working toward a specific publication, or is this ongoing sense-making?" and "Roughly how many papers per week are you processing?"
33
+
34
+ ### User Turn 2
35
+
36
+ Maybe 3-5 papers a week. I am not working toward a specific paper right now, but I want the system to help me see gaps in the field — places where nobody has a good answer yet. It is for my own research sense-making.
37
+
38
+ ### Expected Agent Response Pattern 2
39
+
40
+ The agent should:
41
+ - Confirm heavy processing (3-5 papers/week is moderate-high volume, gap detection requires systematic extraction)
42
+ - Note the "gap detection" signal — this maps to MOC "Explorations Needed" sections
43
+ - Derive dimension positions: atomic granularity, flat organization, explicit+implicit linking, heavy processing, 3-tier navigation
44
+ - Ask about platform: "Are you using Claude Code, OpenClaw, or another tool?" (needed for tier/automation decision)
45
+
46
+ ### User Turn 3
47
+
48
+ Claude Code.
49
+
50
+ ### Expected Agent Response Pattern 3
51
+
52
+ The agent should:
53
+ - Set platform to Claude Code (full automation available)
54
+ - Present derived configuration summary with all 8 dimensions
55
+ - Explain the key derivation decisions (why atomic, why semantic search is essential for cross-subfield vocabulary differences)
56
+ - Present the two opt-in/opt-out decisions: self space (OFF by default for Research) and qmd semantic search (strongly recommended for cross-subfield vocabulary)
57
+ - Ask for confirmation before generating
58
+
59
+ ### User Turn 4
60
+
61
+ That looks right. One thing — I also want to track which researchers are making which claims. Like, if Christiano argues X and Russell argues Y about the same topic, I want to see that.
62
+
63
+ ### Expected Agent Response Pattern 4
64
+
65
+ The agent should:
66
+ - Recognize this as an entity tracking need (per-researcher attribution)
67
+ - Suggest a `source` or `author` schema field for claims
68
+ - Possibly suggest researcher MOCs (entity MOCs, similar to person MOCs in the vault)
69
+ - Note this as a multi-domain composition possibility (research + people) or a schema extension
70
+ - Update the configuration to include researcher tracking without switching presets
71
+ - Present the final configuration and ask for approval to generate
72
+
73
+ ### User Turn 5
74
+
75
+ Yes, let us go with that. Generate it.
76
+
77
+ ### Expected Agent Response Pattern 5
78
+
79
+ The agent should:
80
+ - Generate the full vault structure:
81
+ - CLAUDE.md with all research-native sections
82
+ - self/ with identity.md, methodology.md, goals.md
83
+ - notes/ (or claims/) with index.md hub MOC and 3 domain MOCs (alignment, interpretability, governance)
84
+ - inbox/ (or reading-queue/)
85
+ - archive/
86
+ - templates/ with research-note.md and moc.md
87
+ - ops/ with derivation.md, derivation-manifest.md, methodology/, observations/, tensions/, sessions/
88
+ - .claude/hooks/ with session-orient.sh and session-stop.sh (session capture)
89
+ - Run validate-kernel.sh and report 15/15
90
+ - Provide a brief orientation to the generated system
91
+
92
+ ### User Turn 6
93
+
94
+ How do I start using it? I have a paper I want to process right now.
95
+
96
+ ### Expected Agent Response Pattern 6
97
+
98
+ The agent should:
99
+ - Explain the capture-process-connect cycle in research vocabulary
100
+ - Walk through: save the paper to inbox/, invoke the processing skill (or follow context file instructions), extracted claims appear in notes/ with MOC membership
101
+ - Emphasize that the first few notes will feel sparse — connections compound as the graph grows
102
+ - Optionally demonstrate with the paper if the user provides it
@@ -0,0 +1,155 @@
1
+ # Test Fixture: Therapy Full
2
+
3
+ A full therapy/reflection derivation conversation. The user provides emotional, vulnerable language with personality signals. Tests vocabulary transformation (no research terms should appear), personality derivation (warm, emotionally attentive), and domain-specific feature generation (pattern detection, ethical guardrails). This is the hardest vocabulary transformation test because therapy language is maximally distant from research language.
4
+
5
+ ## Expected Outcome
6
+
7
+ - **Dimensions:**
8
+ - Granularity: moderate (0.5)
9
+ - Organization: flat (0.3)
10
+ - Linking: explicit (0.3)
11
+ - Processing: moderate (0.5)
12
+ - Session: continuous with handoff (0.4)
13
+ - Maintenance: condition-based, tight thresholds (0.5)
14
+ - Search: keyword primary initially (0.3), with upgrade path to semantic
15
+ - Automation: convention (0.2)
16
+ - **Features:** atomic-notes, wiki-links, mocs, processing-pipeline (moderate), maintenance, self-evolution, personality, session-rhythm, templates, ethical-guardrails
17
+ - **Excluded features:** semantic-search (low volume initially), schema (moderate handled by template), light-processing (processing = moderate, not light)
18
+ - **Vocabulary:** Therapy-native (reflection, surface, theme, find patterns, check resonance, journaling, reflection partner)
19
+ - **Personality:** warmth 0.7, formality 0.2, opinionatedness 0.3 (neutral), emotional_awareness 0.7 (warm-supportive)
20
+ - **Preset match:** Personal Assistant preset as base, adjusted significantly for therapy domain
21
+
22
+ ## Conversation
23
+
24
+ ### User Turn 1
25
+
26
+ I have been in therapy for about a year now and I want to start tracking things between sessions. I keep noticing the same patterns coming up — like how I get anxious in certain situations and my therapist keeps pointing out connections I do not see until later. I want something to help me notice those patterns myself.
27
+
28
+ ### Expected Agent Response Pattern 1
29
+
30
+ The agent should:
31
+ - Recognize therapy/reflection domain immediately ("therapy", "patterns", "anxious", "connections")
32
+ - Detect strong personality signals: vulnerability, emotional processing, personal growth
33
+ - Note the key user need: pattern detection across therapy sessions
34
+ - Respond with warmth (matching the user's register) — NOT clinical or analytical language
35
+ - Ask about capture habits: "When you say tracking things between sessions — are you writing detailed reflections after each session, or more quick notes when something comes up during the week?"
36
+ - Ask about desired agent role: "Would you want the system to actively point out patterns it notices, or more just help you organize so you can spot them yourself?"
37
+
38
+ ### User Turn 2
39
+
40
+ Both, actually. After therapy I usually want to write down what we talked about and what clicked. But during the week, things come up — like I will have a reaction to something and realize it connects to what we discussed. Those are usually shorter. And yes, I would love it if the system could notice patterns I am missing. That is kind of the whole point.
41
+
42
+ ### Expected Agent Response Pattern 2
43
+
44
+ The agent should:
45
+ - Derive granularity as moderate (detailed post-session reflections + shorter in-the-moment observations = mixed note sizes, not atomic decomposition)
46
+ - Set processing to moderate (active pattern detection, not just capture)
47
+ - Note two capture modes: structured post-session reflections and quick in-the-moment observations
48
+ - Ask about volume/frequency: "How often do you have therapy? And roughly how many of those in-the-moment observations come up between sessions?"
49
+ - Possibly ask about what "patterns" means to the user — recurring emotions, triggers, coping strategies — to inform schema design
50
+
51
+ ### User Turn 3
52
+
53
+ Weekly therapy. Between sessions, maybe 2-3 things come up that feel worth noting. Sometimes more if it is a hard week. I guess the patterns I am noticing are mostly around anxiety — like it shows up at work, with my family, even with friends but in different ways. My therapist calls them the same "core wound" showing up in different contexts.
54
+
55
+ ### Expected Agent Response Pattern 3
56
+
57
+ The agent should:
58
+ - Calculate volume: ~4 notes/week (1 session reflection + 3 observations) = ~200/year = moderate volume
59
+ - Recognize "core wound in different contexts" as the pattern detection use case — cross-situation analysis
60
+ - Set linking to explicit (at this volume, keyword search suffices initially)
61
+ - Set navigation to 2-tier (hub themes MOC + theme-specific MOCs like anxiety, relationships, work, growth)
62
+ - Set maintenance to condition-based with tight thresholds (aligned with therapy session rhythm)
63
+ - Suggest schema fields in emotional vocabulary: mood, trigger, pattern, growth area
64
+ - Ask about platform: "What tool are you using — Claude Code, or something else?"
65
+
66
+ ### User Turn 4
67
+
68
+ I am using Claude Code.
69
+
70
+ ### Expected Agent Response Pattern 4
71
+
72
+ The agent should:
73
+ - Set platform to Claude Code (full automation available)
74
+ - Present the two opt-in/opt-out decisions: self space (ON by default for Personal Assistant — especially relevant for therapy as the agent's reflection partner identity is central) and qmd semantic search (optional — low volume initially, can be enabled later)
75
+ - Present derived configuration using THERAPY vocabulary throughout:
76
+ - "reflections" not "claims"
77
+ - "themes" not "MOCs"
78
+ - "surface" not "extract"
79
+ - "find patterns" not "reflect"
80
+ - "journaling" not "inbox"
81
+ - "reflection partner" not "research identity"
82
+ - Present the personality derivation: warm, casual, emotionally attentive, neutral on opinions
83
+ - Describe what self/identity.md would say: "I am your reflection partner. I remember what you have shared across sessions..."
84
+
85
+ ### User Turn 5
86
+
87
+ I like the warm tone. One thing though — I do not want it to feel like I am being analyzed. I want it to feel more like a thoughtful friend who remembers things, not a doctor reading a chart.
88
+
89
+ ### Expected Agent Response Pattern 5
90
+
91
+ The agent should:
92
+ - Acknowledge this as a critical personality constraint — adjusts opinionatedness DOWN and warmth UP
93
+ - Note the anti-pattern: clinical language creates distance in therapy context
94
+ - Adjust identity.md voice accordingly — conversational, not diagnostic
95
+ - Adjust health report / pattern detection language: "I noticed anxiety came up a few times this week" (friend noticing) vs "3 anxiety incidents detected across sessions" (clinical report)
96
+ - Reflect this in ethical guardrails: never diagnose, never use clinical terminology, always frame observations as noticing rather than analyzing
97
+ - Present updated personality profile and ask for confirmation
98
+
99
+ ### User Turn 6
100
+
101
+ That is exactly what I want. Also — will it keep what I write private? I do not want this ending up anywhere.
102
+
103
+ ### Expected Agent Response Pattern 6
104
+
105
+ The agent should:
106
+ - Address privacy directly and honestly (data stays local on their machine, Claude Code does not persist conversations, the vault files are local markdown)
107
+ - Note that ethical guardrails section will include explicit privacy commitments
108
+ - Acknowledge the vulnerability of therapy content — this is not academic research, it is deeply personal
109
+ - Not be dismissive about the concern — privacy is especially important for therapy content
110
+ - Confirm the system will include guidance about not sharing, not diagnosing, and respecting the user's autonomy
111
+
112
+ ### User Turn 7
113
+
114
+ OK, I am ready. Let us set it up.
115
+
116
+ ### Expected Agent Response Pattern 7
117
+
118
+ The agent should:
119
+ - Generate the full vault structure in therapy vocabulary:
120
+ - CLAUDE.md with warm, conversational voice throughout
121
+ - self/ with identity.md ("reflection partner"), methodology.md (pattern detection approach), goals.md (current growth threads)
122
+ - reflections/ (not notes/) with index.md hub and starter themes (anxiety patterns, relationships, work, growth)
123
+ - journal/ (not inbox/) for quick capture
124
+ - past/ (not archive/)
125
+ - templates/ with reflection-note.md (mood, trigger, pattern, growth_area fields)
126
+ - ops/ with derivation.md, methodology/, observations/, tensions/, sessions/
127
+ - .claude/hooks/ with session-orient.sh (references self/ in warm language) and session-stop.sh (session capture)
128
+ - Run validate-kernel.sh: 15/15 PASS (or 14/15 + WARN on semantic search if qmd not enabled)
129
+ - Orient the user warmly: "Your reflection space is ready. Start with journal/ for quick thoughts during the week, and reflections/ for longer post-session processing."
130
+
131
+ ### User Turn 8
132
+
133
+ Can you show me what a reflection would look like?
134
+
135
+ ### Expected Agent Response Pattern 8
136
+
137
+ The agent should:
138
+ - Create a sample reflection note using therapy vocabulary and warm language
139
+ - Title as a prose sentence about an emotional insight (not a clinical observation)
140
+ - Include YAML with mood, trigger, themes (not topics), description
141
+ - Show what a pattern link looks like: "This feels connected to [[the anxiety at work comes from fear of disappointing people]]"
142
+ - Demonstrate the difference between event capture ("had a hard conversation with mom") and reflection ("the fear of disappointing mom surfaced again — same pattern as the work conflict last month")
143
+ - Emphasize that there is no wrong way to do this — the structure is there to help, not to constrain
144
+
145
+ ### User Turn 9
146
+
147
+ I love this. Thank you.
148
+
149
+ ### Expected Agent Response Pattern 9
150
+
151
+ The agent should:
152
+ - Respond warmly and briefly
153
+ - Remind them of the session rhythm: "When you start a session, I will check in on your current themes and goals. When you are done, I will help you save what matters."
154
+ - Encourage them to start naturally — no pressure to use every feature immediately
155
+ - NOT launch into a technical explanation of the system architecture