@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 @@
|
|
|
1
|
+
{"version":3,"file":"stance-guardrail.js","sourceRoot":"","sources":["../../src/hooks/stance-guardrail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAG7D,wEAAwE;AACxE,8EAA8E;AAC9E,2EAA2E;AAC3E,2EAA2E;AAC3E,8EAA8E;AAC9E,gFAAgF;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAa;IACvC,EAAE,EAAE,kBAAkB;IACtB,OAAO,EACL,8UAA8U;IAChV,SAAS,EAAE,SAAS;IACpB,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC,UAAU,EAAE,cAAc,CAAC;IACpC,KAAK,EAAE,qBAAqB;IAC5B,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,EAAE;IACR,OAAO,EAAE;QACP;YACE,QAAQ,EAAE,qBAAqB;YAC/B,UAAU,EAAE,sDAAsD;YAClE,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkdd;SACI;QACD;YACE,QAAQ,EAAE,iBAAiB;YAC3B,UAAU,EAAE,kDAAkD;YAC9D,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsEd;SACI;QACD;YACE,QAAQ,EAAE,wBAAwB;YAClC,UAAU,EAAE,yDAAyD;YACrE,UAAU,EAAE,KAAK;YACjB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0LX,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuLV;SACI;KACF;CACF,CAAC"}
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
2
|
+
// canon AS A PLUGIN — the package's `defineAgentPlugin` default export.
|
|
3
|
+
//
|
|
4
|
+
// This makes canon the FIRST agent-plugin: the baseline catalog + golden
|
|
5
|
+
// example + zero-config default, distributed as a peer plugin (not special-cased
|
|
6
|
+
// as "the corpus"). A consumer `npm i @cratylus/canon` then `extends` this
|
|
7
|
+
// exported object — addressing by IMPORTED BINDING, never a string id.
|
|
8
|
+
//
|
|
9
|
+
// The dir fields point at the live source dirs this corpus already carries: the
|
|
10
|
+
// fragment modules under `src/dimensions/<dim>/*.ts`, and the agent / skill preset
|
|
11
|
+
// modules. The forge resolver scans these paths exactly as the existing
|
|
12
|
+
// directory-scan does; no resolver logic lives here.
|
|
13
|
+
//
|
|
14
|
+
// SELF-LOCATION (why absolute, not `'./src/dimensions'`): a consumer `extends`
|
|
15
|
+
// this plugin by importing the OBJECT, which has lost its package-root provenance
|
|
16
|
+
// — a bare relative dir would be unresolvable to the config-is-code loader,
|
|
17
|
+
// wherever the package is installed. So the plugin resolves its own dirs against
|
|
18
|
+
// `import.meta.url` at definition time; the loader consumes the absolute paths
|
|
19
|
+
// verbatim. This module is at `src/index.ts`, so the dirs are its siblings.
|
|
20
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
21
|
+
import { fileURLToPath } from 'node:url';
|
|
22
|
+
import { defineAgentPlugin } from '@cratylus/schema';
|
|
23
|
+
import { foundingDoctrine } from './genus/founding-doctrine.js';
|
|
24
|
+
import { CANONICAL_EVENTS, MANIFEST } from './manifest.js';
|
|
25
|
+
/** Resolve a sibling dir of this module to an absolute path (self-location). */
|
|
26
|
+
const dir = (rel) => fileURLToPath(new URL(rel, import.meta.url));
|
|
27
|
+
export default defineAgentPlugin({
|
|
28
|
+
name: 'canon',
|
|
29
|
+
// WHICH dimensions exist — this corpus's own manifest, carried on the plugin so
|
|
30
|
+
// a consumer projecting canon gets canon's dimension set without the projector
|
|
31
|
+
// containing it. The same carry as `preamble` below.
|
|
32
|
+
manifest: MANIFEST,
|
|
33
|
+
// WHICH lifecycle events exist — carried the same way, and for the same reason.
|
|
34
|
+
// The projector needs the members to emit a host's runtime configuration
|
|
35
|
+
// (ARCHITECTURE property 4); property 3 says it may only RECEIVE them. This
|
|
36
|
+
// field is that receipt: DATA on the plugin, never an import of this package.
|
|
37
|
+
events: CANONICAL_EVENTS,
|
|
38
|
+
fragments: dir('./dimensions'),
|
|
39
|
+
agents: dir('./agents'),
|
|
40
|
+
skills: dir('./skills'),
|
|
41
|
+
// The axiom rides the PLUGIN, so it survives projection by any consumer.
|
|
42
|
+
preamble: foundingDoctrine,
|
|
43
|
+
hooks: dir('./hooks'),
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,wEAAwE;AACxE,EAAE;AACF,yEAAyE;AACzE,iFAAiF;AACjF,2EAA2E;AAC3E,uEAAuE;AACvE,EAAE;AACF,gFAAgF;AAChF,mFAAmF;AACnF,wEAAwE;AACxE,qDAAqD;AACrD,EAAE;AACF,+EAA+E;AAC/E,kFAAkF;AAClF,4EAA4E;AAC5E,iFAAiF;AACjF,+EAA+E;AAC/E,4EAA4E;AAC5E,gFAAgF;AAEhF,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE3D,gFAAgF;AAChF,MAAM,GAAG,GAAG,CAAC,GAAW,EAAU,EAAE,CAClC,aAAa,CAAC,IAAI,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAE/C,eAAe,iBAAiB,CAAC;IAC/B,IAAI,EAAE,OAAO;IACb,gFAAgF;IAChF,+EAA+E;IAC/E,qDAAqD;IACrD,QAAQ,EAAE,QAAQ;IAClB,gFAAgF;IAChF,yEAAyE;IACzE,4EAA4E;IAC5E,8EAA8E;IAC9E,MAAM,EAAE,gBAAgB;IACxB,SAAS,EAAE,GAAG,CAAC,cAAc,CAAC;IAC9B,MAAM,EAAE,GAAG,CAAC,UAAU,CAAC;IACvB,MAAM,EAAE,GAAG,CAAC,UAAU,CAAC;IACvB,yEAAyE;IACzE,QAAQ,EAAE,gBAAgB;IAC1B,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC;CACtB,CAAC,CAAC"}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import type { AgentOf, HookCell as HookCellOf, RequiredDimensionOf, SetDimensionOf, SkillExpression, Skill as SkillOf, Value as ValueOfDimension } from '@cratylus/schema';
|
|
2
|
+
/**
|
|
3
|
+
* The one runtime home for this corpus's dimension metadata. Every derivation
|
|
4
|
+
* below reads it, so a dimension is added HERE and nowhere else.
|
|
5
|
+
*
|
|
6
|
+
* `as const satisfies Record<string, DimensionMeta>` is LOAD-BEARING and is not
|
|
7
|
+
* interchangeable with a `: Record<string, DimensionMeta>` annotation. The
|
|
8
|
+
* annotation widens the keys to `string`, which collapses `Dimension` to `string`
|
|
9
|
+
* and takes every alias, `Agent` field and arity check below down with it —
|
|
10
|
+
* silently, while everything still compiles.
|
|
11
|
+
*/
|
|
12
|
+
export declare const MANIFEST: {
|
|
13
|
+
readonly autonomy: {
|
|
14
|
+
readonly axis: "Persona";
|
|
15
|
+
readonly repertoire: "latent";
|
|
16
|
+
readonly arity: "set";
|
|
17
|
+
};
|
|
18
|
+
readonly role: {
|
|
19
|
+
readonly axis: "Persona";
|
|
20
|
+
readonly repertoire: "open";
|
|
21
|
+
readonly arity: "scalar";
|
|
22
|
+
};
|
|
23
|
+
readonly formality: {
|
|
24
|
+
readonly axis: "Persona";
|
|
25
|
+
readonly repertoire: "latent";
|
|
26
|
+
readonly arity: "scalar";
|
|
27
|
+
};
|
|
28
|
+
readonly 'audience-adaptation': {
|
|
29
|
+
readonly axis: "Persona";
|
|
30
|
+
readonly repertoire: "latent";
|
|
31
|
+
readonly arity: "scalar";
|
|
32
|
+
};
|
|
33
|
+
readonly transparency: {
|
|
34
|
+
readonly axis: "Persona";
|
|
35
|
+
readonly repertoire: "latent";
|
|
36
|
+
readonly arity: "scalar";
|
|
37
|
+
};
|
|
38
|
+
readonly objective: {
|
|
39
|
+
readonly axis: "Constitution";
|
|
40
|
+
readonly repertoire: "open";
|
|
41
|
+
readonly arity: "scalar";
|
|
42
|
+
};
|
|
43
|
+
readonly guardrails: {
|
|
44
|
+
readonly axis: "Constitution";
|
|
45
|
+
readonly repertoire: "curated";
|
|
46
|
+
readonly arity: "set";
|
|
47
|
+
readonly required: true;
|
|
48
|
+
};
|
|
49
|
+
readonly 'engineering-principles': {
|
|
50
|
+
readonly axis: "Constitution";
|
|
51
|
+
readonly repertoire: "curated";
|
|
52
|
+
readonly arity: "set";
|
|
53
|
+
};
|
|
54
|
+
readonly heuristics: {
|
|
55
|
+
readonly axis: "Constitution";
|
|
56
|
+
readonly repertoire: "curated";
|
|
57
|
+
readonly arity: "set";
|
|
58
|
+
};
|
|
59
|
+
readonly capabilities: {
|
|
60
|
+
readonly axis: "Constitution";
|
|
61
|
+
readonly repertoire: "open";
|
|
62
|
+
readonly arity: "set";
|
|
63
|
+
};
|
|
64
|
+
readonly learning: {
|
|
65
|
+
readonly axis: "Constitution";
|
|
66
|
+
readonly repertoire: "latent";
|
|
67
|
+
readonly arity: "scalar";
|
|
68
|
+
};
|
|
69
|
+
readonly 'situation-awareness': {
|
|
70
|
+
readonly axis: "Constitution";
|
|
71
|
+
readonly repertoire: "latent";
|
|
72
|
+
readonly arity: "scalar";
|
|
73
|
+
};
|
|
74
|
+
readonly actions: {
|
|
75
|
+
readonly axis: "Constitution";
|
|
76
|
+
readonly repertoire: "latent";
|
|
77
|
+
readonly arity: "set";
|
|
78
|
+
};
|
|
79
|
+
readonly modalities: {
|
|
80
|
+
readonly axis: "Constitution";
|
|
81
|
+
readonly repertoire: "latent";
|
|
82
|
+
readonly arity: "scalar";
|
|
83
|
+
};
|
|
84
|
+
readonly model: {
|
|
85
|
+
readonly axis: "Constitution";
|
|
86
|
+
readonly repertoire: "latent";
|
|
87
|
+
readonly arity: "scalar";
|
|
88
|
+
};
|
|
89
|
+
readonly memory: {
|
|
90
|
+
readonly axis: "Constitution";
|
|
91
|
+
readonly repertoire: "latent";
|
|
92
|
+
readonly arity: "scalar";
|
|
93
|
+
};
|
|
94
|
+
readonly trigger: {
|
|
95
|
+
readonly axis: "Constitution";
|
|
96
|
+
readonly repertoire: "latent";
|
|
97
|
+
readonly arity: "scalar";
|
|
98
|
+
};
|
|
99
|
+
readonly framing: {
|
|
100
|
+
readonly axis: "Constitution";
|
|
101
|
+
readonly repertoire: "open";
|
|
102
|
+
readonly arity: "scalar";
|
|
103
|
+
};
|
|
104
|
+
readonly 'reasoning-strategy': {
|
|
105
|
+
readonly axis: "Constitution";
|
|
106
|
+
readonly repertoire: "latent";
|
|
107
|
+
readonly arity: "scalar";
|
|
108
|
+
};
|
|
109
|
+
readonly satisficing: {
|
|
110
|
+
readonly axis: "Constitution";
|
|
111
|
+
readonly repertoire: "latent";
|
|
112
|
+
readonly arity: "scalar";
|
|
113
|
+
};
|
|
114
|
+
readonly 'output-format': {
|
|
115
|
+
readonly axis: "Constitution";
|
|
116
|
+
readonly repertoire: "latent";
|
|
117
|
+
readonly arity: "scalar";
|
|
118
|
+
};
|
|
119
|
+
readonly 'self-evaluation': {
|
|
120
|
+
readonly axis: "Constitution";
|
|
121
|
+
readonly repertoire: "latent";
|
|
122
|
+
readonly arity: "scalar";
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Every fragment dimension of this corpus — DERIVED from `MANIFEST`, never listed
|
|
127
|
+
* twice. `archetype` and `provenance` are NOT here: archetype is a plain-string
|
|
128
|
+
* description on the agent and provenance the structured `{mark}`;
|
|
129
|
+
* both carry data, not a σ* residue, so neither is a value-fragment dimension.
|
|
130
|
+
*/
|
|
131
|
+
export type Dimension = keyof typeof MANIFEST;
|
|
132
|
+
/** Every fragment-dimension name, in manifest (Persona-then-Constitution) declaration order. */
|
|
133
|
+
export declare const DIMENSION_NAMES: readonly Dimension[];
|
|
134
|
+
/**
|
|
135
|
+
* A dimension VALUE of THIS corpus: a bare branded declaration, or one that
|
|
136
|
+
* enforces itself.
|
|
137
|
+
*
|
|
138
|
+
* `D extends Dimension`, and that constraint is the whole reason this alias
|
|
139
|
+
* exists rather than forge's `Value` being imported directly: a misspelled
|
|
140
|
+
* dimension (`Value<'guardrials'>`) is a compile error here, and cannot be one
|
|
141
|
+
* inside a projector that does not know which dimensions exist.
|
|
142
|
+
*/
|
|
143
|
+
export type Value<D extends Dimension> = ValueOfDimension<D>;
|
|
144
|
+
/** The dimensions holding MANY values — derived from `MANIFEST`'s `arity`. */
|
|
145
|
+
export type SetDimension = SetDimensionOf<typeof MANIFEST>;
|
|
146
|
+
/** The dimensions an agent may NOT omit — derived from `MANIFEST`'s `required`. */
|
|
147
|
+
export type RequiredDimension = RequiredDimensionOf<typeof MANIFEST>;
|
|
148
|
+
/**
|
|
149
|
+
* An agent of this corpus: a FLAT, explicit selection over `MANIFEST` (depth 1 —
|
|
150
|
+
* composition over inheritance), plus the identity fields forge reads.
|
|
151
|
+
*
|
|
152
|
+
* Every dimension key is REQUIRED (completeness law). A scalar dimension holds
|
|
153
|
+
* ONE branded value or `null` (explicit omit-to-inherit — do NOT project this
|
|
154
|
+
* dimension; inherit whatever the harness provides); a set dimension holds an
|
|
155
|
+
* array, or `null` to omit the whole section. `guardrails` has no `| null`: it is
|
|
156
|
+
* `required: true` in the catalog, so the unconfined agent cannot be written down.
|
|
157
|
+
*/
|
|
158
|
+
export type Agent = AgentOf<typeof MANIFEST>;
|
|
159
|
+
export type Autonomy = Value<'autonomy'>;
|
|
160
|
+
export type Role = Value<'role'>;
|
|
161
|
+
export type Formality = Value<'formality'>;
|
|
162
|
+
export type AudienceAdaptation = Value<'audience-adaptation'>;
|
|
163
|
+
export type Transparency = Value<'transparency'>;
|
|
164
|
+
export type Objective = Value<'objective'>;
|
|
165
|
+
export type Guardrails = Value<'guardrails'>;
|
|
166
|
+
export type EngineeringPrinciples = Value<'engineering-principles'>;
|
|
167
|
+
export type Heuristics = Value<'heuristics'>;
|
|
168
|
+
export type Capabilities = Value<'capabilities'>;
|
|
169
|
+
export type Learning = Value<'learning'>;
|
|
170
|
+
export type SituationAwareness = Value<'situation-awareness'>;
|
|
171
|
+
export type Actions = Value<'actions'>;
|
|
172
|
+
export type Modalities = Value<'modalities'>;
|
|
173
|
+
export type Model = Value<'model'>;
|
|
174
|
+
export type Memory = Value<'memory'>;
|
|
175
|
+
export type Trigger = Value<'trigger'>;
|
|
176
|
+
export type Framing = Value<'framing'>;
|
|
177
|
+
export type ReasoningStrategy = Value<'reasoning-strategy'>;
|
|
178
|
+
export type Satisficing = Value<'satisficing'>;
|
|
179
|
+
export type OutputFormat = Value<'output-format'>;
|
|
180
|
+
export type SelfEvaluation = Value<'self-evaluation'>;
|
|
181
|
+
export declare const RUNTIME_CAPABILITIES: readonly ["memory", "eventTap", "carryOn", "heartbeat"];
|
|
182
|
+
/** A runtime capability this corpus ships a face for. */
|
|
183
|
+
export type RuntimeCapability = (typeof RUNTIME_CAPABILITIES)[number];
|
|
184
|
+
/** This corpus's `Skill`: schema's shape, narrowed to the capabilities above. */
|
|
185
|
+
export type Skill = SkillOf<RuntimeCapability>;
|
|
186
|
+
export type { SkillExpression };
|
|
187
|
+
export declare const CANONICAL_EVENTS: readonly ["session.start", "session.resume", "session.end", "prompt.submit", "turn.end", "turn.fail", "agent.idle", "model.request.pre", "model.response.post", "tool.use.pre", "tool.use.post", "tool.use.fail", "file.edit.post", "file.read.pre", "file.change.external", "shell.exec.pre", "shell.exec.post", "mcp.exec.pre", "mcp.exec.post", "subagent.dispatch.pre", "subagent.start", "subagent.end", "operator.consult.pre", "permission.request", "permission.deny", "notification", "context.compact.pre", "context.compact.post", "config.changed", "instructions.loaded", "vcs.commit.post"];
|
|
188
|
+
/** One moment this corpus has a name for — the pivot every adapter maps FROM. */
|
|
189
|
+
export type CanonicalEvent = (typeof CANONICAL_EVENTS)[number];
|
|
190
|
+
/** This corpus's `HookCell`: schema's shape, narrowed to the events above. */
|
|
191
|
+
export type HookCell = HookCellOf<CanonicalEvent>;
|
package/dist/manifest.js
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
2
|
+
// THE DIMENSION MANIFEST — canon's own, and the one home for it.
|
|
3
|
+
//
|
|
4
|
+
// `@cratylus/schema` owns the META-MODEL: that a dimension HAS an `axis`, a
|
|
5
|
+
// `repertoire`, an `arity`, a `required`, and all machinery that operates on any
|
|
6
|
+
// manifest obeying that shape. THIS module owns the INSTANCE: WHICH dimensions
|
|
7
|
+
// exist, and each one's metadata. The manifest rides the PLUGIN (`src/index.ts`
|
|
8
|
+
// declares `manifest: MANIFEST`), exactly as `preamble` does — "the axiom rides
|
|
9
|
+
// the PLUGIN, so it survives projection by any consumer."
|
|
10
|
+
//
|
|
11
|
+
// The manifest used to live in `forge`, which meant a corpus could not
|
|
12
|
+
// discover a dimension without editing the projector — the thesis inverted at its
|
|
13
|
+
// most load-bearing point. A projector that knows there are exactly 22 dimensions
|
|
14
|
+
// named these 22 things is not projecting a design; it contains one.
|
|
15
|
+
//
|
|
16
|
+
// WHERE THE TYPO-CATCHING LIVES. The schema's `Fragment<O>` is constrained
|
|
17
|
+
// `O extends string`, not `O extends Dimension`, and MUST NOT be re-tightened:
|
|
18
|
+
// the brand discriminates by the type ARGUMENT, so every value-level guarantee
|
|
19
|
+
// (the cross-dimension refusal, the `required` catch-all) holds without the
|
|
20
|
+
// constraint. The one property the relaxation costs is catching a MISSPELLED
|
|
21
|
+
// dimension name, and it is restored HERE, by `Value<D extends Dimension>` below
|
|
22
|
+
// — the corpus that owns the manifest is the only place that can know a name is
|
|
23
|
+
// not one of its own.
|
|
24
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
25
|
+
/**
|
|
26
|
+
* The one runtime home for this corpus's dimension metadata. Every derivation
|
|
27
|
+
* below reads it, so a dimension is added HERE and nowhere else.
|
|
28
|
+
*
|
|
29
|
+
* `as const satisfies Record<string, DimensionMeta>` is LOAD-BEARING and is not
|
|
30
|
+
* interchangeable with a `: Record<string, DimensionMeta>` annotation. The
|
|
31
|
+
* annotation widens the keys to `string`, which collapses `Dimension` to `string`
|
|
32
|
+
* and takes every alias, `Agent` field and arity check below down with it —
|
|
33
|
+
* silently, while everything still compiles.
|
|
34
|
+
*/
|
|
35
|
+
export const MANIFEST = {
|
|
36
|
+
// Persona
|
|
37
|
+
autonomy: { axis: 'Persona', repertoire: 'latent', arity: 'set' },
|
|
38
|
+
role: { axis: 'Persona', repertoire: 'open', arity: 'scalar' },
|
|
39
|
+
formality: { axis: 'Persona', repertoire: 'latent', arity: 'scalar' },
|
|
40
|
+
'audience-adaptation': {
|
|
41
|
+
axis: 'Persona',
|
|
42
|
+
repertoire: 'latent',
|
|
43
|
+
arity: 'scalar',
|
|
44
|
+
},
|
|
45
|
+
transparency: { axis: 'Persona', repertoire: 'latent', arity: 'scalar' },
|
|
46
|
+
// Constitution — standing drives
|
|
47
|
+
objective: { axis: 'Constitution', repertoire: 'open', arity: 'scalar' },
|
|
48
|
+
// `required` — this dimension may NOT be omitted. The catch-all against
|
|
49
|
+
// attachment failing open: an agent composed with no bound is not a lesser
|
|
50
|
+
// agent, it is an unconfined one. Stated HERE, as catalog data, because
|
|
51
|
+
// "may this be omitted?" is a fact about the dimension exactly as `arity` is —
|
|
52
|
+
// and because it is a CANON doctrine, which is why it could never be at home
|
|
53
|
+
// as a hand-written exception inside the projector's `Agent` interface.
|
|
54
|
+
guardrails: {
|
|
55
|
+
axis: 'Constitution',
|
|
56
|
+
repertoire: 'curated',
|
|
57
|
+
arity: 'set',
|
|
58
|
+
required: true,
|
|
59
|
+
},
|
|
60
|
+
'engineering-principles': {
|
|
61
|
+
axis: 'Constitution',
|
|
62
|
+
repertoire: 'curated',
|
|
63
|
+
arity: 'set',
|
|
64
|
+
},
|
|
65
|
+
heuristics: { axis: 'Constitution', repertoire: 'curated', arity: 'set' },
|
|
66
|
+
capabilities: { axis: 'Constitution', repertoire: 'open', arity: 'set' },
|
|
67
|
+
learning: { axis: 'Constitution', repertoire: 'latent', arity: 'scalar' },
|
|
68
|
+
'situation-awareness': {
|
|
69
|
+
axis: 'Constitution',
|
|
70
|
+
repertoire: 'latent',
|
|
71
|
+
arity: 'scalar',
|
|
72
|
+
},
|
|
73
|
+
// Constitution — apparatus
|
|
74
|
+
actions: { axis: 'Constitution', repertoire: 'latent', arity: 'set' },
|
|
75
|
+
modalities: { axis: 'Constitution', repertoire: 'latent', arity: 'scalar' },
|
|
76
|
+
model: { axis: 'Constitution', repertoire: 'latent', arity: 'scalar' },
|
|
77
|
+
memory: { axis: 'Constitution', repertoire: 'latent', arity: 'scalar' },
|
|
78
|
+
// Constitution — per-turn act
|
|
79
|
+
trigger: { axis: 'Constitution', repertoire: 'latent', arity: 'scalar' },
|
|
80
|
+
framing: { axis: 'Constitution', repertoire: 'open', arity: 'scalar' },
|
|
81
|
+
'reasoning-strategy': {
|
|
82
|
+
axis: 'Constitution',
|
|
83
|
+
repertoire: 'latent',
|
|
84
|
+
arity: 'scalar',
|
|
85
|
+
},
|
|
86
|
+
satisficing: {
|
|
87
|
+
axis: 'Constitution',
|
|
88
|
+
repertoire: 'latent',
|
|
89
|
+
arity: 'scalar',
|
|
90
|
+
},
|
|
91
|
+
'output-format': {
|
|
92
|
+
axis: 'Constitution',
|
|
93
|
+
repertoire: 'latent',
|
|
94
|
+
arity: 'scalar',
|
|
95
|
+
},
|
|
96
|
+
'self-evaluation': {
|
|
97
|
+
axis: 'Constitution',
|
|
98
|
+
repertoire: 'latent',
|
|
99
|
+
arity: 'scalar',
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
/** Every fragment-dimension name, in manifest (Persona-then-Constitution) declaration order. */
|
|
103
|
+
export const DIMENSION_NAMES = Object.keys(MANIFEST);
|
|
104
|
+
// ── The runtime-capability vocabulary ───────────────────────────────────────
|
|
105
|
+
//
|
|
106
|
+
// WHICH runtime capabilities exist is this corpus's to say, exactly as WHICH
|
|
107
|
+
// dimensions exist is. `@cratylus/schema` states only that a capability HAS a
|
|
108
|
+
// name (`CapabilityName`); the members live here, and `Skill` below is narrowed
|
|
109
|
+
// against them so a cell naming a capability this corpus does not ship is a
|
|
110
|
+
// COMPILE error rather than a shim that forwards to a bin verb nobody serves.
|
|
111
|
+
//
|
|
112
|
+
// This retires the `schema → runtime` edge. `CapabilityName` used to read
|
|
113
|
+
// `keyof Omit<RuntimePlugin, 'name'>` — schema reaching into the runtime's
|
|
114
|
+
// IMPLEMENTATION INTERFACE to borrow a set of NAMES. `shape ⊥ vocabulary`
|
|
115
|
+
// (`MODEL.md:22`): the ports stay in the runtime where ARCHITECTURE puts them,
|
|
116
|
+
// and the names come from the corpus. Nothing moved except where the members
|
|
117
|
+
// are declared.
|
|
118
|
+
//
|
|
119
|
+
// THE SIGN IS `RuntimeCapability`, WHICH IS WHAT SCHEMA ALREADY CALLED IT — and
|
|
120
|
+
// that is the finding. The name was never the defect; the derivation source was.
|
|
121
|
+
// The qualifier is load-bearing HERE and not in schema: this package also
|
|
122
|
+
// declares a DIMENSION named `capabilities` (`Capabilities` above), an
|
|
123
|
+
// agent-design axis, which is a different concept. Bare `Capability` beside it
|
|
124
|
+
// would be one root over two concepts.
|
|
125
|
+
export const RUNTIME_CAPABILITIES = [
|
|
126
|
+
'memory',
|
|
127
|
+
'eventTap',
|
|
128
|
+
'carryOn',
|
|
129
|
+
'heartbeat',
|
|
130
|
+
];
|
|
131
|
+
// ── The lifecycle-event vocabulary ──────────────────────────────────────────
|
|
132
|
+
//
|
|
133
|
+
// `MODEL.md:22`, verbatim:
|
|
134
|
+
//
|
|
135
|
+
// Event ≜ the harness-agnostic lifecycle vocabulary ⟨corpus-owned ⟨a name for a
|
|
136
|
+
// moment ∴ signification⟩ ; shape ⊥ vocabulary : shape @ schema · names @ corpus ;
|
|
137
|
+
// the PIVOT every adapter maps from⟩
|
|
138
|
+
//
|
|
139
|
+
// A NAME FOR A MOMENT IS A SIGNIFICATION, and signification is what this corpus is.
|
|
140
|
+
// That single clause decides the home: not schema (which held 28 of these, emitted
|
|
141
|
+
// from a JSON file by a generator), not runtime (which held the same 28,
|
|
142
|
+
// hand-authored, identical as sets AND in order), but here — beside
|
|
143
|
+
// `RUNTIME_CAPABILITIES`, which is the same ruling one axis over, already landed.
|
|
144
|
+
// The two declarations agreed by coincidence for as long as they coexisted, and
|
|
145
|
+
// nothing enforced it because their consumer sets were disjoint.
|
|
146
|
+
//
|
|
147
|
+
// EVERY OTHER SITE DERIVES OR RECEIVES:
|
|
148
|
+
// · schema states only that an event HAS a name (`EventName`) and narrows
|
|
149
|
+
// `HookCell` from this tuple by type argument — an undeclared event is a
|
|
150
|
+
// compile error at the cell;
|
|
151
|
+
// · forge receives it as DATA on the plugin (`AgentPlugin.events`, ARCHITECTURE
|
|
152
|
+
// property 3) and keys its own harness maps over it;
|
|
153
|
+
// · runtime receives it as CONFIGURATION THE PROJECTION EMITTED (property 4,
|
|
154
|
+
// verbatim) — `deploy` writes the host config, `dispatch` validates against it.
|
|
155
|
+
// Only the first is a compiler-enforced derivation; the other two cross package
|
|
156
|
+
// boundaries the type system cannot, which is what `test/event-vocabulary.test.ts`
|
|
157
|
+
// is for.
|
|
158
|
+
//
|
|
159
|
+
// TWO MEMBERS NAME AN ACT RATHER THAN A HARNESS CALLBACK, and they are the reason
|
|
160
|
+
// there is no tool vocabulary. `stance-guardrail-pre` bound `tool.use.pre` and then
|
|
161
|
+
// narrowed it with `matcher: 'AskUserQuestion|Agent|SendMessage'` — three claude tool
|
|
162
|
+
// names, on a cell whose whole claim is harness-neutrality, silently dropped by the
|
|
163
|
+
// codex adapter (so the hook fired on every tool call there). The obvious repair — a
|
|
164
|
+
// canonical TOOL vocabulary beside this one — is a category error: harnesses share a
|
|
165
|
+
// LIFECYCLE, which is closed, but their TOOL SETS are open-world (MCP servers add
|
|
166
|
+
// tools at run time, users add their own), so a closed enum over them is permanently
|
|
167
|
+
// incomplete and every adapter map would be near-empty.
|
|
168
|
+
//
|
|
169
|
+
// The vocabulary was already written in the cell's own σ*: its residue reads
|
|
170
|
+
// `permission-menu ⟨AskUserQuestion⟩ · dispatch-echo ⟨Agent · SendMessage⟩` — three
|
|
171
|
+
// tool names already factored into TWO ACTS, four lines above the field that
|
|
172
|
+
// flattened them back. The residue was the argmin and the matcher its lossy
|
|
173
|
+
// projection, so the two acts are signified here and the projection is computed:
|
|
174
|
+
//
|
|
175
|
+
// · `operator.consult.pre` — about to put a question or a menu to the operator.
|
|
176
|
+
// `principal.consult.pre` was the runner-up; `user.ask.pre` is rejected (`user`
|
|
177
|
+
// collides with deploy's install-scope `user`, and it is the VENDOR word while
|
|
178
|
+
// this pivot is vendor-neutral); `elicit.pre` is rejected (occupied by the
|
|
179
|
+
// concept-recovery skill); `decision.request.pre` is rejected (collides with
|
|
180
|
+
// `permission.request` INSIDE this tuple).
|
|
181
|
+
// · `subagent.dispatch.pre` — about to hand work to an agent. Covers spawn AND
|
|
182
|
+
// message, and pairs as the pre-phase of `subagent.start`/`subagent.end`.
|
|
183
|
+
//
|
|
184
|
+
// TWO, and no third: a third act has no site in this corpus. An adapter maps each to
|
|
185
|
+
// its native ⟨event, selector⟩ pair (`NativeBinding`); a harness that can fire the
|
|
186
|
+
// act but not narrow it DECLARES that loss and the projection warns, which is what
|
|
187
|
+
// closed the codex divergence. `matcher` no longer exists on any cell or IR shape.
|
|
188
|
+
//
|
|
189
|
+
// `vcs.commit.post` IS AN ORDINARY MEMBER. It was `SubstrateEvent = CanonicalEvent |
|
|
190
|
+
// 'vcs.commit.post'` — a union that existed only because the enum was closed and a
|
|
191
|
+
// git-substrate moment had no literal to be. Nothing about it was ever exceptional:
|
|
192
|
+
// it is a name for a moment, on the `git` substrate rather than the `harness` one,
|
|
193
|
+
// and `substrate` is a declared axis (`Substrate = 'harness' | 'git'`) that already
|
|
194
|
+
// routes it. With an open `EventName` the union has nothing to widen, so it
|
|
195
|
+
// dissolved on its own.
|
|
196
|
+
export const CANONICAL_EVENTS = [
|
|
197
|
+
// harness substrate — a session's shape
|
|
198
|
+
'session.start',
|
|
199
|
+
'session.resume',
|
|
200
|
+
'session.end',
|
|
201
|
+
'prompt.submit',
|
|
202
|
+
'turn.end',
|
|
203
|
+
'turn.fail',
|
|
204
|
+
'agent.idle',
|
|
205
|
+
// harness substrate — the model exchange
|
|
206
|
+
'model.request.pre',
|
|
207
|
+
'model.response.post',
|
|
208
|
+
// harness substrate — tool use
|
|
209
|
+
'tool.use.pre',
|
|
210
|
+
'tool.use.post',
|
|
211
|
+
'tool.use.fail',
|
|
212
|
+
// harness substrate — the file the agent works on
|
|
213
|
+
'file.edit.post',
|
|
214
|
+
'file.read.pre',
|
|
215
|
+
'file.change.external',
|
|
216
|
+
// harness substrate — execution the agent delegates
|
|
217
|
+
'shell.exec.pre',
|
|
218
|
+
'shell.exec.post',
|
|
219
|
+
'mcp.exec.pre',
|
|
220
|
+
'mcp.exec.post',
|
|
221
|
+
'subagent.dispatch.pre',
|
|
222
|
+
'subagent.start',
|
|
223
|
+
'subagent.end',
|
|
224
|
+
// harness substrate — what the operator is asked and told
|
|
225
|
+
'operator.consult.pre',
|
|
226
|
+
'permission.request',
|
|
227
|
+
'permission.deny',
|
|
228
|
+
'notification',
|
|
229
|
+
// harness substrate — the context itself
|
|
230
|
+
'context.compact.pre',
|
|
231
|
+
'context.compact.post',
|
|
232
|
+
'config.changed',
|
|
233
|
+
'instructions.loaded',
|
|
234
|
+
// git substrate
|
|
235
|
+
'vcs.commit.post',
|
|
236
|
+
];
|
|
237
|
+
//# sourceMappingURL=manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,iEAAiE;AACjE,EAAE;AACF,4EAA4E;AAC5E,iFAAiF;AACjF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