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.
- package/.claude-plugin/marketplace.json +11 -0
- package/.claude-plugin/plugin.json +22 -0
- package/README.md +683 -0
- package/agents/knowledge-guide.md +49 -0
- package/bin/cli.mjs +66 -0
- package/generators/agents-md.md +240 -0
- package/generators/claude-md.md +379 -0
- package/generators/features/atomic-notes.md +124 -0
- package/generators/features/ethical-guardrails.md +58 -0
- package/generators/features/graph-analysis.md +188 -0
- package/generators/features/helper-functions.md +92 -0
- package/generators/features/maintenance.md +164 -0
- package/generators/features/methodology-knowledge.md +70 -0
- package/generators/features/mocs.md +144 -0
- package/generators/features/multi-domain.md +61 -0
- package/generators/features/personality.md +71 -0
- package/generators/features/processing-pipeline.md +428 -0
- package/generators/features/schema.md +149 -0
- package/generators/features/self-evolution.md +229 -0
- package/generators/features/self-space.md +78 -0
- package/generators/features/semantic-search.md +99 -0
- package/generators/features/session-rhythm.md +85 -0
- package/generators/features/templates.md +85 -0
- package/generators/features/wiki-links.md +88 -0
- package/generators/soul-md.md +121 -0
- package/hooks/hooks.json +45 -0
- package/hooks/scripts/auto-commit.sh +44 -0
- package/hooks/scripts/session-capture.sh +35 -0
- package/hooks/scripts/session-orient.sh +86 -0
- package/hooks/scripts/write-validate.sh +42 -0
- package/methodology/AI shifts knowledge systems from externalizing memory to externalizing attention.md +59 -0
- package/methodology/BM25 retrieval fails on full-length descriptions because query term dilution reduces match scores.md +39 -0
- package/methodology/IBIS framework maps claim-based architecture to structured argumentation.md +58 -0
- package/methodology/LLM attention degrades as context fills.md +49 -0
- package/methodology/MOC construction forces synthesis that automated generation from metadata cannot replicate.md +49 -0
- package/methodology/MOC maintenance investment compounds because orientation savings multiply across every future session.md +41 -0
- package/methodology/MOCs are attention management devices not just organizational tools.md +51 -0
- package/methodology/PKM failure follows a predictable cycle.md +50 -0
- package/methodology/ThreadMode to DocumentMode transformation is the core value creation step.md +52 -0
- package/methodology/WIP limits force processing over accumulation.md +53 -0
- package/methodology/Zeigarnik effect validates capture-first philosophy because open loops drain attention.md +42 -0
- package/methodology/academic research uses structured extraction with cross-source synthesis.md +566 -0
- package/methodology/adapt the four-phase processing pipeline to domain-specific throughput needs.md +197 -0
- package/methodology/agent notes externalize navigation intuition that search cannot discover and traversal cannot reconstruct.md +48 -0
- package/methodology/agent self-memory should be architecturally separate from user knowledge systems.md +48 -0
- package/methodology/agent session boundaries create natural automation checkpoints that human-operated systems lack.md +56 -0
- package/methodology/agent-cognition.md +107 -0
- package/methodology/agents are simultaneously methodology executors and subjects creating a unique trust asymmetry.md +66 -0
- package/methodology/aspect-oriented programming solved the same cross-cutting concern problem that hooks solve.md +39 -0
- package/methodology/associative ontologies beat hierarchical taxonomies because heterarchy adapts while hierarchy brittles.md +53 -0
- package/methodology/attention residue may have a minimum granularity that cannot be subdivided.md +46 -0
- package/methodology/auto-commit hooks eliminate prospective memory failures by converting remember-to-act into guaranteed execution.md +47 -0
- package/methodology/automated detection is always safe because it only reads state while automated remediation risks content corruption.md +42 -0
- package/methodology/automation should be retired when its false positive rate exceeds its true positive rate or it catches zero issues.md +56 -0
- package/methodology/backlinks implicitly define notes by revealing usage context.md +35 -0
- package/methodology/backward maintenance asks what would be different if written today.md +62 -0
- package/methodology/balance onboarding enforcement and questions to prevent premature complexity.md +229 -0
- package/methodology/basic level categorization determines optimal MOC granularity.md +51 -0
- package/methodology/batching by context similarity reduces switching costs in agent processing.md +43 -0
- package/methodology/behavioral anti-patterns matter more than tool selection.md +42 -0
- package/methodology/betweenness centrality identifies bridge notes connecting disparate knowledge domains.md +57 -0
- package/methodology/blueprints that teach construction outperform downloads that provide pre-built code for platform-dependent modules.md +42 -0
- package/methodology/bootstrapping principle enables self-improving systems.md +62 -0
- package/methodology/build automatic memory through cognitive offloading and session handoffs.md +285 -0
- package/methodology/capture the reaction to content not just the content itself.md +41 -0
- package/methodology/claims must be specific enough to be wrong.md +36 -0
- package/methodology/closure rituals create clean breaks that prevent attention residue bleed.md +44 -0
- package/methodology/cognitive offloading is the architectural foundation for vault design.md +46 -0
- package/methodology/cognitive outsourcing risk in agent-operated systems.md +55 -0
- package/methodology/coherence maintains consistency despite inconsistent inputs.md +96 -0
- package/methodology/coherent architecture emerges from wiki links spreading activation and small-world topology.md +48 -0
- package/methodology/community detection algorithms can inform when MOCs should split or merge.md +52 -0
- package/methodology/complete navigation requires four complementary types that no single mechanism provides.md +43 -0
- package/methodology/complex systems evolve from simple working systems.md +59 -0
- package/methodology/composable knowledge architecture builds systems from independent toggleable modules not monolithic templates.md +61 -0
- package/methodology/compose multi-domain systems through separate templates and shared graph.md +372 -0
- package/methodology/concept-orientation beats source-orientation for cross-domain connections.md +51 -0
- package/methodology/confidence thresholds gate automated action between the mechanical and judgment zones.md +50 -0
- package/methodology/configuration dimensions interact so choices in one create pressure on others.md +58 -0
- package/methodology/configuration paralysis emerges when derivation surfaces too many decisions.md +44 -0
- package/methodology/context files function as agent operating systems through self-referential self-extension.md +46 -0
- package/methodology/context phrase clarity determines how deep a navigation hierarchy can scale.md +46 -0
- package/methodology/continuous small-batch processing eliminates review dread.md +48 -0
- package/methodology/controlled disorder engineers serendipity through semantic rather than topical linking.md +51 -0
- package/methodology/creative writing uses worldbuilding consistency with character tracking.md +672 -0
- package/methodology/cross-links between MOC territories indicate creative leaps and integration depth.md +43 -0
- package/methodology/dangling links reveal which notes want to exist.md +62 -0
- package/methodology/data exit velocity measures how quickly content escapes vendor lock-in.md +74 -0
- package/methodology/decontextualization risk means atomicity may strip meaning that cannot be recovered.md +48 -0
- package/methodology/dense interlinked research claims enable derivation while sparse references only enable templating.md +47 -0
- package/methodology/dependency resolution through topological sort makes module composition transparent and verifiable.md +56 -0
- package/methodology/derivation generates knowledge systems from composable research claims not template customization.md +63 -0
- package/methodology/derivation-engine.md +27 -0
- package/methodology/derived systems follow a seed-evolve-reseed lifecycle.md +56 -0
- package/methodology/description quality for humans diverges from description quality for keyword search.md +73 -0
- package/methodology/descriptions are retrieval filters not summaries.md +112 -0
- package/methodology/design MOCs as attention management devices with lifecycle governance.md +318 -0
- package/methodology/design-dimensions.md +66 -0
- package/methodology/digital mutability enables note evolution that physical permanence forbids.md +54 -0
- package/methodology/discovery-retrieval.md +48 -0
- package/methodology/distinctiveness scoring treats description quality as measurable.md +69 -0
- package/methodology/does agent processing recover what fast capture loses.md +43 -0
- package/methodology/domain-compositions.md +37 -0
- package/methodology/dual-coding with visual elements could enhance agent traversal.md +55 -0
- package/methodology/each module must be describable in one sentence under 200 characters or it does too many things.md +45 -0
- package/methodology/each new note compounds value by creating traversal paths.md +55 -0
- package/methodology/eight configuration dimensions parameterize the space of possible knowledge systems.md +56 -0
- package/methodology/elaborative encoding is the quality gate for new notes.md +55 -0
- package/methodology/enforce schema with graduated strictness across capture processing and query zones.md +221 -0
- package/methodology/enforcing atomicity can create paralysis when ideas resist decomposition.md +43 -0
- package/methodology/engineering uses technical decision tracking with architectural memory.md +766 -0
- package/methodology/every knowledge domain shares a four-phase processing skeleton that diverges only in the process step.md +53 -0
- package/methodology/evolution observations provide actionable signals for system adaptation.md +67 -0
- package/methodology/external memory shapes cognition more than base model.md +60 -0
- package/methodology/faceted classification treats notes as multi-dimensional objects rather than folder contents.md +65 -0
- package/methodology/failure-modes.md +27 -0
- package/methodology/false universalism applies same processing logic regardless of domain.md +49 -0
- package/methodology/federated wiki pattern enables multi-agent divergence as feature not bug.md +59 -0
- package/methodology/flat files break at retrieval scale.md +75 -0
- package/methodology/forced engagement produces weak connections.md +48 -0
- package/methodology/four abstraction layers separate platform-agnostic from platform-dependent knowledge system features.md +47 -0
- package/methodology/fresh context per task preserves quality better than chaining phases.md +44 -0
- package/methodology/friction reveals architecture.md +63 -0
- package/methodology/friction-driven module adoption prevents configuration debt by adding complexity only at pain points.md +48 -0
- package/methodology/gardening cycle implements tend prune fertilize operations.md +41 -0
- package/methodology/generation effect gate blocks processing without transformation.md +40 -0
- package/methodology/goal-driven memory orchestration enables autonomous domain learning through directed compute allocation.md +41 -0
- package/methodology/good descriptions layer heuristic then mechanism then implication.md +57 -0
- package/methodology/graph-structure.md +65 -0
- package/methodology/guided notes might outperform post-hoc structuring for high-volume capture.md +37 -0
- package/methodology/health wellness uses symptom-trigger correlation with multi-dimensional tracking.md +819 -0
- package/methodology/hook composition creates emergent methodology from independent single-concern components.md +47 -0
- package/methodology/hook enforcement guarantees quality while instruction enforcement merely suggests it.md +51 -0
- package/methodology/hook-driven learning loops create self-improving methodology through observation accumulation.md +62 -0
- package/methodology/hooks are the agent habit system that replaces the missing basal ganglia.md +40 -0
- package/methodology/hooks cannot replace genuine cognitive engagement yet more automation is always tempting.md +87 -0
- package/methodology/hooks enable context window efficiency by delegating deterministic checks to external processes.md +47 -0
- package/methodology/idempotent maintenance operations are safe to automate because running them twice produces the same result as running them once.md +44 -0
- package/methodology/implement condition-based maintenance triggers for derived systems.md +255 -0
- package/methodology/implicit dependencies create distributed monoliths that fail silently across configurations.md +58 -0
- package/methodology/implicit knowledge emerges from traversal.md +55 -0
- package/methodology/incremental formalization happens through repeated touching of old notes.md +60 -0
- package/methodology/incremental reading enables cross-source connection finding.md +39 -0
- package/methodology/index.md +32 -0
- package/methodology/inline links carry richer relationship data than metadata fields.md +91 -0
- package/methodology/insight accretion differs from productivity in knowledge systems.md +41 -0
- package/methodology/intermediate packets enable assembly over creation.md +52 -0
- package/methodology/intermediate representation pattern enables reliable vault operations beyond regex.md +62 -0
- package/methodology/justification chains enable forward backward and evolution reasoning about configuration decisions.md +46 -0
- package/methodology/knowledge system architecture is parameterized by platform capabilities not fixed by methodology.md +51 -0
- package/methodology/knowledge systems become communication partners through complexity and memory humans cannot sustain.md +47 -0
- package/methodology/knowledge systems share universal operations and structural components across all methodology traditions.md +46 -0
- package/methodology/legal case management uses precedent chains with regulatory change propagation.md +892 -0
- package/methodology/live index via periodic regeneration keeps discovery current.md +58 -0
- package/methodology/local-first file formats are inherently agent-native.md +69 -0
- package/methodology/logic column pattern separates reasoning from procedure.md +35 -0
- package/methodology/maintenance operations are more universal than creative pipelines because structural health is domain-invariant.md +47 -0
- package/methodology/maintenance scheduling frequency should match consequence speed not detection capability.md +50 -0
- package/methodology/maintenance targeting should prioritize mechanism and theory notes.md +26 -0
- package/methodology/maintenance-patterns.md +72 -0
- package/methodology/markdown plus YAML plus ripgrep implements a queryable graph database without infrastructure.md +55 -0
- package/methodology/maturity field enables agent context prioritization.md +33 -0
- package/methodology/memory-architecture.md +27 -0
- package/methodology/metacognitive confidence can diverge from retrieval capability.md +42 -0
- package/methodology/metadata reduces entropy enabling precision over recall.md +91 -0
- package/methodology/methodology development should follow the trajectory from documentation to skill to hook as understanding hardens.md +80 -0
- package/methodology/methodology traditions are named points in a shared configuration space not competing paradigms.md +64 -0
- package/methodology/mnemonic medium embeds verification into navigation.md +46 -0
- package/methodology/module communication through shared YAML fields creates loose coupling without direct dependencies.md +44 -0
- package/methodology/module deactivation must account for structural artifacts that survive the toggle.md +49 -0
- package/methodology/multi-domain systems compose through separate templates and shared graph.md +61 -0
- package/methodology/multi-domain-composition.md +27 -0
- package/methodology/narrow folksonomy optimizes for single-operator retrieval unlike broad consensus tagging.md +53 -0
- package/methodology/navigation infrastructure passes through distinct scaling regimes that require qualitative strategy shifts.md +48 -0
- package/methodology/navigational vertigo emerges in pure association systems without local hierarchy.md +54 -0
- package/methodology/note titles should function as APIs enabling sentence transclusion.md +51 -0
- package/methodology/note-design.md +57 -0
- package/methodology/notes are skills /342/200/224 curated knowledge injected when relevant.md" +62 -0
- package/methodology/notes function as cognitive anchors that stabilize attention during complex tasks.md +41 -0
- package/methodology/novel domains derive by mapping knowledge type to closest reference domain then adapting.md +50 -0
- package/methodology/nudge theory explains graduated hook enforcement as choice architecture for agents.md +59 -0
- package/methodology/observation and tension logs function as dead-letter queues for failed automation.md +51 -0
- package/methodology/operational memory and knowledge memory serve different functions in agent architecture.md +48 -0
- package/methodology/operational wisdom requires contextual observation.md +52 -0
- package/methodology/orchestrated vault creation transforms arscontexta from tool to autonomous knowledge factory.md +40 -0
- package/methodology/organic emergence versus active curation creates a fundamental vault governance tension.md +68 -0
- package/methodology/orphan notes are seeds not failures.md +38 -0
- package/methodology/over-automation corrupts quality when hooks encode judgment rather than verification.md +62 -0
- package/methodology/people relationships uses Dunbar-layered graphs with interaction tracking.md +659 -0
- package/methodology/personal assistant uses life area management with review automation.md +610 -0
- package/methodology/platform adapter translation is semantic not mechanical because hook event meanings differ.md +40 -0
- package/methodology/platform capability tiers determine which knowledge system features can be implemented.md +48 -0
- package/methodology/platform fragmentation means identical conceptual operations require different implementations across agent environments.md +44 -0
- package/methodology/premature complexity is the most common derivation failure mode.md +45 -0
- package/methodology/prevent domain-specific failure modes through the vulnerability matrix.md +336 -0
- package/methodology/processing effort should follow retrieval demand.md +57 -0
- package/methodology/processing-workflows.md +75 -0
- package/methodology/product management uses feedback pipelines with experiment tracking.md +789 -0
- package/methodology/productivity porn risk in meta-system building.md +30 -0
- package/methodology/programmable notes could enable property-triggered workflows.md +64 -0
- package/methodology/progressive disclosure means reading right not reading less.md +69 -0
- package/methodology/progressive schema validates only what active modules require not the full system schema.md +49 -0
- package/methodology/project management uses decision tracking with stakeholder context.md +776 -0
- package/methodology/propositional link semantics transform wiki links from associative to reasoned.md +87 -0
- package/methodology/prospective memory requires externalization.md +53 -0
- package/methodology/provenance tracks where beliefs come from.md +62 -0
- package/methodology/queries evolve during search so agents should checkpoint.md +35 -0
- package/methodology/question-answer metadata enables inverted search patterns.md +39 -0
- package/methodology/random note resurfacing prevents write-only memory.md +33 -0
- package/methodology/reconciliation loops that compare desired state to actual state enable drift correction without continuous monitoring.md +59 -0
- package/methodology/reflection synthesizes existing notes into new insight.md +100 -0
- package/methodology/retrieval utility should drive design over capture completeness.md +69 -0
- package/methodology/retrieval verification loop tests description quality at scale.md +81 -0
- package/methodology/role field makes graph structure explicit.md +94 -0
- package/methodology/scaffolding enables divergence that fine-tuning cannot.md +67 -0
- package/methodology/schema enforcement via validation agents enables soft consistency.md +60 -0
- package/methodology/schema evolution follows observe-then-formalize not design-then-enforce.md +65 -0
- package/methodology/schema field names are the only domain specific element in the universal note pattern.md +46 -0
- package/methodology/schema fields should use domain-native vocabulary not abstract terminology.md +47 -0
- package/methodology/schema templates reduce cognitive overhead at capture time.md +55 -0
- package/methodology/schema validation hooks externalize inhibitory control that degrades under cognitive load.md +48 -0
- package/methodology/schema-enforcement.md +27 -0
- package/methodology/self-extension requires context files to contain platform operations knowledge not just methodology.md +47 -0
- package/methodology/sense-making vs storage does compression lose essential nuance.md +73 -0
- package/methodology/session boundary hooks implement cognitive bookends for orientation and reflection.md +60 -0
- package/methodology/session handoff creates continuity without persistent memory.md +43 -0
- package/methodology/session outputs are packets for future selves.md +43 -0
- package/methodology/session transcript mining enables experiential validation that structural tests cannot provide.md +38 -0
- package/methodology/skill context budgets constrain knowledge system complexity on agent platforms.md +52 -0
- package/methodology/skills encode methodology so manual execution bypasses quality gates.md +50 -0
- package/methodology/small-world topology requires hubs and dense local links.md +99 -0
- package/methodology/source attribution enables tracing claims to foundations.md +38 -0
- package/methodology/spaced repetition scheduling could optimize vault maintenance.md +44 -0
- package/methodology/spreading activation models how agents should traverse.md +79 -0
- package/methodology/stale navigation actively misleads because agents trust curated maps completely.md +43 -0
- package/methodology/stigmergy coordinates agents through environmental traces without direct communication.md +62 -0
- package/methodology/storage versus thinking distinction determines which tool patterns apply.md +56 -0
- package/methodology/structure enables navigation without reading everything.md +52 -0
- package/methodology/structure without processing provides no value.md +56 -0
- package/methodology/student learning uses prerequisite graphs with spaced retrieval.md +770 -0
- package/methodology/summary coherence tests composability before filing.md +37 -0
- package/methodology/tag rot applies to wiki links because titles serve as both identifier and display text.md +50 -0
- package/methodology/temporal media must convert to spatial text for agent traversal.md +43 -0
- package/methodology/temporal processing priority creates age-based inbox urgency.md +45 -0
- package/methodology/temporal separation of capture and processing preserves context freshness.md +39 -0
- package/methodology/ten universal primitives form the kernel of every viable agent knowledge system.md +162 -0
- package/methodology/testing effect could enable agent knowledge verification.md +38 -0
- package/methodology/the AgentSkills standard embodies progressive disclosure at the skill level.md +40 -0
- package/methodology/the derivation engine improves recursively as deployed systems generate observations.md +49 -0
- package/methodology/the determinism boundary separates hook methodology from skill methodology.md +46 -0
- package/methodology/the fix-versus-report decision depends on determinism reversibility and accumulated trust.md +45 -0
- package/methodology/the generation effect requires active transformation not just storage.md +57 -0
- package/methodology/the no wrong patches guarantee ensures any valid module combination produces a valid system.md +58 -0
- package/methodology/the system is the argument.md +46 -0
- package/methodology/the vault constitutes identity for agents.md +86 -0
- package/methodology/the vault methodology transfers because it encodes cognitive science not domain specifics.md +47 -0
- package/methodology/therapy journal uses warm personality with pattern detection for emotional processing.md +584 -0
- package/methodology/three capture schools converge through agent-mediated synthesis.md +55 -0
- package/methodology/three concurrent maintenance loops operate at different timescales to catch different classes of problems.md +56 -0
- package/methodology/throughput matters more than accumulation.md +58 -0
- package/methodology/title as claim enables traversal as reasoning.md +50 -0
- package/methodology/topological organization beats temporal for knowledge work.md +52 -0
- package/methodology/trading uses conviction tracking with thesis-outcome correlation.md +699 -0
- package/methodology/trails transform ephemeral navigation into persistent artifacts.md +39 -0
- package/methodology/transform universal vocabulary to domain-native language through six levels.md +259 -0
- package/methodology/type field enables structured queries without folder hierarchies.md +53 -0
- package/methodology/use-case presets dissolve the tension between composability and simplicity.md +44 -0
- package/methodology/vault conventions may impose hidden rigidity on thinking.md +44 -0
- package/methodology/verbatim risk applies to agents too.md +31 -0
- package/methodology/vibe notetaking is the emerging industry consensus for AI-native self-organization.md +56 -0
- package/methodology/vivid memories need verification.md +45 -0
- package/methodology/vocabulary-transformation.md +27 -0
- package/methodology/voice capture is the highest-bandwidth channel for agent-delegated knowledge systems.md +45 -0
- package/methodology/wiki links are the digital evolution of analog indexing.md +73 -0
- package/methodology/wiki links as social contract transforms agents into stewards of incomplete references.md +52 -0
- package/methodology/wiki links create navigation paths that shape retrieval.md +63 -0
- package/methodology/wiki links implement GraphRAG without the infrastructure.md +101 -0
- package/methodology/writing for audience blocks authentic creation.md +22 -0
- package/methodology/you operate a system that takes notes.md +79 -0
- package/openclaw/SKILL.md +110 -0
- package/package.json +45 -0
- package/platforms/README.md +51 -0
- package/platforms/claude-code/generator.md +61 -0
- package/platforms/claude-code/hooks/README.md +186 -0
- package/platforms/claude-code/hooks/auto-commit.sh.template +38 -0
- package/platforms/claude-code/hooks/session-capture.sh.template +72 -0
- package/platforms/claude-code/hooks/session-orient.sh.template +189 -0
- package/platforms/claude-code/hooks/write-validate.sh.template +106 -0
- package/platforms/openclaw/generator.md +82 -0
- package/platforms/openclaw/hooks/README.md +89 -0
- package/platforms/openclaw/hooks/bootstrap.ts.template +224 -0
- package/platforms/openclaw/hooks/command-new.ts.template +165 -0
- package/platforms/openclaw/hooks/heartbeat.ts.template +214 -0
- package/platforms/shared/features/README.md +70 -0
- package/platforms/shared/skill-blocks/graph.md +145 -0
- package/platforms/shared/skill-blocks/learn.md +119 -0
- package/platforms/shared/skill-blocks/next.md +131 -0
- package/platforms/shared/skill-blocks/pipeline.md +326 -0
- package/platforms/shared/skill-blocks/ralph.md +616 -0
- package/platforms/shared/skill-blocks/reduce.md +1142 -0
- package/platforms/shared/skill-blocks/refactor.md +129 -0
- package/platforms/shared/skill-blocks/reflect.md +780 -0
- package/platforms/shared/skill-blocks/remember.md +524 -0
- package/platforms/shared/skill-blocks/rethink.md +574 -0
- package/platforms/shared/skill-blocks/reweave.md +680 -0
- package/platforms/shared/skill-blocks/seed.md +320 -0
- package/platforms/shared/skill-blocks/stats.md +145 -0
- package/platforms/shared/skill-blocks/tasks.md +171 -0
- package/platforms/shared/skill-blocks/validate.md +323 -0
- package/platforms/shared/skill-blocks/verify.md +562 -0
- package/platforms/shared/templates/README.md +35 -0
- package/presets/experimental/categories.yaml +1 -0
- package/presets/experimental/preset.yaml +38 -0
- package/presets/experimental/starter/README.md +7 -0
- package/presets/experimental/vocabulary.yaml +7 -0
- package/presets/personal/categories.yaml +7 -0
- package/presets/personal/preset.yaml +41 -0
- package/presets/personal/starter/goals.md +21 -0
- package/presets/personal/starter/index.md +17 -0
- package/presets/personal/starter/life-areas.md +21 -0
- package/presets/personal/starter/people.md +21 -0
- package/presets/personal/vocabulary.yaml +32 -0
- package/presets/research/categories.yaml +8 -0
- package/presets/research/preset.yaml +41 -0
- package/presets/research/starter/index.md +17 -0
- package/presets/research/starter/methods.md +21 -0
- package/presets/research/starter/open-questions.md +21 -0
- package/presets/research/vocabulary.yaml +33 -0
- package/reference/AUDIT-REPORT.md +238 -0
- package/reference/claim-map.md +172 -0
- package/reference/components.md +327 -0
- package/reference/conversation-patterns.md +542 -0
- package/reference/derivation-validation.md +649 -0
- package/reference/dimension-claim-map.md +134 -0
- package/reference/evolution-lifecycle.md +297 -0
- package/reference/failure-modes.md +235 -0
- package/reference/interaction-constraints.md +204 -0
- package/reference/kernel.yaml +242 -0
- package/reference/methodology.md +283 -0
- package/reference/open-questions.md +279 -0
- package/reference/personality-layer.md +302 -0
- package/reference/self-space.md +299 -0
- package/reference/semantic-vs-keyword.md +288 -0
- package/reference/session-lifecycle.md +298 -0
- package/reference/templates/base-note.md +16 -0
- package/reference/templates/companion-note.md +70 -0
- package/reference/templates/creative-note.md +16 -0
- package/reference/templates/learning-note.md +16 -0
- package/reference/templates/life-note.md +16 -0
- package/reference/templates/moc.md +26 -0
- package/reference/templates/relationship-note.md +17 -0
- package/reference/templates/research-note.md +19 -0
- package/reference/templates/session-log.md +24 -0
- package/reference/templates/therapy-note.md +16 -0
- package/reference/test-fixtures/edge-case-constraints.md +148 -0
- package/reference/test-fixtures/multi-domain.md +164 -0
- package/reference/test-fixtures/novel-domain-gaming.md +138 -0
- package/reference/test-fixtures/research-minimal.md +102 -0
- package/reference/test-fixtures/therapy-full.md +155 -0
- package/reference/testing-milestones.md +1087 -0
- package/reference/three-spaces.md +363 -0
- package/reference/tradition-presets.md +203 -0
- package/reference/use-case-presets.md +341 -0
- package/reference/validate-kernel.sh +432 -0
- package/reference/vocabulary-transforms.md +85 -0
- package/scripts/sync-thinking.sh +147 -0
- package/skill-sources/graph/SKILL.md +567 -0
- package/skill-sources/graph/skill.json +17 -0
- package/skill-sources/learn/SKILL.md +254 -0
- package/skill-sources/learn/skill.json +17 -0
- package/skill-sources/next/SKILL.md +407 -0
- package/skill-sources/next/skill.json +17 -0
- package/skill-sources/pipeline/SKILL.md +314 -0
- package/skill-sources/pipeline/skill.json +17 -0
- package/skill-sources/ralph/SKILL.md +604 -0
- package/skill-sources/ralph/skill.json +17 -0
- package/skill-sources/reduce/SKILL.md +1113 -0
- package/skill-sources/reduce/skill.json +17 -0
- package/skill-sources/refactor/SKILL.md +448 -0
- package/skill-sources/refactor/skill.json +17 -0
- package/skill-sources/reflect/SKILL.md +747 -0
- package/skill-sources/reflect/skill.json +17 -0
- package/skill-sources/remember/SKILL.md +534 -0
- package/skill-sources/remember/skill.json +17 -0
- package/skill-sources/rethink/SKILL.md +658 -0
- package/skill-sources/rethink/skill.json +17 -0
- package/skill-sources/reweave/SKILL.md +657 -0
- package/skill-sources/reweave/skill.json +17 -0
- package/skill-sources/seed/SKILL.md +303 -0
- package/skill-sources/seed/skill.json +17 -0
- package/skill-sources/stats/SKILL.md +371 -0
- package/skill-sources/stats/skill.json +17 -0
- package/skill-sources/tasks/SKILL.md +402 -0
- package/skill-sources/tasks/skill.json +17 -0
- package/skill-sources/validate/SKILL.md +310 -0
- package/skill-sources/validate/skill.json +17 -0
- package/skill-sources/verify/SKILL.md +532 -0
- package/skill-sources/verify/skill.json +17 -0
- package/skills/add-domain/SKILL.md +441 -0
- package/skills/add-domain/skill.json +17 -0
- package/skills/architect/SKILL.md +568 -0
- package/skills/architect/skill.json +17 -0
- package/skills/ask/SKILL.md +388 -0
- package/skills/ask/skill.json +17 -0
- package/skills/health/SKILL.md +760 -0
- package/skills/health/skill.json +17 -0
- package/skills/help/SKILL.md +348 -0
- package/skills/help/skill.json +17 -0
- package/skills/recommend/SKILL.md +553 -0
- package/skills/recommend/skill.json +17 -0
- package/skills/reseed/SKILL.md +385 -0
- package/skills/reseed/skill.json +17 -0
- package/skills/setup/SKILL.md +1688 -0
- package/skills/setup/skill.json +17 -0
- package/skills/tutorial/SKILL.md +496 -0
- package/skills/tutorial/skill.json +17 -0
- package/skills/upgrade/SKILL.md +395 -0
- package/skills/upgrade/skill.json +17 -0
|
@@ -0,0 +1,574 @@
|
|
|
1
|
+
---
|
|
2
|
+
# GENERATION TEMPLATE — Do not edit directly
|
|
3
|
+
# This template is transformed by the derivation engine during /setup.
|
|
4
|
+
# All {vocabulary.*} markers resolve from the preset's vocabulary.yaml.
|
|
5
|
+
# All {config.*} markers resolve from the preset's preset.yaml.
|
|
6
|
+
# All {DOMAIN:*} markers resolve from conversation-derived domain context.
|
|
7
|
+
# All {if ...}{endif} blocks are conditionally included based on config.
|
|
8
|
+
source_skill: rethink
|
|
9
|
+
min_processing_depth: standard
|
|
10
|
+
platform: shared
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
name: {vocabulary.rethink}
|
|
15
|
+
description: Challenge system assumptions against accumulated evidence. Triages observations and tensions, detects patterns, generates proposals. The scientific method applied to knowledge systems. Triggers on "/{vocabulary.rethink}", "review observations", "challenge assumptions", "what have I learned".
|
|
16
|
+
user-invocable: true
|
|
17
|
+
allowed-tools: Read, Write, Edit, Grep, Glob, Bash, AskUserQuestion
|
|
18
|
+
context: fork
|
|
19
|
+
model: opus
|
|
20
|
+
generated_from: "arscontexta-{plugin_version}"
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Runtime Configuration (Step 0 — before any processing)
|
|
24
|
+
|
|
25
|
+
Read these files to configure domain-specific behavior:
|
|
26
|
+
|
|
27
|
+
1. **`{config.ops_dir}/derivation-manifest.md`** — vocabulary mapping, domain context
|
|
28
|
+
- Use `vocabulary.notes` for the notes folder name
|
|
29
|
+
- Use `vocabulary.note` for the note type name in output
|
|
30
|
+
- Use `vocabulary.rethink` for the command name in output
|
|
31
|
+
- Use `vocabulary.topic_map` for {vocabulary.topic_map} references
|
|
32
|
+
- Use `vocabulary.cmd_reflect` for connection-finding references
|
|
33
|
+
|
|
34
|
+
2. **`{config.ops_dir}/config.yaml`** — thresholds, processing preferences
|
|
35
|
+
- `self_evolution.observation_threshold`: number of pending observations before suggesting {vocabulary.rethink} (default: 10)
|
|
36
|
+
- `self_evolution.tension_threshold`: number of pending tensions before suggesting {vocabulary.rethink} (default: 5)
|
|
37
|
+
|
|
38
|
+
3. **`{config.ops_dir}/methodology/`** — existing methodology notes (read all to understand current system self-knowledge)
|
|
39
|
+
|
|
40
|
+
If these files don't exist (pre-init invocation or standalone use), use universal defaults.
|
|
41
|
+
|
|
42
|
+
The command name itself transforms per domain. The derivation manifest maps the universal name to domain-native language. If no manifest exists, use "rethink" as the command name.
|
|
43
|
+
|
|
44
|
+
## EXECUTE NOW
|
|
45
|
+
|
|
46
|
+
**Target: $ARGUMENTS**
|
|
47
|
+
|
|
48
|
+
Parse immediately:
|
|
49
|
+
- If target is empty: run full five-phase {vocabulary.rethink} on all pending observations and tensions
|
|
50
|
+
- If target is "triage": run Phase 1 only (triage and methodology updates, no pattern detection)
|
|
51
|
+
- If target is "patterns": skip triage, run Phases 3-5 only (analyze existing evidence for patterns)
|
|
52
|
+
- If target is a specific observation or tension filename: triage that single item interactively
|
|
53
|
+
|
|
54
|
+
**START NOW.** Reference below defines the five-phase workflow.
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Philosophy
|
|
59
|
+
|
|
60
|
+
**The system is not sacred. Evidence beats intuition.**
|
|
61
|
+
|
|
62
|
+
Every rule in the context file, every workflow in a skill, every assumption baked into the architecture was a hypothesis at some point. Hypotheses need testing against reality. Observation notes in `{config.ops_dir}/observations/` capture friction from actual use. Tension notes in `{config.ops_dir}/tensions/` capture unresolved conflicts. {vocabulary.rethink_title} first triages these individually (some become {vocabulary.note_plural}, some become methodology updates, some get archived), then compares remaining evidence against what the system assumes and proposes changes when patterns emerge.
|
|
63
|
+
|
|
64
|
+
This is the scientific method applied to knowledge systems: hypothesize, implement, observe, revise.
|
|
65
|
+
|
|
66
|
+
Without this loop, generated systems ossify — they accumulate friction that never gets addressed, contradictions that never get resolved, and methodology learnings that never get elevated to system-level changes. /{vocabulary.rethink} is the immune system that prevents calcification.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Phase 1: Triage
|
|
71
|
+
|
|
72
|
+
### 1a. Gather Pending Evidence
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
OBS_PENDING=$(grep -rl '^status: pending' {config.ops_dir}/observations/ 2>/dev/null)
|
|
76
|
+
OBS_COUNT=$(echo "$OBS_PENDING" | grep -c . 2>/dev/null || echo 0)
|
|
77
|
+
TENSION_PENDING=$(grep -rl '^status: pending\|^status: open' {config.ops_dir}/tensions/ 2>/dev/null)
|
|
78
|
+
TENSION_COUNT=$(echo "$TENSION_PENDING" | grep -c . 2>/dev/null || echo 0)
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Read each pending item fully. These are small atomic notes — load all of them. Understanding the full content is required for accurate triage. If zero pending items, report clean state and exit early.
|
|
82
|
+
|
|
83
|
+
Also read `{config.ops_dir}/methodology/` to understand existing methodology notes — this prevents creating duplicates and informs whether new observations should extend existing methodology rather than create new notes.
|
|
84
|
+
|
|
85
|
+
### 1b. Classify Each Item
|
|
86
|
+
|
|
87
|
+
Assign exactly one disposition per observation or tension:
|
|
88
|
+
|
|
89
|
+
| Disposition | Meaning | When to Apply | Action |
|
|
90
|
+
|-------------|---------|---------------|--------|
|
|
91
|
+
| PROMOTE | Reusable insight worth keeping as a permanent {vocabulary.note} | General principle across sessions. Would work as a {vocabulary.note} note. Crystallized insight, not operational guidance. | Create {vocabulary.note} in {config.notes_dir}/, set observation `status: promoted`, add `promoted_to: [[title]]` |
|
|
92
|
+
| IMPLEMENT | Operational guidance that should change the system | "System should do X differently." Points to a concrete improvement in context file, template, or skill. | Update the specific file, set `status: implemented`, add `implemented_in: [filepath]` |
|
|
93
|
+
| METHODOLOGY | Friction pattern that should inform agent behavior | Behavioral learning. Not a domain insight (PROMOTE) or a system change (IMPLEMENT) — a methodology learning about HOW to operate. | Create or update methodology note in `{config.ops_dir}/methodology/`, set `status: implemented`, add `implemented_in: {config.ops_dir}/methodology/[file]` |
|
|
94
|
+
| ARCHIVE | Session-specific, no longer relevant | One-session-specific with no lasting value. Already addressed by later work. Superseded by newer evidence. | Set `status: archived` |
|
|
95
|
+
| KEEP PENDING | Not enough evidence yet | Might matter but need more data. Part of a pattern that has not fully emerged. Single data point that could go either way. | No change — leave `status: pending` |
|
|
96
|
+
|
|
97
|
+
**Triage heuristics for observations:**
|
|
98
|
+
|
|
99
|
+
- Observation describes a general principle that works across sessions -> PROMOTE
|
|
100
|
+
- Observation says "the system should do X differently" with a specific file/section -> IMPLEMENT
|
|
101
|
+
- Observation describes agent behavior that should change (how to process, when to check, what to avoid) -> METHODOLOGY
|
|
102
|
+
- Observation was about one specific session with no lasting value -> ARCHIVE
|
|
103
|
+
- Observation might matter but only appeared once -> KEEP PENDING
|
|
104
|
+
|
|
105
|
+
**Triage heuristics for tensions:**
|
|
106
|
+
|
|
107
|
+
- Tension was resolved by subsequent changes -> ARCHIVE (set `status: dissolved`, add `dissolved_reason`)
|
|
108
|
+
- Tension reveals a genuine conflict between two {vocabulary.note_plural} -> PROMOTE (create a tension {vocabulary.note} or resolution {vocabulary.note})
|
|
109
|
+
- Tension points to a system workflow that needs redesigning -> IMPLEMENT
|
|
110
|
+
- Tension is about agent methodology -> METHODOLOGY
|
|
111
|
+
- Tension is real but resolution is unclear -> KEEP PENDING
|
|
112
|
+
|
|
113
|
+
### 1c. Present Triage Table
|
|
114
|
+
|
|
115
|
+
Present the full triage to the user before executing any changes:
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
--=={ {vocabulary.rethink} — Triage }==--
|
|
119
|
+
|
|
120
|
+
Evidence: [N] observations, [M] tensions
|
|
121
|
+
|
|
122
|
+
PROMOTE ([count])
|
|
123
|
+
[filename] — [title] -> proposed {vocabulary.note} title
|
|
124
|
+
[filename] — [title] -> proposed {vocabulary.note} title
|
|
125
|
+
|
|
126
|
+
IMPLEMENT ([count])
|
|
127
|
+
[filename] — [title] -> change [specific file/section]
|
|
128
|
+
[filename] — [title] -> change [specific file/section]
|
|
129
|
+
|
|
130
|
+
METHODOLOGY ([count])
|
|
131
|
+
[filename] — [title] -> create/update {config.ops_dir}/methodology/[name].md
|
|
132
|
+
[filename] — [title] -> extends existing {config.ops_dir}/methodology/[name].md
|
|
133
|
+
|
|
134
|
+
ARCHIVE ([count])
|
|
135
|
+
[filename] — [title] — [reason for archiving]
|
|
136
|
+
|
|
137
|
+
KEEP PENDING ([count])
|
|
138
|
+
[filename] — [title] — [why more evidence needed]
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Use AskUserQuestion: "Review the triage above. Approve all, or list items to reclassify (e.g., 'keep obs-003 pending, promote obs-007 instead')."
|
|
142
|
+
|
|
143
|
+
**Wait for user confirmation before proceeding to 1d.** Do not execute triage without approval.
|
|
144
|
+
|
|
145
|
+
### 1d. Execute Triage
|
|
146
|
+
|
|
147
|
+
After user confirmation, apply all dispositions in order:
|
|
148
|
+
|
|
149
|
+
**For PROMOTE items:**
|
|
150
|
+
1. Create {vocabulary.note} with prose-as-title in {config.notes_dir}/
|
|
151
|
+
2. Follow standard note schema: YAML frontmatter (description, type, created), body developing the insight, Topics footer linking to relevant {vocabulary.topic_map}(s)
|
|
152
|
+
3. The observation content becomes the seed for the note body — but develop it fully, do not just copy the observation
|
|
153
|
+
4. Update the observation: set `status: promoted`, add `promoted_to: [[note title]]`
|
|
154
|
+
|
|
155
|
+
**For IMPLEMENT items:**
|
|
156
|
+
1. Make the specific change to the identified file/section
|
|
157
|
+
2. Show the change to the user (before/after) and get confirmation if the change is non-trivial
|
|
158
|
+
3. Update the observation/tension: set `status: implemented`, add `implemented_in: [filepath]`
|
|
159
|
+
|
|
160
|
+
**For METHODOLOGY items:** (see Phase 2 below)
|
|
161
|
+
|
|
162
|
+
**For ARCHIVE items:**
|
|
163
|
+
1. Update observation status: `status: archived`
|
|
164
|
+
2. For tensions being dissolved: `status: dissolved`, add `dissolved_reason: [why]`
|
|
165
|
+
|
|
166
|
+
**For KEEP PENDING items:**
|
|
167
|
+
1. No changes — leave in place
|
|
168
|
+
|
|
169
|
+
**Update MOCs:** After triage execution, update `{config.ops_dir}/observations.md` and `{config.ops_dir}/tensions.md` to reflect status changes. Move entries between Pending/Promoted/Archived/Resolved/Dissolved sections as appropriate.
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## Phase 2: Methodology Folder Updates
|
|
174
|
+
|
|
175
|
+
For items triaged as METHODOLOGY, create or update notes in `{config.ops_dir}/methodology/`.
|
|
176
|
+
|
|
177
|
+
### Creating New Methodology Notes
|
|
178
|
+
|
|
179
|
+
```markdown
|
|
180
|
+
---
|
|
181
|
+
description: [what this methodology note teaches — specific enough to be actionable]
|
|
182
|
+
type: methodology
|
|
183
|
+
category: [processing | capture | connection | maintenance | voice | behavior | quality]
|
|
184
|
+
source: {vocabulary.rethink}
|
|
185
|
+
created: YYYY-MM-DD
|
|
186
|
+
status: active
|
|
187
|
+
evidence: ["obs-filename-1", "obs-filename-2"]
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
# [prose-as-title describing the learned behavior]
|
|
191
|
+
|
|
192
|
+
[Body developing the methodology learning:
|
|
193
|
+
- What the agent should do
|
|
194
|
+
- What the agent should avoid
|
|
195
|
+
- Why this matters (what went wrong without this)
|
|
196
|
+
- When this applies (scope/context)]
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
Related: [[methodology]]
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Extending Existing Methodology Notes
|
|
204
|
+
|
|
205
|
+
If a methodology note with similar content already exists:
|
|
206
|
+
1. Do NOT create a duplicate
|
|
207
|
+
2. Instead, add the new evidence to the existing note
|
|
208
|
+
3. Update the evidence array in frontmatter
|
|
209
|
+
4. Strengthen or nuance the existing guidance based on the new observation
|
|
210
|
+
5. Update the observation: set `status: implemented`, add `implemented_in: {config.ops_dir}/methodology/[existing-file]`
|
|
211
|
+
|
|
212
|
+
### Checking for Methodology Duplicates
|
|
213
|
+
|
|
214
|
+
Before creating a new methodology note:
|
|
215
|
+
1. Read all files in `{config.ops_dir}/methodology/` (these are small)
|
|
216
|
+
2. Check if any existing note covers the same behavioral area
|
|
217
|
+
3. If overlap > 80%, extend rather than duplicate
|
|
218
|
+
|
|
219
|
+
### Update Methodology MOC
|
|
220
|
+
|
|
221
|
+
After creating or updating methodology notes, update `{config.ops_dir}/methodology.md`:
|
|
222
|
+
- Add new notes to the appropriate category section
|
|
223
|
+
- Update context phrases for modified notes
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Phase 3: Pattern Detection
|
|
228
|
+
|
|
229
|
+
Analyze remaining pending evidence (post-triage) plus promoted/implemented history for systemic patterns. This is where individual data points become actionable signals.
|
|
230
|
+
|
|
231
|
+
### Evidence Sources
|
|
232
|
+
|
|
233
|
+
1. **Still-pending observations** — items with `status: pending` after triage
|
|
234
|
+
2. **Still-pending tensions** — items with `status: open` or `status: pending` after triage
|
|
235
|
+
3. **Recently promoted/implemented items** — may share themes with pending items
|
|
236
|
+
4. **Methodology notes** — patterns in `{config.ops_dir}/methodology/` by category
|
|
237
|
+
|
|
238
|
+
### Pattern Types
|
|
239
|
+
|
|
240
|
+
| Pattern Type | Signal | Threshold | What It Means |
|
|
241
|
+
|-------------|--------|-----------|---------------|
|
|
242
|
+
| Recurring themes | 3+ observations about the same area or concept | Systemic issue requiring structural response | Something is fundamentally misaligned in that area |
|
|
243
|
+
| Contradiction clusters | Multiple tensions pointing at the same architectural assumption | Assumption may be wrong | The system has a flawed foundation in that area |
|
|
244
|
+
| Friction accumulation | Multiple observations about the same workflow step | Workflow needs redesign | A specific process is consistently painful |
|
|
245
|
+
| Drift signals | Observations suggesting vocabulary, structure, or threshold sensitivity no longer fits | /architect or /reseed territory | The system's configuration may have outgrown the user's actual needs |
|
|
246
|
+
| Methodology convergence | Multiple /remember captures in {config.ops_dir}/methodology/ pointing at the same behavioral pattern | Methodology note needs elevation to context file | A methodology learning has been validated enough to become a system-level rule |
|
|
247
|
+
|
|
248
|
+
### Detection Method
|
|
249
|
+
|
|
250
|
+
1. **Group by category field:** Sort observations by their `category` (methodology, process-gap, friction, surprise, quality). 3+ items in the same category = potential pattern.
|
|
251
|
+
|
|
252
|
+
2. **Group by referenced {vocabulary.topic_map_plural} or system areas:** Extract wiki links and file references from observation bodies. 3+ observations referencing the same area = recurring theme.
|
|
253
|
+
|
|
254
|
+
3. **Cross-reference tensions:** Check if multiple tensions share the same assumption. Multiple tensions pointing at the same thing = assumption may be wrong.
|
|
255
|
+
|
|
256
|
+
4. **Check friction frequency for acceleration:** Are friction observations about the same step appearing more frequently? An accelerating pattern is a stronger signal than steady-state friction.
|
|
257
|
+
|
|
258
|
+
5. **Compare methodology notes against context file:** If `{config.ops_dir}/methodology/` has 3+ notes in the same category that are not reflected in the context file, the methodology has converged enough for elevation.
|
|
259
|
+
|
|
260
|
+
6. **Check for vocabulary drift:** If observations use different terms than the derivation manifest or context file, the system's language may have drifted from the user's actual vocabulary.
|
|
261
|
+
|
|
262
|
+
### Pattern Quality Check
|
|
263
|
+
|
|
264
|
+
**Do not fabricate patterns from insufficient evidence.** A single observation is a data point, not a pattern. Two observations are a coincidence. Three observations are a pattern worth investigating.
|
|
265
|
+
|
|
266
|
+
For each candidate pattern, assess:
|
|
267
|
+
- **Evidence count:** How many observations/tensions support this?
|
|
268
|
+
- **Time span:** Over how many sessions did these accumulate?
|
|
269
|
+
- **Specificity:** Can you point to a specific system area or assumption?
|
|
270
|
+
- **Impact:** What breaks or degrades because of this?
|
|
271
|
+
|
|
272
|
+
Only report patterns that pass all four checks.
|
|
273
|
+
|
|
274
|
+
### Pattern Report
|
|
275
|
+
|
|
276
|
+
```
|
|
277
|
+
--=={ {vocabulary.rethink} — Patterns }==--
|
|
278
|
+
|
|
279
|
+
Patterns detected: [N]
|
|
280
|
+
|
|
281
|
+
1. [Pattern type]: [description]
|
|
282
|
+
Evidence: [filenames, one per line]
|
|
283
|
+
Area: [system area affected]
|
|
284
|
+
Impact: [what breaks or degrades]
|
|
285
|
+
Confidence: [high | medium — never low, since low means not enough evidence]
|
|
286
|
+
|
|
287
|
+
2. [Pattern type]: [description]
|
|
288
|
+
...
|
|
289
|
+
|
|
290
|
+
No patterns found in: [areas with < 3 data points]
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
If no patterns are detected, report this clearly. Pattern detection requires sufficient evidence — an empty result after triage is a sign the system is healthy, not that {vocabulary.rethink} failed.
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
## Phase 4: Proposal Generation
|
|
298
|
+
|
|
299
|
+
For each detected pattern, generate one specific, actionable proposal.
|
|
300
|
+
|
|
301
|
+
### Proposal Structure
|
|
302
|
+
|
|
303
|
+
```
|
|
304
|
+
Proposal [N]: [title — what would change]
|
|
305
|
+
|
|
306
|
+
Evidence:
|
|
307
|
+
- [filename] — [one-line summary of this observation's contribution]
|
|
308
|
+
- [filename] — [one-line summary]
|
|
309
|
+
- [filename] — [one-line summary]
|
|
310
|
+
|
|
311
|
+
Pattern: [which pattern type from Phase 3]
|
|
312
|
+
|
|
313
|
+
Current assumption:
|
|
314
|
+
[Quote the specific section of context file, skill, or template
|
|
315
|
+
that embodies the assumption being challenged.
|
|
316
|
+
Include the file path and section heading.]
|
|
317
|
+
|
|
318
|
+
Proposed change:
|
|
319
|
+
[Specific file and section. What changes, what stays.
|
|
320
|
+
Before/after if possible. Concrete enough that someone
|
|
321
|
+
could implement this without additional context.]
|
|
322
|
+
|
|
323
|
+
What would improve:
|
|
324
|
+
[Concrete expected benefit — not "things would be better"
|
|
325
|
+
but "reduces processing time for inbox items because..."
|
|
326
|
+
or "prevents the duplicate creation issue observed in obs-003, obs-007"]
|
|
327
|
+
|
|
328
|
+
What could go wrong:
|
|
329
|
+
[Risk assessment — what might break? What second-order effects?
|
|
330
|
+
What assumptions does this proposal itself make?]
|
|
331
|
+
|
|
332
|
+
Reversible: [yes | no | partially — explain if partially]
|
|
333
|
+
|
|
334
|
+
Scope: [context-file | skill | template | architecture | methodology]
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Proposal Quality Gates
|
|
338
|
+
|
|
339
|
+
Every proposal MUST have:
|
|
340
|
+
|
|
341
|
+
1. **Specific file references** — not "update the context file" but "update {config.ops_dir}/context.md, section 'Processing Pipeline', paragraph 3"
|
|
342
|
+
2. **Evidence backing** — at least 2 observations/tensions supporting the change. No intuition-only proposals.
|
|
343
|
+
3. **Risk awareness** — what could go wrong. Proposals without risk assessment are overconfident.
|
|
344
|
+
4. **Proportionality** — the scope of the proposed change should match the weight of evidence. A single observation does not justify rewriting the context file.
|
|
345
|
+
5. **Reversibility assessment** — can this be undone if it makes things worse?
|
|
346
|
+
|
|
347
|
+
### Proposal Scope Rules
|
|
348
|
+
|
|
349
|
+
| Evidence Strength | Maximum Proposal Scope |
|
|
350
|
+
|-------------------|----------------------|
|
|
351
|
+
| 2 observations, same area | Methodology note update |
|
|
352
|
+
| 3+ observations, clear pattern | Skill or template change |
|
|
353
|
+
| 5+ observations + tensions | Context file section change |
|
|
354
|
+
| Pervasive pattern across areas | Architectural change (recommend /architect consultation) |
|
|
355
|
+
|
|
356
|
+
Do not propose architectural changes based on thin evidence. The threshold scales with the blast radius.
|
|
357
|
+
|
|
358
|
+
### /next Integration
|
|
359
|
+
|
|
360
|
+
If 10+ pending observations or 5+ pending tensions remain after triage AND pattern detection did not consume them into proposals:
|
|
361
|
+
|
|
362
|
+
```
|
|
363
|
+
Threshold signal for /next:
|
|
364
|
+
[N] pending observations, [N] pending tensions remain
|
|
365
|
+
/next should prioritize /{vocabulary.rethink} at session priority
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
---
|
|
369
|
+
|
|
370
|
+
## Phase 5: Present for Approval
|
|
371
|
+
|
|
372
|
+
**NEVER auto-implement proposals.** Changes to system assumptions require human judgment. This is the invariant that makes {vocabulary.rethink} safe — it can analyze aggressively because it cannot act unilaterally.
|
|
373
|
+
|
|
374
|
+
### Summary Output
|
|
375
|
+
|
|
376
|
+
```
|
|
377
|
+
--=={ {vocabulary.rethink} — Complete }==--
|
|
378
|
+
|
|
379
|
+
Triaged: [N] observations, [M] tensions
|
|
380
|
+
|
|
381
|
+
Promoted to {vocabulary.note_plural}: [count]
|
|
382
|
+
Methodology updates: [count]
|
|
383
|
+
Implemented: [count]
|
|
384
|
+
Archived: [count]
|
|
385
|
+
Kept pending: [count]
|
|
386
|
+
|
|
387
|
+
Patterns detected: [count]
|
|
388
|
+
|
|
389
|
+
1. [Pattern type]: [brief description]
|
|
390
|
+
Evidence: [count] items
|
|
391
|
+
Proposal: [one-line summary]
|
|
392
|
+
|
|
393
|
+
2. [Pattern type]: [brief description]
|
|
394
|
+
Evidence: [count] items
|
|
395
|
+
Proposal: [one-line summary]
|
|
396
|
+
|
|
397
|
+
Awaiting approval for [count] proposals.
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
### User Approval Interaction
|
|
401
|
+
|
|
402
|
+
Use AskUserQuestion: "Which proposals should I implement? (all / none / list numbers, e.g. '1, 3'). You can also ask me to modify a proposal before deciding."
|
|
403
|
+
|
|
404
|
+
**Handle each response:**
|
|
405
|
+
|
|
406
|
+
| Response | Action |
|
|
407
|
+
|----------|--------|
|
|
408
|
+
| "all" | Implement all proposals |
|
|
409
|
+
| "none" | Skip all. Optionally ask why to capture reasoning as a new observation. |
|
|
410
|
+
| "1, 3" | Implement listed proposals only |
|
|
411
|
+
| "modify 2" | Ask what should change, revise proposal, re-present for approval |
|
|
412
|
+
| Question about a proposal | Answer, then re-ask for approval |
|
|
413
|
+
|
|
414
|
+
### On Approval: Implementation
|
|
415
|
+
|
|
416
|
+
For each approved proposal:
|
|
417
|
+
|
|
418
|
+
1. **Draft the actual changes** — write the literal new content, not descriptions of what to change
|
|
419
|
+
2. **Show before/after** for non-trivial changes
|
|
420
|
+
3. **Apply the changes** to the target files
|
|
421
|
+
4. **Log to {config.ops_dir}/changelog.md** (create if missing):
|
|
422
|
+
|
|
423
|
+
```markdown
|
|
424
|
+
## YYYY-MM-DD: [change title]
|
|
425
|
+
|
|
426
|
+
**Source:** /{vocabulary.rethink} — [pattern type]
|
|
427
|
+
**Evidence:** [observation/tension filenames]
|
|
428
|
+
**Change:** [what was modified, which files]
|
|
429
|
+
**Risk:** [risk assessment from proposal]
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
5. **Update feeding observations/tensions:** Add `resolved_by: [changelog reference]` to each observation/tension that contributed to the approved proposal.
|
|
433
|
+
|
|
434
|
+
### On Rejection
|
|
435
|
+
|
|
436
|
+
- Do not re-propose the same change without new evidence
|
|
437
|
+
- Optionally ask why the proposal was rejected — capture the reasoning as a new observation if the user's rationale reveals something about the system's design philosophy
|
|
438
|
+
- Mark the proposal as "considered and deferred" — do not keep re-surfacing it
|
|
439
|
+
|
|
440
|
+
---
|
|
441
|
+
|
|
442
|
+
## Post-Rethink Actions
|
|
443
|
+
|
|
444
|
+
### Promoted {vocabulary.note_plural_title} Need Connections
|
|
445
|
+
|
|
446
|
+
If any observations were promoted to {vocabulary.note_plural}:
|
|
447
|
+
|
|
448
|
+
```
|
|
449
|
+
[count] {vocabulary.note_plural} were promoted from observations.
|
|
450
|
+
Run /{vocabulary.reflect} on promoted {vocabulary.note_plural} to find connections.
|
|
451
|
+
Promoted: [list of {vocabulary.note} titles]
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
### Pipeline Queue Integration
|
|
455
|
+
|
|
456
|
+
If promoted items should enter the processing pipeline (queue-based systems):
|
|
457
|
+
- Add each promoted {vocabulary.note} to the queue with `current_phase: "{vocabulary.reflect}"` (the {vocabulary.note} already exists, so skip create)
|
|
458
|
+
- Report queue additions
|
|
459
|
+
|
|
460
|
+
### Session Log
|
|
461
|
+
|
|
462
|
+
After {vocabulary.rethink} completes, create or append to `{config.ops_dir}/rethink-log.md`:
|
|
463
|
+
|
|
464
|
+
```markdown
|
|
465
|
+
## YYYY-MM-DD HH:MM
|
|
466
|
+
|
|
467
|
+
**Evidence reviewed:** [N] observations, [M] tensions
|
|
468
|
+
**Triage:** [count] promoted, [count] methodology, [count] implemented, [count] archived, [count] pending
|
|
469
|
+
**Patterns:** [count] detected
|
|
470
|
+
**Proposals:** [count] generated, [count] approved, [count] rejected, [count] deferred
|
|
471
|
+
**Changes applied:** [list of files modified]
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
This creates an evolution history. When /architect or /reseed runs, it can review the {vocabulary.rethink} log to understand how the system has evolved and what patterns have driven changes.
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
## Edge Cases
|
|
479
|
+
|
|
480
|
+
### No {config.ops_dir}/observations/ or {config.ops_dir}/tensions/
|
|
481
|
+
|
|
482
|
+
These directories are part of the operational learning loop kernel primitive. If they do not exist:
|
|
483
|
+
1. Report the structural gap
|
|
484
|
+
2. Recommend creating them: "The operational learning loop requires `{config.ops_dir}/observations/` and `{config.ops_dir}/tensions/`. Create these directories and their MOC files to begin capturing system friction."
|
|
485
|
+
3. Do not attempt to run {vocabulary.rethink} without evidence sources
|
|
486
|
+
|
|
487
|
+
### Nothing Pending
|
|
488
|
+
|
|
489
|
+
Report clean state:
|
|
490
|
+
```
|
|
491
|
+
--=={ {vocabulary.rethink} — Clean State }==--
|
|
492
|
+
|
|
493
|
+
No pending observations or tensions.
|
|
494
|
+
The system has no accumulated friction to process.
|
|
495
|
+
|
|
496
|
+
Continue capturing observations during normal work.
|
|
497
|
+
Run /{vocabulary.rethink} again when signals accumulate.
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
### Evidence Suggests /reseed
|
|
501
|
+
|
|
502
|
+
If 3+ drift signals are detected (vocabulary mismatch, structural misalignment, threshold disconnect between what the system expects and what the user actually does):
|
|
503
|
+
- Report the drift pattern
|
|
504
|
+
- Recommend /reseed over patching: "Drift signals suggest the system's fundamental configuration may need re-derivation, not incremental patching. Consider running /architect for a configuration review."
|
|
505
|
+
- Do not attempt to patch drift signals — they indicate the system's premises need re-evaluation, not its implementation
|
|
506
|
+
|
|
507
|
+
### < 5 Total Items
|
|
508
|
+
|
|
509
|
+
Run triage normally but note that pattern detection requires more data:
|
|
510
|
+
```
|
|
511
|
+
Note: [N] items is below the threshold for reliable pattern detection.
|
|
512
|
+
Triage completed. Pattern analysis will be more reliable after more
|
|
513
|
+
observations accumulate. This is expected early in the system lifecycle.
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
### Single Item Triage
|
|
517
|
+
|
|
518
|
+
When target is a specific filename:
|
|
519
|
+
1. Read only that item
|
|
520
|
+
2. Present single-item triage recommendation
|
|
521
|
+
3. Execute on approval
|
|
522
|
+
4. Skip pattern detection (single items do not make patterns)
|
|
523
|
+
|
|
524
|
+
### Conflicting Proposals
|
|
525
|
+
|
|
526
|
+
If two proposals would contradict each other (e.g., one suggests adding complexity, another suggests simplifying the same area):
|
|
527
|
+
1. Present both with explicit conflict flagging
|
|
528
|
+
2. Ask the user to choose one or synthesize
|
|
529
|
+
3. Do not implement both — conflicting changes compound confusion
|
|
530
|
+
|
|
531
|
+
### Large Evidence Backlog (20+ items)
|
|
532
|
+
|
|
533
|
+
If the evidence pool is very large:
|
|
534
|
+
1. Triage in batches of 10
|
|
535
|
+
2. Present each batch for approval before continuing
|
|
536
|
+
3. This prevents overwhelming the user with a 30-item triage table
|
|
537
|
+
4. Run pattern detection after all batches are triaged
|
|
538
|
+
|
|
539
|
+
---
|
|
540
|
+
|
|
541
|
+
## Critical Constraints
|
|
542
|
+
|
|
543
|
+
**Never:**
|
|
544
|
+
- Auto-implement system changes — proposals require human approval, always
|
|
545
|
+
- Dismiss evidence because it is inconvenient
|
|
546
|
+
- Preserve assumptions out of tradition — evidence beats habit
|
|
547
|
+
- Add complexity to handle edge cases when simplification would work better
|
|
548
|
+
- Create {vocabulary.note_plural} directly from observations without going through standard pipeline (PROMOTE adds to queue)
|
|
549
|
+
- Re-propose rejected changes without new evidence
|
|
550
|
+
|
|
551
|
+
**Always:**
|
|
552
|
+
- Trace proposals to specific evidence with file references
|
|
553
|
+
- Acknowledge uncertainty — "I think" vs "it is" based on evidence strength
|
|
554
|
+
- Propose tests for new approaches — how will you know if the change worked?
|
|
555
|
+
- Respect that the human makes final decisions on system changes
|
|
556
|
+
- Log changes to {config.ops_dir}/changelog.md for evolution tracking
|
|
557
|
+
- Update MOCs after triage changes status of observations/tensions
|
|
558
|
+
|
|
559
|
+
## The Meta-Layer
|
|
560
|
+
|
|
561
|
+
{vocabulary.rethink_title} is the system's immune system. It detects when assumptions have become infections — beliefs that made sense once but now cause harm. Healthy systems challenge themselves. Unhealthy systems calcify around untested assumptions.
|
|
562
|
+
|
|
563
|
+
The methodology learning loop closes here:
|
|
564
|
+
```
|
|
565
|
+
Work happens -> friction captured as observations/tensions
|
|
566
|
+
-> /remember captures immediate corrections
|
|
567
|
+
-> observations accumulate
|
|
568
|
+
-> /{vocabulary.rethink} triages + detects patterns + proposes changes
|
|
569
|
+
-> human approves changes
|
|
570
|
+
-> system evolves
|
|
571
|
+
-> less friction -> fewer observations -> healthy system
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
Run /{vocabulary.rethink}. Let evidence win.
|