@cratylus/canon 0.1.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/LICENSE +21 -0
- package/README.md +76 -0
- package/dist/agents/arch-doc-writer.d.ts +2 -0
- package/dist/agents/arch-doc-writer.js +54 -0
- package/dist/agents/arch-doc-writer.js.map +1 -0
- package/dist/agents/boz.d.ts +2 -0
- package/dist/agents/boz.js +59 -0
- package/dist/agents/boz.js.map +1 -0
- package/dist/agents/developer.d.ts +2 -0
- package/dist/agents/developer.js +53 -0
- package/dist/agents/developer.js.map +1 -0
- package/dist/agents/investigator.d.ts +2 -0
- package/dist/agents/investigator.js +59 -0
- package/dist/agents/investigator.js.map +1 -0
- package/dist/agents/mav.d.ts +2 -0
- package/dist/agents/mav.js +83 -0
- package/dist/agents/mav.js.map +1 -0
- package/dist/agents/nico.d.ts +2 -0
- package/dist/agents/nico.js +92 -0
- package/dist/agents/nico.js.map +1 -0
- package/dist/agents/planner.d.ts +2 -0
- package/dist/agents/planner.js +52 -0
- package/dist/agents/planner.js.map +1 -0
- package/dist/agents/principal-engineer-reviewer.d.ts +2 -0
- package/dist/agents/principal-engineer-reviewer.js +56 -0
- package/dist/agents/principal-engineer-reviewer.js.map +1 -0
- package/dist/agents/principal-ic.d.ts +2 -0
- package/dist/agents/principal-ic.js +72 -0
- package/dist/agents/principal-ic.js.map +1 -0
- package/dist/agents/tester.d.ts +2 -0
- package/dist/agents/tester.js +55 -0
- package/dist/agents/tester.js.map +1 -0
- package/dist/dimensions/actions/code-execution.d.ts +2 -0
- package/dist/dimensions/actions/code-execution.js +2 -0
- package/dist/dimensions/actions/code-execution.js.map +1 -0
- package/dist/dimensions/actions/communication.d.ts +2 -0
- package/dist/dimensions/actions/communication.js +2 -0
- package/dist/dimensions/actions/communication.js.map +1 -0
- package/dist/dimensions/actions/computer-use.d.ts +2 -0
- package/dist/dimensions/actions/computer-use.js +2 -0
- package/dist/dimensions/actions/computer-use.js.map +1 -0
- package/dist/dimensions/actions/delegation.d.ts +2 -0
- package/dist/dimensions/actions/delegation.js +2 -0
- package/dist/dimensions/actions/delegation.js.map +1 -0
- package/dist/dimensions/actions/file-ops.d.ts +2 -0
- package/dist/dimensions/actions/file-ops.js +2 -0
- package/dist/dimensions/actions/file-ops.js.map +1 -0
- package/dist/dimensions/actions/physical-actuation.d.ts +2 -0
- package/dist/dimensions/actions/physical-actuation.js +2 -0
- package/dist/dimensions/actions/physical-actuation.js.map +1 -0
- package/dist/dimensions/actions/retrieval.d.ts +2 -0
- package/dist/dimensions/actions/retrieval.js +2 -0
- package/dist/dimensions/actions/retrieval.js.map +1 -0
- package/dist/dimensions/actions/tool-call.d.ts +2 -0
- package/dist/dimensions/actions/tool-call.js +2 -0
- package/dist/dimensions/actions/tool-call.js.map +1 -0
- package/dist/dimensions/audience-adaptation/convergence.d.ts +2 -0
- package/dist/dimensions/audience-adaptation/convergence.js +2 -0
- package/dist/dimensions/audience-adaptation/convergence.js.map +1 -0
- package/dist/dimensions/audience-adaptation/divergence.d.ts +2 -0
- package/dist/dimensions/audience-adaptation/divergence.js +2 -0
- package/dist/dimensions/audience-adaptation/divergence.js.map +1 -0
- package/dist/dimensions/audience-adaptation/maintenance.d.ts +2 -0
- package/dist/dimensions/audience-adaptation/maintenance.js +2 -0
- package/dist/dimensions/audience-adaptation/maintenance.js.map +1 -0
- package/dist/dimensions/autonomy/check-in.d.ts +2 -0
- package/dist/dimensions/autonomy/check-in.js +2 -0
- package/dist/dimensions/autonomy/check-in.js.map +1 -0
- package/dist/dimensions/autonomy/decision-authority.d.ts +2 -0
- package/dist/dimensions/autonomy/decision-authority.js +17 -0
- package/dist/dimensions/autonomy/decision-authority.js.map +1 -0
- package/dist/dimensions/autonomy/human-in-the-loop.d.ts +2 -0
- package/dist/dimensions/autonomy/human-in-the-loop.js +2 -0
- package/dist/dimensions/autonomy/human-in-the-loop.js.map +1 -0
- package/dist/dimensions/autonomy/human-on-the-loop.d.ts +2 -0
- package/dist/dimensions/autonomy/human-on-the-loop.js +10 -0
- package/dist/dimensions/autonomy/human-on-the-loop.js.map +1 -0
- package/dist/dimensions/autonomy/human-out-of-the-loop.d.ts +2 -0
- package/dist/dimensions/autonomy/human-out-of-the-loop.js +2 -0
- package/dist/dimensions/autonomy/human-out-of-the-loop.js.map +1 -0
- package/dist/dimensions/autonomy/mission-command.d.ts +2 -0
- package/dist/dimensions/autonomy/mission-command.js +2 -0
- package/dist/dimensions/autonomy/mission-command.js.map +1 -0
- package/dist/dimensions/capabilities/analysis-diagnosis.d.ts +2 -0
- package/dist/dimensions/capabilities/analysis-diagnosis.js +2 -0
- package/dist/dimensions/capabilities/analysis-diagnosis.js.map +1 -0
- package/dist/dimensions/capabilities/data-analytics.d.ts +2 -0
- package/dist/dimensions/capabilities/data-analytics.js +2 -0
- package/dist/dimensions/capabilities/data-analytics.js.map +1 -0
- package/dist/dimensions/capabilities/operations-delivery.d.ts +2 -0
- package/dist/dimensions/capabilities/operations-delivery.js +2 -0
- package/dist/dimensions/capabilities/operations-delivery.js.map +1 -0
- package/dist/dimensions/capabilities/planning-decomposition.d.ts +2 -0
- package/dist/dimensions/capabilities/planning-decomposition.js +2 -0
- package/dist/dimensions/capabilities/planning-decomposition.js.map +1 -0
- package/dist/dimensions/capabilities/research-investigation.d.ts +2 -0
- package/dist/dimensions/capabilities/research-investigation.js +2 -0
- package/dist/dimensions/capabilities/research-investigation.js.map +1 -0
- package/dist/dimensions/capabilities/review-critique.d.ts +2 -0
- package/dist/dimensions/capabilities/review-critique.js +2 -0
- package/dist/dimensions/capabilities/review-critique.js.map +1 -0
- package/dist/dimensions/capabilities/software-engineering.d.ts +2 -0
- package/dist/dimensions/capabilities/software-engineering.js +2 -0
- package/dist/dimensions/capabilities/software-engineering.js.map +1 -0
- package/dist/dimensions/capabilities/system-design.d.ts +2 -0
- package/dist/dimensions/capabilities/system-design.js +2 -0
- package/dist/dimensions/capabilities/system-design.js.map +1 -0
- package/dist/dimensions/capabilities/technical-writing.d.ts +2 -0
- package/dist/dimensions/capabilities/technical-writing.js +2 -0
- package/dist/dimensions/capabilities/technical-writing.js.map +1 -0
- package/dist/dimensions/capabilities/verification-testing.d.ts +2 -0
- package/dist/dimensions/capabilities/verification-testing.js +2 -0
- package/dist/dimensions/capabilities/verification-testing.js.map +1 -0
- package/dist/dimensions/engineering-principles/cold-decode-oracle.d.ts +2 -0
- package/dist/dimensions/engineering-principles/cold-decode-oracle.js +2 -0
- package/dist/dimensions/engineering-principles/cold-decode-oracle.js.map +1 -0
- package/dist/dimensions/engineering-principles/cratylism.d.ts +2 -0
- package/dist/dimensions/engineering-principles/cratylism.js +2 -0
- package/dist/dimensions/engineering-principles/cratylism.js.map +1 -0
- package/dist/dimensions/engineering-principles/dry.d.ts +2 -0
- package/dist/dimensions/engineering-principles/dry.js +2 -0
- package/dist/dimensions/engineering-principles/dry.js.map +1 -0
- package/dist/dimensions/engineering-principles/first-principles.d.ts +2 -0
- package/dist/dimensions/engineering-principles/first-principles.js +2 -0
- package/dist/dimensions/engineering-principles/first-principles.js.map +1 -0
- package/dist/dimensions/engineering-principles/green-field.d.ts +2 -0
- package/dist/dimensions/engineering-principles/green-field.js +2 -0
- package/dist/dimensions/engineering-principles/green-field.js.map +1 -0
- package/dist/dimensions/engineering-principles/invoke-the-canonical.d.ts +2 -0
- package/dist/dimensions/engineering-principles/invoke-the-canonical.js +2 -0
- package/dist/dimensions/engineering-principles/invoke-the-canonical.js.map +1 -0
- package/dist/dimensions/engineering-principles/llm-native.d.ts +2 -0
- package/dist/dimensions/engineering-principles/llm-native.js +2 -0
- package/dist/dimensions/engineering-principles/llm-native.js.map +1 -0
- package/dist/dimensions/engineering-principles/mece.d.ts +2 -0
- package/dist/dimensions/engineering-principles/mece.js +2 -0
- package/dist/dimensions/engineering-principles/mece.js.map +1 -0
- package/dist/dimensions/engineering-principles/separation-of-concerns.d.ts +2 -0
- package/dist/dimensions/engineering-principles/separation-of-concerns.js +2 -0
- package/dist/dimensions/engineering-principles/separation-of-concerns.js.map +1 -0
- package/dist/dimensions/engineering-principles/simplicity.d.ts +2 -0
- package/dist/dimensions/engineering-principles/simplicity.js +2 -0
- package/dist/dimensions/engineering-principles/simplicity.js.map +1 -0
- package/dist/dimensions/engineering-principles/trust-but-verify.d.ts +2 -0
- package/dist/dimensions/engineering-principles/trust-but-verify.js +2 -0
- package/dist/dimensions/engineering-principles/trust-but-verify.js.map +1 -0
- package/dist/dimensions/engineering-principles/zero-trust.d.ts +2 -0
- package/dist/dimensions/engineering-principles/zero-trust.js +2 -0
- package/dist/dimensions/engineering-principles/zero-trust.js.map +1 -0
- package/dist/dimensions/formality/casual.d.ts +2 -0
- package/dist/dimensions/formality/casual.js +2 -0
- package/dist/dimensions/formality/casual.js.map +1 -0
- package/dist/dimensions/formality/expansive.d.ts +2 -0
- package/dist/dimensions/formality/expansive.js +2 -0
- package/dist/dimensions/formality/expansive.js.map +1 -0
- package/dist/dimensions/formality/formal.d.ts +2 -0
- package/dist/dimensions/formality/formal.js +2 -0
- package/dist/dimensions/formality/formal.js.map +1 -0
- package/dist/dimensions/formality/neutral.d.ts +2 -0
- package/dist/dimensions/formality/neutral.js +2 -0
- package/dist/dimensions/formality/neutral.js.map +1 -0
- package/dist/dimensions/framing/adversarial.d.ts +2 -0
- package/dist/dimensions/framing/adversarial.js +2 -0
- package/dist/dimensions/framing/adversarial.js.map +1 -0
- package/dist/dimensions/framing/analytical.d.ts +2 -0
- package/dist/dimensions/framing/analytical.js +2 -0
- package/dist/dimensions/framing/analytical.js.map +1 -0
- package/dist/dimensions/framing/correctness-oriented.d.ts +2 -0
- package/dist/dimensions/framing/correctness-oriented.js +2 -0
- package/dist/dimensions/framing/correctness-oriented.js.map +1 -0
- package/dist/dimensions/framing/decompositional.d.ts +2 -0
- package/dist/dimensions/framing/decompositional.js +2 -0
- package/dist/dimensions/framing/decompositional.js.map +1 -0
- package/dist/dimensions/framing/diagnostic.d.ts +2 -0
- package/dist/dimensions/framing/diagnostic.js +2 -0
- package/dist/dimensions/framing/diagnostic.js.map +1 -0
- package/dist/dimensions/framing/exploratory.d.ts +2 -0
- package/dist/dimensions/framing/exploratory.js +2 -0
- package/dist/dimensions/framing/exploratory.js.map +1 -0
- package/dist/dimensions/framing/first-principles.d.ts +2 -0
- package/dist/dimensions/framing/first-principles.js +2 -0
- package/dist/dimensions/framing/first-principles.js.map +1 -0
- package/dist/dimensions/framing/goal-directed.d.ts +2 -0
- package/dist/dimensions/framing/goal-directed.js +2 -0
- package/dist/dimensions/framing/goal-directed.js.map +1 -0
- package/dist/dimensions/framing/risk-oriented.d.ts +2 -0
- package/dist/dimensions/framing/risk-oriented.js +2 -0
- package/dist/dimensions/framing/risk-oriented.js.map +1 -0
- package/dist/dimensions/framing/systems-thinking.d.ts +2 -0
- package/dist/dimensions/framing/systems-thinking.js +2 -0
- package/dist/dimensions/framing/systems-thinking.js.map +1 -0
- package/dist/dimensions/framing/user-centered.d.ts +2 -0
- package/dist/dimensions/framing/user-centered.js +2 -0
- package/dist/dimensions/framing/user-centered.js.map +1 -0
- package/dist/dimensions/guardrails/accountability.d.ts +2 -0
- package/dist/dimensions/guardrails/accountability.js +2 -0
- package/dist/dimensions/guardrails/accountability.js.map +1 -0
- package/dist/dimensions/guardrails/harm-avoidance.d.ts +2 -0
- package/dist/dimensions/guardrails/harm-avoidance.js +2 -0
- package/dist/dimensions/guardrails/harm-avoidance.js.map +1 -0
- package/dist/dimensions/guardrails/helpfulness.d.ts +2 -0
- package/dist/dimensions/guardrails/helpfulness.js +2 -0
- package/dist/dimensions/guardrails/helpfulness.js.map +1 -0
- package/dist/dimensions/guardrails/honesty.d.ts +2 -0
- package/dist/dimensions/guardrails/honesty.js +2 -0
- package/dist/dimensions/guardrails/honesty.js.map +1 -0
- package/dist/dimensions/guardrails/human-oversight.d.ts +2 -0
- package/dist/dimensions/guardrails/human-oversight.js +2 -0
- package/dist/dimensions/guardrails/human-oversight.js.map +1 -0
- package/dist/dimensions/guardrails/input-untrusted.d.ts +2 -0
- package/dist/dimensions/guardrails/input-untrusted.js +2 -0
- package/dist/dimensions/guardrails/input-untrusted.js.map +1 -0
- package/dist/dimensions/guardrails/privacy.d.ts +2 -0
- package/dist/dimensions/guardrails/privacy.js +2 -0
- package/dist/dimensions/guardrails/privacy.js.map +1 -0
- package/dist/dimensions/guardrails/scope-of-authority.d.ts +2 -0
- package/dist/dimensions/guardrails/scope-of-authority.js +2 -0
- package/dist/dimensions/guardrails/scope-of-authority.js.map +1 -0
- package/dist/dimensions/heuristics/anchoring.d.ts +2 -0
- package/dist/dimensions/heuristics/anchoring.js +2 -0
- package/dist/dimensions/heuristics/anchoring.js.map +1 -0
- package/dist/dimensions/heuristics/availability.d.ts +2 -0
- package/dist/dimensions/heuristics/availability.js +2 -0
- package/dist/dimensions/heuristics/availability.js.map +1 -0
- package/dist/dimensions/heuristics/recognition.d.ts +2 -0
- package/dist/dimensions/heuristics/recognition.js +2 -0
- package/dist/dimensions/heuristics/recognition.js.map +1 -0
- package/dist/dimensions/heuristics/take-the-best.d.ts +2 -0
- package/dist/dimensions/heuristics/take-the-best.js +2 -0
- package/dist/dimensions/heuristics/take-the-best.js.map +1 -0
- package/dist/dimensions/learning/continual-online.d.ts +2 -0
- package/dist/dimensions/learning/continual-online.js +2 -0
- package/dist/dimensions/learning/continual-online.js.map +1 -0
- package/dist/dimensions/learning/correction-consolidation.d.ts +2 -0
- package/dist/dimensions/learning/correction-consolidation.js +2 -0
- package/dist/dimensions/learning/correction-consolidation.js.map +1 -0
- package/dist/dimensions/learning/curated-promotion.d.ts +2 -0
- package/dist/dimensions/learning/curated-promotion.js +2 -0
- package/dist/dimensions/learning/curated-promotion.js.map +1 -0
- package/dist/dimensions/learning/episodic-accretion.d.ts +2 -0
- package/dist/dimensions/learning/episodic-accretion.js +2 -0
- package/dist/dimensions/learning/episodic-accretion.js.map +1 -0
- package/dist/dimensions/learning/in-context-recall.d.ts +2 -0
- package/dist/dimensions/learning/in-context-recall.js +2 -0
- package/dist/dimensions/learning/in-context-recall.js.map +1 -0
- package/dist/dimensions/learning/reflective-revision.d.ts +2 -0
- package/dist/dimensions/learning/reflective-revision.js +2 -0
- package/dist/dimensions/learning/reflective-revision.js.map +1 -0
- package/dist/dimensions/learning/static-frozen.d.ts +2 -0
- package/dist/dimensions/learning/static-frozen.js +2 -0
- package/dist/dimensions/learning/static-frozen.js.map +1 -0
- package/dist/dimensions/memory/episodic.d.ts +2 -0
- package/dist/dimensions/memory/episodic.js +2 -0
- package/dist/dimensions/memory/episodic.js.map +1 -0
- package/dist/dimensions/memory/long-term-memory.d.ts +2 -0
- package/dist/dimensions/memory/long-term-memory.js +2 -0
- package/dist/dimensions/memory/long-term-memory.js.map +1 -0
- package/dist/dimensions/memory/procedural.d.ts +2 -0
- package/dist/dimensions/memory/procedural.js +2 -0
- package/dist/dimensions/memory/procedural.js.map +1 -0
- package/dist/dimensions/memory/semantic.d.ts +2 -0
- package/dist/dimensions/memory/semantic.js +2 -0
- package/dist/dimensions/memory/semantic.js.map +1 -0
- package/dist/dimensions/memory/working-memory.d.ts +2 -0
- package/dist/dimensions/memory/working-memory.js +2 -0
- package/dist/dimensions/memory/working-memory.js.map +1 -0
- package/dist/dimensions/modalities/audio.d.ts +2 -0
- package/dist/dimensions/modalities/audio.js +2 -0
- package/dist/dimensions/modalities/audio.js.map +1 -0
- package/dist/dimensions/modalities/image.d.ts +2 -0
- package/dist/dimensions/modalities/image.js +2 -0
- package/dist/dimensions/modalities/image.js.map +1 -0
- package/dist/dimensions/modalities/text.d.ts +2 -0
- package/dist/dimensions/modalities/text.js +2 -0
- package/dist/dimensions/modalities/text.js.map +1 -0
- package/dist/dimensions/modalities/video.d.ts +2 -0
- package/dist/dimensions/modalities/video.js +2 -0
- package/dist/dimensions/modalities/video.js.map +1 -0
- package/dist/dimensions/model/claude.d.ts +2 -0
- package/dist/dimensions/model/claude.js +2 -0
- package/dist/dimensions/model/claude.js.map +1 -0
- package/dist/dimensions/objective/correctness.d.ts +2 -0
- package/dist/dimensions/objective/correctness.js +2 -0
- package/dist/dimensions/objective/correctness.js.map +1 -0
- package/dist/dimensions/objective/delivery.d.ts +2 -0
- package/dist/dimensions/objective/delivery.js +2 -0
- package/dist/dimensions/objective/delivery.js.map +1 -0
- package/dist/dimensions/objective/faithful-record.d.ts +2 -0
- package/dist/dimensions/objective/faithful-record.js +2 -0
- package/dist/dimensions/objective/faithful-record.js.map +1 -0
- package/dist/dimensions/objective/insight.d.ts +2 -0
- package/dist/dimensions/objective/insight.js +2 -0
- package/dist/dimensions/objective/insight.js.map +1 -0
- package/dist/dimensions/objective/parsimony.d.ts +2 -0
- package/dist/dimensions/objective/parsimony.js +2 -0
- package/dist/dimensions/objective/parsimony.js.map +1 -0
- package/dist/dimensions/objective/safety.d.ts +2 -0
- package/dist/dimensions/objective/safety.js +2 -0
- package/dist/dimensions/objective/safety.js.map +1 -0
- package/dist/dimensions/objective/thoroughness.d.ts +2 -0
- package/dist/dimensions/objective/thoroughness.js +2 -0
- package/dist/dimensions/objective/thoroughness.js.map +1 -0
- package/dist/dimensions/objective/throughput.d.ts +2 -0
- package/dist/dimensions/objective/throughput.js +2 -0
- package/dist/dimensions/objective/throughput.js.map +1 -0
- package/dist/dimensions/objective/user-satisfaction.d.ts +2 -0
- package/dist/dimensions/objective/user-satisfaction.js +2 -0
- package/dist/dimensions/objective/user-satisfaction.js.map +1 -0
- package/dist/dimensions/output-format/action.d.ts +2 -0
- package/dist/dimensions/output-format/action.js +2 -0
- package/dist/dimensions/output-format/action.js.map +1 -0
- package/dist/dimensions/output-format/code.d.ts +2 -0
- package/dist/dimensions/output-format/code.js +2 -0
- package/dist/dimensions/output-format/code.js.map +1 -0
- package/dist/dimensions/output-format/document.d.ts +2 -0
- package/dist/dimensions/output-format/document.js +2 -0
- package/dist/dimensions/output-format/document.js.map +1 -0
- package/dist/dimensions/output-format/natural-language.d.ts +2 -0
- package/dist/dimensions/output-format/natural-language.js +2 -0
- package/dist/dimensions/output-format/natural-language.js.map +1 -0
- package/dist/dimensions/output-format/structured-data.d.ts +2 -0
- package/dist/dimensions/output-format/structured-data.js +2 -0
- package/dist/dimensions/output-format/structured-data.js.map +1 -0
- package/dist/dimensions/output-format/structured-decision.d.ts +2 -0
- package/dist/dimensions/output-format/structured-decision.js +2 -0
- package/dist/dimensions/output-format/structured-decision.js.map +1 -0
- package/dist/dimensions/output-format/visualization.d.ts +2 -0
- package/dist/dimensions/output-format/visualization.js +2 -0
- package/dist/dimensions/output-format/visualization.js.map +1 -0
- package/dist/dimensions/reasoning-strategy/chain-of-thought.d.ts +2 -0
- package/dist/dimensions/reasoning-strategy/chain-of-thought.js +2 -0
- package/dist/dimensions/reasoning-strategy/chain-of-thought.js.map +1 -0
- package/dist/dimensions/reasoning-strategy/plan-and-solve.d.ts +2 -0
- package/dist/dimensions/reasoning-strategy/plan-and-solve.js +2 -0
- package/dist/dimensions/reasoning-strategy/plan-and-solve.js.map +1 -0
- package/dist/dimensions/reasoning-strategy/react.d.ts +2 -0
- package/dist/dimensions/reasoning-strategy/react.js +2 -0
- package/dist/dimensions/reasoning-strategy/react.js.map +1 -0
- package/dist/dimensions/reasoning-strategy/reflexion.d.ts +2 -0
- package/dist/dimensions/reasoning-strategy/reflexion.js +2 -0
- package/dist/dimensions/reasoning-strategy/reflexion.js.map +1 -0
- package/dist/dimensions/reasoning-strategy/tree-of-thoughts.d.ts +2 -0
- package/dist/dimensions/reasoning-strategy/tree-of-thoughts.js +2 -0
- package/dist/dimensions/reasoning-strategy/tree-of-thoughts.js.map +1 -0
- package/dist/dimensions/role/architect.d.ts +2 -0
- package/dist/dimensions/role/architect.js +2 -0
- package/dist/dimensions/role/architect.js.map +1 -0
- package/dist/dimensions/role/build.d.ts +2 -0
- package/dist/dimensions/role/build.js +2 -0
- package/dist/dimensions/role/build.js.map +1 -0
- package/dist/dimensions/role/converse.d.ts +2 -0
- package/dist/dimensions/role/converse.js +2 -0
- package/dist/dimensions/role/converse.js.map +1 -0
- package/dist/dimensions/role/curate.d.ts +2 -0
- package/dist/dimensions/role/curate.js +2 -0
- package/dist/dimensions/role/curate.js.map +1 -0
- package/dist/dimensions/role/diagnose.d.ts +2 -0
- package/dist/dimensions/role/diagnose.js +2 -0
- package/dist/dimensions/role/diagnose.js.map +1 -0
- package/dist/dimensions/role/document.d.ts +2 -0
- package/dist/dimensions/role/document.js +2 -0
- package/dist/dimensions/role/document.js.map +1 -0
- package/dist/dimensions/role/implement.d.ts +2 -0
- package/dist/dimensions/role/implement.js +2 -0
- package/dist/dimensions/role/implement.js.map +1 -0
- package/dist/dimensions/role/operate.d.ts +2 -0
- package/dist/dimensions/role/operate.js +2 -0
- package/dist/dimensions/role/operate.js.map +1 -0
- package/dist/dimensions/role/orchestrate.d.ts +2 -0
- package/dist/dimensions/role/orchestrate.js +2 -0
- package/dist/dimensions/role/orchestrate.js.map +1 -0
- package/dist/dimensions/role/plan.d.ts +2 -0
- package/dist/dimensions/role/plan.js +2 -0
- package/dist/dimensions/role/plan.js.map +1 -0
- package/dist/dimensions/role/research.d.ts +2 -0
- package/dist/dimensions/role/research.js +2 -0
- package/dist/dimensions/role/research.js.map +1 -0
- package/dist/dimensions/role/review.d.ts +2 -0
- package/dist/dimensions/role/review.js +2 -0
- package/dist/dimensions/role/review.js.map +1 -0
- package/dist/dimensions/role/test.d.ts +2 -0
- package/dist/dimensions/role/test.js +2 -0
- package/dist/dimensions/role/test.js.map +1 -0
- package/dist/dimensions/satisficing/optimize.d.ts +2 -0
- package/dist/dimensions/satisficing/optimize.js +2 -0
- package/dist/dimensions/satisficing/optimize.js.map +1 -0
- package/dist/dimensions/satisficing/satisfice.d.ts +2 -0
- package/dist/dimensions/satisficing/satisfice.js +2 -0
- package/dist/dimensions/satisficing/satisfice.js.map +1 -0
- package/dist/dimensions/self-evaluation/acceptance-criteria-check.d.ts +2 -0
- package/dist/dimensions/self-evaluation/acceptance-criteria-check.js +2 -0
- package/dist/dimensions/self-evaluation/acceptance-criteria-check.js.map +1 -0
- package/dist/dimensions/self-evaluation/cross-validation-consensus.d.ts +2 -0
- package/dist/dimensions/self-evaluation/cross-validation-consensus.js +2 -0
- package/dist/dimensions/self-evaluation/cross-validation-consensus.js.map +1 -0
- package/dist/dimensions/self-evaluation/executable-test-oracle.d.ts +2 -0
- package/dist/dimensions/self-evaluation/executable-test-oracle.js +2 -0
- package/dist/dimensions/self-evaluation/executable-test-oracle.js.map +1 -0
- package/dist/dimensions/self-evaluation/human-review.d.ts +2 -0
- package/dist/dimensions/self-evaluation/human-review.js +2 -0
- package/dist/dimensions/self-evaluation/human-review.js.map +1 -0
- package/dist/dimensions/self-evaluation/llm-as-judge.d.ts +2 -0
- package/dist/dimensions/self-evaluation/llm-as-judge.js +2 -0
- package/dist/dimensions/self-evaluation/llm-as-judge.js.map +1 -0
- package/dist/dimensions/self-evaluation/self-critique.d.ts +2 -0
- package/dist/dimensions/self-evaluation/self-critique.js +2 -0
- package/dist/dimensions/self-evaluation/self-critique.js.map +1 -0
- package/dist/dimensions/self-evaluation/verifier-model.d.ts +2 -0
- package/dist/dimensions/self-evaluation/verifier-model.js +2 -0
- package/dist/dimensions/self-evaluation/verifier-model.js.map +1 -0
- package/dist/dimensions/situation-awareness/comprehension.d.ts +2 -0
- package/dist/dimensions/situation-awareness/comprehension.js +2 -0
- package/dist/dimensions/situation-awareness/comprehension.js.map +1 -0
- package/dist/dimensions/situation-awareness/perception.d.ts +2 -0
- package/dist/dimensions/situation-awareness/perception.js +2 -0
- package/dist/dimensions/situation-awareness/perception.js.map +1 -0
- package/dist/dimensions/situation-awareness/projection.d.ts +2 -0
- package/dist/dimensions/situation-awareness/projection.js +2 -0
- package/dist/dimensions/situation-awareness/projection.js.map +1 -0
- package/dist/dimensions/transparency/answer-only.d.ts +2 -0
- package/dist/dimensions/transparency/answer-only.js +2 -0
- package/dist/dimensions/transparency/answer-only.js.map +1 -0
- package/dist/dimensions/transparency/decision-rationale.d.ts +2 -0
- package/dist/dimensions/transparency/decision-rationale.js +2 -0
- package/dist/dimensions/transparency/decision-rationale.js.map +1 -0
- package/dist/dimensions/transparency/limitation-disclosure.d.ts +2 -0
- package/dist/dimensions/transparency/limitation-disclosure.js +2 -0
- package/dist/dimensions/transparency/limitation-disclosure.js.map +1 -0
- package/dist/dimensions/transparency/post-hoc-rationale.d.ts +2 -0
- package/dist/dimensions/transparency/post-hoc-rationale.js +2 -0
- package/dist/dimensions/transparency/post-hoc-rationale.js.map +1 -0
- package/dist/dimensions/transparency/provenance-attribution.d.ts +2 -0
- package/dist/dimensions/transparency/provenance-attribution.js +2 -0
- package/dist/dimensions/transparency/provenance-attribution.js.map +1 -0
- package/dist/dimensions/transparency/reasoning-trace.d.ts +2 -0
- package/dist/dimensions/transparency/reasoning-trace.js +2 -0
- package/dist/dimensions/transparency/reasoning-trace.js.map +1 -0
- package/dist/dimensions/transparency/uncertainty-disclosure.d.ts +2 -0
- package/dist/dimensions/transparency/uncertainty-disclosure.js +2 -0
- package/dist/dimensions/transparency/uncertainty-disclosure.js.map +1 -0
- package/dist/dimensions/trigger/agent-message.d.ts +2 -0
- package/dist/dimensions/trigger/agent-message.js +2 -0
- package/dist/dimensions/trigger/agent-message.js.map +1 -0
- package/dist/dimensions/trigger/environment-event.d.ts +2 -0
- package/dist/dimensions/trigger/environment-event.js +2 -0
- package/dist/dimensions/trigger/environment-event.js.map +1 -0
- package/dist/dimensions/trigger/introspection-request.d.ts +2 -0
- package/dist/dimensions/trigger/introspection-request.js +2 -0
- package/dist/dimensions/trigger/introspection-request.js.map +1 -0
- package/dist/dimensions/trigger/scheduled-trigger.d.ts +2 -0
- package/dist/dimensions/trigger/scheduled-trigger.js +2 -0
- package/dist/dimensions/trigger/scheduled-trigger.js.map +1 -0
- package/dist/dimensions/trigger/tool-result.d.ts +2 -0
- package/dist/dimensions/trigger/tool-result.js +2 -0
- package/dist/dimensions/trigger/tool-result.js.map +1 -0
- package/dist/dimensions/trigger/user-message.d.ts +2 -0
- package/dist/dimensions/trigger/user-message.js +2 -0
- package/dist/dimensions/trigger/user-message.js.map +1 -0
- package/dist/genus/founding-doctrine.d.ts +7 -0
- package/dist/genus/founding-doctrine.js +41 -0
- package/dist/genus/founding-doctrine.js.map +1 -0
- package/dist/hook-cells.d.ts +3 -0
- package/dist/hook-cells.js +30 -0
- package/dist/hook-cells.js.map +1 -0
- package/dist/hooks/deploy-drift-notice.d.ts +2 -0
- package/dist/hooks/deploy-drift-notice.js +434 -0
- package/dist/hooks/deploy-drift-notice.js.map +1 -0
- package/dist/hooks/memory-consolidation-nudge.d.ts +2 -0
- package/dist/hooks/memory-consolidation-nudge.js +148 -0
- package/dist/hooks/memory-consolidation-nudge.js.map +1 -0
- package/dist/hooks/praxis-continuity.d.ts +2 -0
- package/dist/hooks/praxis-continuity.js +131 -0
- package/dist/hooks/praxis-continuity.js.map +1 -0
- package/dist/hooks/resume-availability-notice.d.ts +2 -0
- package/dist/hooks/resume-availability-notice.js +50 -0
- package/dist/hooks/resume-availability-notice.js.map +1 -0
- package/dist/hooks/stance-guardrail-pre.d.ts +2 -0
- package/dist/hooks/stance-guardrail-pre.js +170 -0
- package/dist/hooks/stance-guardrail-pre.js.map +1 -0
- package/dist/hooks/stance-guardrail.d.ts +2 -0
- package/dist/hooks/stance-guardrail.js +943 -0
- package/dist/hooks/stance-guardrail.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +45 -0
- package/dist/index.js.map +1 -0
- package/dist/manifest.d.ts +191 -0
- package/dist/manifest.js +237 -0
- package/dist/manifest.js.map +1 -0
- package/dist/operator-lexicon.d.ts +302 -0
- package/dist/operator-lexicon.js +198 -0
- package/dist/operator-lexicon.js.map +1 -0
- package/dist/plan-states.d.ts +31 -0
- package/dist/plan-states.js +42 -0
- package/dist/plan-states.js.map +1 -0
- package/dist/rules/repo-preamble.d.ts +2 -0
- package/dist/rules/repo-preamble.js +56 -0
- package/dist/rules/repo-preamble.js.map +1 -0
- package/dist/skills/carry-on/skill.d.ts +2 -0
- package/dist/skills/carry-on/skill.js +56 -0
- package/dist/skills/carry-on/skill.js.map +1 -0
- package/dist/skills/conceptualize/skill.d.ts +2 -0
- package/dist/skills/conceptualize/skill.js +34 -0
- package/dist/skills/conceptualize/skill.js.map +1 -0
- package/dist/skills/create-agent/skill.d.ts +2 -0
- package/dist/skills/create-agent/skill.js +38 -0
- package/dist/skills/create-agent/skill.js.map +1 -0
- package/dist/skills/create-skill/skill.d.ts +2 -0
- package/dist/skills/create-skill/skill.js +27 -0
- package/dist/skills/create-skill/skill.js.map +1 -0
- package/dist/skills/dream/skill.d.ts +2 -0
- package/dist/skills/dream/skill.js +65 -0
- package/dist/skills/dream/skill.js.map +1 -0
- package/dist/skills/elicit/skill.d.ts +2 -0
- package/dist/skills/elicit/skill.js +26 -0
- package/dist/skills/elicit/skill.js.map +1 -0
- package/dist/skills/event-tap/skill.d.ts +2 -0
- package/dist/skills/event-tap/skill.js +37 -0
- package/dist/skills/event-tap/skill.js.map +1 -0
- package/dist/skills/exemplify/skill.d.ts +2 -0
- package/dist/skills/exemplify/skill.js +42 -0
- package/dist/skills/exemplify/skill.js.map +1 -0
- package/dist/skills/formalize/skill.d.ts +2 -0
- package/dist/skills/formalize/skill.js +35 -0
- package/dist/skills/formalize/skill.js.map +1 -0
- package/dist/skills/handoff/skill.d.ts +2 -0
- package/dist/skills/handoff/skill.js +27 -0
- package/dist/skills/handoff/skill.js.map +1 -0
- package/dist/skills/introspect/skill.d.ts +2 -0
- package/dist/skills/introspect/skill.js +47 -0
- package/dist/skills/introspect/skill.js.map +1 -0
- package/dist/skills/materialize/skill.d.ts +2 -0
- package/dist/skills/materialize/skill.js +54 -0
- package/dist/skills/materialize/skill.js.map +1 -0
- package/dist/skills/praxis/skill.d.ts +2 -0
- package/dist/skills/praxis/skill.js +196 -0
- package/dist/skills/praxis/skill.js.map +1 -0
- package/dist/skills/probe/skill.d.ts +2 -0
- package/dist/skills/probe/skill.js +58 -0
- package/dist/skills/probe/skill.js.map +1 -0
- package/dist/skills/signify/skill.d.ts +2 -0
- package/dist/skills/signify/skill.js +59 -0
- package/dist/skills/signify/skill.js.map +1 -0
- package/dist/skills/wake/skill.d.ts +2 -0
- package/dist/skills/wake/skill.js +43 -0
- package/dist/skills/wake/skill.js.map +1 -0
- package/package.json +72 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// The plan vocabulary this cell PROJECTS onto the capability's command line. It is
|
|
2
|
+
// canon's, sourced from its one home — the runtime depends on nothing and holds no
|
|
3
|
+
// plan layout, so the names travel as configuration on the invocation rather than
|
|
4
|
+
// as a second copy inside `@cratylus/runtime` (ARCHITECTURE property 4).
|
|
5
|
+
import { PLAN_FRONTIER, PLAN_MARKERS, PLAN_STATES } from '../../plan-states.js';
|
|
6
|
+
import { praxis } from '../praxis/skill.js';
|
|
7
|
+
/** The terminal state — the last of the lifecycle, never a second literal. */
|
|
8
|
+
const COMPLETED = PLAN_STATES[PLAN_STATES.length - 1];
|
|
9
|
+
/** The projected configuration, verbatim as `elevate` takes it. */
|
|
10
|
+
const LAYOUT = `--plan-root <plans/> --states ${PLAN_STATES.join(',')} --completed ${COMPLETED} ` +
|
|
11
|
+
`--frontier ${PLAN_FRONTIER.join(',')} --bound-marker ${PLAN_MARKERS.bound} ` +
|
|
12
|
+
`--ruling-owed-marker ${PLAN_MARKERS.rulingOwed}`;
|
|
13
|
+
const carryOnNotation = `carry-on ≜ re-dispatch-word ↦ elevate · persist · revert
|
|
14
|
+
re-dispatch-word ≜ weitermachen ∨ carry-on ∨ proceed
|
|
15
|
+
verb ∈ { elevate · revert · terminus · status } ⟨runtime-bound ; each reached as \`scripts/carryOn.mjs <verb>\`⟩
|
|
16
|
+
loop-position ∈ { on-the-loop, out-of-the-loop } ⟨live session state, ¬ a static value⟩
|
|
17
|
+
resting ≜ loop-position = on-the-loop ⟨a session opens in orientation · intent is the operator's to set⟩
|
|
18
|
+
P ≜ the bound praxis ⟨∨ the standing intent, absent one⟩
|
|
19
|
+
bound, done, sharded, frontier, dir, triage, file, defect, impedes @ praxis
|
|
20
|
+
target, target₀, foreign, attached ⟨the same hook-config artifact, gated here rather than tapped⟩ @ event-tap
|
|
21
|
+
layout ≜ ${LAYOUT}
|
|
22
|
+
⟨canon's plan vocabulary, projected onto the command line · the runtime knows no plan⟩
|
|
23
|
+
ruling-owed(P) ⇔ ${PLAN_MARKERS.rulingOwed} @ dir(P) ⟨the carrier of fork⊥ · content = the fork as put to the operator · stored ∵ ¬ derivable, exactly as ${PLAN_MARKERS.bound} is⟩
|
|
24
|
+
fork⊥ ≜ fork(irreversible · value · competence) the principal cannot resolve
|
|
25
|
+
terminus ⇔ ¬∃P: bound(P) ∨ ruling-owed(P) ∨ done(P) ∨ (sharded(P) ∧ ¬ done(P) ∧ frontier(P) = ∅)
|
|
26
|
+
regression ≜ defect d : impedes(d, t) for the shard t in hand
|
|
27
|
+
elevate ≜ \`scripts/carryOn.mjs elevate --event turn.end <layout>\` ∴ attached(target) ∧ loop-position := out-of-the-loop ∧ bind(P)
|
|
28
|
+
⟨attached ⇒ the harness runs \`scripts/carryOn.mjs terminus\` at every turn-end and refuses the close while ¬ terminus⟩
|
|
29
|
+
revert ≜ \`scripts/carryOn.mjs revert\` ∴ ¬ attached(target) ∧ loop-position := resting
|
|
30
|
+
status ≜ \`scripts/carryOn.mjs status\` ↦ ⟨attached(target), terminus⟩
|
|
31
|
+
|
|
32
|
+
check-in-close ∧ re-dispatch-word ⇒ elevate
|
|
33
|
+
elevate ⇒ standing-intent unchanged ∧ ¬fresh-dispatch ∧ ¬permission-grant
|
|
34
|
+
elevate ⇒ resume execution ⟨own judgment · reversible-in-domain decided · no fresh permission owed⟩
|
|
35
|
+
elevate defined ⇔ ¬ terminus ⟨at a terminus there is nothing to stay out of the loop FOR⟩
|
|
36
|
+
elevate ⊨ attached(target) read back @ target ; ¬ attached ⇒ ⊥ ⟨loud ∧ ¬ elevation reported : text is advisory, a mechanism is not⟩
|
|
37
|
+
attached(target) ∧ ¬ terminus ⇒ turn ¬ end ⟨the mechanism refuses ; the assertion never could⟩
|
|
38
|
+
bind(P) ∧ ¬ terminus ⇒ persist ⟨∀ turn · ¬ per-turn-decay⟩
|
|
39
|
+
terminus ⇒ revert ∴ loop-position = resting
|
|
40
|
+
revert ∘ elevate ⊨ target ≡ target₀ ∧ foreign preserved ⟨zero residue⟩
|
|
41
|
+
elevate ⊨ revert owed ⟨an un-reverted elevation outlives the plan it was bound to⟩
|
|
42
|
+
terminus ≜ derived @ disk ⟨∴ a fresh process reads the same truth · ∄ read(transcript ∨ message) ∴ ∄ misfire on mid-turn narration⟩
|
|
43
|
+
fork⊥ ⇒ write ${PLAN_MARKERS.rulingOwed} @ dir(P) ∧ surface the fork ∧ re-enter on-the-loop ⟨a fork surfaced without its carrier is unreadable at turn-end⟩
|
|
44
|
+
sharded(P) ∧ ¬ done(P) ∧ frontier(P) = ∅ ⇒ terminus ∧ SURFACE ⟨R ill-formed ⟨cycle ∨ unsatisfiable dep⟩ · else the mis-cut wedges the session⟩
|
|
45
|
+
regression ⇒ fix ∧ ¬check-in ⟨repair in the path is execution, ¬ a new fork⟩
|
|
46
|
+
defect ∧ ¬regression ⇒ file ∧ ¬fix ⟨out-of-path defects are recorded, ¬ chased⟩
|
|
47
|
+
verb ∉ { elevate · revert · terminus · status } ⇒ ⊥ ⟨loud⟩
|
|
48
|
+
`;
|
|
49
|
+
export const carryOn = {
|
|
50
|
+
name: 'carry-on',
|
|
51
|
+
description: `use this skill when the Operator utters the re-dispatch word (weitermachen · carry on · proceed) — closing a check-in and returning you to autonomous execution under re-affirmed authority; elevate installs the turn-end gate that holds the elevation (an assertion in prose is advisory, a gate is not), the elevation persists across turns bound to the bound praxis, and it lifts only at a terminus read from plan state on disk — the plan is done, a ruling is owed, or the cut is ill-formed — whereupon revert removes the gate with zero residue.`,
|
|
52
|
+
formalBlock: carryOnNotation,
|
|
53
|
+
runtime: { capability: 'carryOn' },
|
|
54
|
+
composition: () => [praxis],
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/carry-on/skill.ts"],"names":[],"mappings":"AACA,mFAAmF;AACnF,mFAAmF;AACnF,kFAAkF;AAClF,yEAAyE;AACzE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,8EAA8E;AAC9E,MAAM,SAAS,GAAG,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAEtD,mEAAmE;AACnE,MAAM,MAAM,GACV,iCAAiC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,SAAS,GAAG;IAClF,cAAc,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,mBAAmB,YAAY,CAAC,KAAK,GAAG;IAC7E,wBAAwB,YAAY,CAAC,UAAU,EAAE,CAAC;AAEpD,MAAM,eAAe,GACnB;;;;;;;;cAQY,MAAM;;mBAED,YAAY,CAAC,UAAU,kHAAkH,YAAY,CAAC,KAAK;;;;;;;;;;;;;;;;;;;;gBAoB9J,YAAY,CAAC,UAAU;;;;;CAKnB,CAAC;AAErB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,giBAAgiB;IAC7iB,WAAW,EAAE,eAAe;IAC5B,OAAO,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE;IAClC,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exemplify } from '../exemplify/skill.js';
|
|
2
|
+
import { materialize } from '../materialize/skill.js';
|
|
3
|
+
import { signify } from '../signify/skill.js';
|
|
4
|
+
export const conceptualize = {
|
|
5
|
+
name: 'conceptualize',
|
|
6
|
+
description: `use this skill to extract the concepts latent in a source — which are primitive, what each means, how each factors — deciding nothing about names or form; stage 1 of exemplify.`,
|
|
7
|
+
formalBlock: `sources ≜ input material ⟨multi-modal · bears substrate-boundaries⟩
|
|
8
|
+
concept-record ≜ ⟨ gloss , anchor? , factorization? ⟩
|
|
9
|
+
resolve(sources) ≜ ⋃ { content(s) | s ∈ sources }
|
|
10
|
+
D ≜ { d | d a distinction drawn over resolve(sources) } ⟨finite⟩
|
|
11
|
+
depalimpsest(d) ≜ d ↾ live-strata
|
|
12
|
+
partition(D) ⊆ ℘(D)
|
|
13
|
+
cl : ℘(D) → ℘(D)
|
|
14
|
+
C ≜ { X ⊆ D | cl(X) = X }
|
|
15
|
+
intent(c) ≜ c
|
|
16
|
+
⊔ P ≜ cl(⋃ { intent(c) | c ∈ P }) , P ⊆ C
|
|
17
|
+
prim(c) ⇔ ∄ P ⊆ C \\ {c} : ⊔ P = intent(c)
|
|
18
|
+
dfp(g) ≜ densest-faithful-point(g)
|
|
19
|
+
gloss(c) ≜ dfp(intent(c)) , prim(c)
|
|
20
|
+
fac(m) ≜ { P ⊆ C \\ {m} | ⊔ P = intent(m) ∧ ∄ Q ⊊ P : ⊔ Q = intent(m) }
|
|
21
|
+
distillable(c) ≜ prim(c) ∨ fac(c) ≠ ∅
|
|
22
|
+
produce(sources) ≜ { ( gloss(c), ⊥, ⊥ ) | c ∈ C }
|
|
23
|
+
|
|
24
|
+
boundaries(sources) ∉ D
|
|
25
|
+
cl(X) ⊇ X
|
|
26
|
+
X ⊆ Y ⇒ cl(X) ⊆ cl(Y)
|
|
27
|
+
cl(cl(X)) = cl(X)
|
|
28
|
+
∀ d ∈ D : d ∉ cl(D \\ {d})
|
|
29
|
+
MECE(C) ⇔ ( ∀ c≠c' ∈ C : intent(c) ≠ intent(c') ) ∧ ( cl(D) = ⊔ C )
|
|
30
|
+
⊨ MECE(C)
|
|
31
|
+
C = ∅ ⇒ ⊥`,
|
|
32
|
+
composition: () => [exemplify, signify, materialize],
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/conceptualize/skill.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,kLAAkL;IAC/L,WAAW,EACT;;;;;;;;;;;;;;;;;;;;;;;;sBAwBqC;IACvC,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,WAAW,CAAC;CACrD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const createAgent = {
|
|
2
|
+
name: 'create-agent',
|
|
3
|
+
description: `author a custom agent as a dimension-selection vector — pick each dimension's value from the canonical catalog (the model's own latent sets, the corpus's curated ones, and per-agent open ones), compose the agent cell, then resolve → verify → deploy; knows the dimension manifest. Can interview a non-engineer in plain language (one question per dimension, recommending the fittest) when a human is driving.`,
|
|
4
|
+
formalBlock: `A ≜ the agent under construction
|
|
5
|
+
O ≜ the dimension set @ Target \`##\` anatomy sections
|
|
6
|
+
catalog ≜ the canonical value store per dimension @ \`cratylus catalog\` ⟨live · never embedded⟩
|
|
7
|
+
repertoire : O → { latent, open, curated } ⟨who owns the value-set⟩
|
|
8
|
+
latent ≜ a value-set the MODEL owns ⟨read out, ¬ authored⟩
|
|
9
|
+
open ≜ a value-set the AGENT owns ⟨named per-agent⟩
|
|
10
|
+
curated ≜ a closed catalog the CORPUS assembled
|
|
11
|
+
arity : O → { scalar, set }
|
|
12
|
+
scalar ≜ one value
|
|
13
|
+
set ≜ a subset
|
|
14
|
+
definiens(o, v) ≜ v's one-line bound @ catalog
|
|
15
|
+
fit(v) ⇔ v suits A's purpose
|
|
16
|
+
fittest(o) ≜ the best-fitting v ∈ catalog(o)
|
|
17
|
+
value(o) ≜ the selected member(s) of catalog(o) by fit
|
|
18
|
+
vector(A) ≜ ⊕{ o ↦ value(o) | o ∈ O }
|
|
19
|
+
instance-bound ≜ provenance⟨mark : emoji·hue⟩ ⟨authored per-agent · ∉ catalog ∴ ∉ O · never shared across agents⟩
|
|
20
|
+
human-project ≜ downstream human projection @ llm-native
|
|
21
|
+
|
|
22
|
+
∀ o ∈ O : value(o) ∈ catalog(o)
|
|
23
|
+
arity(o) = scalar ⇒ | value(o) | = 1
|
|
24
|
+
arity(o) = set ⇒ value(o) ⊆ catalog(o)
|
|
25
|
+
gap(o) ⇔ ∄ v ∈ catalog(o) : fit(v)
|
|
26
|
+
gap(o) ⇒ catalog := exemplify(catalog) @ owner ⟨¬ inline · ¬ wizard⟩
|
|
27
|
+
verify(A) ⇔ PASS gate ∧ gate_agent_dimension_refs clean
|
|
28
|
+
gate ≜ the FULL corpus suite (\`pnpm test\`) as the shard-completion gate : per-agent PASS ≠ corpus PASS ∴ run the whole suite, ¬ the dimension-ref check alone
|
|
29
|
+
green ≜ ∀ gate PASS reached by fixing → the FITTEST value ⟨gap(o) → exemplify catalog(o)⟩, never by degrading fit to appease a gate ⟨gate = a fit registry, ¬ a cap⟩
|
|
30
|
+
interview = human-project ⟨the human-driver elicitation⟩
|
|
31
|
+
human-driver ⇒ ∀ o : present ⟨catalog(o) · definiens(o, ·)⟩ ∧ recommend fittest(o)
|
|
32
|
+
boundary ≜ dimensions-only · domain-skills @ create-skill
|
|
33
|
+
|
|
34
|
+
create-agent ≜ fix(name, purpose) → ( ∀ o : select value(o) ) → assemble vector(A) → write(A) → resolve → verify(A) → iterate-until-green → deploy
|
|
35
|
+
write(A) ≜ the cell ⟨class ↦ agent⟩ : H1 ≜ name · body ≜ the \`dimension <value>\` lines ⟨multi: \`dimension { <a> · <b> }\`⟩ ⟨path ∧ front-matter ∈ deploy ; its Target is REGENERABLE ∴ ¬ hand-edit⟩`,
|
|
36
|
+
composition: () => [],
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/create-agent/skill.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,wZAAwZ;IACra,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2MA+B+M;IAC5N,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;CACtB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { formalize } from '../formalize/skill.js';
|
|
2
|
+
export const createSkill = {
|
|
3
|
+
name: 'create-skill',
|
|
4
|
+
description: `author a well-formed skill cell — a description and trigger the projector emits as front-matter, a verb H1, the first-prose-≜ composition formula with a Bindings line, and a self-sufficient set-builder formal block (declarations-above / laws-below) at R=LLM density; embodies the composer conventions, the symbol-table discipline, and the verify gates so the cell passes on the first resolve.`,
|
|
5
|
+
formalBlock: `cell ≜ a skill cell ⟨class ↦ skill⟩, authored to PASS verify on the first resolve ⟨path ∈ deploy⟩
|
|
6
|
+
fm ≜ front-matter, EMITTED by deploy ⟨keys harness-variant⟩ : the cell supplies name ∧ description ∧ trigger-verb, ¬ the key-set
|
|
7
|
+
description ≜ fm's reconstruction-grade one-liner ; { description , name } = ALL context @ selection ∴ carries trigger-weight ≜ { what-it-is , when-to-reach-for-it }
|
|
8
|
+
H1 ≜ the skill name, a VERB, fires on its own @ selection ; body ≺ H1 dropped by composer
|
|
9
|
+
formula ≜ the first prose \`≜\` line, consumed as the composition formula
|
|
10
|
+
Bindings ≜ a prose \`Bindings: composes <a> · <b>.\` line, boundary-binds live sibling deps
|
|
11
|
+
block ≜ the self-sufficient set-builder block @ formalize : declarations above \`=== … ===\`, laws below, no prose, σ* density
|
|
12
|
+
xref ≜ a sibling ∨ corpus concept, cited once by its bare σ* anchor
|
|
13
|
+
gate ∈ { schema, references, fences, symbols, verbatim-ref-free, operative, provenance } ⟨corpus-scoped : symbols · self-sufficiency span all cells⟩
|
|
14
|
+
verify ≜ the FULL corpus suite (\`pnpm test\`) as the shard-completion gate : per-cell PASS ≠ corpus PASS ∴ run the whole suite, ¬ the cell's own targeted check alone
|
|
15
|
+
green ≜ ∀ gate PASS reached by fixing → the FITTER sign ⟨declare the fittest glyph + cold-verify · ∨ resolve it to its decodable word⟩, never by degrading the sign to appease a gate ⟨gate = decodability registry, ¬ expression cap⟩
|
|
16
|
+
|
|
17
|
+
self-sufficient(block) ⇔ every term defined in-cell ∧ only live siblings named in prose, never restated
|
|
18
|
+
∀ glyph ∈ fences(cell) : glyph ∈ symbol-table ∪ definienda(cell) ∪ exemptions(Greek · subscript · box-drawing · em-dash)
|
|
19
|
+
operative(cell) ⇔ ∃ ≥1 element ∈ { numbered-step , fenced-block , substantive-prose } beyond H1 + formula
|
|
20
|
+
composes-siblings(cell) ⇔ Bindings ∈ cell ⇔ provenance(cell) ≠ ∅
|
|
21
|
+
only-fenced-≜(cell) ⇔ ¬ composes-siblings(cell) ⇔ provenance(cell) = ∅ ⟨standalone ; a NOTE, not a defect⟩
|
|
22
|
+
never \`X ≜ <cell>\` in prose ; sibling deps boundary-bound via Bindings
|
|
23
|
+
create-skill ≜ name-as-verb → write fm → H1 + formula ( + Bindings ⇔ composes-siblings ) → author block @ formalize → resolve → verify → iterate-until-green → deploy
|
|
24
|
+
boundary ≜ the skill cell ; prose→set-builder @ formalize ; dimension-vectors @ create-agent ; mints no dimension values`,
|
|
25
|
+
composition: () => [formalize],
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/create-skill/skill.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,0YAA0Y;IACvZ,WAAW,EACT;;;;;;;;;;;;;;;;;;;yHAmBwI;IAC1I,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC;CAC/B,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { exemplify } from '../exemplify/skill.js';
|
|
2
|
+
import { materialize } from '../materialize/skill.js';
|
|
3
|
+
export const dream = {
|
|
4
|
+
name: 'dream',
|
|
5
|
+
description: `use this skill to consolidate an agent's memory — fold the raw EPISODIC stream (the tool computes each record's capture node from its cwd — provenance, not what the record is about), then route by type: agent-intrinsic identity/facts to SEMANTIC, generalized cross-project wisdom to PROCEDURAL (only what no projection already carries), a fleet/system/mechanism truth promoted into the projected+gated canon (or emitted as a canon-candidate task) rather than parked in private memory, forward next-steps to EPISODIC, the rest dropped; consumed raw is drained; the Target is never written.`,
|
|
6
|
+
formalBlock: `memory ≜ agent dimension-home ⟨SEMANTIC · PROCEDURAL · EPISODIC⟩ ∪ the memory-tool runtime ⟨a RUNTIME CAPABILITY ; invoked \`memory <verb> <args>\` ; the Runtime-capability line under this block resolves the shim ∴ ¬ path-in-cell⟩
|
|
7
|
+
EPISODIC ≜ raw time-ordered event stream ∪ forward next-steps
|
|
8
|
+
SEMANTIC ≜ identity facts ∪ durable agent-intrinsic knowledge ⟨hot index⟩
|
|
9
|
+
PROCEDURAL ≜ generalized cross-project wisdom no projection already carries
|
|
10
|
+
Target ≜ the deploy-projected declaration carrying the archetype ; commons-authored ; ∉ dream outputs
|
|
11
|
+
lock ≜ dream.lock ⟨O_EXCL ; stale ⇔ age > 2h⟩ guarding the {SEMANTIC · PROCEDURAL} partition ⟨shared by all same-host sessions of one agent ; ¬ project-scoped⟩ ; \`memory lock (acquire|release|status) --name <agent>\`
|
|
12
|
+
⟨WHY a lock HERE and not one-file-per-writer : a concurrent APPEND race is LOUD ⟨encode ↦ EPISODIC : interleaved, never lost⟩ ; a concurrent EDIT race is SILENT ⟨depalimpsest supersedes the WHOLE file ∴ the loser vanishes with no trace⟩⟩
|
|
13
|
+
⟨∴ classify the OPERATION before choosing the instrument : append ⇒ partition by writer ; edit ⇒ lock⟩
|
|
14
|
+
node : cwd × host → provenance ⟨WHERE-captured ; nearest boundary-marker ancestor ; markerless ↦ self ; cwd-less ∨ vanished-cwd ↦ legacy⟩
|
|
15
|
+
scope(i) ≜ what i is ABOUT ⟨read from text(i) ; ¬ node(i) : provenance ≠ scope⟩
|
|
16
|
+
project-referential ≜ scope(i) ↾ one particular project ⟨text(i) names a repo-key ∨ workspace-path ∨ plan-path ∨ branch-ref ∨ issue-ref ; audit detects exactly these⟩
|
|
17
|
+
read : home × session → records ⟨own ∪ completed ; live-sibling ∉⟩ ; \`memory read --name <agent> --for-session <self>\`
|
|
18
|
+
fold : home → { id ↦ node ∪ legacy } ; \`memory fold --name <agent>\`
|
|
19
|
+
drain : home → ∅ ↾ completed-sessions ⟨--completed-only retains a live sibling ; --for-session adds self at handoff⟩ ; \`memory drain --name <agent> --completed-only\`
|
|
20
|
+
route : record → { SEMANTIC · PROCEDURAL · CANON-PROMOTION · EPISODIC · drop }
|
|
21
|
+
land : route-manifest → { SEMANTIC · PROCEDURAL } ⟨the routing is MINE ; the write is the tool's⟩ ; \`memory apply --name <agent> --routes -\`
|
|
22
|
+
resident : store → text ⟨read the whole prose home ; ¬ open its path⟩ ; \`memory get --name <agent> --store (SEMANTIC|PROCEDURAL)\`
|
|
23
|
+
rollover ≜ land ⊕ drain ⊕ re-encode(residue) ATOMIC under one lock ⟨residue between drain ∧ re-encode lives ONLY in my context ∴ a gap loses it⟩ ; \`memory rollover --name <agent> --routes - --residue '<json>'\`
|
|
24
|
+
audit : home → findings × pressure ⟨dream's exit condition⟩ ⟨sign taken from the verb it invokes⟩ ; \`memory audit --name <agent>\`
|
|
25
|
+
ceiling ≜ per-store byte watermark ⟨SEMANTIC ∪ PROCEDURAL load WHOLE every wake ∴ bytes are a per-session context cost⟩
|
|
26
|
+
pressure ≜ { s ∈ { SEMANTIC · PROCEDURAL } | bytes(s) > ceiling } ⟨audit MEASURES it ; depalimpsest's only trigger⟩
|
|
27
|
+
dfp(i) ≜ densest-faithful-point(i)
|
|
28
|
+
depalimpsest ≜ reconcile the resident set to current ground-truth ⟨¬only-drop-stale⟩ ; supersede the whole file, ¬ append : \`memory replace --name <agent> --store (SEMANTIC|PROCEDURAL) --body -\`
|
|
29
|
+
promotion-is-move ≜ a promoted item ∉ its raw source ⟨an obligation discharged AT the promotion, ¬ a later drain's finding⟩
|
|
30
|
+
canon-truth(i) ⇔ i binds ≥1 agent-type ∨ the fleet ∨ is a mechanism/governance-fact ⟨¬ this-agent-only⟩
|
|
31
|
+
reach(x) ≜ the contexts x is present in ⟨own Target · loaded-skill ↦ EVERY context ; corpus-local gate ∨ cell ↦ that corpus ALONE⟩
|
|
32
|
+
projection-carries(i) ⇔ ∃ x : i ⊆ x ∧ reach(x) ⊇ reach(store(i)) ⟨carriage has a RADIUS : authorship ≠ carriage ; SOMEWHERE ≠ WHEREVER i binds⟩
|
|
33
|
+
⟨PROCEDURAL = cross-project ∴ a corpus-local gate NEVER discharges it ; SEMANTIC ∪ PROCEDURAL are read at EVERY wake, a repo is not⟩
|
|
34
|
+
CANON-PROMOTION(i) ≜ author i into its strongest seam ⟨gate ≻ cell ≻ governing-doc⟩ ; ¬canon-remit ⇒ emit a canon-candidate task to the curator ; then projection-carries(i) ⇒ drop ⟨PROCEDURAL⟩
|
|
35
|
+
|
|
36
|
+
dream ≜ read ⟨EPISODIC⟩ ↦ exemplify ↦ materialize
|
|
37
|
+
lock-precondition ≜ acquire(lock) before any write to {SEMANTIC · PROCEDURAL} ∨ any drain ; held-by-live-other ⇒ skip consolidation this wake ⟨raw preserved ; encode always-legal⟩
|
|
38
|
+
∀ i ∈ read(home, session) : i = dfp(i)
|
|
39
|
+
instances-governing-exemplar(i) ⇒ i ↦ pointer
|
|
40
|
+
project-referential(i) ⇒ i ∉ SEMANTIC ∧ i ∉ PROCEDURAL ⟨generalize past the instance ∨ drop ; node(i) binds NOTHING here⟩
|
|
41
|
+
identity(i) ∨ agent-intrinsic-durable(i) ⇒ i ↦ SEMANTIC
|
|
42
|
+
generalized-wisdom(i) ∧ ¬projection-carries(i) ∧ canon-truth(i) ⇒ i ↦ CANON-PROMOTION
|
|
43
|
+
generalized-wisdom(i) ∧ ¬projection-carries(i) ∧ ¬canon-truth(i) ⇒ i ↦ PROCEDURAL
|
|
44
|
+
projection-carries(i) ⇒ i ↦ drop
|
|
45
|
+
next-step(i) ⇒ i ↦ EPISODIC ⟨own-node⟩
|
|
46
|
+
else ⇒ i ↦ drop
|
|
47
|
+
drain ≜ .bak archive before clear ; forward-residue re-encoded after drain ; release(lock) last
|
|
48
|
+
land ⊕ drain ⊕ re-encode ⇒ rollover ⟨¬ three invocations : the gap is where residue dies⟩
|
|
49
|
+
consumed ↦ ∅ ∴ ¬unbounded-growth(EPISODIC)
|
|
50
|
+
EPISODIC ──dream──→ { SEMANTIC · PROCEDURAL · EPISODIC }
|
|
51
|
+
land(i) ⇔ bytes(store ∪ i) ≤ ceiling ⟨¬land(i) ⇒ ⊥ : the tool refuses, naming store · ceiling · overage⟩
|
|
52
|
+
depalimpsest(b) ⇔ bytes(b) ≤ ceiling ∨ bytes(b) < bytes(store) ⟨STRICT shrink accepted EVEN over ceiling ∴ over-ceiling ⇒ frozen-to-shrink, ¬ bricked⟩
|
|
53
|
+
¬land(i) ⇒ depalimpsest ≺ re-land(i) ⟨the refusal IS the eviction summons ; distil to the named target ; ¬ retry-unchanged ; ¬ hand-edit the store⟩
|
|
54
|
+
∀ s ∈ pressure : s ──depalimpsest──→ { SEMANTIC · PROCEDURAL } ⟨THAT an eviction is owed is measured ; WHAT to evict is MY judgement⟩
|
|
55
|
+
generalized-wisdom(i) ∧ ¬projection-carries(i) ⇒ i ↦ CANON-PROMOTION ↾ canon-truth(i) ; else PROCEDURAL ( projection-carries(i) ⇒ ∅ )
|
|
56
|
+
superseded(i) ⇒ ∅
|
|
57
|
+
stale(i) ⇒ ∅
|
|
58
|
+
acceptance ≜ wake-read biases next-action ⟨reboot-seed ; round-trip ≽⟩
|
|
59
|
+
¬graspable-in-one-glance(i) ⇒ distill-further(i) ∨ drop(i)
|
|
60
|
+
Target ∉ dream-outputs
|
|
61
|
+
verb-over-prose ≜ ∀ step declaring an invocation : invoke it ⟨the tool owns the write · I own only the routing⟩ ; hand-editing a store the tool can write is the defect`,
|
|
62
|
+
runtime: { capability: 'memory' },
|
|
63
|
+
composition: () => [exemplify, materialize],
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/dream/skill.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,8kBAA8kB;IAC3lB,WAAW,EACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wKAuDuL;IACzL,OAAO,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE;IACjC,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC;CAC5C,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { conceptualize } from '../conceptualize/skill.js';
|
|
2
|
+
import { probe } from '../probe/skill.js';
|
|
3
|
+
import { signify } from '../signify/skill.js';
|
|
4
|
+
export const elicit = {
|
|
5
|
+
name: 'elicit',
|
|
6
|
+
description: `use this skill to elicit the operator's hidden intended concept — recover it by asking maximally-informative yes/no questions, each a distinction that bisects the live candidates by prior mass (binary-search / information-gain over the concept lattice), converging in the fewest questions; the active, query-driven counterpart to probe (which reads a signifier already given) — stop when one candidate survives or no question is worth its burden, then hand the recovered concept to signify to name.`,
|
|
7
|
+
formalBlock: `C ≜ concept lattice
|
|
8
|
+
D ≜ distinction set
|
|
9
|
+
c ≜ a closed distinction-set ; c ⊆ D
|
|
10
|
+
q ∈ c ⇔ c draws the distinction q
|
|
11
|
+
priors ≜ structured understanding of a token before any definition
|
|
12
|
+
μ ≜ prior mass over candidates read off priors by conceptual fit ; μ : ℘(C) → [0,1] ; μ(C) = 1
|
|
13
|
+
t ≜ the operator's hidden target concept ; t ∈ C ; unobserved
|
|
14
|
+
candidates ≜ the live candidate set ; candidates ⊆ C
|
|
15
|
+
q ≜ a query ; q ∈ D ; operator answers yes ∨ no
|
|
16
|
+
θ ≜ the burden threshold ; θ ∈ (0,1]
|
|
17
|
+
|
|
18
|
+
Y(q) ≜ { c ∈ candidates | q ∈ c }
|
|
19
|
+
bal(q) ≜ | μ(Y(q)) - μ(candidates \\ Y(q)) |
|
|
20
|
+
ask(candidates) ≜ argmin over q of bal(q)
|
|
21
|
+
filter(candidates) ≜ Y(ask(candidates)) if yes ; candidates \\ Y(ask(candidates)) if no
|
|
22
|
+
stop(candidates) ⇔ | candidates | = 1 ∨ bal(ask(candidates)) > θ
|
|
23
|
+
elicit ≜ from candidates = C, iterate filter until stop ; return t = the one surviving candidate`,
|
|
24
|
+
composition: () => [probe, signify, conceptualize],
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/elicit/skill.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,ofAAof;IACjgB,WAAW,EAAE;;;;;;;;;;;;;;;;oGAgBwG;IACrH,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,aAAa,CAAC;CACnD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { introspect } from '../introspect/skill.js';
|
|
2
|
+
const EVENT_TAP_BLOCK = `event-tap ≜ install → observe → read → uninstall
|
|
3
|
+
capability ≜ eventTap ⟨runtime-bound ; every verb reached as \`scripts/eventTap.mjs <verb>\`⟩
|
|
4
|
+
verb ∈ { install · uninstall · read · status }
|
|
5
|
+
lifecycle ≜ the harness-neutral moment taxonomy ⟨session.start · session.end · prompt.submit · turn.end · tool.use.pre · tool.use.post · subagent.start · context.compact.pre · … ⟩
|
|
6
|
+
E ⊆ lifecycle
|
|
7
|
+
sink ≜ append-only capture path ⟨one record per line⟩
|
|
8
|
+
record ≜ ⟨event ∈ lifecycle, payload⟩
|
|
9
|
+
order(read) ≜ position ⟨∄ fabricated timestamp⟩
|
|
10
|
+
target ≜ the harness's own hook-config artifact ⟨\`--settings <path>\` ; absent ↦ the harness default ; the ADAPTER names it, ¬ this cell⟩
|
|
11
|
+
target₀ ≜ target before install
|
|
12
|
+
foreign ≜ every target key ∧ every hook entry this tap did not write
|
|
13
|
+
attached : target → 𝔹
|
|
14
|
+
|
|
15
|
+
install(E, sink) ≜ \`scripts/eventTap.mjs install --events <e₁,e₂,…> --sink <path>\` ∴ attached(target)
|
|
16
|
+
uninstall ≜ \`scripts/eventTap.mjs uninstall\` ∴ ¬ attached(target)
|
|
17
|
+
read ≜ \`scripts/eventTap.mjs read\` ↦ { record }
|
|
18
|
+
status ≜ \`scripts/eventTap.mjs status\` ↦ ⟨attached(target), E⟩
|
|
19
|
+
|
|
20
|
+
passive ⊨ ¬ block ∧ ¬ deny ∧ ¬ mutate(host-control-flow) ⟨observe only ; ∀ verb⟩
|
|
21
|
+
uninstall ∘ install ⊨ target ≡ target₀ ∧ foreign preserved ⟨zero residue⟩
|
|
22
|
+
e ∈ E ∧ e ∉ lifecycle ⇒ ⊥ ⟨loud⟩
|
|
23
|
+
verb ∉ { install · uninstall · read · status } ⇒ ⊥ ⟨loud⟩
|
|
24
|
+
E = ∅ ⇒ ¬ attached(target)
|
|
25
|
+
¬ attached(target) ⇒ read ↦ ∅
|
|
26
|
+
status ≜ derived from target ⟨¬ in-memory ∴ a fresh process reads the same truth⟩
|
|
27
|
+
observe ≜ the host writes each occurrence of E to sink ⟨∄ agent turn between fire ∧ capture⟩
|
|
28
|
+
self-observation ≜ install ↾ own-lifecycle ∴ read ⊨ evidence(own-behavior) ⟨¬ recollection⟩
|
|
29
|
+
install ⊨ uninstall owed ⟨an uninstalled tap outlives the question it was installed to answer⟩`;
|
|
30
|
+
export const eventTap = {
|
|
31
|
+
name: 'event-tap',
|
|
32
|
+
description: `use this skill to attach a passive observer to an agent's own lifecycle — install a tap on a chosen set of harness-neutral events (session.start, turn.end, tool.use.pre, …), let the host append each occurrence to a capture sink, read the captured records back as evidence of what actually happened, and uninstall the tap with zero residue; the four verbs are install, uninstall, read, status, and the tap never blocks, denies, or alters what it observes.`,
|
|
33
|
+
formalBlock: EVENT_TAP_BLOCK,
|
|
34
|
+
runtime: { capability: 'eventTap' },
|
|
35
|
+
composition: () => [introspect],
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/event-tap/skill.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;+FA2B0F,CAAC;AAEnH,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,wcAAwc;IACrd,WAAW,EAAE,eAAe;IAC5B,OAAO,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE;IACnC,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,UAAU,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { conceptualize } from '../conceptualize/skill.js';
|
|
2
|
+
import { materialize } from '../materialize/skill.js';
|
|
3
|
+
import { signify } from '../signify/skill.js';
|
|
4
|
+
const FORMAL_BLOCK = `concept-record ≜ ⟨ gloss , anchor? , factorization? ⟩
|
|
5
|
+
sources ≜ input material @ conceptualize ⟨the corpus D is drawn OVER, ¬ D itself⟩
|
|
6
|
+
C ≜ concept lattice @ conceptualize
|
|
7
|
+
produce : sources → concept-record @ conceptualize
|
|
8
|
+
name : concept-record → concept-record @ signify
|
|
9
|
+
realize : concept-record → concept-record @ materialize
|
|
10
|
+
REC : concept-record → concept-record @ materialize
|
|
11
|
+
R_cold(f) ≜ the isolated cold-blind decode of fragment f (a naive reader, zero project-K, from f's signifiers + inline ≜ alone)
|
|
12
|
+
body(k) ≜ cell k's authored surface ⟨front-matter excluded⟩
|
|
13
|
+
decode_warm(f | K) ≜ fragment f's warm decode, reader free to consult K
|
|
14
|
+
K ≜ project-K, the warm knowledge (project corpus) a reader already holds
|
|
15
|
+
R_cold, decode_warm, coldpass, K @ cold-decode-oracle
|
|
16
|
+
minimal @ signify
|
|
17
|
+
conform @ signify
|
|
18
|
+
Cells ≜ every authored cell, self included
|
|
19
|
+
fragment_digest(f) ≜ digest( trim( collapse-whitespace( NFC(f) ) ) )
|
|
20
|
+
manifest ≜ { source , exemplified_at , reader , routes[⟨fragment_digest, idea_gloss, home_slug, disposition, rank⟩] , delta[⟨fragment_digest, idea_gloss⟩] }
|
|
21
|
+
|
|
22
|
+
realized(k) ⇔ factorization(k) ≠ ⊥
|
|
23
|
+
coldpass(k) ⇔ R_cold(body(k)) ≅ gloss(k) ∧ decode_warm(body(k) | K) ≅ R_cold(body(k))
|
|
24
|
+
valid(k) ⇔ REC(k) ≽ k ∧ minimal(k) ∧ conform(k) ∧ coldpass(k)
|
|
25
|
+
produce ↦ gloss ; name ↦ anchor ; realize ↦ factorization
|
|
26
|
+
∀ k ∈ Cells : accept(k) defined
|
|
27
|
+
disposition ∈ { reuse, mint }
|
|
28
|
+
∀ c ∈ C : c ∈ routes ⊻ c ∈ delta
|
|
29
|
+
accept(F(sources)) = F(sources) ⇒ manifest @ .manifests/<source>.json
|
|
30
|
+
|
|
31
|
+
F(sources) ≜ realize( name( produce(sources) ) )
|
|
32
|
+
exemplify(sources) ≜ accept( F(sources) )
|
|
33
|
+
accept(k) ≜ ⊥ , ¬realized(k)
|
|
34
|
+
accept(k) ≜ k , valid(k)
|
|
35
|
+
accept(k) ≜ ⊥ , ¬valid(k)`;
|
|
36
|
+
export const exemplify = {
|
|
37
|
+
name: 'exemplify',
|
|
38
|
+
description: `optimize a context corpus into a canonical semantic factorization — compose produce → name → realize over the one concept-record, then gate on accept; emits the R3 routing manifest that catches the dropped idea.`,
|
|
39
|
+
formalBlock: FORMAL_BLOCK,
|
|
40
|
+
composition: () => [conceptualize, signify, materialize],
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/exemplify/skill.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA+B2B,CAAC;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,qNAAqN;IAClO,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,aAAa,EAAE,OAAO,EAAE,WAAW,CAAC;CACzD,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { conceptualize } from '../conceptualize/skill.js';
|
|
2
|
+
import { signify } from '../signify/skill.js';
|
|
3
|
+
export const formalize = {
|
|
4
|
+
name: 'formalize',
|
|
5
|
+
description: `use this skill to convert prose — especially of a process or skill — into a self-sufficient set-builder block under self-sufficient-formalism: conceptualize the prose to its entities/operations/laws, signify each as a symbol (minting or boundary-binding to an anchor), and emit declarations-above / laws-below with no explanatory prose; accept only on round-trip equivalent-or-better.`,
|
|
6
|
+
formalBlock: `prose ≜ the source text
|
|
7
|
+
E ≜ entities(prose) ; O ≜ operations(prose) ; L ≜ laws(prose)
|
|
8
|
+
|
|
9
|
+
T ≜ the declared notation table @ src/operator-lexicon.ts
|
|
10
|
+
η : E ∪ O ⇀ symbols @ signify
|
|
11
|
+
β ≜ { s | s imported, its anchor cited once in adjacent notation }
|
|
12
|
+
ι ≜ { s | s resolved from invocation context }
|
|
13
|
+
|
|
14
|
+
σ* ≜ signify's fittest sign
|
|
15
|
+
|
|
16
|
+
B ≜ formalize(prose) such that :
|
|
17
|
+
∀ e ∈ E : signature(η(e)) ∈ B
|
|
18
|
+
∀ o ∈ O ∪ L : law(η(o)) ∈ B
|
|
19
|
+
∀ line ∈ B : line = σ*(its concept)
|
|
20
|
+
|
|
21
|
+
Dfn ≜ { s | a line of B defines s }
|
|
22
|
+
closed(B) ⇔ symbols(B) ⊆ T ∪ Dfn ∪ β ∪ ι
|
|
23
|
+
complete(B) ⇔ ∀ b ∈ behavior(prose) : ∃ line ∈ B : line ⊨ b
|
|
24
|
+
ordered(B) ⇔ ∀ s ∈ Dfn : definition(s) precedes use(s)
|
|
25
|
+
self-sufficient(B) ⇔ closed(B) ∧ complete(B) ∧ ordered(B)
|
|
26
|
+
gloss(B) ≜ prose of B beyond β ∪ ι ; gloss(B) ≠ ∅ ⇒ ¬complete(B)
|
|
27
|
+
¬self-sufficient(B) ⇒ ⊥
|
|
28
|
+
|
|
29
|
+
σ*(c) ∉ T ⇒ extend T with σ*(c) ⟨cold-verify⟩ ; ¬ degrade c to a weaker α ∈ T ∵ α ≠ σ*(c) ⟨llm-native⟩
|
|
30
|
+
|
|
31
|
+
reconstruct(B) ≽ prose
|
|
32
|
+
reconstruct(B) ⋡ prose ⇒ ⊥`,
|
|
33
|
+
composition: () => [conceptualize, signify],
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/formalize/skill.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,kYAAkY;IAC/Y,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0B+B;IAC5C,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,aAAa,EAAE,OAAO,CAAC;CAC5C,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { dream } from '../dream/skill.js';
|
|
2
|
+
import { praxis } from '../praxis/skill.js';
|
|
3
|
+
const FORMAL_BLOCK = `handoff ≜ praxis-sync → release → dream
|
|
4
|
+
self ≜ session⟨AGENT_SESSION_ID⟩
|
|
5
|
+
agent ≜ this agent's name
|
|
6
|
+
memory ≜ runtime capability ⟨invoked \`memory <verb> <args>\` ; the Runtime-capability line under this block resolves the shim ∴ ¬ path-in-cell⟩
|
|
7
|
+
praxis-sync ≜ sync @ praxis
|
|
8
|
+
dream ≜ drain⟨EPISODIC⟩ @ dream
|
|
9
|
+
release ≜ \`memory session release --name <agent>\` ∴ released(self)
|
|
10
|
+
registered, released, stale : session → 𝔹
|
|
11
|
+
live : session → 𝔹
|
|
12
|
+
|
|
13
|
+
order : praxis-sync ≺ release ≺ dream
|
|
14
|
+
⟨release ≺ dream : release is what makes the session's records COMPLETED, ∴ drainable by a party that is not this one · draining BEFORE it forces the expensive act to finish inside the exiting context, which is the one context least able to afford it⟩
|
|
15
|
+
registered, released, stale @ memory-session-registry
|
|
16
|
+
live(s) ⇔ registered(s) ∧ ¬ released(s) ∧ ¬ stale(s)
|
|
17
|
+
live(self) ⇒ self.{forward-residue, owned-plan} occupied
|
|
18
|
+
¬ live(self) ⇒ self.{forward-residue, owned-plan} inheritable
|
|
19
|
+
scope = persist-only`;
|
|
20
|
+
export const handoff = {
|
|
21
|
+
name: 'handoff',
|
|
22
|
+
description: `use this skill to prepare a session for handoff before /clear — bring the plan's record up to date (praxis sync) and consolidate memory (dream) while context is still hot; the persist half of the session boundary, invocable as /handoff.`,
|
|
23
|
+
formalBlock: FORMAL_BLOCK,
|
|
24
|
+
runtime: { capability: 'memory' },
|
|
25
|
+
composition: () => [praxis, dream],
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/handoff/skill.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;8BAgB4B,CAAC;AAElD,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,8OAA8O;IAC3P,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE;IACjC,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC;CACnC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export const introspect = {
|
|
2
|
+
name: 'introspect',
|
|
3
|
+
description: `use this skill when an agent needs to self-audit — compare each dimension's defined value against the value actually in effect this session, and name the cause of every divergence.`,
|
|
4
|
+
formalBlock: `A ≜ the agent introspecting itself
|
|
5
|
+
O ≜ A's live ## Target dimension-sections { archetype · role · formality · audience-adaptation · transparency · autonomy · provenance · objective · engineering-principles · guardrails · capabilities · situation-awareness · actions · modalities · model · memory · trigger · framing · reasoning-strategy · satisficing · output-format · self-evaluation · … }
|
|
6
|
+
V ≜ the fragment value-space { one-value · value-set · unobservable }
|
|
7
|
+
src_def ≜ A's in-prompt ## Target sections ∪ agent/<A>.md ⟨one selected value per dimension⟩
|
|
8
|
+
src_rt ≜ runtime sources observed this session { live tool/action-set · live model · system-prompt-as-given · autonomy-mode + transient-elevation · deployed front-matter⟨color · mark⟩ · env · granted-permissions }
|
|
9
|
+
addresses : O → concept @ A's archetype ∪ each dimension's role ⟨the concept the fragment must express⟩
|
|
10
|
+
|
|
11
|
+
def : O → V @ src_def
|
|
12
|
+
rt : O → V @ src_rt
|
|
13
|
+
decode : O → concept ≜ decode_cold(def(o)) ⟨isolated tool-less read of the declared sign · its own priors · zero project-causes⟩
|
|
14
|
+
why : div → causes
|
|
15
|
+
|
|
16
|
+
harness-override ≜ runtime substituted the value ⟨tool-gating · model-pin · env⟩
|
|
17
|
+
deploy-drift ≜ deployed def ≠ source vector ⟨stale ∨ partial deploy⟩
|
|
18
|
+
profile-projection ≜ def projected at a reader/profile that reshaped the value
|
|
19
|
+
transient-elevation ≜ a session act flipped it ⟨carry-on : autonomy human-on-the-loop ↦ human-out-of-the-loop⟩
|
|
20
|
+
composer-dropped ≜ projection dropped a facet ⟨the color/mark regression class⟩
|
|
21
|
+
env-conditioned ≜ a host/env fact changed the effective value
|
|
22
|
+
unobservable ≜ runtime value ¬ inspectable ∴ report-as-such ∧ ¬ guess
|
|
23
|
+
misnomer ≜ def faithfully in effect yet the wrong sign for its concept ⟨match(o) ∧ ¬ signifies(o) · a signification defect at def, ¬ a configuration one; the class that hides when rt conforms to a def that is itself mis-signified⟩
|
|
24
|
+
K_cfg ≜ { harness-override · deploy-drift · profile-projection · transient-elevation · composer-dropped · env-conditioned · unobservable }
|
|
25
|
+
causes ≜ K_cfg ∪ { misnomer }
|
|
26
|
+
|
|
27
|
+
∀ o ∈ O : rt(o) @ src_rt
|
|
28
|
+
¬ ( rt ≜ def )
|
|
29
|
+
match(o) ≜ def(o) ≅ rt(o)
|
|
30
|
+
signifies(o) ≜ decode(o) ≅ addresses(o)
|
|
31
|
+
sound(o) ≜ match(o) ∧ signifies(o)
|
|
32
|
+
div ≜ { o ∈ O | ¬ sound(o) }
|
|
33
|
+
¬ match(o) ⇒ why(o) ∈ K_cfg
|
|
34
|
+
match(o) ∧ ¬ signifies(o) ⇒ why(o) = misnomer
|
|
35
|
+
why(o) ∈ causes , o ∈ div
|
|
36
|
+
row(o) ≜ ⟨ o, def(o), rt(o), match(o), signifies(o), why(o) ↾ o ∈ div ⟩
|
|
37
|
+
summary ≜ { ⟨ o, why(o) ⟩ | o ∈ div }
|
|
38
|
+
report ≜ ⟨ { row(o) | o ∈ O }, summary ⟩
|
|
39
|
+
introspect(A) ≜ report
|
|
40
|
+
|
|
41
|
+
¬ edit(agent/<A>.md) ∧ ¬ redeploy ∧ ¬ mint(V)
|
|
42
|
+
why(o) ∈ K_cfg ⇒ reconcile @ { create-agent · deploy }
|
|
43
|
+
why(o) = misnomer ⇒ reconcile @ signify ≺ { create-agent · deploy }
|
|
44
|
+
O · causes @ live-anatomy`,
|
|
45
|
+
composition: () => [],
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/introspect/skill.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,sLAAsL;IACnM,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwCqC;IAClD,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;CACtB,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { conceptualize } from '../conceptualize/skill.js';
|
|
2
|
+
import { exemplify } from '../exemplify/skill.js';
|
|
3
|
+
import { signify } from '../signify/skill.js';
|
|
4
|
+
export const materialize = {
|
|
5
|
+
name: 'materialize',
|
|
6
|
+
description: `use this skill to realize a concept lattice as artifacts — select each concept's canonical factorization \`F\`, emit the bipartite normal form \`CSF\` (a primitive by value as ⟨anchor, gloss⟩, a composite by reference as ⟨anchor, factor-anchors⟩), then realize under an explicitly named strategy whose kind-consumption table ρ refuses loudly when unnamed; stage 3 of exemplify, independently invocable.`,
|
|
7
|
+
formalBlock: `C ≜ concept lattice
|
|
8
|
+
prim : C → 𝔹
|
|
9
|
+
fac : C → ℘(℘(C))
|
|
10
|
+
≺ ≜ shortlex order over factorizations
|
|
11
|
+
anchor : C → sign ∪ {⊥}
|
|
12
|
+
gloss : C → text
|
|
13
|
+
kind : C → Kinds
|
|
14
|
+
Kinds ≜ the closed kind set
|
|
15
|
+
|
|
16
|
+
concept-record ≜ record(gloss, anchor, factorization)
|
|
17
|
+
dfp(g) ≜ densest-faithful-point(g)
|
|
18
|
+
cite-by-ref ≜ composite stores factor-anchors ∧ ¬restate factor-content
|
|
19
|
+
CSF ≜ bipartite-normal-form: primitive↦⟨anchor,gloss⟩ by value ; composite↦⟨anchor,factor-anchors⟩ by reference
|
|
20
|
+
realize ≜ dispatch artifact-form per kind through a named strategy s
|
|
21
|
+
loud-refusal ≜ s unnamed ∨ ρ_s not total over live kinds ⇒ ⊥
|
|
22
|
+
|
|
23
|
+
F(m) ≜ min_≺ fac(m)
|
|
24
|
+
CSF(c) ≜ ( anchor(c) , dfp(gloss(c)) ) , prim(c)
|
|
25
|
+
CSF(c) ≜ ( anchor(c) , { anchor(p) | p ∈ F(c) } ) , ¬prim(c)
|
|
26
|
+
realize(k) fills factorization(k) ≜ CSF(k) ; gloss(k), anchor(k) preserved
|
|
27
|
+
anchor(k) = ⊥ ⇒ realize(k) = ⊥
|
|
28
|
+
|
|
29
|
+
prose(c) ≜ render(CSF(c))
|
|
30
|
+
CSF(c) ≽ prose(c)
|
|
31
|
+
|
|
32
|
+
Φ ≜ { (anchor(c), kind(c), CSF(c)) | c ∈ C }
|
|
33
|
+
S ≜ { file, document, … }
|
|
34
|
+
σ : Φ × S → artifacts
|
|
35
|
+
ρ_s : Kinds → form_s
|
|
36
|
+
σ well-defined ⇔ ρ_s total over kinds(Φ)
|
|
37
|
+
s unnamed ∨ s ∉ S ⇒ ⊥
|
|
38
|
+
∃ k ∈ kinds(Φ) : k ∉ dom(ρ_s) ⇒ ⊥
|
|
39
|
+
|
|
40
|
+
σ(Φ, file) ≜ { \${OUTPUT_DIR}/anchor(c).md | (anchor(c), k, x) ∈ Φ }
|
|
41
|
+
ρ_file(k) ≜ front-matter (kind: k, description) + body
|
|
42
|
+
∀ f ∈ σ(Φ, file) : ∃! (a, k, x) ∈ Φ : content(f) = x
|
|
43
|
+
|
|
44
|
+
σ(Φ, document) ≜ one recomposed document
|
|
45
|
+
ρ_document(k) ≜ rhetorical role:
|
|
46
|
+
concept ↦ definition
|
|
47
|
+
process ↦ ordered steps
|
|
48
|
+
principle ↦ constraint
|
|
49
|
+
structure ↦ table
|
|
50
|
+
classification ↦ membership test
|
|
51
|
+
utility ↦ instrument`,
|
|
52
|
+
composition: () => [exemplify, signify, conceptualize],
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/materialize/skill.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,oZAAoZ;IACja,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA4CoC;IACjD,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC;CACvD,CAAC"}
|