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,819 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Health and wellness knowledge system — inspirational composition showing derived architecture for symptom-trigger correlation, training optimization, and multi-dimensional wellness tracking
|
|
3
|
+
kind: example
|
|
4
|
+
domain: companion
|
|
5
|
+
topics: ["[[domain-compositions]]"]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# health wellness uses symptom-trigger correlation with multi-dimensional tracking
|
|
9
|
+
|
|
10
|
+
A derived cognitive architecture for someone who tracks workouts, nutrition, sleep, and symptoms — and wants to stop tracking in isolation. Built kernel-up from the 14 universal primitives, adapted through the natural vocabulary of health and training, and optimized for the one thing agents do that humans cannot: hold six months of meals, sleep logs, workout data, and symptom records in analytical memory simultaneously, detecting cross-domain correlations no single-domain tracker could see.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Persona
|
|
15
|
+
|
|
16
|
+
**Lena**, 29, software engineer and recreational athlete. She trains 5 days a week (3 strength, 2 running), tracks macros intermittently, and has been dealing with persistent afternoon energy crashes and occasional tension headaches for the past year. She has used MyFitnessPal, a sleep tracker, a workout spreadsheet, and a paper symptom diary — each in isolation, none talking to each other. Her doctor says "it could be anything — try an elimination diet" but she has no way to systematically correlate what she eats, how she sleeps, how hard she trains, and when symptoms appear.
|
|
17
|
+
|
|
18
|
+
Lena does not need another tracking app. She needs a system that holds all four domains in one graph — nutrition, sleep, training, and symptoms — and finds the patterns she cannot see because she is living inside them. The headaches might correlate with poor sleep on heavy training days. The energy crashes might follow specific food combinations. The agent can test these hypotheses across six months of data in ways Lena never could with manual review.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Configuration
|
|
23
|
+
|
|
24
|
+
The 8 dimensions derived for personal health tracking:
|
|
25
|
+
|
|
26
|
+
| Dimension | Position | Rationale |
|
|
27
|
+
|-----------|----------|-----------|
|
|
28
|
+
| Granularity | Mixed — atomic for daily logs, compound for protocols | Each day's nutrition, sleep, and training are individual entries. But a supplement protocol or training program is a compound entity that spans weeks. Forcing atomicity on protocols would scatter program logic across dozens of notes. |
|
|
29
|
+
| Organization | Flat with wiki links | Meals link to symptoms. Sleep links to training recovery. Supplements link to protocols. The cross-domain connections are the entire point — folders per domain would recreate the data silos Lena already has. |
|
|
30
|
+
| Linking | Explicit + temporal correlation | Links between daily entries capture temporal relationships: "headache appeared 18 hours after high-histamine meal on a night of 5.5 hours sleep." The agent creates correlation links that span time. |
|
|
31
|
+
| Metadata | Medium-dense | Health data has natural numeric fields (calories, macros, sleep hours, RPE, pain severity) but does not need the query depth of trading or legal. The schema captures what is measurable without creating friction at capture time. |
|
|
32
|
+
| Processing | Medium | Daily logs are lightweight capture. Weekly processing correlates the week's data. Monthly processing runs the full correlation analysis. The agent does the analytical heavy lifting, not the human. |
|
|
33
|
+
| Formalization | Progressive — low to start, grows with evidence | Lena does not know her triggers yet. Formalizing "gluten causes headaches" before the data supports it creates confirmation bias. The schema starts with observation fields and adds formal trigger designations only after statistical evidence accumulates. |
|
|
34
|
+
| Review | Daily for capture, weekly for patterns, monthly for protocol assessment | Daily capture of meals and symptoms must be frictionless. Weekly review surfaces emerging patterns. Monthly review assesses whether supplement protocols and training programs are producing measurable effects. |
|
|
35
|
+
| Scope | Individual | Health data is deeply personal. Multi-user health vaults would compromise privacy and dilute the personalization that makes correlation meaningful. |
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Vault Structure
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
vault/
|
|
43
|
+
├── 00_inbox/ # raw capture
|
|
44
|
+
│ ├── food-photos/ # meal photos for later logging
|
|
45
|
+
│ ├── lab-results/ # PDFs from blood work
|
|
46
|
+
│ └── research/ # health articles, protocol ideas
|
|
47
|
+
├── 01_thinking/ # active knowledge (flat)
|
|
48
|
+
│ ├── index.md # hub MOC
|
|
49
|
+
│ ├── nutrition.md # domain MOC: dietary patterns
|
|
50
|
+
│ ├── training.md # domain MOC: exercise programming
|
|
51
|
+
│ ├── sleep.md # topic MOC: sleep quality patterns
|
|
52
|
+
│ ├── symptoms.md # topic MOC: symptom tracking and triggers
|
|
53
|
+
│ ├── supplements.md # topic MOC: protocol tracking
|
|
54
|
+
│ ├── biomarkers.md # topic MOC: lab results and trends
|
|
55
|
+
│ ├── recovery.md # topic MOC: recovery patterns
|
|
56
|
+
│ │
|
|
57
|
+
│ ├── afternoon-energy-crashes-correlate-with-high-glycemic-lunch.md
|
|
58
|
+
│ ├── headaches-follow-poor-sleep-plus-heavy-deadlift-days.md
|
|
59
|
+
│ ├── magnesium-supplementation-improved-sleep-quality.md
|
|
60
|
+
│ ├── protein-timing-affects-next-day-soreness.md
|
|
61
|
+
│ ├── running-volume-above-25km-triggers-knee-inflammation.md
|
|
62
|
+
│ └── ...
|
|
63
|
+
├── 02_archive/ # completed programs, old protocols
|
|
64
|
+
│ ├── programs/ # finished training programs
|
|
65
|
+
│ └── protocols/ # retired supplement protocols
|
|
66
|
+
├── 03_daily/ # daily health log (the engine)
|
|
67
|
+
│ ├── 2026-02/
|
|
68
|
+
│ │ ├── 2026-02-10.md
|
|
69
|
+
│ │ ├── 2026-02-11.md
|
|
70
|
+
│ │ ├── 2026-02-12.md
|
|
71
|
+
│ │ ├── 2026-02-13.md
|
|
72
|
+
│ │ └── 2026-02-14.md
|
|
73
|
+
│ ├── reviews/
|
|
74
|
+
│ │ ├── 2026-W07-weekly.md
|
|
75
|
+
│ │ └── 2026-01-monthly.md
|
|
76
|
+
│ └── protocols/ # active supplement/training protocols
|
|
77
|
+
│ ├── creatine-loading-protocol.md
|
|
78
|
+
│ ├── upper-lower-strength-program.md
|
|
79
|
+
│ └── histamine-elimination-trial.md
|
|
80
|
+
├── 04_meta/ # infrastructure
|
|
81
|
+
│ ├── templates/
|
|
82
|
+
│ │ ├── daily-log.md
|
|
83
|
+
│ │ ├── workout-entry.md
|
|
84
|
+
│ │ ├── symptom-entry.md
|
|
85
|
+
│ │ ├── supplement-protocol.md
|
|
86
|
+
│ │ ├── training-program.md
|
|
87
|
+
│ │ ├── lab-result.md
|
|
88
|
+
│ │ ├── weekly-review.md
|
|
89
|
+
│ │ └── correlation-finding.md
|
|
90
|
+
│ ├── logs/
|
|
91
|
+
│ │ ├── observations.md
|
|
92
|
+
│ │ ├── observations/
|
|
93
|
+
│ │ ├── tensions.md
|
|
94
|
+
│ │ └── tensions/
|
|
95
|
+
│ ├── scripts/
|
|
96
|
+
│ │ ├── symptom-correlation.sh
|
|
97
|
+
│ │ ├── training-volume.sh
|
|
98
|
+
│ │ ├── sleep-quality-trend.sh
|
|
99
|
+
│ │ └── macro-average.sh
|
|
100
|
+
│ └── tasks/
|
|
101
|
+
│ └── queue.json
|
|
102
|
+
├── self/
|
|
103
|
+
│ ├── identity.md
|
|
104
|
+
│ ├── methodology.md
|
|
105
|
+
│ ├── goals.md
|
|
106
|
+
│ └── lena-profile.md # baselines, sensitivities, preferences
|
|
107
|
+
└── ops/
|
|
108
|
+
└── methodology/
|
|
109
|
+
├── how-daily-logs-process.md
|
|
110
|
+
├── how-correlation-detection-works.md
|
|
111
|
+
└── how-protocol-assessment-works.md
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Note Schemas
|
|
117
|
+
|
|
118
|
+
### Daily Log
|
|
119
|
+
|
|
120
|
+
```yaml
|
|
121
|
+
---
|
|
122
|
+
description: [one sentence — energy level, training, notable meals or symptoms]
|
|
123
|
+
date: 2026-02-14
|
|
124
|
+
energy_rating: 7
|
|
125
|
+
mood: ["focused", "calm"]
|
|
126
|
+
sleep_hours: 7.5
|
|
127
|
+
sleep_quality: 8
|
|
128
|
+
sleep_notes: "fell asleep quickly, one wake at 3am"
|
|
129
|
+
meals:
|
|
130
|
+
- meal: breakfast
|
|
131
|
+
time: "07:30"
|
|
132
|
+
foods: ["oatmeal", "blueberries", "protein powder", "coffee"]
|
|
133
|
+
calories: 480
|
|
134
|
+
protein: 35
|
|
135
|
+
carbs: 62
|
|
136
|
+
fat: 12
|
|
137
|
+
- meal: lunch
|
|
138
|
+
time: "12:30"
|
|
139
|
+
foods: ["chicken breast", "brown rice", "broccoli", "olive oil"]
|
|
140
|
+
calories: 620
|
|
141
|
+
protein: 48
|
|
142
|
+
carbs: 55
|
|
143
|
+
fat: 22
|
|
144
|
+
- meal: dinner
|
|
145
|
+
time: "19:00"
|
|
146
|
+
foods: ["salmon", "sweet potato", "spinach salad"]
|
|
147
|
+
calories: 580
|
|
148
|
+
protein: 42
|
|
149
|
+
carbs: 45
|
|
150
|
+
fat: 20
|
|
151
|
+
- meal: snack
|
|
152
|
+
time: "15:30"
|
|
153
|
+
foods: ["greek yogurt", "almonds"]
|
|
154
|
+
calories: 280
|
|
155
|
+
protein: 22
|
|
156
|
+
carbs: 15
|
|
157
|
+
fat: 16
|
|
158
|
+
total_calories: 1960
|
|
159
|
+
total_protein: 147
|
|
160
|
+
total_carbs: 177
|
|
161
|
+
total_fat: 70
|
|
162
|
+
hydration_liters: 2.5
|
|
163
|
+
supplements_taken: ["creatine 5g", "magnesium glycinate 400mg", "vitamin D 4000IU"]
|
|
164
|
+
workout: "[[2026-02-14-upper-body]]"
|
|
165
|
+
symptoms: []
|
|
166
|
+
notes: "Good energy day. No afternoon crash — lunch was lower glycemic than usual."
|
|
167
|
+
topics: ["[[nutrition]]", "[[sleep]]"]
|
|
168
|
+
---
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Workout Entry
|
|
172
|
+
|
|
173
|
+
```yaml
|
|
174
|
+
---
|
|
175
|
+
description: [one sentence — what was trained and how it went]
|
|
176
|
+
date: 2026-02-14
|
|
177
|
+
type: strength
|
|
178
|
+
program: "[[upper-lower-strength-program]]"
|
|
179
|
+
session: upper-A
|
|
180
|
+
duration_min: 65
|
|
181
|
+
rpe_overall: 7
|
|
182
|
+
exercises:
|
|
183
|
+
- name: "bench press"
|
|
184
|
+
sets: [{"weight": 60, "reps": 8}, {"weight": 60, "reps": 8}, {"weight": 60, "reps": 7}, {"weight": 57.5, "reps": 8}]
|
|
185
|
+
rpe: 8
|
|
186
|
+
notes: "last rep of set 3 was a grind"
|
|
187
|
+
- name: "barbell row"
|
|
188
|
+
sets: [{"weight": 55, "reps": 10}, {"weight": 55, "reps": 10}, {"weight": 55, "reps": 9}]
|
|
189
|
+
rpe: 7
|
|
190
|
+
notes: null
|
|
191
|
+
- name: "overhead press"
|
|
192
|
+
sets: [{"weight": 35, "reps": 8}, {"weight": 35, "reps": 7}, {"weight": 32.5, "reps": 8}]
|
|
193
|
+
rpe: 8
|
|
194
|
+
notes: "shoulder felt tight, warmed up longer"
|
|
195
|
+
- name: "chin ups"
|
|
196
|
+
sets: [{"weight": "BW", "reps": 8}, {"weight": "BW", "reps": 7}, {"weight": "BW", "reps": 6}]
|
|
197
|
+
rpe: 8
|
|
198
|
+
notes: null
|
|
199
|
+
recovery_rating: 7
|
|
200
|
+
soreness_areas: ["chest", "shoulders"]
|
|
201
|
+
pre_workout_energy: 7
|
|
202
|
+
post_workout_energy: 6
|
|
203
|
+
topics: ["[[training]]", "[[recovery]]"]
|
|
204
|
+
relevant_notes: ["[[upper-lower-strength-program]] — program governing this session"]
|
|
205
|
+
---
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Symptom Entry
|
|
209
|
+
|
|
210
|
+
```yaml
|
|
211
|
+
---
|
|
212
|
+
description: [one sentence — what the symptom was and potential context]
|
|
213
|
+
date: 2026-02-12
|
|
214
|
+
symptom: tension-headache
|
|
215
|
+
severity: 6
|
|
216
|
+
onset_time: "14:30"
|
|
217
|
+
duration_hours: 3
|
|
218
|
+
location: "bilateral temporal"
|
|
219
|
+
potential_triggers: ["5.5h sleep", "heavy deadlifts yesterday", "skipped lunch"]
|
|
220
|
+
context:
|
|
221
|
+
sleep_prior_night: 5.5
|
|
222
|
+
training_prior_day: "[[2026-02-11-lower-body]]"
|
|
223
|
+
meals_today: ["coffee only until 13:00", "large pasta lunch at 13:15"]
|
|
224
|
+
hydration: "below target — ~1.5L by onset"
|
|
225
|
+
stress_level: 7
|
|
226
|
+
treatment: ["ibuprofen 400mg", "water 500ml", "20min nap"]
|
|
227
|
+
treatment_effective: true
|
|
228
|
+
resolution_time: "17:30"
|
|
229
|
+
topics: ["[[symptoms]]"]
|
|
230
|
+
relevant_notes: ["[[headaches-follow-poor-sleep-plus-heavy-deadlift-days]] — this is the 4th instance of this pattern"]
|
|
231
|
+
---
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
### Supplement Protocol
|
|
235
|
+
|
|
236
|
+
```yaml
|
|
237
|
+
---
|
|
238
|
+
description: [one sentence — what the protocol targets and current assessment]
|
|
239
|
+
supplement: magnesium-glycinate
|
|
240
|
+
dose: 400mg
|
|
241
|
+
timing: "before bed"
|
|
242
|
+
purpose: "improve sleep quality — reduce nighttime waking"
|
|
243
|
+
start_date: 2026-01-10
|
|
244
|
+
status: active
|
|
245
|
+
effectiveness_assessment: positive
|
|
246
|
+
evidence:
|
|
247
|
+
- "sleep quality rating improved from avg 6.2 to avg 7.4 over 4 weeks"
|
|
248
|
+
- "nighttime waking reduced from 2.1 avg to 0.8 avg per night"
|
|
249
|
+
interactions: ["may interact with calcium absorption — take separately"]
|
|
250
|
+
cost_monthly: 18
|
|
251
|
+
next_review: 2026-03-10
|
|
252
|
+
topics: ["[[supplements]]", "[[sleep]]"]
|
|
253
|
+
relevant_notes: ["[[magnesium-supplementation-improved-sleep-quality]] — the correlation finding that led to this protocol"]
|
|
254
|
+
---
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
### Training Program
|
|
258
|
+
|
|
259
|
+
```yaml
|
|
260
|
+
---
|
|
261
|
+
description: [one sentence — program goal and current phase]
|
|
262
|
+
program_name: "Upper-Lower Strength"
|
|
263
|
+
goal: "progressive overload on compound lifts"
|
|
264
|
+
duration_weeks: 12
|
|
265
|
+
current_week: 6
|
|
266
|
+
split: ["upper-A", "lower-A", "rest", "upper-B", "lower-B", "run", "rest"]
|
|
267
|
+
progression_scheme: "add 2.5kg when all sets hit target reps"
|
|
268
|
+
deload_schedule: "week 4 and week 8"
|
|
269
|
+
sessions_completed: 28
|
|
270
|
+
sessions_remaining: 28
|
|
271
|
+
prs_this_cycle: ["bench 62.5kg x 8", "squat 85kg x 6"]
|
|
272
|
+
stall_signals: ["overhead press stalled at 35kg for 3 weeks"]
|
|
273
|
+
topics: ["[[training]]"]
|
|
274
|
+
relevant_notes: ["[[running-volume-above-25km-triggers-knee-inflammation]] — constrains running days to max 2x per week at 10-12km each"]
|
|
275
|
+
---
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
### Lab Result
|
|
279
|
+
|
|
280
|
+
```yaml
|
|
281
|
+
---
|
|
282
|
+
description: [one sentence — what was tested and notable findings]
|
|
283
|
+
date: 2026-01-20
|
|
284
|
+
test_type: comprehensive-metabolic
|
|
285
|
+
provider: "Dr. Chen"
|
|
286
|
+
results:
|
|
287
|
+
- marker: "vitamin D"
|
|
288
|
+
value: 38
|
|
289
|
+
unit: "ng/mL"
|
|
290
|
+
reference: "30-100"
|
|
291
|
+
status: normal
|
|
292
|
+
trend: improving
|
|
293
|
+
- marker: "ferritin"
|
|
294
|
+
value: 28
|
|
295
|
+
unit: "ng/mL"
|
|
296
|
+
reference: "12-150"
|
|
297
|
+
status: low-normal
|
|
298
|
+
trend: stable
|
|
299
|
+
- marker: "TSH"
|
|
300
|
+
value: 2.1
|
|
301
|
+
unit: "mIU/L"
|
|
302
|
+
reference: "0.4-4.0"
|
|
303
|
+
status: normal
|
|
304
|
+
trend: stable
|
|
305
|
+
- marker: "fasting glucose"
|
|
306
|
+
value: 92
|
|
307
|
+
unit: "mg/dL"
|
|
308
|
+
reference: "70-100"
|
|
309
|
+
status: normal
|
|
310
|
+
trend: stable
|
|
311
|
+
provider_notes: "Consider iron supplementation given training volume. Vitamin D improving since summer supplementation."
|
|
312
|
+
follow_up: "retest ferritin in 3 months"
|
|
313
|
+
topics: ["[[biomarkers]]"]
|
|
314
|
+
relevant_notes: ["[[supplements]] — vitamin D protocol showing measurable improvement"]
|
|
315
|
+
---
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
### Correlation Finding (Agent-Generated)
|
|
319
|
+
|
|
320
|
+
```yaml
|
|
321
|
+
---
|
|
322
|
+
description: [one sentence — the correlation discovered, with strength and conditions]
|
|
323
|
+
type: learning
|
|
324
|
+
correlation_type: symptom-trigger | performance-factor | recovery-pattern
|
|
325
|
+
variables: ["sleep_hours", "training_intensity", "symptom"]
|
|
326
|
+
strength: strong | moderate | weak
|
|
327
|
+
sample_size: 18
|
|
328
|
+
confidence: "18 out of 22 occurrences (82%)"
|
|
329
|
+
conditions: "effect observed when both sleep < 6h AND previous day included RPE 8+ lower body"
|
|
330
|
+
actionable: true
|
|
331
|
+
recommendation: "avoid RPE 8+ lower body training on days following < 6h sleep"
|
|
332
|
+
topics: ["[[symptoms]]", "[[training]]", "[[recovery]]"]
|
|
333
|
+
relevant_notes: []
|
|
334
|
+
---
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
---
|
|
338
|
+
|
|
339
|
+
## Example Notes
|
|
340
|
+
|
|
341
|
+
### Daily Log
|
|
342
|
+
|
|
343
|
+
```markdown
|
|
344
|
+
---
|
|
345
|
+
description: Average energy day — tension headache appeared at 2:30pm following poor sleep and heavy deadlifts yesterday, ibuprofen resolved by 5:30pm
|
|
346
|
+
date: 2026-02-12
|
|
347
|
+
energy_rating: 5
|
|
348
|
+
mood: ["tired", "irritable"]
|
|
349
|
+
sleep_hours: 5.5
|
|
350
|
+
sleep_quality: 4
|
|
351
|
+
sleep_notes: "restless, woke at 1am and 4am, took 30min to fall back asleep each time"
|
|
352
|
+
meals:
|
|
353
|
+
- meal: breakfast
|
|
354
|
+
time: "08:00"
|
|
355
|
+
foods: ["coffee x2"]
|
|
356
|
+
calories: 10
|
|
357
|
+
protein: 0
|
|
358
|
+
carbs: 0
|
|
359
|
+
fat: 0
|
|
360
|
+
- meal: lunch
|
|
361
|
+
time: "13:15"
|
|
362
|
+
foods: ["pasta carbonara", "garlic bread", "sparkling water"]
|
|
363
|
+
calories: 920
|
|
364
|
+
protein: 32
|
|
365
|
+
carbs: 105
|
|
366
|
+
fat: 38
|
|
367
|
+
- meal: dinner
|
|
368
|
+
time: "19:30"
|
|
369
|
+
foods: ["grilled chicken", "mixed vegetables", "quinoa"]
|
|
370
|
+
calories: 550
|
|
371
|
+
protein: 44
|
|
372
|
+
carbs: 48
|
|
373
|
+
fat: 14
|
|
374
|
+
- meal: snack
|
|
375
|
+
time: "16:00"
|
|
376
|
+
foods: ["banana", "peanut butter"]
|
|
377
|
+
calories: 280
|
|
378
|
+
protein: 8
|
|
379
|
+
carbs: 35
|
|
380
|
+
fat: 14
|
|
381
|
+
total_calories: 1760
|
|
382
|
+
total_protein: 84
|
|
383
|
+
total_carbs: 188
|
|
384
|
+
total_fat: 66
|
|
385
|
+
hydration_liters: 1.8
|
|
386
|
+
supplements_taken: ["creatine 5g", "magnesium glycinate 400mg", "vitamin D 4000IU"]
|
|
387
|
+
workout: null
|
|
388
|
+
symptoms: ["[[2026-02-12-tension-headache]]"]
|
|
389
|
+
notes: "Bad sleep → skipped breakfast → huge carb-heavy lunch → energy crash → headache. Classic cascade. The headache pattern is repeating — this is the 4th time since December. Always follows the combination of bad sleep + heavy training the day before."
|
|
390
|
+
topics: ["[[nutrition]]", "[[sleep]]", "[[symptoms]]"]
|
|
391
|
+
---
|
|
392
|
+
|
|
393
|
+
# 2026-02-12
|
|
394
|
+
|
|
395
|
+
Today was a demonstration of how cascading inputs compound into symptoms. Slept 5.5 hours (well below my 7.5h target), which led to skipping breakfast in favor of double coffee, which led to a massive compensatory lunch heavy on refined carbs, which coincided with the afternoon energy crash and headache onset at 2:30pm.
|
|
396
|
+
|
|
397
|
+
Since [[headaches-follow-poor-sleep-plus-heavy-deadlift-days]], this is the 4th instance of this specific pattern. The combination of sub-6-hour sleep AND heavy lower body training the previous day (yesterday was RPE 8 deadlifts) creates the conditions. The high-glycemic lunch may amplify it but is not the primary trigger — there are days with similar lunches and no headache when sleep was adequate.
|
|
398
|
+
|
|
399
|
+
Hydration was also below target at ~1.5L by headache onset. Hard to disentangle whether dehydration is an independent trigger or just correlated with the poor-sleep-skip-breakfast cascade.
|
|
400
|
+
|
|
401
|
+
**Action taken:** 400mg ibuprofen + 500ml water + 20min nap. Resolved by 5:30pm.
|
|
402
|
+
|
|
403
|
+
**For the agent:** This log contributes to three active correlation investigations: (1) sleep quality vs headache incidence, (2) previous-day training intensity vs headache incidence, (3) meal timing/composition vs energy crashes. Log this data point in all three.
|
|
404
|
+
|
|
405
|
+
---
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
### Correlation Finding: Headaches Follow Sleep + Deadlift Days
|
|
409
|
+
|
|
410
|
+
```markdown
|
|
411
|
+
---
|
|
412
|
+
description: Tension headaches occur in 82% of cases when sleep drops below 6 hours and the previous day included RPE 8+ lower body training — the two triggers compound but neither alone is sufficient
|
|
413
|
+
type: learning
|
|
414
|
+
correlation_type: symptom-trigger
|
|
415
|
+
variables: ["sleep_hours", "previous_day_training_rpe", "previous_day_training_type", "headache_occurrence"]
|
|
416
|
+
strength: strong
|
|
417
|
+
sample_size: 22
|
|
418
|
+
confidence: "18 out of 22 co-occurrences (82%) produced headache within 24h"
|
|
419
|
+
conditions: "sleep < 6h AND previous day lower body RPE >= 8"
|
|
420
|
+
actionable: true
|
|
421
|
+
recommendation: "On nights after heavy lower body sessions, prioritize sleep hygiene — magnesium, no screens after 10pm, bedroom temp below 19C. If sleep is disrupted, reduce next-day intensity."
|
|
422
|
+
topics: ["[[symptoms]]", "[[training]]", "[[sleep]]", "[[recovery]]"]
|
|
423
|
+
relevant_notes: ["[[magnesium-supplementation-improved-sleep-quality]] — magnesium may help prevent the sleep disruption that enables this cascade", "[[running-volume-above-25km-triggers-knee-inflammation]] — another training-volume threshold finding, demonstrating that the body has specific capacity limits", "[[protein-timing-affects-next-day-soreness]] — related recovery finding: pre-sleep protein may improve recovery quality and sleep on heavy training days"]
|
|
424
|
+
---
|
|
425
|
+
|
|
426
|
+
# headaches-follow-poor-sleep-plus-heavy-deadlift-days
|
|
427
|
+
|
|
428
|
+
The pattern emerged after tracking symptom logs alongside training and sleep data for four months. Tension headaches are not random for Lena — they follow a specific, reproducible trigger combination.
|
|
429
|
+
|
|
430
|
+
## The Finding
|
|
431
|
+
|
|
432
|
+
Out of 22 instances where Lena slept less than 6 hours AND trained lower body at RPE 8 or higher the previous day, 18 resulted in a tension headache within 24 hours (82%). The typical onset is early-to-mid afternoon, 14-20 hours after the training session.
|
|
433
|
+
|
|
434
|
+
Neither trigger alone is sufficient:
|
|
435
|
+
- Sleep under 6 hours WITHOUT heavy prior-day training: 3 out of 14 occasions produced headaches (21%)
|
|
436
|
+
- Heavy lower body RPE 8+ WITH adequate sleep (7+ hours): 2 out of 19 occasions produced headaches (11%)
|
|
437
|
+
- Both triggers together: 18 out of 22 (82%)
|
|
438
|
+
|
|
439
|
+
This is a compound trigger — the interaction between poor sleep and high training stress produces the symptom, not either factor in isolation. The mechanism is likely inflammatory: heavy compound lifts create systemic inflammation, and inadequate sleep prevents the recovery processes that resolve it. The headache is the body's signal that recovery debt has exceeded capacity.
|
|
440
|
+
|
|
441
|
+
## What This Means for Programming
|
|
442
|
+
|
|
443
|
+
Since [[running-volume-above-25km-triggers-knee-inflammation]], Lena's body has shown clear capacity thresholds in multiple systems. The training program should account for this: heavy lower body days (RPE 8+ deadlifts, squats) need to be followed by nights where sleep quality is protected. If sleep is known to be compromised (travel, social events, stress), the previous day's training should stay below RPE 7 for lower body.
|
|
444
|
+
|
|
445
|
+
Since [[magnesium-supplementation-improved-sleep-quality]], the magnesium protocol may serve double duty here — improving sleep quality generally, which reduces the frequency of the sleep trigger. But the supplementation does not eliminate the interaction. When sleep is poor despite magnesium, the compound trigger still fires.
|
|
446
|
+
|
|
447
|
+
## Monitoring
|
|
448
|
+
|
|
449
|
+
The agent tracks this pattern continuously. Each daily log with sub-6-hour sleep AND previous-day RPE 8+ lower body is flagged. The 82% rate is the current baseline — if the sleep hygiene interventions reduce headache frequency in this trigger combination, the rate should drop. If it drops below 50%, the correlation may be weakening (possibly due to improved baseline fitness or supplement effects). If it stays above 75%, the trigger combination is stable and training programming must accommodate it.
|
|
450
|
+
|
|
451
|
+
---
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
### Supplement Protocol Note
|
|
455
|
+
|
|
456
|
+
```markdown
|
|
457
|
+
---
|
|
458
|
+
description: Magnesium glycinate 400mg before bed — measurably improved sleep quality from 6.2 to 7.4 average rating and reduced nighttime waking by 62% over four weeks
|
|
459
|
+
supplement: magnesium-glycinate
|
|
460
|
+
dose: 400mg
|
|
461
|
+
timing: "30 minutes before bed"
|
|
462
|
+
purpose: "improve sleep quality — reduce nighttime waking"
|
|
463
|
+
start_date: 2026-01-10
|
|
464
|
+
status: active
|
|
465
|
+
effectiveness_assessment: positive
|
|
466
|
+
evidence:
|
|
467
|
+
- "sleep quality rating improved from avg 6.2 to avg 7.4 over 4 weeks"
|
|
468
|
+
- "nighttime waking reduced from 2.1 avg to 0.8 avg per night"
|
|
469
|
+
- "sleep latency decreased from avg 22min to avg 12min"
|
|
470
|
+
- "no headaches during 3 consecutive adequate sleep nights — supporting cascade hypothesis"
|
|
471
|
+
interactions: ["take separately from calcium", "may enhance effect of melatonin if added"]
|
|
472
|
+
cost_monthly: 18
|
|
473
|
+
next_review: 2026-03-10
|
|
474
|
+
topics: ["[[supplements]]", "[[sleep]]"]
|
|
475
|
+
relevant_notes: ["[[headaches-follow-poor-sleep-plus-heavy-deadlift-days]] — improved sleep reduces the frequency of the sleep trigger in the headache cascade", "[[protein-timing-affects-next-day-soreness]] — both findings suggest pre-sleep supplementation and nutrition window affects recovery quality"]
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
# magnesium-supplementation-improved-sleep-quality
|
|
479
|
+
|
|
480
|
+
## Protocol
|
|
481
|
+
|
|
482
|
+
400mg magnesium glycinate taken 30 minutes before bed, started January 10, 2026. Glycinate form chosen for bioavailability and calming effect vs oxide form. Taken on an empty stomach or with a small amount of protein.
|
|
483
|
+
|
|
484
|
+
## Baseline (Dec 15 - Jan 9, pre-protocol)
|
|
485
|
+
|
|
486
|
+
| Metric | Average | Range |
|
|
487
|
+
|--------|---------|-------|
|
|
488
|
+
| Sleep quality rating | 6.2 | 4-8 |
|
|
489
|
+
| Nighttime wakings | 2.1 | 0-4 |
|
|
490
|
+
| Sleep latency | 22 min | 10-45 min |
|
|
491
|
+
| Total sleep hours | 6.8 | 5.5-8.0 |
|
|
492
|
+
|
|
493
|
+
## Post-Protocol (Jan 10 - Feb 14, 5 weeks)
|
|
494
|
+
|
|
495
|
+
| Metric | Average | Change | Range |
|
|
496
|
+
|--------|---------|--------|-------|
|
|
497
|
+
| Sleep quality rating | 7.4 | +1.2 | 5-9 |
|
|
498
|
+
| Nighttime wakings | 0.8 | -1.3 (62% reduction) | 0-2 |
|
|
499
|
+
| Sleep latency | 12 min | -10 min (45% reduction) | 5-25 min |
|
|
500
|
+
| Total sleep hours | 7.3 | +0.5 | 6.0-8.5 |
|
|
501
|
+
|
|
502
|
+
## Assessment
|
|
503
|
+
|
|
504
|
+
The improvement is meaningful and appeared gradually over the first two weeks. The most notable change is the reduction in nighttime waking, which has downstream effects on recovery quality and since [[headaches-follow-poor-sleep-plus-heavy-deadlift-days]], reduces the frequency of the sleep trigger in the headache compound pattern.
|
|
505
|
+
|
|
506
|
+
Since this protocol began, Lena has had 3 instances of the deadlift-plus-poor-sleep compound trigger versus 5 instances in the 5 weeks prior. The magnesium is not eliminating poor sleep nights entirely, but it is reducing their frequency, which proportionally reduces headache incidence.
|
|
507
|
+
|
|
508
|
+
**Confounding factors:** Lena also reduced evening screen time starting Jan 15 (5 days after magnesium). The two interventions are partially confounded. The agent is tracking whether nights with screen use after 10pm still show improvement vs pre-protocol, which would isolate the magnesium effect.
|
|
509
|
+
|
|
510
|
+
## Decision
|
|
511
|
+
|
|
512
|
+
Continue protocol. Schedule re-assessment at 3-month mark (March 10) to evaluate long-term trajectory. Consider dose adjustment (300mg vs 400mg) if sleep quality remains stable — lower effective dose reduces cost and supplement load.
|
|
513
|
+
|
|
514
|
+
---
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
### Weekly Review
|
|
518
|
+
|
|
519
|
+
```markdown
|
|
520
|
+
---
|
|
521
|
+
description: Week 7 2026 — headache pattern recurred, training volume on track, macro compliance improved except Tuesday
|
|
522
|
+
review_type: weekly
|
|
523
|
+
period: "2026-W07"
|
|
524
|
+
training_sessions: 5
|
|
525
|
+
training_volume: "moderate — 2 upper, 2 lower, 1 run (8km)"
|
|
526
|
+
avg_sleep_hours: 6.9
|
|
527
|
+
avg_sleep_quality: 6.8
|
|
528
|
+
avg_energy: 6.4
|
|
529
|
+
symptoms_logged: 1
|
|
530
|
+
symptom_details: ["tension headache Feb 12 — compound trigger: 5.5h sleep + heavy deadlifts Feb 11"]
|
|
531
|
+
nutrition_compliance: "4 of 7 days hit protein target (140g+)"
|
|
532
|
+
supplement_compliance: "7 of 7 days — full protocol"
|
|
533
|
+
weight_trend: "66.2kg → 66.0kg (stable)"
|
|
534
|
+
topics: ["[[training]]", "[[nutrition]]", "[[symptoms]]"]
|
|
535
|
+
relevant_notes: ["[[headaches-follow-poor-sleep-plus-heavy-deadlift-days]] — pattern confirmed again this week", "[[upper-lower-strength-program]] — program week 6, on track"]
|
|
536
|
+
---
|
|
537
|
+
|
|
538
|
+
# 2026-W07 Weekly Review
|
|
539
|
+
|
|
540
|
+
## Overview
|
|
541
|
+
|
|
542
|
+
A mixed week. Training was consistent and the strength program is progressing well — bench press hit 60kg for 3x8 and squat continues to improve. But the headache pattern recurred on Wednesday, triggered by the familiar compound of poor sleep (5.5h) plus previous-day heavy deadlifts.
|
|
543
|
+
|
|
544
|
+
## Training
|
|
545
|
+
|
|
546
|
+
Five sessions completed per the program schedule. Progressive overload on track for bench and squat. Overhead press remains stalled at 35kg for a third consecutive week — this is a genuine plateau, not a recovery issue. Running session was an easy 8km, well within the limits documented in [[running-volume-above-25km-triggers-knee-inflammation]].
|
|
547
|
+
|
|
548
|
+
**Agent note:** Consider adding a dedicated shoulder accessory day or modifying the overhead press progression scheme. Three weeks of stalling with adequate recovery suggests the current stimulus is insufficient, not excessive.
|
|
549
|
+
|
|
550
|
+
## Nutrition
|
|
551
|
+
|
|
552
|
+
Protein target (140g+) hit on 4 out of 7 days. Tuesday was the worst day — only 84g protein, dominated by the high-carb lunch that contributed to the energy crash and headache. The pattern of poor sleep leading to skipped breakfast leading to compensatory carb-heavy meals is well-documented and happened again this week.
|
|
553
|
+
|
|
554
|
+
Since [[afternoon-energy-crashes-correlate-with-high-glycemic-lunch]], the Tuesday crash was predictable. On the 3 days where lunch included >30g protein and <50g refined carbs, afternoon energy averaged 7.3. On the 2 days with high-glycemic lunches, afternoon energy averaged 4.5.
|
|
555
|
+
|
|
556
|
+
## Sleep
|
|
557
|
+
|
|
558
|
+
Average 6.9 hours, pulled down by Tuesday's 5.5h. The five nights with adequate sleep (7+ hours) all had sleep quality ratings of 7 or above. The magnesium protocol continues to show benefit — sleep latency has been consistently under 15 minutes since [[magnesium-supplementation-improved-sleep-quality]].
|
|
559
|
+
|
|
560
|
+
## Symptoms
|
|
561
|
+
|
|
562
|
+
One tension headache on Wednesday, following the established compound trigger pattern. No other symptoms. The headache resolved with standard treatment (ibuprofen + water + rest). This is the 4th recurrence since tracking began — the pattern is statistically robust.
|
|
563
|
+
|
|
564
|
+
## Action Items for Next Week
|
|
565
|
+
|
|
566
|
+
1. Protect sleep quality on lower body training days — enforce the post-deadlift sleep hygiene protocol
|
|
567
|
+
2. Prepare grab-and-go breakfast options for mornings after poor sleep to prevent the skip-breakfast cascade
|
|
568
|
+
3. Consider overhead press programming modification after one more test week
|
|
569
|
+
4. Continue tracking the afternoon energy vs lunch composition pattern — sample size growing
|
|
570
|
+
|
|
571
|
+
---
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
### Pattern Discovery: Energy Crashes and Glycemic Load
|
|
575
|
+
|
|
576
|
+
```markdown
|
|
577
|
+
---
|
|
578
|
+
description: Afternoon energy crashes (rating <= 4) occur 78% of the time when lunch exceeds 80g refined carbs and follows a fasted morning — neither condition alone produces reliable crashes
|
|
579
|
+
type: learning
|
|
580
|
+
correlation_type: performance-factor
|
|
581
|
+
variables: ["lunch_refined_carbs", "breakfast_skipped", "afternoon_energy_rating"]
|
|
582
|
+
strength: strong
|
|
583
|
+
sample_size: 32
|
|
584
|
+
confidence: "18 out of 23 co-occurrences (78%) produced energy rating <= 4 between 2-4pm"
|
|
585
|
+
conditions: "lunch refined carbs > 80g AND no breakfast or breakfast < 200 calories"
|
|
586
|
+
actionable: true
|
|
587
|
+
recommendation: "On days when breakfast is skipped, lunch should emphasize protein and complex carbs — keep refined carbs below 50g. Alternatively, never skip breakfast on work days."
|
|
588
|
+
topics: ["[[nutrition]]", "[[symptoms]]"]
|
|
589
|
+
relevant_notes: ["[[headaches-follow-poor-sleep-plus-heavy-deadlift-days]] — the energy crash pattern often precedes headache onset, suggesting cascading physiological stress", "[[protein-timing-affects-next-day-soreness]] — protein distribution throughout the day affects multiple outcomes beyond soreness"]
|
|
590
|
+
---
|
|
591
|
+
|
|
592
|
+
# afternoon-energy-crashes-correlate-with-high-glycemic-lunch
|
|
593
|
+
|
|
594
|
+
The agent identified this pattern after analyzing 90 daily logs spanning November through February. Lena reports afternoon energy crashes (energy rating 4 or below between 2-4pm) frequently, but they are not random. Two conditions predict crashes with 78% accuracy when they co-occur.
|
|
595
|
+
|
|
596
|
+
## The Finding
|
|
597
|
+
|
|
598
|
+
The crash pattern requires two simultaneous conditions:
|
|
599
|
+
|
|
600
|
+
1. **Fasted morning:** Breakfast skipped entirely or under 200 calories (typically coffee only)
|
|
601
|
+
2. **High-glycemic lunch:** Refined carbohydrate content exceeding 80g (pasta, bread, white rice as dominant component)
|
|
602
|
+
|
|
603
|
+
When both conditions are present: 18 out of 23 occasions produced an energy crash (78%).
|
|
604
|
+
When only condition 1 is present (fasted morning, moderate lunch): 4 out of 15 (27%).
|
|
605
|
+
When only condition 2 is present (normal breakfast, high-glycemic lunch): 5 out of 18 (28%).
|
|
606
|
+
When neither condition is present: 2 out of 34 (6%).
|
|
607
|
+
|
|
608
|
+
The interaction effect is clear. A fasted morning creates insulin sensitivity, and the subsequent high-glycemic load produces a reactive hypoglycemia pattern that manifests as the afternoon crash. With a normal breakfast, insulin sensitivity is moderated and the same lunch produces a smaller glycemic swing.
|
|
609
|
+
|
|
610
|
+
## Intervention Design
|
|
611
|
+
|
|
612
|
+
The simplest intervention targets condition 1: do not skip breakfast. On days when Lena eats 400+ calories at breakfast including 25+ g protein, afternoon crashes drop to 6% regardless of lunch composition. Breakfast normalizes the insulin response and prevents the reactive pattern.
|
|
613
|
+
|
|
614
|
+
For days when breakfast is unavoidable to skip (travel, early meetings), the fallback targets condition 2: keep lunch refined carbs under 50g, emphasize protein (40g+) and fat. A chicken salad with olive oil dressing instead of pasta carbonara eliminates the glycemic trigger even in a fasted state.
|
|
615
|
+
|
|
616
|
+
## Monitoring
|
|
617
|
+
|
|
618
|
+
The agent flags each daily log where breakfast is skipped and lunch exceeds 80g refined carbs. If Lena follows the intervention protocol, these co-occurrences should become rare. The crash rate in non-flagged days (6%) serves as the baseline. If crashes begin occurring outside the identified trigger pattern, a new correlation investigation is warranted.
|
|
619
|
+
|
|
620
|
+
---
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
---
|
|
624
|
+
|
|
625
|
+
## Processing Workflow
|
|
626
|
+
|
|
627
|
+
### Capture
|
|
628
|
+
|
|
629
|
+
Daily health data enters through multiple channels:
|
|
630
|
+
|
|
631
|
+
1. **Morning:** Sleep data logged (hours, quality, disruptions). Supplements taken logged. Breakfast logged.
|
|
632
|
+
2. **Throughout day:** Meals logged after eating. Energy and mood rated at natural transition points (morning, midday, afternoon, evening).
|
|
633
|
+
3. **Training sessions:** Workout logged immediately after training — exercises, weights, reps, RPE, recovery rating.
|
|
634
|
+
4. **Symptoms:** Logged when they occur — symptom type, severity, onset time, context, potential triggers.
|
|
635
|
+
5. **Lab results, research:** Dropped into inbox for later processing.
|
|
636
|
+
|
|
637
|
+
The agent compiles the daily log at end of day from these inputs, filling in computed fields (total calories, macros, hydration) and creating cross-references to any symptom entries, workout entries, or protocol notes.
|
|
638
|
+
|
|
639
|
+
### Process (the domain-specific step)
|
|
640
|
+
|
|
641
|
+
Three processing workflows run at different cadences:
|
|
642
|
+
|
|
643
|
+
**Daily compilation:**
|
|
644
|
+
1. Aggregate all inputs into the daily log note
|
|
645
|
+
2. Flag any data gaps (missing meals, no sleep entry)
|
|
646
|
+
3. Link workout entry to training program
|
|
647
|
+
4. Link symptom entries to daily log
|
|
648
|
+
5. Check supplement compliance
|
|
649
|
+
|
|
650
|
+
**Weekly correlation scan:**
|
|
651
|
+
1. Agent analyzes the week's data for pattern matches against known correlations
|
|
652
|
+
2. New symptom-trigger co-occurrences are flagged
|
|
653
|
+
3. Training volume is checked against known thresholds (e.g., running volume vs knee inflammation)
|
|
654
|
+
4. Nutrition compliance is calculated (protein target hit rate, macro averages)
|
|
655
|
+
5. Sleep trends are assessed
|
|
656
|
+
6. Findings go into the weekly review note
|
|
657
|
+
|
|
658
|
+
**Monthly protocol assessment:**
|
|
659
|
+
1. Agent evaluates all active supplement protocols against their effectiveness metrics
|
|
660
|
+
2. Training program progress is assessed (PRs, stalls, recovery patterns)
|
|
661
|
+
3. Lab result trends are reviewed if new results available
|
|
662
|
+
4. Correlation findings are re-evaluated with larger sample size
|
|
663
|
+
5. Recommendations for protocol adjustments are generated
|
|
664
|
+
|
|
665
|
+
### Connect
|
|
666
|
+
|
|
667
|
+
Every daily log links to its workout entry, symptom entries, and active protocols. Correlation findings link back to the daily logs that constitute their evidence base. Protocols link to the biomarker or symptom trends they target. The agent maintains bidirectional links — when a new correlation finding is confirmed, it propagates to all relevant protocols and symptom entries.
|
|
668
|
+
|
|
669
|
+
### Verify
|
|
670
|
+
|
|
671
|
+
Weekly: agent checks data completeness (all days have logs, all workouts are logged, all supplements tracked).
|
|
672
|
+
Monthly: agent validates correlation findings against growing sample sizes — do the patterns hold?
|
|
673
|
+
Quarterly: agent reviews all protocols for measurable effectiveness, flags any without clear evidence.
|
|
674
|
+
|
|
675
|
+
---
|
|
676
|
+
|
|
677
|
+
## MOC Structure
|
|
678
|
+
|
|
679
|
+
### Hub MOC: index.md
|
|
680
|
+
|
|
681
|
+
```markdown
|
|
682
|
+
---
|
|
683
|
+
description: Entry point for Lena's health and wellness knowledge system — navigate to nutrition, training, sleep, symptoms, or supplements
|
|
684
|
+
type: moc
|
|
685
|
+
---
|
|
686
|
+
|
|
687
|
+
# Wellness System
|
|
688
|
+
|
|
689
|
+
## Active Tracking
|
|
690
|
+
- [[nutrition]] — dietary patterns, meal composition, macro targets
|
|
691
|
+
- [[training]] — exercise programming, progressive overload, performance tracking
|
|
692
|
+
- [[sleep]] — sleep quality patterns, pre-sleep routines, recovery correlation
|
|
693
|
+
- [[symptoms]] — symptom tracking, trigger identification, cascade patterns
|
|
694
|
+
- [[supplements]] — active protocols, effectiveness tracking, interaction monitoring
|
|
695
|
+
|
|
696
|
+
## Supporting Knowledge
|
|
697
|
+
- [[biomarkers]] — lab results, trends, clinical context
|
|
698
|
+
- [[recovery]] — recovery patterns, overtraining signals, deload timing
|
|
699
|
+
|
|
700
|
+
---
|
|
701
|
+
|
|
702
|
+
Agent Notes:
|
|
703
|
+
For symptom investigation, start with [[symptoms]] and trace back to [[sleep]] and [[training]] — most triggers are cross-domain. For training programming questions, check [[recovery]] for capacity constraints before adjusting volume.
|
|
704
|
+
```
|
|
705
|
+
|
|
706
|
+
### Topic MOC: symptoms.md
|
|
707
|
+
|
|
708
|
+
```markdown
|
|
709
|
+
---
|
|
710
|
+
description: Symptom tracking and trigger identification — where cross-domain correlations surface and lifestyle adjustments become evidence-based
|
|
711
|
+
type: moc
|
|
712
|
+
topics: ["[[index]]"]
|
|
713
|
+
---
|
|
714
|
+
|
|
715
|
+
# symptoms
|
|
716
|
+
|
|
717
|
+
Symptoms are the body's output signals. This MOC tracks what symptoms occur, what triggers them, and what interventions resolve them. The value is not in logging symptoms — Lena did that with a paper diary for a year. The value is in systematic correlation with nutrition, sleep, and training data to identify the multi-factor triggers that no single-domain tracker can detect.
|
|
718
|
+
|
|
719
|
+
## Confirmed Triggers
|
|
720
|
+
- [[headaches-follow-poor-sleep-plus-heavy-deadlift-days]] — compound trigger (sleep < 6h + RPE 8+ lower body), 82% hit rate over 22 co-occurrences
|
|
721
|
+
- [[afternoon-energy-crashes-correlate-with-high-glycemic-lunch]] — compound trigger (skipped breakfast + high-glycemic lunch), 78% hit rate over 23 co-occurrences
|
|
722
|
+
|
|
723
|
+
## Under Investigation
|
|
724
|
+
- Relationship between training volume and knee inflammation — documented threshold at 25km/week running but strength training contribution unclear
|
|
725
|
+
- Whether high-histamine foods correlate with headache frequency independently of sleep quality — elimination trial in progress
|
|
726
|
+
|
|
727
|
+
## Resolved
|
|
728
|
+
- [[magnesium-supplementation-improved-sleep-quality]] — not a symptom finding per se, but resolving sleep quality addressed the upstream trigger for headaches
|
|
729
|
+
|
|
730
|
+
## Cascade Patterns
|
|
731
|
+
The most important finding across all symptom tracking: symptoms rarely have single causes. The headache pattern requires BOTH poor sleep AND heavy training. The energy crash requires BOTH fasted morning AND high-glycemic lunch. Interventions that target single factors miss the interaction effect. The agent's value is holding all factors simultaneously and detecting which combinations produce symptoms.
|
|
732
|
+
|
|
733
|
+
---
|
|
734
|
+
|
|
735
|
+
Agent Notes:
|
|
736
|
+
When a new symptom is logged, the first analytical pass should check against ALL known compound triggers before investigating novel causes. Most symptoms in Lena's profile are variations on established cascades, not new phenomena.
|
|
737
|
+
```
|
|
738
|
+
|
|
739
|
+
---
|
|
740
|
+
|
|
741
|
+
## Graph Query Examples
|
|
742
|
+
|
|
743
|
+
```bash
|
|
744
|
+
# Find all days with symptoms and check what training happened the day before
|
|
745
|
+
rg '^symptoms: \[' vault/03_daily/2026-02/ | grep -v '\[\]' | \
|
|
746
|
+
while read line; do
|
|
747
|
+
date=$(echo "$line" | grep -o '2026-02-[0-9]*')
|
|
748
|
+
prev=$(date -j -v-1d -f %Y-%m-%d "$date" +%Y-%m-%d 2>/dev/null)
|
|
749
|
+
echo "=== Symptom day: $date === Training day before: $prev ==="
|
|
750
|
+
rg "^rpe_overall:" "vault/03_daily/2026-02/$prev.md" 2>/dev/null
|
|
751
|
+
done
|
|
752
|
+
|
|
753
|
+
# Track protein compliance across all days
|
|
754
|
+
rg '^total_protein:' vault/03_daily/2026-02/ | sort
|
|
755
|
+
|
|
756
|
+
# Find all days with energy rating below 5
|
|
757
|
+
rg '^energy_rating: [1-4]' vault/03_daily/2026-02/
|
|
758
|
+
|
|
759
|
+
# Sleep quality trend
|
|
760
|
+
rg '^sleep_quality:' vault/03_daily/2026-02/ | sort
|
|
761
|
+
|
|
762
|
+
# Find all symptom entries with specific trigger
|
|
763
|
+
rg '^potential_triggers:.*sleep' vault/03_daily/2026-02/ vault/04_meta/
|
|
764
|
+
|
|
765
|
+
# Training volume per week (by counting sessions)
|
|
766
|
+
rg '^type: strength\|^type: running' vault/03_daily/2026-02/ --count
|
|
767
|
+
|
|
768
|
+
# Supplement compliance — days where protocol was not fully followed
|
|
769
|
+
rg '^supplements_taken:' vault/03_daily/2026-02/ | grep -v 'magnesium'
|
|
770
|
+
|
|
771
|
+
# Find all correlation findings by strength
|
|
772
|
+
rg '^strength: strong' vault/01_thinking/
|
|
773
|
+
```
|
|
774
|
+
|
|
775
|
+
---
|
|
776
|
+
|
|
777
|
+
## What Makes This Domain Unique
|
|
778
|
+
|
|
779
|
+
### Cross-domain correlation is the entire value proposition
|
|
780
|
+
|
|
781
|
+
Every health tracking app is siloed. MyFitnessPal tracks food. Garmin tracks workouts. Sleep Cycle tracks sleep. A symptom diary tracks symptoms. None of them talk to each other, and the most important health patterns live in the intersections — where nutrition meets sleep meets training meets symptoms. The knowledge graph IS the integration layer that these apps cannot provide.
|
|
782
|
+
|
|
783
|
+
The agent discovers that headaches follow the compound trigger of poor sleep AND heavy deadlifts. No single-domain tracker could detect this because the trigger spans two domains. The graph holds all domains in one structure, and the agent holds all the data in analytical memory. This is not an incremental improvement over siloed tracking — it is a categorically different capability.
|
|
784
|
+
|
|
785
|
+
### Progressive formalization reflects how health knowledge actually grows
|
|
786
|
+
|
|
787
|
+
Lena does not start by knowing her triggers. She starts by observing. The schema reflects this: early entries have `potential_triggers` as free text, and only after statistical evidence accumulates does a trigger become a formal `correlation finding` note with sample size and confidence. The system moves from observation to hypothesis to evidence, and the schema evolves along with the knowledge. This prevents the premature formalization trap where someone decides "gluten causes my headaches" based on two coincidences and then only notices confirming evidence.
|
|
788
|
+
|
|
789
|
+
### Temporal relationships require time-shifted analysis
|
|
790
|
+
|
|
791
|
+
Health correlations are not instantaneous. A heavy workout today affects sleep tonight and recovery tomorrow. A high-glycemic lunch at 1pm produces an energy crash at 3pm. A supplement started this week shows effects over four weeks. The agent must correlate events across different time windows — same-day correlations, next-day correlations, and multi-week trend analysis. This time-shifted analysis is computationally straightforward for an agent but cognitively overwhelming for a human tracking on paper.
|
|
792
|
+
|
|
793
|
+
---
|
|
794
|
+
|
|
795
|
+
## Agent-Native Advantages
|
|
796
|
+
|
|
797
|
+
### Multi-dimensional pattern detection across six months of daily data
|
|
798
|
+
|
|
799
|
+
The agent holds 180 daily logs in analytical memory, each containing meals, sleep, training, supplements, symptoms, energy, and mood. It can compute every pairwise and three-way correlation between these variables: does food X correlate with symptom Y when sleep is below Z? Does supplement A improve metric B over a rolling 4-week window? Does training volume above threshold C predict recovery quality D? A human reviewing a paper journal might notice one-dimensional patterns ("I get headaches when I don't sleep"). The agent detects multi-dimensional compound triggers that require holding dozens of variables simultaneously.
|
|
800
|
+
|
|
801
|
+
**What this looks like in practice:** The agent presents in a weekly review: "Your tension headaches have a compound trigger: sleep under 6 hours combined with RPE 8+ lower body training the previous day. This combination has produced headaches in 18 out of 22 occurrences (82%). Neither factor alone is sufficient — poor sleep without heavy training produces headaches only 21% of the time, and heavy training with adequate sleep produces headaches only 11% of the time. The interaction effect is the pattern. Recommendation: on nights following heavy lower body sessions, implement the sleep protection protocol." Lena could not have found this by reviewing her symptom diary because the trigger spans two separate tracking domains and requires computing conditional probabilities across months of data.
|
|
802
|
+
|
|
803
|
+
### Protocol effectiveness tracking with controlled comparison
|
|
804
|
+
|
|
805
|
+
When Lena starts a supplement protocol, the agent automatically establishes a baseline period, tracks the intervention period, and computes the difference. It controls for confounding variables where possible — if Lena started magnesium the same week she reduced screen time, the agent tracks both variables to isolate their individual contributions. Human self-experimentation rarely includes baseline measurement, controlled comparison, or confound tracking. The agent does all three automatically because it has the historical data and the computational capacity to analyze it.
|
|
806
|
+
|
|
807
|
+
**What this looks like in practice:** After four weeks on magnesium glycinate, the agent reports: "Sleep quality rating improved from average 6.2 (baseline) to 7.4 (post-protocol). Nighttime waking reduced from 2.1 to 0.8 per night (62% reduction). Sleep latency decreased from 22 minutes to 12 minutes. Confidence note: you also began reducing evening screen time 5 days after starting magnesium. On nights with screen use after 10pm during the protocol period, sleep quality averaged 7.0 versus 7.6 on nights without late screens. Both interventions likely contribute; the magnesium effect appears larger." This level of analysis transforms personal health experimentation from guesswork into evidence-based decision-making.
|
|
808
|
+
|
|
809
|
+
### Proactive alert generation from threshold monitoring
|
|
810
|
+
|
|
811
|
+
The agent does not wait for symptoms to appear and then correlate retroactively. It monitors incoming data in real time against known trigger patterns and alerts proactively. When today's daily log shows 5.5 hours of sleep and yesterday's workout log shows RPE 8 deadlifts, the agent flags the compound trigger before the headache appears: "Today matches the headache trigger pattern (82% probability based on 22 prior occurrences). Consider: extra hydration, avoiding high-glycemic lunch, and having ibuprofen available." This transforms the system from reactive recording to proactive health management.
|
|
812
|
+
|
|
813
|
+
**What this looks like in practice:** At 8am on a morning after poor sleep, the agent sends an alert as part of the daily orientation: "Last night's sleep was 5.3 hours, and yesterday included RPE 8 squats. This combination has preceded tension headaches 82% of the time in your history. Proactive recommendations: (1) Eat breakfast with 30g+ protein — skipping breakfast amplifies the energy crash risk, (2) Keep lunch under 50g refined carbs, (3) Hydrate to 2L before noon, (4) Consider light activity only today — no RPE 7+ training. These steps have reduced headache incidence in similar conditions in 3 of the 4 cases where you followed them." No human tracker provides this kind of forward-looking, evidence-based, personalized alert because no human tracker holds the complete cross-domain history needed to generate it.
|
|
814
|
+
|
|
815
|
+
---
|
|
816
|
+
---
|
|
817
|
+
|
|
818
|
+
Topics:
|
|
819
|
+
- [[domain-compositions]]
|