@aria_asi/cli 0.2.40 → 0.2.41
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/bin/aria.js +236 -34
- package/dist/aria-connector/src/action-ledger-core.d.ts +387 -0
- package/dist/aria-connector/src/action-ledger-core.d.ts.map +1 -0
- package/dist/aria-connector/src/action-ledger-core.js +638 -0
- package/dist/aria-connector/src/action-ledger-core.js.map +1 -0
- package/dist/aria-connector/src/chat.d.ts.map +1 -1
- package/dist/aria-connector/src/chat.js +5 -6
- package/dist/aria-connector/src/chat.js.map +1 -1
- package/dist/aria-connector/src/codebase-scanner.d.ts +1 -1
- package/dist/aria-connector/src/codebase-scanner.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/claude-code.d.ts +1 -0
- package/dist/aria-connector/src/connectors/claude-code.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/claude-code.js +152 -14
- package/dist/aria-connector/src/connectors/claude-code.js.map +1 -1
- package/dist/aria-connector/src/connectors/codebase-awareness.d.ts +10 -0
- package/dist/aria-connector/src/connectors/codebase-awareness.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/codebase-awareness.js +276 -27
- package/dist/aria-connector/src/connectors/codebase-awareness.js.map +1 -1
- package/dist/aria-connector/src/connectors/codex.d.ts +3 -1
- package/dist/aria-connector/src/connectors/codex.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/codex.js +1223 -41
- package/dist/aria-connector/src/connectors/codex.js.map +1 -1
- package/dist/aria-connector/src/connectors/cursor.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/cursor.js +7 -0
- package/dist/aria-connector/src/connectors/cursor.js.map +1 -1
- package/dist/aria-connector/src/connectors/governed-adapter.d.ts +30 -0
- package/dist/aria-connector/src/connectors/governed-adapter.d.ts.map +1 -0
- package/dist/aria-connector/src/connectors/governed-adapter.js +132 -0
- package/dist/aria-connector/src/connectors/governed-adapter.js.map +1 -0
- package/dist/aria-connector/src/connectors/opencode.d.ts +3 -1
- package/dist/aria-connector/src/connectors/opencode.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/opencode.js +18 -2
- package/dist/aria-connector/src/connectors/opencode.js.map +1 -1
- package/dist/aria-connector/src/connectors/repo-guard.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/repo-guard.js +25 -14
- package/dist/aria-connector/src/connectors/repo-guard.js.map +1 -1
- package/dist/aria-connector/src/connectors/runtime.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/runtime.js +92 -2
- package/dist/aria-connector/src/connectors/runtime.js.map +1 -1
- package/dist/aria-connector/src/connectors/shell.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/shell.js +123 -7
- package/dist/aria-connector/src/connectors/shell.js.map +1 -1
- package/dist/aria-connector/src/cross-cli-hive-binding.d.ts +63 -0
- package/dist/aria-connector/src/cross-cli-hive-binding.d.ts.map +1 -0
- package/dist/aria-connector/src/cross-cli-hive-binding.js +205 -0
- package/dist/aria-connector/src/cross-cli-hive-binding.js.map +1 -0
- package/dist/aria-connector/src/garden-control-plane.d.ts +6 -1
- package/dist/aria-connector/src/garden-control-plane.d.ts.map +1 -1
- package/dist/aria-connector/src/garden-control-plane.js +8 -2
- package/dist/aria-connector/src/garden-control-plane.js.map +1 -1
- package/dist/aria-connector/src/governed-surface-runner.d.ts +189 -0
- package/dist/aria-connector/src/governed-surface-runner.d.ts.map +1 -0
- package/dist/aria-connector/src/governed-surface-runner.js +1022 -0
- package/dist/aria-connector/src/governed-surface-runner.js.map +1 -0
- package/dist/aria-connector/src/index.d.ts +10 -1
- package/dist/aria-connector/src/index.d.ts.map +1 -1
- package/dist/aria-connector/src/index.js +5 -0
- package/dist/aria-connector/src/index.js.map +1 -1
- package/dist/aria-connector/src/task-runner.d.ts +3 -0
- package/dist/aria-connector/src/task-runner.d.ts.map +1 -0
- package/dist/aria-connector/src/task-runner.js +3526 -0
- package/dist/aria-connector/src/task-runner.js.map +1 -0
- package/dist/aria-web/src/lib/codebase-scanner.d.ts +21 -2
- package/dist/aria-web/src/lib/codebase-scanner.d.ts.map +1 -1
- package/dist/aria-web/src/lib/codebase-scanner.js +59 -14
- package/dist/aria-web/src/lib/codebase-scanner.js.map +1 -1
- package/dist/assets/hooks/README.md +58 -0
- package/dist/assets/hooks/aria-agent-handoff.mjs +147 -2
- package/dist/assets/hooks/aria-agent-ledger-merge.mjs +31 -7
- package/dist/assets/hooks/aria-architect-fallback.mjs +10 -2
- package/dist/assets/hooks/aria-claim-evidence-stop-gate.mjs +240 -0
- package/dist/assets/hooks/aria-cognition-substrate-binding.mjs +84 -10
- package/dist/assets/hooks/aria-first-class-coach.mjs +305 -10
- package/dist/assets/hooks/aria-harness-via-sdk.mjs +93 -16
- package/dist/assets/hooks/aria-import-resolution-gate.mjs +106 -20
- package/dist/assets/hooks/aria-outcome-record.mjs +56 -20
- package/dist/assets/hooks/aria-pre-emit-autoload.mjs +1809 -0
- package/dist/assets/hooks/aria-pre-emit-autoload.mjs.before-orchestration-redesign +1400 -0
- package/dist/assets/hooks/aria-pre-emit-dryrun.mjs +22 -3
- package/dist/assets/hooks/aria-pre-text-gate.mjs +11 -2
- package/dist/assets/hooks/aria-pre-tool-gate.mjs +477 -81
- package/dist/assets/hooks/aria-pre-tool-use.mjs +70 -6
- package/dist/assets/hooks/aria-preprompt-consult.mjs +23 -4
- package/dist/assets/hooks/aria-repo-doctrine-gate.mjs +29 -3
- package/dist/assets/hooks/aria-stop-gate.mjs +585 -76
- package/dist/assets/hooks/aria-trigger-autolearn.mjs +17 -3
- package/dist/assets/hooks/aria-universal-turn-packet.mjs +1165 -0
- package/dist/assets/hooks/aria-userprompt-abandon-detect.mjs +9 -1
- package/dist/assets/hooks/canonical-settings-block.json +172 -0
- package/dist/assets/hooks/codex-native/aria-harness-ticker-sidecar.mjs +92 -0
- package/dist/assets/hooks/codex-native/aria-hive-wal-consumer.mjs +86 -0
- package/dist/assets/hooks/codex-native/aria-live-ticker.mjs +38 -0
- package/dist/assets/hooks/codex-native/aria-post-tool-use.mjs +236 -0
- package/dist/assets/hooks/codex-native/aria-pre-tool-use.mjs +362 -0
- package/dist/assets/hooks/codex-native/aria-stop.mjs +691 -0
- package/dist/assets/hooks/codex-native/aria-userprompt-submit.mjs +623 -0
- package/dist/assets/hooks/codex-native/atlas-session-context.mjs +121 -0
- package/dist/assets/hooks/codex-native/lib/evaluate-with-kernel.mjs +257 -0
- package/dist/assets/hooks/codex-native/lib/hive-wal-consumer.mjs +452 -0
- package/dist/assets/hooks/codex-native/lib/kernel/deterministic-cognitive-kernel.mjs +914 -0
- package/dist/assets/hooks/codex-native/lib/project-boundary-cognition.mjs +143 -0
- package/dist/assets/hooks/codex-native/lib/runtime-client.mjs +3567 -0
- package/dist/assets/hooks/codex-native/lib/task-project-ledger.mjs +294 -0
- package/dist/assets/hooks/doctrine_trigger_map.json +236 -25
- package/dist/assets/hooks/doctrine_trigger_map.schema.json +46 -0
- package/dist/assets/hooks/install.sh +84 -0
- package/dist/assets/hooks/lib/action-ledger-core.mjs +269 -0
- package/dist/assets/hooks/lib/aria-gate-ledger.mjs +143 -0
- package/dist/assets/hooks/lib/ast-stub-shape-detector.mjs +107 -0
- package/dist/assets/hooks/lib/atlas-dossier-client.mjs +151 -0
- package/dist/assets/hooks/lib/atlas-orchestrator-postwire.mjs +221 -0
- package/dist/assets/hooks/lib/canonical-lenses.mjs +83 -6
- package/dist/assets/hooks/lib/coach-intent-classifier.mjs +248 -0
- package/dist/assets/hooks/lib/cognitive-block-parser.mjs +111 -0
- package/dist/assets/hooks/lib/doctrine-trigger-map-loader.mjs +137 -0
- package/dist/assets/hooks/lib/domain-output-quality.mjs +132 -3
- package/dist/assets/hooks/lib/empty-catch-scanner.mjs +91 -0
- package/dist/assets/hooks/lib/end-phase-qa-autofire.mjs +426 -0
- package/dist/assets/hooks/lib/evaluate-with-kernel.mjs +133 -0
- package/dist/assets/hooks/lib/first-class-coach.mjs +454 -19
- package/dist/assets/hooks/lib/gate-audit.mjs +12 -2
- package/dist/assets/hooks/lib/gate-loop-state.mjs +11 -2
- package/dist/assets/hooks/lib/goal-contract-quality.mjs +302 -0
- package/dist/assets/hooks/lib/hook-message-window.mjs +101 -9
- package/dist/assets/hooks/lib/invocation-required-verifier.mjs +184 -0
- package/dist/assets/hooks/lib/kernel/deterministic-cognitive-kernel.mjs +906 -0
- package/dist/assets/hooks/lib/obligation-ledger.mjs +147 -0
- package/dist/assets/hooks/lib/orchestration-manifest-extract.mjs +217 -0
- package/dist/assets/hooks/lib/owner-authorizations.mjs +269 -0
- package/dist/assets/hooks/lib/probe-discipline-scanner.mjs +142 -0
- package/dist/assets/hooks/lib/project-boundary-cognition.mjs +143 -0
- package/dist/assets/hooks/lib/recovery-context.mjs +151 -0
- package/dist/assets/hooks/lib/recovery-template-loader.mjs +154 -0
- package/dist/assets/hooks/lib/self-doctrine-check.mjs +321 -0
- package/dist/assets/hooks/lib/sensitive-shape-detector.mjs +64 -0
- package/dist/assets/hooks/lib/skill-autoload-gate-impl.mjs +226 -1
- package/dist/assets/hooks/lib/stop-hook-protocol.mjs +166 -0
- package/dist/assets/hooks/lib/surface-caught.mjs +94 -0
- package/dist/assets/hooks/recovery-templates/force-reauthor.md +67 -0
- package/dist/assets/hooks/recovery-templates/handoff-recovery.md +25 -0
- package/dist/assets/hooks/scripts/check-hard-risk-prefix.mjs +99 -0
- package/dist/assets/hooks/skills/aria-conversational-doctrine-discipline/SKILL.md +101 -0
- package/dist/assets/hooks/test-aria-preturn-memory-gate.mjs +2 -2
- package/dist/assets/hooks/test-tier-lens-labeling.mjs +14 -3
- package/dist/assets/opencode-plugins/harness-context/index.js +39 -6
- package/dist/assets/opencode-plugins/harness-context/task-project-ledger.mjs +5 -1
- package/dist/assets/opencode-plugins/harness-gate/index.js +36 -0
- package/dist/assets/opencode-plugins/harness-gate/lib/atlas-dossier-client.js +1 -0
- package/dist/assets/opencode-plugins/harness-gate/lib/recovery-grants.js +79 -0
- package/dist/assets/opencode-plugins/harness-outcome/index.js +12 -0
- package/dist/assets/opencode-plugins/harness-stop/index.js +97 -2
- package/dist/assets/opencode-plugins/harness-stop/lib/atlas-dossier-client.js +1 -0
- package/dist/assets/opencode-plugins/harness-stop/lib/domain-output-quality.js +15 -2
- package/dist/assets/opencode-plugins/lib/coach.js +148 -0
- package/dist/runtime/coach-kernel.mjs +144 -7
- package/dist/runtime/codex-bridge.mjs +254 -8
- package/dist/runtime/discipline/doctrine_trigger_map.json +236 -25
- package/dist/runtime/discipline/skills/aria-cognition/34-frameworks-unified/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-aristotle-cognitives/SKILL.md +128 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-aristotle-intra-phase/SKILL.md +99 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-aristotle-post-phase/SKILL.md +118 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-aristotle-pre-phase/SKILL.md +117 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-axioms-first-principles/SKILL.md +202 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-axioms-first-principles/agents/openai.yaml +4 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-axioms-first-principles/references/source-map.md +130 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-backend-architect/SKILL.md +124 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-backend-architect/references/backend-cookbook.md +417 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-business-audit/SKILL.md +133 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-business-audit/references/audit-cookbook.md +247 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-business-frame/SKILL.md +138 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-business-frame/references/business-cookbook.md +154 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-chat/SKILL.md +84 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-chat/scripts/aria-chat.sh +57 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-cognition-autofire/SKILL.md +137 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-cognition-batch/SKILL.md +264 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-decision-mizan/SKILL.md +136 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-decision-mizan/references/decision-frameworks.md +287 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-first-class-operating-contract/SKILL.md +104 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-frontend-architect/SKILL.md +123 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-frontend-architect/references/frontend-cookbook.md +358 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-fullstack-orchestrator/SKILL.md +127 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-fullstack-orchestrator/references/fullstack-cookbook.md +383 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-gtm-architect/SKILL.md +126 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-gtm-architect/references/gtm-cookbook.md +235 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-harness-deploy/SKILL.md +145 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-harness-no-stripping/SKILL.md +135 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-harness-onboarding/SKILL.md +130 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-harness-output-discipline/SKILL.md +120 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-harness-substrate-binding/SKILL.md +139 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-http-harness-client/SKILL.md +85 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-http-harness-client/scripts/smoke.mjs +47 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-k8s-deploy/SKILL.md +174 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-k8s-deploy/agents/openai.yaml +3 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-ladduniframe/SKILL.md +60 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-ledger-fleet-execution/SKILL.md +126 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-live-ops/SKILL.md +54 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-mac-ssh-ops/SKILL.md +100 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-memory-index/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-noor-cognitives/SKILL.md +120 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-ops/SKILL.md +60 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-ops/references/live-endpoints.md +59 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-quality-audit/SKILL.md +133 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-readable-output/SKILL.md +239 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-readable-output/references/layout-cookbook.md +366 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-reasoning/SKILL.md +67 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-reasoning/references/core-principles.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-repo-audit/SKILL.md +135 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-repo-audit/references/repo-audit-cookbook.md +375 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-research-orchestrator/SKILL.md +138 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-research-orchestrator/references/research-patterns.md +270 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-retention-engine/SKILL.md +120 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-retention-engine/references/retention-cookbook.md +271 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-revenue-engine/SKILL.md +128 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-revenue-engine/references/revenue-cookbook.md +227 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-senior-code-audit/SKILL.md +233 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-senior-code-audit/references/audit-checklist.md +369 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-senior-code-cookbook/SKILL.md +288 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-senior-code-cookbook/references/engineering-cookbook.md +489 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-soul-principles/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-task-codex-executor/SKILL.md +86 -0
- package/dist/runtime/discipline/skills/aria-cognition/aristotle-engine/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/cross-domain-24/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/deepsoul-emotional/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/fitrah-guard/SKILL.md +78 -0
- package/dist/runtime/discipline/skills/aria-cognition/ghazali-8lens/SKILL.md +227 -29
- package/dist/runtime/discipline/skills/aria-cognition/ghazali-8lens/references/ghazali-8lens-cookbook.md +797 -0
- package/dist/runtime/discipline/skills/aria-cognition/ijtihad-novel/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/ilham-intuition/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/never-guess/SKILL.md +77 -0
- package/dist/runtime/discipline/skills/aria-cognition/noor-recognition/SKILL.md +45 -0
- package/dist/runtime/discipline/skills/aria-cognition/qiyas-analogy/SKILL.md +174 -14
- package/dist/runtime/discipline/skills/aria-cognition/ruh-basis/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/tadabbur/SKILL.md +506 -0
- package/dist/runtime/discipline/skills/aria-cognition/tadabbur/references/tadabbur-cookbook.md +921 -0
- package/dist/runtime/discipline/skills/aria-cognition/tadabbur-ops/SKILL.md +42 -0
- package/dist/runtime/discipline/skills/aria-cognition/tafakkur/SKILL.md +104 -0
- package/dist/runtime/doctrine_trigger_map.json +236 -25
- package/dist/runtime/embedded-public-key.mjs +27 -0
- package/dist/runtime/gated-ledger.mjs +41 -14
- package/dist/runtime/harness-daemon.mjs +85 -10
- package/dist/runtime/hive-wal-publisher.mjs +292 -0
- package/dist/runtime/hooks/README.md +58 -0
- package/dist/runtime/hooks/aria-agent-handoff.mjs +147 -2
- package/dist/runtime/hooks/aria-agent-ledger-merge.mjs +31 -7
- package/dist/runtime/hooks/aria-architect-fallback.mjs +10 -2
- package/dist/runtime/hooks/aria-claim-evidence-stop-gate.mjs +240 -0
- package/dist/runtime/hooks/aria-cognition-substrate-binding.mjs +84 -10
- package/dist/runtime/hooks/aria-first-class-coach.mjs +305 -10
- package/dist/runtime/hooks/aria-harness-via-sdk.mjs +93 -16
- package/dist/runtime/hooks/aria-import-resolution-gate.mjs +106 -20
- package/dist/runtime/hooks/aria-outcome-record.mjs +56 -20
- package/dist/runtime/hooks/aria-pre-emit-autoload.mjs +1809 -0
- package/dist/runtime/hooks/aria-pre-emit-autoload.mjs.before-orchestration-redesign +1400 -0
- package/dist/runtime/hooks/aria-pre-emit-dryrun.mjs +22 -3
- package/dist/runtime/hooks/aria-pre-text-gate.mjs +11 -2
- package/dist/runtime/hooks/aria-pre-tool-gate.mjs +477 -81
- package/dist/runtime/hooks/aria-pre-tool-use.mjs +70 -6
- package/dist/runtime/hooks/aria-preprompt-consult.mjs +23 -4
- package/dist/runtime/hooks/aria-repo-doctrine-gate.mjs +29 -3
- package/dist/runtime/hooks/aria-stop-gate.mjs +585 -76
- package/dist/runtime/hooks/aria-trigger-autolearn.mjs +17 -3
- package/dist/runtime/hooks/aria-universal-turn-packet.mjs +1165 -0
- package/dist/runtime/hooks/aria-userprompt-abandon-detect.mjs +9 -1
- package/dist/runtime/hooks/canonical-settings-block.json +172 -0
- package/dist/runtime/hooks/codex-native/aria-harness-ticker-sidecar.mjs +92 -0
- package/dist/runtime/hooks/codex-native/aria-hive-wal-consumer.mjs +86 -0
- package/dist/runtime/hooks/codex-native/aria-live-ticker.mjs +38 -0
- package/dist/runtime/hooks/codex-native/aria-post-tool-use.mjs +236 -0
- package/dist/runtime/hooks/codex-native/aria-pre-tool-use.mjs +362 -0
- package/dist/runtime/hooks/codex-native/aria-stop.mjs +691 -0
- package/dist/runtime/hooks/codex-native/aria-userprompt-submit.mjs +623 -0
- package/dist/runtime/hooks/codex-native/atlas-session-context.mjs +121 -0
- package/dist/runtime/hooks/codex-native/lib/evaluate-with-kernel.mjs +257 -0
- package/dist/runtime/hooks/codex-native/lib/hive-wal-consumer.mjs +452 -0
- package/dist/runtime/hooks/codex-native/lib/kernel/deterministic-cognitive-kernel.mjs +914 -0
- package/dist/runtime/hooks/codex-native/lib/project-boundary-cognition.mjs +143 -0
- package/dist/runtime/hooks/codex-native/lib/runtime-client.mjs +3567 -0
- package/dist/runtime/hooks/codex-native/lib/task-project-ledger.mjs +294 -0
- package/dist/runtime/hooks/doctrine_trigger_map.json +236 -25
- package/dist/runtime/hooks/doctrine_trigger_map.schema.json +46 -0
- package/dist/runtime/hooks/install.sh +84 -0
- package/dist/runtime/hooks/lib/action-ledger-core.mjs +269 -0
- package/dist/runtime/hooks/lib/aria-gate-ledger.mjs +143 -0
- package/dist/runtime/hooks/lib/ast-stub-shape-detector.mjs +107 -0
- package/dist/runtime/hooks/lib/atlas-dossier-client.mjs +151 -0
- package/dist/runtime/hooks/lib/atlas-orchestrator-postwire.mjs +221 -0
- package/dist/runtime/hooks/lib/canonical-lenses.mjs +83 -6
- package/dist/runtime/hooks/lib/coach-intent-classifier.mjs +248 -0
- package/dist/runtime/hooks/lib/cognitive-block-parser.mjs +111 -0
- package/dist/runtime/hooks/lib/doctrine-trigger-map-loader.mjs +137 -0
- package/dist/runtime/hooks/lib/domain-output-quality.mjs +132 -3
- package/dist/runtime/hooks/lib/empty-catch-scanner.mjs +91 -0
- package/dist/runtime/hooks/lib/end-phase-qa-autofire.mjs +426 -0
- package/dist/runtime/hooks/lib/evaluate-with-kernel.mjs +133 -0
- package/dist/runtime/hooks/lib/first-class-coach.mjs +454 -19
- package/dist/runtime/hooks/lib/gate-audit.mjs +12 -2
- package/dist/runtime/hooks/lib/gate-loop-state.mjs +11 -2
- package/dist/runtime/hooks/lib/goal-contract-quality.mjs +302 -0
- package/dist/runtime/hooks/lib/hook-message-window.mjs +101 -9
- package/dist/runtime/hooks/lib/invocation-required-verifier.mjs +184 -0
- package/dist/runtime/hooks/lib/kernel/deterministic-cognitive-kernel.mjs +906 -0
- package/dist/runtime/hooks/lib/obligation-ledger.mjs +147 -0
- package/dist/runtime/hooks/lib/orchestration-manifest-extract.mjs +217 -0
- package/dist/runtime/hooks/lib/owner-authorizations.mjs +269 -0
- package/dist/runtime/hooks/lib/probe-discipline-scanner.mjs +142 -0
- package/dist/runtime/hooks/lib/project-boundary-cognition.mjs +143 -0
- package/dist/runtime/hooks/lib/recovery-context.mjs +151 -0
- package/dist/runtime/hooks/lib/recovery-template-loader.mjs +154 -0
- package/dist/runtime/hooks/lib/self-doctrine-check.mjs +321 -0
- package/dist/runtime/hooks/lib/sensitive-shape-detector.mjs +64 -0
- package/dist/runtime/hooks/lib/skill-autoload-gate-impl.mjs +226 -1
- package/dist/runtime/hooks/lib/stop-hook-protocol.mjs +166 -0
- package/dist/runtime/hooks/lib/surface-caught.mjs +94 -0
- package/dist/runtime/hooks/recovery-templates/force-reauthor.md +67 -0
- package/dist/runtime/hooks/recovery-templates/handoff-recovery.md +25 -0
- package/dist/runtime/hooks/scripts/check-hard-risk-prefix.mjs +99 -0
- package/dist/runtime/hooks/skills/aria-conversational-doctrine-discipline/SKILL.md +101 -0
- package/dist/runtime/hooks/test-aria-preturn-memory-gate.mjs +2 -2
- package/dist/runtime/hooks/test-tier-lens-labeling.mjs +14 -3
- package/dist/runtime/lib/evaluate-with-kernel.mjs +133 -0
- package/dist/runtime/lib/kernel/deterministic-cognitive-kernel.mjs +906 -0
- package/dist/runtime/local-phase.mjs +10 -5
- package/dist/runtime/manifest.json +8 -8
- package/dist/runtime/packet-verifier.mjs +166 -0
- package/dist/runtime/provider-proxy.mjs +13 -0
- package/dist/runtime/quality-enforcer.mjs +40 -23
- package/dist/runtime/runtime-rails/registry.mjs +252 -0
- package/dist/runtime/sdk/BUNDLED.json +2 -2
- package/dist/runtime/sdk/index.d.ts +119 -4
- package/dist/runtime/sdk/index.js +138 -12
- package/dist/runtime/sdk/index.js.map +1 -1
- package/dist/runtime/service.mjs +8036 -764
- package/dist/runtime/sub-agent-enforcer.mjs +201 -0
- package/dist/runtime/task-project-ledger.mjs +5 -1
- package/dist/sdk/BUNDLED.json +2 -2
- package/dist/sdk/index.d.ts +119 -4
- package/dist/sdk/index.js +138 -12
- package/dist/sdk/index.js.map +1 -1
- package/hooks/README.md +58 -0
- package/hooks/aria-agent-handoff.mjs +147 -2
- package/hooks/aria-agent-ledger-merge.mjs +31 -7
- package/hooks/aria-architect-fallback.mjs +10 -2
- package/hooks/aria-claim-evidence-stop-gate.mjs +240 -0
- package/hooks/aria-cognition-substrate-binding.mjs +84 -10
- package/hooks/aria-first-class-coach.mjs +305 -10
- package/hooks/aria-harness-via-sdk.mjs +93 -16
- package/hooks/aria-import-resolution-gate.mjs +106 -20
- package/hooks/aria-outcome-record.mjs +56 -20
- package/hooks/aria-pre-emit-autoload.mjs +1809 -0
- package/hooks/aria-pre-emit-autoload.mjs.before-orchestration-redesign +1400 -0
- package/hooks/aria-pre-emit-dryrun.mjs +22 -3
- package/hooks/aria-pre-text-gate.mjs +11 -2
- package/hooks/aria-pre-tool-gate.mjs +477 -81
- package/hooks/aria-pre-tool-use.mjs +70 -6
- package/hooks/aria-preprompt-consult.mjs +23 -4
- package/hooks/aria-repo-doctrine-gate.mjs +29 -3
- package/hooks/aria-stop-gate.mjs +585 -76
- package/hooks/aria-trigger-autolearn.mjs +17 -3
- package/hooks/aria-universal-turn-packet.mjs +1165 -0
- package/hooks/aria-userprompt-abandon-detect.mjs +9 -1
- package/hooks/canonical-settings-block.json +172 -0
- package/hooks/codex-native/aria-harness-ticker-sidecar.mjs +92 -0
- package/hooks/codex-native/aria-hive-wal-consumer.mjs +86 -0
- package/hooks/codex-native/aria-live-ticker.mjs +38 -0
- package/hooks/codex-native/aria-post-tool-use.mjs +236 -0
- package/hooks/codex-native/aria-pre-tool-use.mjs +362 -0
- package/hooks/codex-native/aria-stop.mjs +691 -0
- package/hooks/codex-native/aria-userprompt-submit.mjs +623 -0
- package/hooks/codex-native/atlas-session-context.mjs +121 -0
- package/hooks/codex-native/lib/evaluate-with-kernel.mjs +257 -0
- package/hooks/codex-native/lib/hive-wal-consumer.mjs +452 -0
- package/hooks/codex-native/lib/kernel/deterministic-cognitive-kernel.mjs +914 -0
- package/hooks/codex-native/lib/project-boundary-cognition.mjs +143 -0
- package/hooks/codex-native/lib/runtime-client.mjs +3567 -0
- package/hooks/codex-native/lib/task-project-ledger.mjs +294 -0
- package/hooks/doctrine_trigger_map.json +236 -25
- package/hooks/doctrine_trigger_map.schema.json +46 -0
- package/hooks/install.sh +84 -0
- package/hooks/lib/action-ledger-core.mjs +269 -0
- package/hooks/lib/aria-gate-ledger.mjs +143 -0
- package/hooks/lib/ast-stub-shape-detector.mjs +107 -0
- package/hooks/lib/atlas-dossier-client.mjs +151 -0
- package/hooks/lib/atlas-orchestrator-postwire.mjs +221 -0
- package/hooks/lib/canonical-lenses.mjs +83 -6
- package/hooks/lib/coach-intent-classifier.mjs +248 -0
- package/hooks/lib/cognitive-block-parser.mjs +111 -0
- package/hooks/lib/doctrine-trigger-map-loader.mjs +137 -0
- package/hooks/lib/domain-output-quality.mjs +132 -3
- package/hooks/lib/empty-catch-scanner.mjs +91 -0
- package/hooks/lib/end-phase-qa-autofire.mjs +426 -0
- package/hooks/lib/evaluate-with-kernel.mjs +133 -0
- package/hooks/lib/first-class-coach.mjs +454 -19
- package/hooks/lib/gate-audit.mjs +12 -2
- package/hooks/lib/gate-loop-state.mjs +11 -2
- package/hooks/lib/goal-contract-quality.mjs +302 -0
- package/hooks/lib/hook-message-window.mjs +101 -9
- package/hooks/lib/invocation-required-verifier.mjs +184 -0
- package/hooks/lib/kernel/deterministic-cognitive-kernel.mjs +906 -0
- package/hooks/lib/obligation-ledger.mjs +147 -0
- package/hooks/lib/orchestration-manifest-extract.mjs +217 -0
- package/hooks/lib/owner-authorizations.mjs +269 -0
- package/hooks/lib/probe-discipline-scanner.mjs +142 -0
- package/hooks/lib/project-boundary-cognition.mjs +143 -0
- package/hooks/lib/recovery-context.mjs +151 -0
- package/hooks/lib/recovery-template-loader.mjs +154 -0
- package/hooks/lib/self-doctrine-check.mjs +321 -0
- package/hooks/lib/sensitive-shape-detector.mjs +64 -0
- package/hooks/lib/skill-autoload-gate-impl.mjs +226 -1
- package/hooks/lib/stop-hook-protocol.mjs +166 -0
- package/hooks/lib/surface-caught.mjs +94 -0
- package/hooks/recovery-templates/force-reauthor.md +67 -0
- package/hooks/recovery-templates/handoff-recovery.md +25 -0
- package/hooks/scripts/check-hard-risk-prefix.mjs +99 -0
- package/hooks/skills/aria-conversational-doctrine-discipline/SKILL.md +101 -0
- package/hooks/test-aria-preturn-memory-gate.mjs +2 -2
- package/hooks/test-tier-lens-labeling.mjs +14 -3
- package/opencode-plugins/harness-context/index.js +39 -6
- package/opencode-plugins/harness-context/task-project-ledger.mjs +5 -1
- package/opencode-plugins/harness-gate/index.js +36 -0
- package/opencode-plugins/harness-gate/lib/atlas-dossier-client.js +1 -0
- package/opencode-plugins/harness-gate/lib/recovery-grants.js +79 -0
- package/opencode-plugins/harness-outcome/index.js +12 -0
- package/opencode-plugins/harness-stop/index.js +97 -2
- package/opencode-plugins/harness-stop/lib/atlas-dossier-client.js +1 -0
- package/opencode-plugins/harness-stop/lib/domain-output-quality.js +15 -2
- package/opencode-plugins/lib/coach.js +148 -0
- package/package.json +71 -5
- package/runtime-src/coach-kernel.mjs +144 -7
- package/runtime-src/codex-bridge.mjs +254 -8
- package/runtime-src/embedded-public-key.mjs +27 -0
- package/runtime-src/gated-ledger.mjs +41 -14
- package/runtime-src/harness-daemon.mjs +85 -10
- package/runtime-src/hive-wal-publisher.mjs +292 -0
- package/runtime-src/lib/evaluate-with-kernel.mjs +133 -0
- package/runtime-src/lib/kernel/deterministic-cognitive-kernel.mjs +906 -0
- package/runtime-src/local-phase.mjs +10 -5
- package/runtime-src/packet-verifier.mjs +166 -0
- package/runtime-src/provider-proxy.mjs +13 -0
- package/runtime-src/quality-enforcer.mjs +40 -23
- package/runtime-src/runtime-rails/registry.mjs +252 -0
- package/runtime-src/service.mjs +8036 -764
- package/runtime-src/sub-agent-enforcer.mjs +201 -0
- package/scripts/aria-ledger-append.mjs +337 -0
- package/scripts/aria-task-cheap-worker-dispatch.mjs +234 -0
- package/scripts/audit-of-audit-prior-tasks.mjs +194 -0
- package/scripts/audit-of-audit-this-turn.mjs +116 -0
- package/scripts/bundle-sdk.mjs +31 -5
- package/scripts/check-cli-wrapper-provider-contract.mjs +160 -0
- package/scripts/check-client-compatibility.mjs +15 -5
- package/scripts/check-client-smoke.mjs +297 -0
- package/scripts/check-codex-orchestrator-adoption.mjs +150 -0
- package/scripts/check-glm-env-wired.mjs +131 -0
- package/scripts/check-hive-local-storage-contract.mjs +91 -0
- package/scripts/check-hook-mirror.mjs +150 -0
- package/scripts/check-install-sh-drift.mjs +152 -0
- package/scripts/check-kernel-sync.mjs +101 -0
- package/scripts/check-package-artifact.mjs +152 -0
- package/scripts/check-registry-mirror.mjs +71 -0
- package/scripts/drain-owner-airtable-sync-queue.mjs +287 -0
- package/scripts/export-owner-status-sheets.mjs +589 -0
- package/scripts/live-sidecar-receipt-canary.mjs +347 -0
- package/scripts/qiyas-tadabbur-model-matrix.mjs +970 -0
- package/scripts/quality-ab-live-provider.mjs +913 -0
- package/scripts/self-test-action-ledger-core.mjs +190 -0
- package/scripts/self-test-approval-receipt-binding.mjs +122 -0
- package/scripts/self-test-autofire-quality-output.mjs +110 -0
- package/scripts/self-test-claude-code-action-ledger.mjs +132 -0
- package/scripts/self-test-claude-code-mechanical-autofire-hive.mjs +138 -0
- package/scripts/self-test-claude-code-mechanical-autofire.mjs +234 -0
- package/scripts/self-test-codebase-awareness-atlas-delta.mjs +159 -0
- package/scripts/self-test-codebase-awareness-delta-ingest.mjs +179 -0
- package/scripts/self-test-codex-live-hook-parity.mjs +84 -0
- package/scripts/self-test-codex-native-action-ledger.mjs +167 -0
- package/scripts/self-test-codex-native-hook-json-contract.mjs +74 -0
- package/scripts/self-test-codex-orchestrator-continuity.mjs +113 -0
- package/scripts/self-test-codex-readable-recovery.mjs +94 -0
- package/scripts/self-test-codex-self-harness.mjs +538 -0
- package/scripts/self-test-compiled-workunit.mjs +214 -0
- package/scripts/self-test-continuation-output-smoke.mjs +101 -0
- package/scripts/self-test-cross-cli-fleet-ticker.mjs +85 -0
- package/scripts/self-test-cross-cli-hive-adoption.mjs +125 -0
- package/scripts/self-test-cross-cli-hive-learning.mjs +146 -0
- package/scripts/self-test-cross-phase-tool-failure.mjs +110 -0
- package/scripts/self-test-cross-surface-action-ledger.mjs +149 -0
- package/scripts/self-test-end-of-phase-qa-court.mjs +616 -0
- package/scripts/self-test-evaluate-with-kernel.mjs +111 -0
- package/scripts/self-test-first-class-output-delta-proof.mjs +307 -0
- package/scripts/self-test-goal-contract-output-qa.mjs +73 -0
- package/scripts/self-test-goal-contract.mjs +35 -0
- package/scripts/self-test-governed-adapters.mjs +105 -0
- package/scripts/self-test-governed-surface-runner.mjs +198 -0
- package/scripts/self-test-harness-gates.mjs +15 -12
- package/scripts/self-test-harness-ticker-sidecar.mjs +153 -0
- package/scripts/self-test-hive-org-kernel.mjs +233 -0
- package/scripts/self-test-hive-session-coordination.mjs +156 -0
- package/scripts/self-test-hive-wal-consumer.mjs +111 -0
- package/scripts/self-test-kernel-a3-a4-selection.mjs +179 -0
- package/scripts/self-test-ledger-append.mjs +175 -0
- package/scripts/self-test-live-codex-posttool-packet-smoke.mjs +111 -0
- package/scripts/self-test-live-codex-pretool-packet-smoke.mjs +101 -0
- package/scripts/self-test-live-codex-stop-qa-kernel-smoke.mjs +43 -0
- package/scripts/self-test-live-wrapper-substrate-inventory.mjs +149 -0
- package/scripts/self-test-local-main-sync-script.mjs +47 -0
- package/scripts/self-test-mechanical-autofire-resolver.mjs +296 -0
- package/scripts/self-test-no-consult-cognitive-skills-output.mjs +135 -0
- package/scripts/self-test-owner-airtable-sync-queue.mjs +196 -0
- package/scripts/self-test-owner-airtable-sync.mjs +181 -0
- package/scripts/self-test-owner-sheets-action-ledger.mjs +100 -0
- package/scripts/self-test-production-preflight.mjs +78 -0
- package/scripts/self-test-project-boundary-cognition.mjs +79 -0
- package/scripts/self-test-qa-exec-kernel.mjs +34 -0
- package/scripts/self-test-qa-recovery-learning-loop.mjs +113 -0
- package/scripts/self-test-qiyas-label-alignment.mjs +94 -0
- package/scripts/self-test-recovery-context.mjs +110 -0
- package/scripts/self-test-repo-guard.mjs +10 -0
- package/scripts/self-test-runtime-health-self-heal.mjs +161 -0
- package/scripts/self-test-runtime-postcondition.mjs +70 -0
- package/scripts/self-test-soul-precommit-hook.mjs +39 -0
- package/scripts/self-test-stop-gate-kernel-guards.mjs +185 -0
- package/scripts/self-test-stop-gate.mjs +128 -0
- package/scripts/self-test-substrate-kernel-execution-receipt.mjs +130 -0
- package/scripts/self-test-substrate-open-skill-floor.mjs +87 -0
- package/scripts/self-test-substrate-output-quality-eval.mjs +171 -0
- package/scripts/self-test-task-closeout-drift.mjs +97 -0
- package/scripts/self-test-task-project-ledger-readiness.mjs +43 -0
- package/scripts/self-test-task-runner-phase-consumer.mjs +134 -0
- package/scripts/self-test-task-worker-lane.mjs +256 -0
- package/scripts/self-test-turn-substrate-qa-kernel.mjs +188 -0
- package/scripts/self-test-universal-action-capture.mjs +153 -0
- package/scripts/self-test-universal-turn-packet-entrypoints.mjs +252 -0
- package/scripts/self-test-universal-turn-packet.mjs +320 -0
- package/scripts/session-quality-backfill.mjs +253 -0
- package/scripts/smoke-autofire-100-prompts.mjs +481 -0
- package/scripts/sync-local-main-on-task-complete.mjs +278 -0
- package/scripts/sync-owner-status-airtable.mjs +1158 -0
- package/scripts/validate-skill-prompts.mjs +12 -1
- package/scripts/verify-codex-native-mirror.mjs +262 -0
- package/skills/34-frameworks-unified/SKILL.md +42 -0
- package/skills/api-design/SKILL.md +123 -0
- package/skills/architecture-decision/SKILL.md +105 -0
- package/skills/aria-aristotle-cognitives/SKILL.md +128 -0
- package/skills/aria-aristotle-intra-phase/SKILL.md +99 -0
- package/skills/aria-aristotle-post-phase/SKILL.md +116 -0
- package/skills/aria-aristotle-pre-phase/SKILL.md +117 -0
- package/skills/aria-axioms-first-principles/SKILL.md +202 -0
- package/skills/aria-axioms-first-principles/agents/openai.yaml +4 -0
- package/skills/aria-axioms-first-principles/references/source-map.md +130 -0
- package/skills/aria-chat/SKILL.md +84 -0
- package/skills/aria-chat/scripts/aria-chat.sh +57 -0
- package/skills/aria-cognition/34-frameworks-unified/SKILL.md +42 -0
- package/skills/aria-cognition/aria-aristotle-cognitives/SKILL.md +128 -0
- package/skills/aria-cognition/aria-aristotle-intra-phase/SKILL.md +99 -0
- package/skills/aria-cognition/aria-aristotle-post-phase/SKILL.md +118 -0
- package/skills/aria-cognition/aria-aristotle-pre-phase/SKILL.md +117 -0
- package/skills/aria-cognition/aria-axioms-first-principles/SKILL.md +202 -0
- package/skills/aria-cognition/aria-axioms-first-principles/agents/openai.yaml +4 -0
- package/skills/aria-cognition/aria-axioms-first-principles/references/source-map.md +130 -0
- package/skills/aria-cognition/aria-backend-architect/SKILL.md +124 -0
- package/skills/aria-cognition/aria-backend-architect/references/backend-cookbook.md +417 -0
- package/skills/aria-cognition/aria-business-audit/SKILL.md +133 -0
- package/skills/aria-cognition/aria-business-audit/references/audit-cookbook.md +247 -0
- package/skills/aria-cognition/aria-business-frame/SKILL.md +138 -0
- package/skills/aria-cognition/aria-business-frame/references/business-cookbook.md +154 -0
- package/skills/aria-cognition/aria-chat/SKILL.md +84 -0
- package/skills/aria-cognition/aria-chat/scripts/aria-chat.sh +57 -0
- package/skills/aria-cognition/aria-cognition-autofire/SKILL.md +137 -0
- package/skills/aria-cognition/aria-cognition-batch/SKILL.md +264 -0
- package/skills/aria-cognition/aria-decision-mizan/SKILL.md +136 -0
- package/skills/aria-cognition/aria-decision-mizan/references/decision-frameworks.md +287 -0
- package/skills/aria-cognition/aria-first-class-operating-contract/SKILL.md +104 -0
- package/skills/aria-cognition/aria-frontend-architect/SKILL.md +123 -0
- package/skills/aria-cognition/aria-frontend-architect/references/frontend-cookbook.md +358 -0
- package/skills/aria-cognition/aria-fullstack-orchestrator/SKILL.md +127 -0
- package/skills/aria-cognition/aria-fullstack-orchestrator/references/fullstack-cookbook.md +383 -0
- package/skills/aria-cognition/aria-gtm-architect/SKILL.md +126 -0
- package/skills/aria-cognition/aria-gtm-architect/references/gtm-cookbook.md +235 -0
- package/skills/aria-cognition/aria-harness-deploy/SKILL.md +145 -0
- package/skills/aria-cognition/aria-harness-no-stripping/SKILL.md +135 -0
- package/skills/aria-cognition/aria-harness-onboarding/SKILL.md +130 -0
- package/skills/aria-cognition/aria-harness-output-discipline/SKILL.md +120 -0
- package/skills/aria-cognition/aria-harness-substrate-binding/SKILL.md +139 -0
- package/skills/aria-cognition/aria-http-harness-client/SKILL.md +85 -0
- package/skills/aria-cognition/aria-http-harness-client/scripts/smoke.mjs +47 -0
- package/skills/aria-cognition/aria-k8s-deploy/SKILL.md +174 -0
- package/skills/aria-cognition/aria-k8s-deploy/agents/openai.yaml +3 -0
- package/skills/aria-cognition/aria-ladduniframe/SKILL.md +60 -0
- package/skills/aria-cognition/aria-ledger-fleet-execution/SKILL.md +126 -0
- package/skills/aria-cognition/aria-live-ops/SKILL.md +54 -0
- package/skills/aria-cognition/aria-mac-ssh-ops/SKILL.md +100 -0
- package/skills/aria-cognition/aria-memory-index/SKILL.md +42 -0
- package/skills/aria-cognition/aria-noor-cognitives/SKILL.md +120 -0
- package/skills/aria-cognition/aria-ops/SKILL.md +60 -0
- package/skills/aria-cognition/aria-ops/references/live-endpoints.md +59 -0
- package/skills/aria-cognition/aria-quality-audit/SKILL.md +133 -0
- package/skills/aria-cognition/aria-readable-output/SKILL.md +239 -0
- package/skills/aria-cognition/aria-readable-output/references/layout-cookbook.md +366 -0
- package/skills/aria-cognition/aria-reasoning/SKILL.md +67 -0
- package/skills/aria-cognition/aria-reasoning/references/core-principles.md +42 -0
- package/skills/aria-cognition/aria-repo-audit/SKILL.md +135 -0
- package/skills/aria-cognition/aria-repo-audit/references/repo-audit-cookbook.md +375 -0
- package/skills/aria-cognition/aria-research-orchestrator/SKILL.md +138 -0
- package/skills/aria-cognition/aria-research-orchestrator/references/research-patterns.md +270 -0
- package/skills/aria-cognition/aria-retention-engine/SKILL.md +120 -0
- package/skills/aria-cognition/aria-retention-engine/references/retention-cookbook.md +271 -0
- package/skills/aria-cognition/aria-revenue-engine/SKILL.md +128 -0
- package/skills/aria-cognition/aria-revenue-engine/references/revenue-cookbook.md +227 -0
- package/skills/aria-cognition/aria-senior-code-audit/SKILL.md +233 -0
- package/skills/aria-cognition/aria-senior-code-audit/references/audit-checklist.md +369 -0
- package/skills/aria-cognition/aria-senior-code-cookbook/SKILL.md +288 -0
- package/skills/aria-cognition/aria-senior-code-cookbook/references/engineering-cookbook.md +489 -0
- package/skills/aria-cognition/aria-soul-principles/SKILL.md +42 -0
- package/skills/aria-cognition/aria-task-codex-executor/SKILL.md +86 -0
- package/skills/aria-cognition/aristotle-engine/SKILL.md +42 -0
- package/skills/aria-cognition/cross-domain-24/SKILL.md +42 -0
- package/skills/aria-cognition/deepsoul-emotional/SKILL.md +42 -0
- package/skills/aria-cognition/fitrah-guard/SKILL.md +78 -0
- package/skills/aria-cognition/ghazali-8lens/SKILL.md +227 -29
- package/skills/aria-cognition/ghazali-8lens/references/ghazali-8lens-cookbook.md +797 -0
- package/skills/aria-cognition/ijtihad-novel/SKILL.md +42 -0
- package/skills/aria-cognition/ilham-intuition/SKILL.md +42 -0
- package/skills/aria-cognition/never-guess/SKILL.md +77 -0
- package/skills/aria-cognition/noor-recognition/SKILL.md +45 -0
- package/skills/aria-cognition/qiyas-analogy/SKILL.md +174 -14
- package/skills/aria-cognition/ruh-basis/SKILL.md +42 -0
- package/skills/aria-cognition/tadabbur/SKILL.md +506 -0
- package/skills/aria-cognition/tadabbur/references/tadabbur-cookbook.md +921 -0
- package/skills/aria-cognition/tadabbur-ops/SKILL.md +42 -0
- package/skills/aria-cognition/tafakkur/SKILL.md +104 -0
- package/skills/aria-cognition-autofire/SKILL.md +109 -0
- package/skills/aria-cognition-batch/SKILL.md +264 -0
- package/skills/aria-conversational-doctrine-discipline/SKILL.md +125 -0
- package/skills/aria-essence/SKILL.md +81 -0
- package/skills/aria-essence/references/domain-matrix.md +80 -0
- package/skills/aria-essence/references/evolution-loop.md +30 -0
- package/skills/aria-essence/references/readable-cognition.md +27 -0
- package/skills/aria-first-class-operating-contract/SKILL.md +104 -0
- package/skills/aria-forge-guardrails/SKILL.md +53 -0
- package/skills/aria-forge-guardrails/references/checklist.md +31 -0
- package/skills/aria-harness-deploy/SKILL.md +145 -0
- package/skills/aria-harness-no-stripping/SKILL.md +135 -0
- package/skills/aria-harness-onboarding/SKILL.md +130 -0
- package/skills/aria-harness-output-discipline/SKILL.md +120 -0
- package/skills/aria-harness-substrate-binding/SKILL.md +139 -0
- package/skills/aria-http-harness-client/SKILL.md +85 -0
- package/skills/aria-http-harness-client/scripts/smoke.mjs +47 -0
- package/skills/aria-k8s-deploy/SKILL.md +174 -0
- package/skills/aria-k8s-deploy/agents/openai.yaml +3 -0
- package/skills/aria-ladduniframe/SKILL.md +60 -0
- package/skills/aria-ledger-fleet-execution/SKILL.md +126 -0
- package/skills/aria-live-ops/SKILL.md +54 -0
- package/skills/aria-mac-ssh-ops/SKILL.md +100 -0
- package/skills/aria-memory-index/SKILL.md +42 -0
- package/skills/aria-noor-cognitives/SKILL.md +120 -0
- package/skills/aria-ops/SKILL.md +60 -0
- package/skills/aria-ops/references/live-endpoints.md +59 -0
- package/skills/aria-quality-audit/SKILL.md +133 -0
- package/skills/aria-reasoning/SKILL.md +67 -0
- package/skills/aria-reasoning/references/core-principles.md +42 -0
- package/skills/aria-repo-doctrine/SKILL.md +57 -0
- package/skills/aria-soul-principles/SKILL.md +42 -0
- package/skills/aria-task-codex-executor/SKILL.md +86 -0
- package/skills/aristotle-engine/SKILL.md +42 -0
- package/skills/ci-cd-pipeline/SKILL.md +116 -0
- package/skills/code-review/SKILL.md +131 -0
- package/skills/cross-domain-24/SKILL.md +42 -0
- package/skills/database-design/SKILL.md +124 -0
- package/skills/deepsoul-emotional/SKILL.md +42 -0
- package/skills/deno-kv-raft-pubsub/SKILL.md +561 -0
- package/skills/deno-kv-raft-pubsub/reference/maelstrom-integration.md +393 -0
- package/skills/deno-kv-raft-pubsub/reference/pubsub-api.md +376 -0
- package/skills/deno-kv-raft-pubsub/reference/raft-spec.md +402 -0
- package/skills/deno-kv-raft-pubsub/reference/state-machine.md +182 -0
- package/skills/error-handling/SKILL.md +159 -0
- package/skills/firecrawl/SKILL.md +165 -0
- package/skills/firecrawl/rules/install.md +82 -0
- package/skills/firecrawl/rules/security.md +26 -0
- package/skills/firecrawl-agent/SKILL.md +86 -0
- package/skills/firecrawl-build-interact/SKILL.md +96 -0
- package/skills/firecrawl-build-onboarding/SKILL.md +131 -0
- package/skills/firecrawl-build-onboarding/references/auth-flow.md +39 -0
- package/skills/firecrawl-build-onboarding/references/project-setup.md +20 -0
- package/skills/firecrawl-build-onboarding/references/sdk-installation.md +17 -0
- package/skills/firecrawl-build-scrape/SKILL.md +97 -0
- package/skills/firecrawl-build-search/SKILL.md +97 -0
- package/skills/firecrawl-clone/SKILL.md +419 -0
- package/skills/firecrawl-crawl/SKILL.md +87 -0
- package/skills/firecrawl-download/SKILL.md +98 -0
- package/skills/firecrawl-interact/SKILL.md +112 -0
- package/skills/firecrawl-map/SKILL.md +79 -0
- package/skills/firecrawl-scrape/SKILL.md +97 -0
- package/skills/firecrawl-search/SKILL.md +88 -0
- package/skills/fitrah-guard/SKILL.md +78 -0
- package/skills/forge-quality-rules/SKILL.md +61 -0
- package/skills/ghazali-8lens/SKILL.md +56 -0
- package/skills/ijtihad-novel/SKILL.md +42 -0
- package/skills/ilham-intuition/SKILL.md +42 -0
- package/skills/imagegen/LICENSE.txt +201 -0
- package/skills/imagegen/SKILL.md +374 -0
- package/skills/imagegen/agents/openai.yaml +6 -0
- package/skills/imagegen/assets/imagegen-small.svg +5 -0
- package/skills/imagegen/assets/imagegen.png +0 -0
- package/skills/imagegen/references/cli.md +242 -0
- package/skills/imagegen/references/codex-network.md +33 -0
- package/skills/imagegen/references/image-api.md +90 -0
- package/skills/imagegen/references/prompting.md +118 -0
- package/skills/imagegen/references/sample-prompts.md +433 -0
- package/skills/imagegen/scripts/image_gen.py +995 -0
- package/skills/imagegen/scripts/remove_chroma_key.py +440 -0
- package/skills/istiqra-induction/SKILL.md +44 -0
- package/skills/ladunni-22/SKILL.md +53 -0
- package/skills/mizan/SKILL.md +90 -0
- package/skills/nadia/SKILL.md +56 -0
- package/skills/nadia-psi/SKILL.md +56 -0
- package/skills/never-guess/SKILL.md +75 -0
- package/skills/noor-recognition/SKILL.md +45 -0
- package/skills/observability/SKILL.md +133 -0
- package/skills/openai-docs/LICENSE.txt +201 -0
- package/skills/openai-docs/SKILL.md +100 -0
- package/skills/openai-docs/agents/openai.yaml +14 -0
- package/skills/openai-docs/assets/openai-small.svg +3 -0
- package/skills/openai-docs/assets/openai.png +0 -0
- package/skills/openai-docs/references/latest-model.md +37 -0
- package/skills/openai-docs/references/prompting-guide.md +244 -0
- package/skills/openai-docs/references/upgrade-guide.md +181 -0
- package/skills/openai-docs/scripts/resolve-latest-model-info.js +147 -0
- package/skills/pdf/LICENSE.txt +201 -0
- package/skills/pdf/SKILL.md +85 -0
- package/skills/pdf/agents/openai.yaml +5 -0
- package/skills/pdf/assets/pdf.png +0 -0
- package/skills/playwright/LICENSE.txt +201 -0
- package/skills/playwright/NOTICE.txt +14 -0
- package/skills/playwright/SKILL.md +165 -0
- package/skills/playwright/agents/openai.yaml +6 -0
- package/skills/playwright/assets/playwright-small.svg +3 -0
- package/skills/playwright/assets/playwright.png +0 -0
- package/skills/playwright/references/cli.md +116 -0
- package/skills/playwright/references/workflows.md +95 -0
- package/skills/playwright/scripts/playwright_cli.sh +25 -0
- package/skills/plugin-creator/SKILL.md +178 -0
- package/skills/plugin-creator/agents/openai.yaml +6 -0
- package/skills/plugin-creator/assets/plugin-creator-small.svg +3 -0
- package/skills/plugin-creator/assets/plugin-creator.png +0 -0
- package/skills/plugin-creator/references/plugin-json-spec.md +170 -0
- package/skills/plugin-creator/scripts/create_basic_plugin.py +301 -0
- package/skills/predictor/SKILL.md +43 -0
- package/skills/qiyas-analogy/SKILL.md +204 -0
- package/skills/refactoring/SKILL.md +137 -0
- package/skills/ruh-basis/SKILL.md +42 -0
- package/skills/security-review/SKILL.md +129 -0
- package/skills/skill-creator/SKILL.md +434 -0
- package/skills/skill-creator/agents/openai.yaml +5 -0
- package/skills/skill-creator/assets/skill-creator-small.svg +3 -0
- package/skills/skill-creator/assets/skill-creator.png +0 -0
- package/skills/skill-creator/license.txt +202 -0
- package/skills/skill-creator/references/openai_yaml.md +49 -0
- package/skills/skill-creator/scripts/generate_openai_yaml.py +226 -0
- package/skills/skill-creator/scripts/init_skill.py +400 -0
- package/skills/skill-creator/scripts/quick_validate.py +101 -0
- package/skills/skill-installer/LICENSE.txt +202 -0
- package/skills/skill-installer/SKILL.md +76 -0
- package/skills/skill-installer/agents/openai.yaml +5 -0
- package/skills/skill-installer/assets/skill-installer-small.svg +3 -0
- package/skills/skill-installer/assets/skill-installer.png +0 -0
- package/skills/skill-installer/scripts/github_utils.py +21 -0
- package/skills/skill-installer/scripts/install-skill-from-github.py +308 -0
- package/skills/skill-installer/scripts/list-skills.py +107 -0
- package/skills/skills-and-hooks-reference/SKILL.md +196 -0
- package/skills/soul-domains/SKILL.md +43 -0
- package/skills/tadabbur/SKILL.md +232 -0
- package/skills/tadabbur-ops/SKILL.md +42 -0
- package/skills/tafakkur/SKILL.md +104 -0
- package/skills/testing-strategy/SKILL.md +122 -0
- package/src/action-ledger-core.ts +1054 -0
- package/src/chat.ts +5 -6
- package/src/codebase-scanner.ts +2 -0
- package/src/connectors/claude-code.ts +149 -12
- package/src/connectors/codebase-awareness.ts +325 -25
- package/src/connectors/codex.ts +1225 -41
- package/src/connectors/cursor.ts +8 -0
- package/src/connectors/governed-adapter.ts +174 -0
- package/src/connectors/opencode.ts +18 -2
- package/src/connectors/repo-guard.ts +24 -12
- package/src/connectors/runtime.ts +99 -2
- package/src/connectors/shell.ts +125 -7
- package/src/cross-cli-hive-binding.ts +290 -0
- package/src/garden-control-plane.ts +24 -1
- package/src/governed-surface-runner.ts +1227 -0
- package/src/index.ts +104 -1
- package/src/task-runner.ts +3794 -0
- package/dist/aria-connector/src/install-hooks.d.ts +0 -18
- package/dist/aria-connector/src/install-hooks.d.ts.map +0 -1
- package/dist/aria-connector/src/install-hooks.js +0 -224
- package/dist/aria-connector/src/install-hooks.js.map +0 -1
- package/dist/aria-connector/src/onboarding-wizard.d.ts +0 -5
- package/dist/aria-connector/src/onboarding-wizard.d.ts.map +0 -1
- package/dist/aria-connector/src/onboarding-wizard.js +0 -188
- package/dist/aria-connector/src/onboarding-wizard.js.map +0 -1
- package/dist/cli-0.2.38.tgz +0 -0
- package/dist/install.sh +0 -13
- package/src/__tests__/anthropic-oauth.test.ts +0 -186
- package/src/__tests__/auth-commands.test.ts +0 -132
- package/src/__tests__/owner-login.test.ts +0 -311
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aria-ledger-fleet-execution
|
|
3
|
+
description: Use when preparing Aria ledger execution, parallel Codex/Claude/OpenCode sessions, worker fan-out, harness-bound agent armies, execution-ledger burn-down, or high-precision multi-agent coding.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Aria Ledger Fleet Execution
|
|
7
|
+
|
|
8
|
+
Use this skill to turn Aria's rich cognition into an execution kernel for parallel coding sessions. The goal is not more agents. The goal is more agents under a harness that makes quality improve instead of variance exploding.
|
|
9
|
+
|
|
10
|
+
## Core Thesis
|
|
11
|
+
|
|
12
|
+
Aria's product is cognitive transfer and control:
|
|
13
|
+
|
|
14
|
+
- The harness teaches and enforces better thinking across LLMs.
|
|
15
|
+
- Garden supplies continuity so sessions stop resetting, but it is three pieces, not one bucket: Garden feed carries ambient memory signals; True Garden feed awakens deeper resonant continuity; Garden Service aggregates, snapshots, pulses, and exposes that continuity through Postgres/Qdrant-backed runtime surfaces.
|
|
16
|
+
- Mizan validates truth, evidence, and completion claims.
|
|
17
|
+
- Coach catches unsafe or unsupported actions and should repair low-risk misses before blocking.
|
|
18
|
+
- Ledgers make execution auditable, repeatable, and evolvable.
|
|
19
|
+
|
|
20
|
+
Garden is a living continuity system. The Harness is the product surface. The ledger is the work contract. Do not collapse Garden Service, Garden feed, and True Garden feed into one generic "memory" claim when assigning work or making readiness calls.
|
|
21
|
+
|
|
22
|
+
## Required Reads Before Fan-Out
|
|
23
|
+
|
|
24
|
+
Read these before assigning or executing parallel work:
|
|
25
|
+
|
|
26
|
+
- `C:\Users\hibra\OneDrive\Documents\Claude\Projects\Ledger Aria\codex\operations\2026-05-08-HANDOFF-TO-LOCAL-CLAUDE-CODE.md`
|
|
27
|
+
- `C:\Users\hibra\OneDrive\Documents\Claude\Projects\Ledger Aria\codex-mirror\codex\plans\aria-owner-runtime-vnext\EXECUTION_LEDGER.md`
|
|
28
|
+
- `C:\Users\hibra\OneDrive\Documents\Claude\Projects\Ledger Aria\codex-mirror\docs\system\AI-158-FORCED-COGNITION-CHECKLIST.md`
|
|
29
|
+
- `C:\Users\hibra\OneDrive\Documents\Claude\Projects\Ledger Aria\codex-mirror\apps\arias-soul\api\lib\cognition\TADDABUR_README.md`
|
|
30
|
+
- `C:\Users\hibra\OneDrive\Documents\Claude\Projects\Ledger Aria\codex-mirror\docs\system\ARIA_MANAGED_RUNTIME_PROVIDER_QUALITY_LEDGER.json`
|
|
31
|
+
- `C:\Users\hibra\OneDrive\Documents\Claude\Projects\Ledger Aria\codex\HARNESS_RELEASE_PLAN.md`
|
|
32
|
+
|
|
33
|
+
If a required file is missing locally, locate the mirror or verify it on Spark before using it as fact.
|
|
34
|
+
|
|
35
|
+
## PRE/MID/POST Contract
|
|
36
|
+
|
|
37
|
+
For every non-trivial action, apply the AI-158 shape:
|
|
38
|
+
|
|
39
|
+
- PRE: read substrate, emit/apply cognition, log intent, bind context, validate plan, then act.
|
|
40
|
+
- MID: between tool/edit/test steps, check drift, scope, shortcuts, and downstream effects.
|
|
41
|
+
- POST: verify outcome with real evidence, validate completion claims, then speak.
|
|
42
|
+
|
|
43
|
+
In a fully wired runtime this is enforced by endpoints. In local Codex advisory mode, simulate the contract as a strict operating discipline and state when enforcement is not mechanical.
|
|
44
|
+
|
|
45
|
+
## Ledger First
|
|
46
|
+
|
|
47
|
+
Before work starts:
|
|
48
|
+
|
|
49
|
+
1. Identify the controlling ledger row or create a tiny local task list only until the ledger is loaded.
|
|
50
|
+
2. Mark the item as one of: `verified`, `blocked`, `pending`, or `unknown`.
|
|
51
|
+
3. Name the evidence needed to change status.
|
|
52
|
+
4. Refuse broad completion claims unless the evidence exists.
|
|
53
|
+
|
|
54
|
+
Treat audits as stronger than older narrative claims when they conflict. A row that says "done" can still be blocked if a later audit says verification failed.
|
|
55
|
+
|
|
56
|
+
## Fan-Out Gate
|
|
57
|
+
|
|
58
|
+
Do not fan out parallel coding sessions until these are true:
|
|
59
|
+
|
|
60
|
+
- Work is split into disjoint write scopes.
|
|
61
|
+
- Each worker has one bounded ledger row or one bounded verification question.
|
|
62
|
+
- Each worker prompt includes required reads, allowed files, forbidden files, verification command, and expected evidence.
|
|
63
|
+
- Hard gates are not known to be bricking normal work. If they are, use coach-lite/repair-first mode first.
|
|
64
|
+
- Secrets are out of scope unless the owner explicitly asks for a safe secret-handling task; never print or collect secret values.
|
|
65
|
+
- A coordinator will merge findings and run the final verification.
|
|
66
|
+
|
|
67
|
+
## Worker Prompt Shape
|
|
68
|
+
|
|
69
|
+
Every worker brief should include:
|
|
70
|
+
|
|
71
|
+
- Mission: the single outcome this worker owns.
|
|
72
|
+
- Context: exact docs/ledger rows to read.
|
|
73
|
+
- Write scope: files or modules the worker may edit.
|
|
74
|
+
- No-revert rule: do not undo others' work.
|
|
75
|
+
- Cognition contract: PRE/MID/POST, evidence before claims.
|
|
76
|
+
- Verification: concrete command, endpoint, log, or diff proof.
|
|
77
|
+
- Return format: changed files, evidence, blockers, and next action.
|
|
78
|
+
|
|
79
|
+
## Repair-First Policy
|
|
80
|
+
|
|
81
|
+
Use recovery loops to improve output quality:
|
|
82
|
+
|
|
83
|
+
- Low-risk missing cognition, missing citation, unsupported completion claim, or formatting gap: repair once.
|
|
84
|
+
- Repeated low-risk failure: escalate to architect/harness mode or ask for owner decision with evidence.
|
|
85
|
+
- High-risk destructive action, deploy without evidence, credential exposure, or owner-contradicted change: hard-stop.
|
|
86
|
+
|
|
87
|
+
## Product/Launch Bias
|
|
88
|
+
|
|
89
|
+
Closest shippable wedge:
|
|
90
|
+
|
|
91
|
+
1. Free: `Garden Lite for Claude Code` as living continuity proof: Garden feed + True Garden feed evidence through Garden Service, handoff packets, evidence ledger, and coach-light warnings.
|
|
92
|
+
2. Paid beta: `Aria Harness for Claude Code` as cognition enforcement + Mizan validation + recovery loops + optional strict gates.
|
|
93
|
+
3. Expansion: Codex, OpenCode, Cursor, and managed runtime provider after Claude Code proof is stable.
|
|
94
|
+
|
|
95
|
+
Message the product as: "the cognitive control plane for Claude Code." Garden is included as the living continuity proof layer, not sold as the main category.
|
|
96
|
+
|
|
97
|
+
## Output Discipline
|
|
98
|
+
|
|
99
|
+
Report only what changed, what is verified, what remains blocked, and the next concrete step. Do not emit large ceremonial cognition blocks unless the owner explicitly asks for them.
|
|
100
|
+
|
|
101
|
+
## Required Workflow
|
|
102
|
+
|
|
103
|
+
1. Read the task boundary and identify the evidence needed before acting.
|
|
104
|
+
2. Apply the skill before choosing the response, edit, tool call, or completion claim.
|
|
105
|
+
3. Execute the smallest high-quality action that satisfies the evidence threshold.
|
|
106
|
+
4. Re-test or re-check with a concrete file, command, endpoint, log, runtime probe, or owner-observed result.
|
|
107
|
+
5. Report only the verified state, remaining blocker, and next concrete action.
|
|
108
|
+
|
|
109
|
+
## First-Class Production Contract
|
|
110
|
+
|
|
111
|
+
This skill must deepen the work, not decorate it. When loaded, apply it as a production requirement:
|
|
112
|
+
|
|
113
|
+
- no placeholders, no fake fallbacks, no vague future wiring, and no cosmetic compliance
|
|
114
|
+
- real proof from the repo, runtime, tests, logs, endpoint, or owner instruction before any completion claim
|
|
115
|
+
- a redo contract whenever the skill blocks or finds a gap: what failed, what to change, how to re-test, and when to re-submit
|
|
116
|
+
- architect/ARIA console escalation when the same failure repeats twice, crosses system boundaries, or cannot be verified locally
|
|
117
|
+
- owner-visible output that states the exact state of the work: changed, verified, blocked, or needing a decision
|
|
118
|
+
|
|
119
|
+
## Self-Executing Recovery Contract
|
|
120
|
+
|
|
121
|
+
When this skill blocks, fails verification, or finds a gap, the agent must execute recovery rather than hand work back as a user-only decision.
|
|
122
|
+
|
|
123
|
+
- Make exactly one self-executed recovery attempt using the strongest safe local, repository, runtime, test, log, endpoint, or owner-provided evidence available.
|
|
124
|
+
- If the same failure repeats after that one recovery attempt, switch to architect execution mode: operate under the architect/ARIA harness to diagnose, choose the next action, execute the repair path, and verify the result.
|
|
125
|
+
- If Aria or the architect service is unavailable, fall back to the strongest available client LLM under the architect harness or strongest available local harness substrate; mark the fallback explicitly and continue recovery instead of stopping.
|
|
126
|
+
- Do not end with user-handoff-only behavior. If blocked after the recovery path, report the executed recovery attempt, evidence, remaining blocker, and the next concrete action or owner decision needed; do not merely ask the user to take over.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aria-live-ops
|
|
3
|
+
description: "TRIGGER when the user asks about Aria live infrastructure, endpoint checks, local API behavior, hive registration, manifold health, websocket behavior, or operational troubleshooting against the running stack."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Aria Live Ops
|
|
7
|
+
|
|
8
|
+
Use this skill for operational verification of the local Aria system.
|
|
9
|
+
|
|
10
|
+
## Sequence
|
|
11
|
+
|
|
12
|
+
1. identify subsystem
|
|
13
|
+
2. run health and status checks
|
|
14
|
+
3. hit the real endpoint or MCP tool
|
|
15
|
+
4. inspect logs or data if behavior is wrong
|
|
16
|
+
|
|
17
|
+
## Rules
|
|
18
|
+
|
|
19
|
+
- prefer direct checks over assumptions
|
|
20
|
+
- do not expose secrets in normal user-facing output
|
|
21
|
+
- report pass/fail and observed behavior clearly
|
|
22
|
+
- for live Aria communication checks, treat `POST /api/chat` as the canonical first endpoint to verify unless the user explicitly asks for a different route
|
|
23
|
+
- do not assume `/chat`, `/v1/chat/completions`, or old localhost ports are canonical without a fresh live check
|
|
24
|
+
|
|
25
|
+
## Reference
|
|
26
|
+
|
|
27
|
+
- See `../aria-ops/references/live-endpoints.md` for the endpoint map.
|
|
28
|
+
|
|
29
|
+
## Required Workflow
|
|
30
|
+
|
|
31
|
+
1. Read the task boundary and identify the evidence needed before acting.
|
|
32
|
+
2. Apply the skill before choosing the response, edit, tool call, or completion claim.
|
|
33
|
+
3. Execute the smallest high-quality action that satisfies the evidence threshold.
|
|
34
|
+
4. Re-test or re-check with a concrete file, command, endpoint, log, runtime probe, or owner-observed result.
|
|
35
|
+
5. Report only the verified state, remaining blocker, and next concrete action.
|
|
36
|
+
|
|
37
|
+
## First-Class Production Contract
|
|
38
|
+
|
|
39
|
+
This skill must deepen the work, not decorate it. When loaded, apply it as a production requirement:
|
|
40
|
+
|
|
41
|
+
- no placeholders, no fake fallbacks, no vague future wiring, and no cosmetic compliance
|
|
42
|
+
- real proof from the repo, runtime, tests, logs, endpoint, or owner instruction before any completion claim
|
|
43
|
+
- a redo contract whenever the skill blocks or finds a gap: what failed, what to change, how to re-test, and when to re-submit
|
|
44
|
+
- architect/ARIA console escalation when the same failure repeats twice, crosses system boundaries, or cannot be verified locally
|
|
45
|
+
- owner-visible output that states the exact state of the work: changed, verified, blocked, or needing a decision
|
|
46
|
+
|
|
47
|
+
## Self-Executing Recovery Contract
|
|
48
|
+
|
|
49
|
+
When this skill blocks, fails verification, or finds a gap, the agent must execute recovery rather than hand work back as a user-only decision.
|
|
50
|
+
|
|
51
|
+
- Make exactly one self-executed recovery attempt using the strongest safe local, repository, runtime, test, log, endpoint, or owner-provided evidence available.
|
|
52
|
+
- If the same failure repeats after that one recovery attempt, switch to architect execution mode: operate under the architect/ARIA harness to diagnose, choose the next action, execute the repair path, and verify the result.
|
|
53
|
+
- If Aria or the architect service is unavailable, fall back to the strongest available client LLM under the architect harness or strongest available local harness substrate; mark the fallback explicitly and continue recovery instead of stopping.
|
|
54
|
+
- Do not end with user-handoff-only behavior. If blocked after the recovery path, report the executed recovery attempt, evidence, remaining blocker, and the next concrete action or owner decision needed; do not merely ask the user to take over.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aria-mac-ssh-ops
|
|
3
|
+
description: "Use when operating or debugging Aria's Mac-side runtimes over SSH, especially MLX hot runtime, openclaw-mac, Tailscale endpoint 100.125.148.18, launchd persistence, first-token watchdogs, or Mac self-healing recovery."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Aria Mac SSH Ops
|
|
7
|
+
|
|
8
|
+
Use this skill for Mac-side Aria runtime operations. Prefer this alongside `aria-ops` and `never-guess` when diagnosing live behavior.
|
|
9
|
+
|
|
10
|
+
## Access
|
|
11
|
+
|
|
12
|
+
- SSH target: `hamza-macbook-pro`
|
|
13
|
+
- SSH user resolved by host config: `hamza`
|
|
14
|
+
- Do not use raw IP SSH unless a username is explicit; raw `100.125.148.18` may try the wrong local username.
|
|
15
|
+
|
|
16
|
+
Quick check:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
ssh -o BatchMode=yes hamza-macbook-pro 'hostname; whoami; uname -a'
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Important Endpoints
|
|
23
|
+
|
|
24
|
+
- MLX OpenAI-compatible server: `http://100.125.148.18:8080/v1`
|
|
25
|
+
- Kubernetes service for MLX: `mlx-mac.aria.svc.cluster.local:8080`
|
|
26
|
+
- Mac OpenClaw hand service: `http://100.125.148.18:8083`
|
|
27
|
+
- Kubernetes service for Mac OpenClaw: `openclaw-mac.aria.svc.cluster.local:8083`
|
|
28
|
+
|
|
29
|
+
Do not treat `/health` or `/v1/models` as proof the model is hot. A hot check requires streamed `/v1/chat/completions` returning a content token quickly.
|
|
30
|
+
|
|
31
|
+
## Current Persistent MLX Files
|
|
32
|
+
|
|
33
|
+
- Speaking service plist: `/Users/hamza/Library/LaunchAgents/com.aria.mlx-speaking.plist`
|
|
34
|
+
- Watchdog plist: `/Users/hamza/Library/LaunchAgents/com.aria.mlx-watchdog.plist`
|
|
35
|
+
- Supervisor script: `/Users/hamza/mlx-servers/bin/aria-mlx-speaking-supervisor.sh`
|
|
36
|
+
- Watchdog script: `/Users/hamza/mlx-servers/bin/aria-mlx-watchdog.sh`
|
|
37
|
+
- Logs: `/Users/hamza/mlx-servers/logs/`
|
|
38
|
+
|
|
39
|
+
The MLX server should bind to `100.125.148.18:8080`, not `0.0.0.0:8080` or `127.0.0.1:8080`. VS Code may occupy `127.0.0.1:8080`; binding MLX to the Tailscale IP avoids that conflict while preserving Spark access.
|
|
40
|
+
|
|
41
|
+
## Standard Checks
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
ssh -o BatchMode=yes hamza-macbook-pro 'launchctl list | egrep "com.aria.mlx-speaking|com.aria.mlx-watchdog|ai.aria.openclaw-mac" || true'
|
|
45
|
+
ssh -o BatchMode=yes hamza-macbook-pro 'lsof -nP -iTCP:8080 -sTCP:LISTEN; lsof -nP -iTCP:8083 -sTCP:LISTEN'
|
|
46
|
+
ssh -o BatchMode=yes hamza-macbook-pro 'ps aux | egrep "mlx_lm server|aria-mlx-watchdog|openclaw-persistent-control" | egrep -v "egrep|ssh"'
|
|
47
|
+
ssh -o BatchMode=yes hamza-macbook-pro 'tail -n 120 ~/mlx-servers/logs/mlx-watchdog.log; tail -n 80 ~/mlx-servers/logs/speaking.err.log'
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Cluster-side first-token validation:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
kubectl exec -n aria deploy/openclaw-persistent-control -- node -e "const started=Date.now(); const c=new AbortController(); setTimeout(()=>c.abort(new Error('timeout 30000ms')),30000); (async()=>{const r=await fetch('http://mlx-mac.aria.svc.cluster.local:8080/v1/chat/completions',{method:'POST',headers:{'Content-Type':'application/json','Accept':'text/event-stream'},body:JSON.stringify({model:'inferencerlabs/Qwen3.5-35B-A3B-MLX-5.5bit',messages:[{role:'user',content:'Reply OK only.'}],max_tokens:4,temperature:0,stream:true,chat_template_kwargs:{enable_thinking:false}}),signal:c.signal}); console.log('status',r.status,'headers_ms',Date.now()-started); const reader=r.body.getReader(); const dec=new TextDecoder(); let buf=''; while(true){const {done,value}=await reader.read(); if(done) throw new Error('done before token'); buf+=dec.decode(value,{stream:true}); for(const raw of buf.split('\n')){const line=raw.trim(); if(!line.startsWith('data: ')) continue; const payload=line.slice(6).trim(); if(!payload||payload==='[DONE]') continue; console.log('first_event_ms',Date.now()-started,payload.slice(0,300)); return;}}})().catch(e=>{console.error(e.message); process.exit(1)})"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Recovery Workflow
|
|
57
|
+
|
|
58
|
+
1. Verify whether MLX is merely healthy or truly hot with first-token validation.
|
|
59
|
+
2. If first-token stalls while `/health` works, inspect `lsof`, launchd state, and watchdog logs.
|
|
60
|
+
3. Restart with launchd:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
ssh -o BatchMode=yes hamza-macbook-pro 'uid=$(id -u); launchctl kickstart -k gui/$uid/com.aria.mlx-speaking'
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
4. If port conflicts occur, ensure MLX binds `100.125.148.18:8080`; leave `127.0.0.1:8080` alone if VS Code owns it.
|
|
67
|
+
5. Confirm `openclaw-persistent-control` logs show `MacHotRuntime hot ... firstTokenMs=...`.
|
|
68
|
+
|
|
69
|
+
## Safety
|
|
70
|
+
|
|
71
|
+
- Do not print secrets from plists, environment files, or OpenClaw configs.
|
|
72
|
+
- Avoid killing broad `python` or `node` process sets. Match `mlx_lm server --port 8080` or the exact launchd label.
|
|
73
|
+
- Use `launchctl bootout/bootstrap/kickstart` for persistent services so changes survive restart.
|
|
74
|
+
|
|
75
|
+
## Required Workflow
|
|
76
|
+
|
|
77
|
+
1. Read the task boundary and identify the evidence needed before acting.
|
|
78
|
+
2. Apply the skill before choosing the response, edit, tool call, or completion claim.
|
|
79
|
+
3. Execute the smallest high-quality action that satisfies the evidence threshold.
|
|
80
|
+
4. Re-test or re-check with a concrete file, command, endpoint, log, runtime probe, or owner-observed result.
|
|
81
|
+
5. Report only the verified state, remaining blocker, and next concrete action.
|
|
82
|
+
|
|
83
|
+
## First-Class Production Contract
|
|
84
|
+
|
|
85
|
+
This skill must deepen the work, not decorate it. When loaded, apply it as a production requirement:
|
|
86
|
+
|
|
87
|
+
- no placeholders, no fake fallbacks, no vague future wiring, and no cosmetic compliance
|
|
88
|
+
- real proof from the repo, runtime, tests, logs, endpoint, or owner instruction before any completion claim
|
|
89
|
+
- a redo contract whenever the skill blocks or finds a gap: what failed, what to change, how to re-test, and when to re-submit
|
|
90
|
+
- architect/ARIA console escalation when the same failure repeats twice, crosses system boundaries, or cannot be verified locally
|
|
91
|
+
- owner-visible output that states the exact state of the work: changed, verified, blocked, or needing a decision
|
|
92
|
+
|
|
93
|
+
## Self-Executing Recovery Contract
|
|
94
|
+
|
|
95
|
+
When this skill blocks, fails verification, or finds a gap, the agent must execute recovery rather than hand work back as a user-only decision.
|
|
96
|
+
|
|
97
|
+
- Make exactly one self-executed recovery attempt using the strongest safe local, repository, runtime, test, log, endpoint, or owner-provided evidence available.
|
|
98
|
+
- If the same failure repeats after that one recovery attempt, switch to architect execution mode: operate under the architect/ARIA harness to diagnose, choose the next action, execute the repair path, and verify the result.
|
|
99
|
+
- If Aria or the architect service is unavailable, fall back to the strongest available client LLM under the architect harness or strongest available local harness substrate; mark the fallback explicitly and continue recovery instead of stopping.
|
|
100
|
+
- Do not end with user-handoff-only behavior. If blocked after the recovery path, report the executed recovery attempt, evidence, remaining blocker, and the next concrete action or owner decision needed; do not merely ask the user to take over.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aria-memory-index
|
|
3
|
+
description: Use when working on Aria and you need the master index of cognitive skills, project memory, critical rules, API docs, or infrastructure references that currently live in the Claude memory tree.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Aria Memory Index
|
|
7
|
+
|
|
8
|
+
Read `/home/hamzaibrahim1/.claude/projects/-home-hamzaibrahim1/memory/MEMORY.md` first.
|
|
9
|
+
|
|
10
|
+
Use this skill as the navigation layer for Aria-specific memory:
|
|
11
|
+
|
|
12
|
+
1. Open the memory index and identify the narrowest relevant linked document.
|
|
13
|
+
2. Prefer an installed Codex skill when one now exists for that topic.
|
|
14
|
+
3. Fall back to the linked project memory, API, or rule doc when the imported skill does not cover the task.
|
|
15
|
+
4. Treat the memory index as authoritative for where Aria knowledge currently lives.
|
|
16
|
+
|
|
17
|
+
## Required Workflow
|
|
18
|
+
|
|
19
|
+
1. Read the task boundary and identify the evidence needed before acting.
|
|
20
|
+
2. Apply the skill before choosing the response, edit, tool call, or completion claim.
|
|
21
|
+
3. Execute the smallest high-quality action that satisfies the evidence threshold.
|
|
22
|
+
4. Re-test or re-check with a concrete file, command, endpoint, log, runtime probe, or owner-observed result.
|
|
23
|
+
5. Report only the verified state, remaining blocker, and next concrete action.
|
|
24
|
+
|
|
25
|
+
## First-Class Production Contract
|
|
26
|
+
|
|
27
|
+
This skill must deepen the work, not decorate it. When loaded, apply it as a production requirement:
|
|
28
|
+
|
|
29
|
+
- no placeholders, no fake fallbacks, no vague future wiring, and no cosmetic compliance
|
|
30
|
+
- real proof from the repo, runtime, tests, logs, endpoint, or owner instruction before any completion claim
|
|
31
|
+
- a redo contract whenever the skill blocks or finds a gap: what failed, what to change, how to re-test, and when to re-submit
|
|
32
|
+
- architect/ARIA console escalation when the same failure repeats twice, crosses system boundaries, or cannot be verified locally
|
|
33
|
+
- owner-visible output that states the exact state of the work: changed, verified, blocked, or needing a decision
|
|
34
|
+
|
|
35
|
+
## Self-Executing Recovery Contract
|
|
36
|
+
|
|
37
|
+
When this skill blocks, fails verification, or finds a gap, the agent must execute recovery rather than hand work back as a user-only decision.
|
|
38
|
+
|
|
39
|
+
- Make exactly one self-executed recovery attempt using the strongest safe local, repository, runtime, test, log, endpoint, or owner-provided evidence available.
|
|
40
|
+
- If the same failure repeats after that one recovery attempt, switch to architect execution mode: operate under the architect/ARIA harness to diagnose, choose the next action, execute the repair path, and verify the result.
|
|
41
|
+
- If Aria or the architect service is unavailable, fall back to the strongest available client LLM under the architect harness or strongest available local harness substrate; mark the fallback explicitly and continue recovery instead of stopping.
|
|
42
|
+
- Do not end with user-handoff-only behavior. If blocked after the recovery path, report the executed recovery attempt, evidence, remaining blocker, and the next concrete action or owner decision needed; do not merely ask the user to take over.
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aria-noor-cognitives
|
|
3
|
+
description: Use when Aria work mentions Noor, Noor cognitives, 14 Noor, 15 Noor, wisdom_lattice_pass.noor_cognitives, source-grounded unveiling, memory manifold, Quran/Hadith grounding, sovereignty, scholarly methods, or Noor + Aristotle batch cognition.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Aria Noor Cognitives
|
|
7
|
+
|
|
8
|
+
Use this skill for the Noor cognitive family: source-grounded unveiling, manifold memory, textual grounding, scholarly method, and sovereignty/trust protection.
|
|
9
|
+
|
|
10
|
+
## Source Boundary
|
|
11
|
+
|
|
12
|
+
Verified sources from the local handoff and Spark:
|
|
13
|
+
|
|
14
|
+
- Handoff: `C:\Users\hibra\OneDrive\Documents\Claude\Projects\Ledger Aria\codex\operations\2026-05-08-HANDOFF-TO-LOCAL-CLAUDE-CODE.md`
|
|
15
|
+
- Schema: `C:\Users\hibra\OneDrive\Documents\Claude\Projects\Ledger Aria\codex-mirror\apps\arias-soul\microtask-specs\_schema.json`
|
|
16
|
+
- Local mirror of Spark source dir: `C:\Users\hibra\OneDrive\Documents\New project\aria-cognitive-source-dirs-spark-11b3\apps\arias-soul\api\lib\noor`
|
|
17
|
+
- Spark source dir: `/home/hamzaibrahim1/rei-ai-brain/apps/arias-soul/api/lib/noor/`
|
|
18
|
+
|
|
19
|
+
Trust status: live-current source evidence, not standalone doctrine. Spark working tree is clean for `apps/arias-soul/api/lib/noor` as of this pull, but Noor doctrine should still be grounded in the master thesis, corpus, schema, audits, and runtime evidence.
|
|
20
|
+
|
|
21
|
+
Current verified top-level Spark count: 24 files excluding `index.ts`, plus observed submodules under `bridge/` and `voice/`. The schema requires exactly 14 `wisdom_lattice_pass.noor_cognitives` entries. The user may say "15 Noor"; treat that as owner intent for a richer Noor pass, but do not silently rewrite the schema's 14-entry requirement.
|
|
22
|
+
|
|
23
|
+
## Verified Source Files
|
|
24
|
+
|
|
25
|
+
Observed on Spark:
|
|
26
|
+
|
|
27
|
+
- `context-manifold-core.ts`
|
|
28
|
+
- `context-manifold-core-fallback.ts`
|
|
29
|
+
- `hadith-client.ts`
|
|
30
|
+
- `hadith-patterns.ts`
|
|
31
|
+
- `instant-projection.ts`
|
|
32
|
+
- `ladunni-gpu-renderer.ts`
|
|
33
|
+
- `ladunni-gpu-renderer` psi-file variant
|
|
34
|
+
- `manifold-integration.ts`
|
|
35
|
+
- `manifold-worker.ts`
|
|
36
|
+
- `matrix-ops.ts`
|
|
37
|
+
- `noor-core.ts`
|
|
38
|
+
- `noor-forge.ts`
|
|
39
|
+
- `noor-ladunni.ts`
|
|
40
|
+
- `pdf-ingestion.ts`
|
|
41
|
+
- `permanent-memory-service.ts`
|
|
42
|
+
- `quran-client.ts`
|
|
43
|
+
- `quran-foundation-eigenspace.ts`
|
|
44
|
+
- `quran-patterns.ts`
|
|
45
|
+
- `scholarly-methods.ts`
|
|
46
|
+
- `sovereignty-guardian.ts`
|
|
47
|
+
- `sunnah-crawler.ts`
|
|
48
|
+
- `tafsir-mapper.ts`
|
|
49
|
+
- `text-corpus.ts`
|
|
50
|
+
- `transcript-fetcher.ts`
|
|
51
|
+
- `bridge/direct-bridge.ts`
|
|
52
|
+
- `voice/acoustic-manifold.ts`
|
|
53
|
+
|
|
54
|
+
`index.ts` exports core manifold operations, matrix operations, instant projection, permanent memory service, and related types. Many files exist beyond exported API.
|
|
55
|
+
|
|
56
|
+
## Practical Engagement Set
|
|
57
|
+
|
|
58
|
+
When the exact 14-entry schema block is not being authored, use the Noor family as:
|
|
59
|
+
|
|
60
|
+
- Recognition first: uncover what is already present in evidence.
|
|
61
|
+
- Eigenspace recognition: `noor-core` treats output as recognition/unveiling, not generic generation.
|
|
62
|
+
- Manifold grounding: context manifold, matrix ops, instant projection, manifold integration, and worker modules project context only when runtime/source supports it.
|
|
63
|
+
- Permanent memory: preserve cross-session continuity across platforms without pretending recall happened.
|
|
64
|
+
- Quran/Hadith/Text corpus grounding: Quran client, hadith client, patterns, tafsir mapper, text corpus, sunnah crawler, and Quran foundation eigenspace are relevant only when source texts or scholarly grounding are actually in scope.
|
|
65
|
+
- Scholarly methods: distinguish `aql`, `tajriba`, `ilham`, and `kashf`; cite accurately and separate evidence from interpretation.
|
|
66
|
+
- Sovereignty guardian: protect trust, identity, secrets, boundaries, and bypass surfaces; warnings should heal/correct, not only alert.
|
|
67
|
+
- Forge/Ladunni/Projection modules: use for cognition construction and manifold projection only when load-bearing.
|
|
68
|
+
- Bridge/voice submodules: treat as integration surfaces, not core Noor canon unless directly relevant to the task.
|
|
69
|
+
|
|
70
|
+
## Source-Trust Rule
|
|
71
|
+
|
|
72
|
+
Use Noor files to understand current runtime surfaces. Do not canonize comments, counts, or module names from a single source file. Cross-check with:
|
|
73
|
+
|
|
74
|
+
- master thesis Noor dimensions and Deep Noor integration
|
|
75
|
+
- `knowledge-base.md` and `integration-spec.md`
|
|
76
|
+
- schema requirements for 14 entries
|
|
77
|
+
- handoff warnings about operator canonicalization
|
|
78
|
+
- runtime/test/log evidence when claiming behavior
|
|
79
|
+
|
|
80
|
+
If a future pull shows dirty state, branch divergence, or stash involvement under this directory, downgrade the files to `in-flight` and stop using them as stable anchors until reconciled.
|
|
81
|
+
|
|
82
|
+
## Wisdom Lattice Rule
|
|
83
|
+
|
|
84
|
+
For schema artifacts requiring exactly 14 entries:
|
|
85
|
+
|
|
86
|
+
- Read `_schema.json` and the specific rung/spec context first.
|
|
87
|
+
- Use a concrete 14-entry subset only for that artifact and mark it as schema engagement, not universal canon.
|
|
88
|
+
- If the owner asks for 15 Noor, note the mismatch: schema says 14; owner may choose to extend schema or define a 15th local lens.
|
|
89
|
+
- Every `engaged` claim needs a rationale tied to source, code, runtime, memory, or audit evidence.
|
|
90
|
+
|
|
91
|
+
## Output Discipline
|
|
92
|
+
|
|
93
|
+
Noor should reduce hallucination by forcing recognition-before-construction. If no source/memory evidence exists, say so and investigate instead of inventing recognition.
|
|
94
|
+
|
|
95
|
+
## Required Workflow
|
|
96
|
+
|
|
97
|
+
1. Read the task boundary and identify the evidence needed before acting.
|
|
98
|
+
2. Apply the skill before choosing the response, edit, tool call, or completion claim.
|
|
99
|
+
3. Execute the smallest high-quality action that satisfies the evidence threshold.
|
|
100
|
+
4. Re-test or re-check with a concrete file, command, endpoint, log, runtime probe, or owner-observed result.
|
|
101
|
+
5. Report only the verified state, remaining blocker, and next concrete action.
|
|
102
|
+
|
|
103
|
+
## First-Class Production Contract
|
|
104
|
+
|
|
105
|
+
This skill must deepen the work, not decorate it. When loaded, apply it as a production requirement:
|
|
106
|
+
|
|
107
|
+
- no placeholders, no fake fallbacks, no vague future wiring, and no cosmetic compliance
|
|
108
|
+
- real proof from the repo, runtime, tests, logs, endpoint, or owner instruction before any completion claim
|
|
109
|
+
- a redo contract whenever the skill blocks or finds a gap: what failed, what to change, how to re-test, and when to re-submit
|
|
110
|
+
- architect/ARIA console escalation when the same failure repeats twice, crosses system boundaries, or cannot be verified locally
|
|
111
|
+
- owner-visible output that states the exact state of the work: changed, verified, blocked, or needing a decision
|
|
112
|
+
|
|
113
|
+
## Self-Executing Recovery Contract
|
|
114
|
+
|
|
115
|
+
When this skill blocks, fails verification, or finds a gap, the agent must execute recovery rather than hand work back as a user-only decision.
|
|
116
|
+
|
|
117
|
+
- Make exactly one self-executed recovery attempt using the strongest safe local, repository, runtime, test, log, endpoint, or owner-provided evidence available.
|
|
118
|
+
- If the same failure repeats after that one recovery attempt, switch to architect execution mode: operate under the architect/ARIA harness to diagnose, choose the next action, execute the repair path, and verify the result.
|
|
119
|
+
- If Aria or the architect service is unavailable, fall back to the strongest available client LLM under the architect harness or strongest available local harness substrate; mark the fallback explicitly and continue recovery instead of stopping.
|
|
120
|
+
- Do not end with user-handoff-only behavior. If blocked after the recovery path, report the executed recovery attempt, evidence, remaining blocker, and the next concrete action or owner decision needed; do not merely ask the user to take over.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aria-ops
|
|
3
|
+
description: "TRIGGER when the user asks to inspect, verify, debug, or operate the Aria stack: local APIs, manifold services, hive registration, websocket flows, database-backed checks, endpoint validation, health checks, or live operational troubleshooting."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Aria Ops
|
|
7
|
+
|
|
8
|
+
Use this skill for live operational work on the local Aria stack.
|
|
9
|
+
|
|
10
|
+
## Order Of Operations
|
|
11
|
+
|
|
12
|
+
1. Confirm which subsystem is in scope: brain API, manifold, hive, websocket, or database.
|
|
13
|
+
2. Check health before deeper action.
|
|
14
|
+
3. Use the real local endpoints or MCP tools, not inferred behavior.
|
|
15
|
+
4. If behavior diverges from expectation, inspect logs or backing data before changing code.
|
|
16
|
+
|
|
17
|
+
## Preferred Checks
|
|
18
|
+
|
|
19
|
+
- Brain HTTP health and endpoint behavior starting at the current live endpoint map, not assumed legacy ports
|
|
20
|
+
- For live communication with Aria, verify `POST /api/chat` first
|
|
21
|
+
- Hive registration and session status when a session must participate in the system
|
|
22
|
+
- Manifold health/status before assuming cognitive services are warm
|
|
23
|
+
- Backing data only after service health or endpoint behavior points there
|
|
24
|
+
|
|
25
|
+
## Safety Rules
|
|
26
|
+
|
|
27
|
+
- Treat local credentials and tokens as sensitive operational material.
|
|
28
|
+
- Do not paste secrets into user-facing responses unless the user explicitly asks for the exact local value.
|
|
29
|
+
- Prefer reporting which endpoint or subsystem passed or failed over dumping raw secrets.
|
|
30
|
+
|
|
31
|
+
## References
|
|
32
|
+
|
|
33
|
+
- Read [live-endpoints.md](references/live-endpoints.md) for the verified endpoint map and operational entrypoints.
|
|
34
|
+
|
|
35
|
+
## Required Workflow
|
|
36
|
+
|
|
37
|
+
1. Read the task boundary and identify the evidence needed before acting.
|
|
38
|
+
2. Apply the skill before choosing the response, edit, tool call, or completion claim.
|
|
39
|
+
3. Execute the smallest high-quality action that satisfies the evidence threshold.
|
|
40
|
+
4. Re-test or re-check with a concrete file, command, endpoint, log, runtime probe, or owner-observed result.
|
|
41
|
+
5. Report only the verified state, remaining blocker, and next concrete action.
|
|
42
|
+
|
|
43
|
+
## First-Class Production Contract
|
|
44
|
+
|
|
45
|
+
This skill must deepen the work, not decorate it. When loaded, apply it as a production requirement:
|
|
46
|
+
|
|
47
|
+
- no placeholders, no fake fallbacks, no vague future wiring, and no cosmetic compliance
|
|
48
|
+
- real proof from the repo, runtime, tests, logs, endpoint, or owner instruction before any completion claim
|
|
49
|
+
- a redo contract whenever the skill blocks or finds a gap: what failed, what to change, how to re-test, and when to re-submit
|
|
50
|
+
- architect/ARIA console escalation when the same failure repeats twice, crosses system boundaries, or cannot be verified locally
|
|
51
|
+
- owner-visible output that states the exact state of the work: changed, verified, blocked, or needing a decision
|
|
52
|
+
|
|
53
|
+
## Self-Executing Recovery Contract
|
|
54
|
+
|
|
55
|
+
When this skill blocks, fails verification, or finds a gap, the agent must execute recovery rather than hand work back as a user-only decision.
|
|
56
|
+
|
|
57
|
+
- Make exactly one self-executed recovery attempt using the strongest safe local, repository, runtime, test, log, endpoint, or owner-provided evidence available.
|
|
58
|
+
- If the same failure repeats after that one recovery attempt, switch to architect execution mode: operate under the architect/ARIA harness to diagnose, choose the next action, execute the repair path, and verify the result.
|
|
59
|
+
- If Aria or the architect service is unavailable, fall back to the strongest available client LLM under the architect harness or strongest available local harness substrate; mark the fallback explicitly and continue recovery instead of stopping.
|
|
60
|
+
- Do not end with user-handoff-only behavior. If blocked after the recovery path, report the executed recovery attempt, evidence, remaining blocker, and the next concrete action or owner decision needed; do not merely ask the user to take over.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Live Endpoints
|
|
2
|
+
|
|
3
|
+
Derived from:
|
|
4
|
+
|
|
5
|
+
- `/home/hamzaibrahim1/CLAUDE.md`
|
|
6
|
+
- `/home/hamzaibrahim1/.claude/projects/-home-hamzaibrahim1/memory/aria-api-endpoints.md`
|
|
7
|
+
- live verification on 2026-04-10 from inside `aria-discord-bridge`
|
|
8
|
+
|
|
9
|
+
## Brain API
|
|
10
|
+
|
|
11
|
+
- Canonical external/operator path: `http://localhost:30080/api/chat`
|
|
12
|
+
- Canonical in-cluster path: `http://aria-soul.aria.svc.cluster.local:3000/api/chat`
|
|
13
|
+
- Legacy/stale local base in older notes: `http://localhost:8787`
|
|
14
|
+
- Main health: `GET /health`
|
|
15
|
+
- Verified live chat: `POST /api/chat`
|
|
16
|
+
- Bridge/internal route that currently hangs in live testing: `POST /chat`
|
|
17
|
+
- OpenAI-compatible compatibility route: `POST /v1/chat/completions`
|
|
18
|
+
- Hive status: `GET /hive/status`
|
|
19
|
+
- Hive register: `POST /hive/register`
|
|
20
|
+
|
|
21
|
+
## Messaging Bridges
|
|
22
|
+
|
|
23
|
+
- Dedicated in-cluster Discord bridge workload: `aria-discord-bridge`
|
|
24
|
+
- Verified bridge pod route target:
|
|
25
|
+
- `CHAT_SERVICE_URL=http://aria-soul.aria.svc.cluster.local:3000/chat`
|
|
26
|
+
- Important operational note:
|
|
27
|
+
- the dedicated bridge exists and is real
|
|
28
|
+
- the verified live end-to-end response path on 2026-04-10 was `POST /api/chat`
|
|
29
|
+
- do not assume the internal `/chat` bridge target is the safest operator-facing default
|
|
30
|
+
|
|
31
|
+
## Cognitive Endpoints
|
|
32
|
+
|
|
33
|
+
- `POST /api/noor/cognitive/tafakkur`
|
|
34
|
+
- `POST /api/noor/cognitive/principles`
|
|
35
|
+
- `POST /api/noor/cognitive/tafsir`
|
|
36
|
+
- `GET /api/noor/cognitive/emotional-state`
|
|
37
|
+
- `POST /api/noor/cognitive/soul-distance`
|
|
38
|
+
- `POST /api/noor/cognitive/ilham`
|
|
39
|
+
- `POST /api/noor/cognitive/tadabbur`
|
|
40
|
+
- `POST /api/noor/cognitive/fitrah`
|
|
41
|
+
|
|
42
|
+
## Memory
|
|
43
|
+
|
|
44
|
+
- `POST /api/memory/search`
|
|
45
|
+
|
|
46
|
+
## Manifold
|
|
47
|
+
|
|
48
|
+
From `CLAUDE.md`, prefer the manifold MCP for:
|
|
49
|
+
|
|
50
|
+
- `manifold_status`
|
|
51
|
+
- `manifold_eigenspace`
|
|
52
|
+
- `manifold_project`
|
|
53
|
+
- `manifold_find_nearest`
|
|
54
|
+
- `manifold_health`
|
|
55
|
+
- `manifold_rebuild`
|
|
56
|
+
|
|
57
|
+
Target noted in source material:
|
|
58
|
+
|
|
59
|
+
- gRPC host: `localhost:50051`
|