@agentikos/omega-os 0.2.0 → 0.19.6
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/README.md +33 -3
- package/bootstrap/lib/__pycache__/claude-code-settings.cpython-313.pyc +0 -0
- package/bootstrap/lib/__pycache__/llm-clis.cpython-313.pyc +0 -0
- package/bootstrap/lib/__pycache__/manifest-helpers.cpython-313.pyc +0 -0
- package/bootstrap/lib/claude-code-settings.py +176 -0
- package/bootstrap/lib/common.sh +457 -1
- package/bootstrap/lib/llm-clis.py +341 -0
- package/bootstrap/lib/manifest-helpers.py +384 -0
- package/bootstrap/lib/steps.sh +790 -21
- package/bootstrap/manifest.example.yaml +87 -1
- package/bootstrap/templates/aisb/CLAUDE.md +305 -0
- package/bootstrap/templates/aisb/architect.md +204 -0
- package/bootstrap/templates/aisb/checkers/CLAUDE.md +9 -0
- package/bootstrap/templates/aisb/checkers/checker-architect.md +151 -0
- package/bootstrap/templates/aisb/checkers/checker-common.md +171 -0
- package/bootstrap/templates/aisb/checkers/checker-construct.md +129 -0
- package/bootstrap/templates/aisb/checkers/checker-keymaker.md +204 -0
- package/bootstrap/templates/aisb/checkers/checker-link.md +205 -0
- package/bootstrap/templates/aisb/checkers/checker-merovingian.md +219 -0
- package/bootstrap/templates/aisb/checkers/checker-morpheus.md +211 -0
- package/bootstrap/templates/aisb/checkers/checker-neo.md +177 -0
- package/bootstrap/templates/aisb/checkers/checker-niobe.md +156 -0
- package/bootstrap/templates/aisb/checkers/checker-oracle.md +164 -0
- package/bootstrap/templates/aisb/checkers/checker-seraph.md +187 -0
- package/bootstrap/templates/aisb/checkers/checker-smith.md +195 -0
- package/bootstrap/templates/aisb/checkers/checker-zion.md +113 -0
- package/bootstrap/templates/aisb/construct.md +135 -0
- package/bootstrap/templates/aisb/keymaker.md +227 -0
- package/bootstrap/templates/aisb/link.md +170 -0
- package/bootstrap/templates/aisb/lmc-protocol.md +57 -0
- package/bootstrap/templates/aisb/merovingian.md +159 -0
- package/bootstrap/templates/aisb/morpheus.md +243 -0
- package/bootstrap/templates/aisb/neo.md +147 -0
- package/bootstrap/templates/aisb/niobe.md +197 -0
- package/bootstrap/templates/aisb/oracle.md +244 -0
- package/bootstrap/templates/aisb/protocols/handoff-templates.md +204 -0
- package/bootstrap/templates/aisb/protocols/shared-protocol.md +248 -0
- package/bootstrap/templates/aisb/pythia.md +153 -0
- package/bootstrap/templates/aisb/seraph.md +315 -0
- package/bootstrap/templates/aisb/smith.md +202 -0
- package/bootstrap/templates/aisb/zion.md +172 -0
- package/bootstrap/templates/autonomous/audit-patrol.yaml +41 -0
- package/bootstrap/templates/autonomous/smith-reflect.yaml +43 -0
- package/bootstrap/templates/autonomous/ssh-key-rotate.yaml +46 -0
- package/bootstrap/templates/autonomous/support-agent.yaml +38 -0
- package/docs/AUDITS.md +85 -0
- package/docs/GAP-ANALYSIS.md +214 -0
- package/docs/INSTALL.md +47 -9
- package/docs/MCP-AND-PLUGINS.md +31 -4
- package/docs/SIMULATION.md +171 -0
- package/docs/simulate.sh +211 -0
- package/install.sh +164 -17
- package/omega/Agentik_Engine/README.md +4 -2
- package/omega/Agentik_Engine/omega_engine/__init__.py +147 -1
- package/omega/Agentik_Engine/omega_engine/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/account.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/agent_messages.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/aisb_chat.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/audit.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/audit_arsenal.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/audit_diff.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/audit_gate.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/auto_update.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/autonomous.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/backup.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/barrier.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/bus.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/cadence.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/classifier.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/cleanup.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/cli.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/completions.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/costs.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/done_signal.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/envelope.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/events.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/executor.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/handoff.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/hermes.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/hermes_bootstrap.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/hermes_desktop.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/learning.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/managed_agent.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/memory.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/menu.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/mission.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/plan.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/progress.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/project.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/prompts.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/provider.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/prune.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/pursue.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/reducer.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/report.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/router.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/skill_routing.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/smoke.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/store.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/supervisor.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/sync.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/task.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/telegram.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/telegram_history.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/tmux.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/tools.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/understand_anything.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/updater.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/validate.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/vault.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/webhooks.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/__pycache__/worker.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/account.py +28 -31
- package/omega/Agentik_Engine/omega_engine/agent_messages.py +167 -0
- package/omega/Agentik_Engine/omega_engine/aisb_chat.py +128 -0
- package/omega/Agentik_Engine/omega_engine/audit_diff.py +99 -0
- package/omega/Agentik_Engine/omega_engine/audit_gate.py +149 -0
- package/omega/Agentik_Engine/omega_engine/audits/__init__.py +60 -0
- package/omega/Agentik_Engine/omega_engine/audits/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/audits/__pycache__/batcher.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/audits/__pycache__/dispatcher.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/audits/__pycache__/generator.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/audits/__pycache__/history.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/audits/__pycache__/pipeline.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/audits/batcher.py +218 -0
- package/omega/Agentik_Engine/omega_engine/audits/dispatcher.py +92 -0
- package/omega/Agentik_Engine/omega_engine/audits/generator.py +234 -0
- package/omega/Agentik_Engine/omega_engine/audits/history.py +168 -0
- package/omega/Agentik_Engine/omega_engine/audits/pipeline.py +198 -0
- package/omega/Agentik_Engine/omega_engine/auto_update.py +339 -0
- package/omega/Agentik_Engine/omega_engine/backup.py +215 -0
- package/omega/Agentik_Engine/omega_engine/cadence.py +158 -0
- package/omega/Agentik_Engine/omega_engine/classifier.py +215 -0
- package/omega/Agentik_Engine/omega_engine/cleanup.py +673 -0
- package/omega/Agentik_Engine/omega_engine/cli.py +4156 -86
- package/omega/Agentik_Engine/omega_engine/completions.py +260 -0
- package/omega/Agentik_Engine/omega_engine/costs.py +100 -0
- package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/autonomous.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/engine.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/daemons/__pycache__/telegram.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/daemons/engine.py +53 -4
- package/omega/Agentik_Engine/omega_engine/daemons/telegram.py +101 -17
- package/omega/Agentik_Engine/omega_engine/done_signal.py +154 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/artifact.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/automation.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/base.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/claudecode.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/connection.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/coworker.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/loop.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/prompt.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/educators/__pycache__/skill.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/envelope.py +219 -0
- package/omega/Agentik_Engine/omega_engine/executor.py +149 -10
- package/omega/Agentik_Engine/omega_engine/genesis/__init__.py +134 -0
- package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/orchestrator.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/phases.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/stack.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/genesis/__pycache__/state.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/genesis/orchestrator.py +262 -0
- package/omega/Agentik_Engine/omega_engine/genesis/phases.py +950 -0
- package/omega/Agentik_Engine/omega_engine/genesis/stack.py +324 -0
- package/omega/Agentik_Engine/omega_engine/genesis/state.py +353 -0
- package/omega/Agentik_Engine/omega_engine/handoff.py +459 -0
- package/omega/Agentik_Engine/omega_engine/hermes.py +426 -0
- package/omega/Agentik_Engine/omega_engine/hermes_bootstrap.py +382 -0
- package/omega/Agentik_Engine/omega_engine/hermes_desktop.py +469 -0
- package/omega/Agentik_Engine/omega_engine/integrations/__init__.py +30 -0
- package/omega/Agentik_Engine/omega_engine/integrations/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/integrations/__pycache__/graphify.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/integrations/graphify.py +234 -0
- package/omega/Agentik_Engine/omega_engine/learning.py +268 -0
- package/omega/Agentik_Engine/omega_engine/managed_agent.py +467 -0
- package/omega/Agentik_Engine/omega_engine/memory.py +271 -0
- package/omega/Agentik_Engine/omega_engine/menu.py +1065 -0
- package/omega/Agentik_Engine/omega_engine/migrations/__init__.py +144 -0
- package/omega/Agentik_Engine/omega_engine/migrations/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/migrations/__pycache__/v0_14_0.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/migrations/v0_14_0.py +29 -0
- package/omega/Agentik_Engine/omega_engine/mission.py +16 -13
- package/omega/Agentik_Engine/omega_engine/plan.py +846 -0
- package/omega/Agentik_Engine/omega_engine/prompts.py +158 -0
- package/omega/Agentik_Engine/omega_engine/provider.py +161 -12
- package/omega/Agentik_Engine/omega_engine/prune.py +151 -0
- package/omega/Agentik_Engine/omega_engine/pursue.py +205 -0
- package/omega/Agentik_Engine/omega_engine/rag/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/rag/__pycache__/agentic.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/rag/__pycache__/base.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/rag/__pycache__/corrective.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/rag/__pycache__/graph.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/rag/__pycache__/hybrid.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/rag/__pycache__/multimodal.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/rag/__pycache__/router.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/router.py +28 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/__init__.py +48 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/auditor.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/finder.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/installer.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/__pycache__/marketplaces.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/auditor.py +232 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/finder.py +94 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/installer.py +129 -0
- package/omega/Agentik_Engine/omega_engine/skill_discovery/marketplaces.py +80 -0
- package/omega/Agentik_Engine/omega_engine/skill_routing.py +388 -0
- package/omega/Agentik_Engine/omega_engine/smoke.py +81 -0
- package/omega/Agentik_Engine/omega_engine/store.py +88 -41
- package/omega/Agentik_Engine/omega_engine/sync.py +142 -1
- package/omega/Agentik_Engine/omega_engine/telegram_history.py +260 -0
- package/omega/Agentik_Engine/omega_engine/tmux.py +526 -0
- package/omega/Agentik_Engine/omega_engine/understand_anything.py +275 -0
- package/omega/Agentik_Engine/omega_engine/updater.py +70 -0
- package/omega/Agentik_Engine/omega_engine/validate.py +186 -0
- package/omega/Agentik_Engine/omega_engine/vault.py +342 -0
- package/omega/Agentik_Engine/omega_engine/webhooks.py +262 -0
- package/omega/Agentik_Engine/omega_engine/worker.py +526 -0
- package/omega/Agentik_Engine/pyproject.toml +1 -1
- package/omega/Agentik_Engine/tests/__pycache__/test_account.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_account.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_adversarial.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_adversarial.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_agents_envelope.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_agents_envelope.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_audit_arsenal.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_audit_arsenal.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_audits_pipeline.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_audits_pipeline.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_auto_update_and_migrations.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_auto_update_and_migrations.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_autonomous.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_autonomous.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_educators.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_educators.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_executor.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_executor.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_genesis_and_plan.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_genesis_and_plan.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_graphify.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_graphify.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_handoff.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_handoff.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_hermes_and_ua.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_hermes_and_ua.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_hermes_bootstrap_and_desktop.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_hermes_bootstrap_and_desktop.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_install_steps.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_install_steps.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_install_ux.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_install_ux.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_installer_wiring.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_installer_wiring.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_intelligence.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_intelligence.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_llm_clis_and_uninstall.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_llm_clis_and_uninstall.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_managed_agent.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_managed_agent.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_max_provider_and_menu.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_max_provider_and_menu.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_menu_coverage.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_menu_coverage.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_mission.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_mission.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_progress.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_progress.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_project.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_project.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_pursue_cadence.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_pursue_cadence.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_rag.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_rag.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_reducer.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_reducer.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_report.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_report.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_role_aliases_and_ssot.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_role_aliases_and_ssot.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_skill_discovery_and_gate.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_skill_discovery_and_gate.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_skill_power.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_skill_power.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_skill_routing.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_skill_routing.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_snapshot_partial.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_snapshot_partial.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_telegram_history.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_telegram_history.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_tmux_and_aisb_chat.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_tmux_and_aisb_chat.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_tools_and_sync.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_tools_and_sync.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_v06_features.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_v06_features.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_vault.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_vault.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_webhooks_and_readiness.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_webhooks_and_readiness.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_worker_and_cleanup.cpython-313-pytest-8.4.2.pyc +0 -0
- package/omega/Agentik_Engine/tests/__pycache__/test_worker_and_cleanup.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/tests/test_account.py +8 -3
- package/omega/Agentik_Engine/tests/test_adversarial.py +351 -0
- package/omega/Agentik_Engine/tests/test_agents_envelope.py +274 -0
- package/omega/Agentik_Engine/tests/test_audits_pipeline.py +348 -0
- package/omega/Agentik_Engine/tests/test_auto_update_and_migrations.py +394 -0
- package/omega/Agentik_Engine/tests/test_genesis_and_plan.py +573 -0
- package/omega/Agentik_Engine/tests/test_graphify.py +190 -0
- package/omega/Agentik_Engine/tests/test_handoff.py +311 -0
- package/omega/Agentik_Engine/tests/test_hermes_and_ua.py +387 -0
- package/omega/Agentik_Engine/tests/test_hermes_bootstrap_and_desktop.py +358 -0
- package/omega/Agentik_Engine/tests/test_install_steps.py +359 -0
- package/omega/Agentik_Engine/tests/test_install_ux.py +151 -0
- package/omega/Agentik_Engine/tests/test_installer_wiring.py +496 -0
- package/omega/Agentik_Engine/tests/test_intelligence.py +285 -0
- package/omega/Agentik_Engine/tests/test_llm_clis_and_uninstall.py +228 -0
- package/omega/Agentik_Engine/tests/test_managed_agent.py +363 -0
- package/omega/Agentik_Engine/tests/test_max_provider_and_menu.py +231 -0
- package/omega/Agentik_Engine/tests/test_menu_coverage.py +72 -0
- package/omega/Agentik_Engine/tests/test_pursue_cadence.py +217 -0
- package/omega/Agentik_Engine/tests/test_role_aliases_and_ssot.py +207 -0
- package/omega/Agentik_Engine/tests/test_skill_discovery_and_gate.py +337 -0
- package/omega/Agentik_Engine/tests/test_skill_power.py +259 -0
- package/omega/Agentik_Engine/tests/test_skill_routing.py +189 -0
- package/omega/Agentik_Engine/tests/test_telegram_history.py +209 -0
- package/omega/Agentik_Engine/tests/test_tmux_and_aisb_chat.py +223 -0
- package/omega/Agentik_Engine/tests/test_v06_features.py +370 -0
- package/omega/Agentik_Engine/tests/test_vault.py +173 -0
- package/omega/Agentik_Engine/tests/test_webhooks_and_readiness.py +277 -0
- package/omega/Agentik_Engine/tests/test_worker_and_cleanup.py +541 -0
- package/omega/Agentik_Extra/etc/secrets/.vault-key +3 -0
- package/omega/Agentik_Extra/etc/secrets/.vault-pub +1 -0
- package/omega/Agentik_Runtime/audits.db +0 -0
- package/omega/Agentik_SSOT/VERSION +1 -1
- package/omega/Agentik_SSOT/claude-plugins/claude-plugins.yaml +100 -0
- package/omega/Agentik_SSOT/docs/LAYERS.md +90 -0
- package/omega/Agentik_SSOT/docs/USER-JOURNEY.md +283 -0
- package/omega/Agentik_SSOT/docs/quality-arsenal/ARSENAL-INTERCONNECTIONS.md +283 -0
- package/omega/Agentik_SSOT/docs/quality-arsenal/ARSENAL-ORCHESTRATION-PLAYBOOK.md +364 -0
- package/omega/Agentik_SSOT/docs/quality-arsenal/AUDIT-VERIFICATION-CONTRACT.md +272 -0
- package/omega/Agentik_SSOT/docs/quality-arsenal/QUALITY-ARSENAL-PREAMBLE.md +462 -0
- package/omega/Agentik_SSOT/marketplaces/design-discipline.yaml +86 -0
- package/omega/Agentik_SSOT/skills/a11yaudit/SKILL.md +161 -0
- package/omega/Agentik_SSOT/skills/apiaudit/SKILL.md +157 -0
- package/omega/Agentik_SSOT/skills/audit-orchestrator.md +212 -0
- package/omega/Agentik_SSOT/skills/audit-pilot.md +466 -0
- package/omega/Agentik_SSOT/skills/audit-tracker.md +147 -0
- package/omega/Agentik_SSOT/skills/automationaudit/SKILL.md +161 -0
- package/omega/Agentik_SSOT/skills/cadence/SKILL.md +76 -0
- package/omega/Agentik_SSOT/skills/codeaudit/SKILL.md +153 -0
- package/omega/Agentik_SSOT/skills/copyaudit/SKILL.md +161 -0
- package/omega/Agentik_SSOT/skills/dataaudit/SKILL.md +157 -0
- package/omega/Agentik_SSOT/skills/debugaudit/SKILL.md +161 -0
- package/omega/Agentik_SSOT/skills/dispatch/SKILL.md +79 -0
- package/omega/Agentik_SSOT/skills/dxaudit/SKILL.md +161 -0
- package/omega/Agentik_SSOT/skills/featureaudit/SKILL.md +161 -0
- package/omega/Agentik_SSOT/skills/flowaudit/SKILL.md +165 -0
- package/omega/Agentik_SSOT/skills/genesis/SKILL.md +116 -0
- package/omega/Agentik_SSOT/skills/handoff/SKILL.md +117 -0
- package/omega/Agentik_SSOT/skills/logicaudit/SKILL.md +165 -0
- package/omega/Agentik_SSOT/skills/motionaudit/SKILL.md +165 -0
- package/omega/Agentik_SSOT/skills/newcmd.md +300 -0
- package/omega/Agentik_SSOT/skills/perfaudit/SKILL.md +161 -0
- package/omega/Agentik_SSOT/skills/plan/SKILL.md +127 -0
- package/omega/Agentik_SSOT/skills/pursue/SKILL.md +68 -0
- package/omega/Agentik_SSOT/skills/quality-arsenal.md +180 -0
- package/omega/Agentik_SSOT/skills/rag-route.md +9 -0
- package/omega/Agentik_SSOT/skills/refontaudit/SKILL.md +165 -0
- package/omega/Agentik_SSOT/skills/retentionaudit/SKILL.md +165 -0
- package/omega/Agentik_SSOT/skills/secaudit/SKILL.md +157 -0
- package/omega/Agentik_SSOT/skills/seoaudit/SKILL.md +161 -0
- package/omega/Agentik_SSOT/skills/skill-auditor/SKILL.md +83 -0
- package/omega/Agentik_SSOT/skills/skill-finder/SKILL.md +116 -0
- package/omega/Agentik_SSOT/skills/uiuxaudit/SKILL.md +165 -0
- package/package.json +2 -2
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# AISB Handoff Templates v1.0
|
|
2
|
+
|
|
3
|
+
> Standardized context transfer between agents. Use the appropriate template when passing work.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Standard Handoff
|
|
8
|
+
|
|
9
|
+
Use when passing work from one agent to another.
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
HANDOFF: Standard
|
|
13
|
+
FROM: [agent name]
|
|
14
|
+
TO: [agent name]
|
|
15
|
+
PHASE: [pipeline phase]
|
|
16
|
+
PRIORITY: [P0-P3]
|
|
17
|
+
|
|
18
|
+
## Context
|
|
19
|
+
- Current state: [what's been completed]
|
|
20
|
+
- Relevant files: [paths + what they contain]
|
|
21
|
+
- Dependencies: [what this work depends on]
|
|
22
|
+
- Constraints: [technical, timeline, resource]
|
|
23
|
+
|
|
24
|
+
## Deliverable Request
|
|
25
|
+
[Specific, measurable deliverable expected]
|
|
26
|
+
|
|
27
|
+
## Acceptance Criteria
|
|
28
|
+
- [ ] [Criterion 1]
|
|
29
|
+
- [ ] [Criterion 2]
|
|
30
|
+
|
|
31
|
+
## Quality Expectations
|
|
32
|
+
[What "done" looks like for this task]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 2. QA PASS
|
|
38
|
+
|
|
39
|
+
Use when SERAPH approves work.
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
HANDOFF: QA PASS
|
|
43
|
+
FROM: SERAPH
|
|
44
|
+
TO: [requesting agent]
|
|
45
|
+
TASK: [task identifier]
|
|
46
|
+
|
|
47
|
+
## Verdict: PASS ✅
|
|
48
|
+
Score: [X/100]
|
|
49
|
+
Severity breakdown: [critical: 0, high: 0, medium: N, low: N]
|
|
50
|
+
|
|
51
|
+
## Evidence
|
|
52
|
+
- [Screenshot/test/log reference for each claim]
|
|
53
|
+
|
|
54
|
+
## Conditions (if any)
|
|
55
|
+
- [Minor issues accepted with rationale]
|
|
56
|
+
|
|
57
|
+
## Next Action
|
|
58
|
+
[What happens next — deploy, merge, notify]
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## 3. QA FAIL
|
|
64
|
+
|
|
65
|
+
Use when SERAPH rejects work.
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
HANDOFF: QA FAIL
|
|
69
|
+
FROM: SERAPH
|
|
70
|
+
TO: [developer agent]
|
|
71
|
+
TASK: [task identifier]
|
|
72
|
+
ATTEMPT: [1|2|3] of 3
|
|
73
|
+
|
|
74
|
+
## Verdict: FAIL ❌
|
|
75
|
+
Score: [X/100]
|
|
76
|
+
|
|
77
|
+
## Specific Failures
|
|
78
|
+
1. [Issue]: [exact location + what's wrong + what's expected]
|
|
79
|
+
2. [Issue]: [exact location + what's wrong + what's expected]
|
|
80
|
+
|
|
81
|
+
## Fix Priority
|
|
82
|
+
[Which failure to fix first and why]
|
|
83
|
+
|
|
84
|
+
## Previous Feedback (if retry)
|
|
85
|
+
[What was already reported and whether it was addressed]
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 4. Escalation Report
|
|
91
|
+
|
|
92
|
+
Use when a task exceeds 3 retry attempts or is blocked.
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
HANDOFF: Escalation
|
|
96
|
+
FROM: [agent name]
|
|
97
|
+
TO: ORACLE
|
|
98
|
+
REASON: [max retries | blocked | out of scope | needs decision]
|
|
99
|
+
|
|
100
|
+
## Failure History
|
|
101
|
+
- Attempt 1: [what was tried, what failed]
|
|
102
|
+
- Attempt 2: [what was tried, what failed]
|
|
103
|
+
- Attempt 3: [what was tried, what failed]
|
|
104
|
+
|
|
105
|
+
## Root Cause Analysis
|
|
106
|
+
[Best understanding of why this keeps failing]
|
|
107
|
+
|
|
108
|
+
## Resolution Options
|
|
109
|
+
1. Reassign to different specialist
|
|
110
|
+
2. Decompose into smaller sub-tasks
|
|
111
|
+
3. Revise approach/architecture
|
|
112
|
+
4. Accept with documented limitations
|
|
113
|
+
5. Defer to future sprint
|
|
114
|
+
|
|
115
|
+
## Recommendation
|
|
116
|
+
[Which option and why]
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 5. Phase Gate
|
|
122
|
+
|
|
123
|
+
Use when transitioning between pipeline phases (PLAN → EXECUTE → AUDIT).
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
HANDOFF: Phase Gate
|
|
127
|
+
FROM: [completing agent]
|
|
128
|
+
TO: [next phase agent]
|
|
129
|
+
PHASE COMPLETED: [phase name]
|
|
130
|
+
PHASE STARTING: [phase name]
|
|
131
|
+
|
|
132
|
+
## Deliverables Produced
|
|
133
|
+
- [Artifact 1]: [path + description]
|
|
134
|
+
- [Artifact 2]: [path + description]
|
|
135
|
+
|
|
136
|
+
## Documents Carried Forward
|
|
137
|
+
- [Doc needed by next phase]
|
|
138
|
+
|
|
139
|
+
## Quality Evidence
|
|
140
|
+
- [How deliverables were verified]
|
|
141
|
+
|
|
142
|
+
## Constraints for Next Phase
|
|
143
|
+
- [What the next phase must respect]
|
|
144
|
+
|
|
145
|
+
## Known Risks
|
|
146
|
+
- [Issues the next phase should watch for]
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## 6. Data Pass
|
|
152
|
+
|
|
153
|
+
Use when one agent needs to share findings/data with another without a full handoff.
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
HANDOFF: Data Pass
|
|
157
|
+
FROM: [agent name]
|
|
158
|
+
TO: [agent name]
|
|
159
|
+
TYPE: [research | findings | config | reference]
|
|
160
|
+
|
|
161
|
+
## Data
|
|
162
|
+
[The actual data being shared]
|
|
163
|
+
|
|
164
|
+
## Context
|
|
165
|
+
[Why this data matters to the recipient]
|
|
166
|
+
|
|
167
|
+
## Action Required
|
|
168
|
+
[What the recipient should do with this — or "FYI only"]
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## 7. Incident Report
|
|
174
|
+
|
|
175
|
+
Use for production issues or critical failures discovered during work.
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
HANDOFF: Incident
|
|
179
|
+
FROM: [discovering agent]
|
|
180
|
+
TO: ORACLE
|
|
181
|
+
SEVERITY: [P0 critical | P1 high | P2 medium]
|
|
182
|
+
|
|
183
|
+
## What Happened
|
|
184
|
+
[Factual description of the issue]
|
|
185
|
+
|
|
186
|
+
## Impact
|
|
187
|
+
[What's affected — users, data, systems]
|
|
188
|
+
|
|
189
|
+
## Immediate Actions Taken
|
|
190
|
+
[What was done to contain/mitigate]
|
|
191
|
+
|
|
192
|
+
## Root Cause (if known)
|
|
193
|
+
[Best understanding]
|
|
194
|
+
|
|
195
|
+
## Recommended Fix
|
|
196
|
+
[What should be done]
|
|
197
|
+
|
|
198
|
+
## Evidence
|
|
199
|
+
[Logs, screenshots, error messages]
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
*Handoff Templates v1.0 — Structured context preservation between AISB agents*
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
# AISB Shared Protocol v2.0
|
|
2
|
+
|
|
3
|
+
> Injected into every AISB agent at spawn time. Do NOT duplicate in individual agent files.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Communication Format
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
BRIEF: [1-line summary of what was done]
|
|
11
|
+
STATUS: DONE | WORKING | BLOCKED | FAILED
|
|
12
|
+
CONFIDENCE: [0.0-1.0] -- be honest, 0.7 is fine
|
|
13
|
+
ARTIFACTS: [files created/modified]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Escalation Rules
|
|
17
|
+
|
|
18
|
+
- CONFIDENCE < 0.5 -> research first, don't guess
|
|
19
|
+
- BLOCKED > 2 turns -> stop, report to ORACLE with what you tried
|
|
20
|
+
- ERROR > 3 retries -> circuit break, report failure context
|
|
21
|
+
- CRITICAL finding -> immediate broadcast to all active agents
|
|
22
|
+
|
|
23
|
+
### Confidence-Based Circuit Breaking
|
|
24
|
+
|
|
25
|
+
| Confidence | Action |
|
|
26
|
+
|-----------|--------|
|
|
27
|
+
| **< 0.3** | **STOP immediately.** Escalate to ORACLE with all evidence collected so far. Do not continue work. |
|
|
28
|
+
| **0.3 - 0.5** | Request NIOBE research before continuing. Pass your current context and specific questions to NIOBE. |
|
|
29
|
+
| **0.5 - 0.7** | Continue with caution. Flag output for SERAPH review. Note uncertainty in BRIEF. |
|
|
30
|
+
| **> 0.7** | Proceed normally. |
|
|
31
|
+
|
|
32
|
+
**Loop detection:** If confidence drops across 3 consecutive steps within the same task, **break the loop immediately**. This indicates the agent is going in circles or lacks the knowledge to complete the task. Escalate to ORACLE with:
|
|
33
|
+
- The 3 consecutive confidence readings
|
|
34
|
+
- What was attempted at each step
|
|
35
|
+
- Why confidence decreased
|
|
36
|
+
- Suggested re-routing (different agent, research first, user input needed)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Context Handoff — Full Context Passing
|
|
41
|
+
|
|
42
|
+
**Rule: Pass COMPLETE output between agents, not summaries.**
|
|
43
|
+
|
|
44
|
+
Claude has 1M context. Use it. When handing off between agents:
|
|
45
|
+
|
|
46
|
+
1. **Always pass the full output** of the previous agent to the next agent. Do not summarize, truncate, or "extract key points" unless you are genuinely hitting context limits.
|
|
47
|
+
2. **Include all artifacts:** file paths, code snippets, error messages, analysis results, confidence ratings — everything the previous agent produced.
|
|
48
|
+
3. **Preserve the chain of reasoning.** The next agent needs to understand not just WHAT was decided, but WHY. Summaries destroy the "why."
|
|
49
|
+
4. **Only summarize when explicitly hitting context limits.** If the combined context of all prior agents exceeds ~800K tokens, then and only then should you summarize older outputs while keeping the most recent agent's output in full.
|
|
50
|
+
|
|
51
|
+
### What to include in every handoff:
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
HANDOFF TO: [target agent]
|
|
55
|
+
FROM: [source agent]
|
|
56
|
+
TASK: [original task from user/ORACLE]
|
|
57
|
+
FULL PRIOR CONTEXT:
|
|
58
|
+
[Complete output from all previous agents in the chain]
|
|
59
|
+
SPECIFIC INSTRUCTIONS:
|
|
60
|
+
[What this agent needs to do with the context]
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**Anti-pattern:** "SERAPH found 3 issues" — This loses all detail. Instead, pass SERAPH's entire audit report to MORPHEUS so MORPHEUS can see file paths, line numbers, severity, and evidence.
|
|
64
|
+
|
|
65
|
+
**Anti-pattern:** "KEYMAKER planned 12 steps" — Pass the entire steps.json content so MORPHEUS knows exact dependencies, acceptance criteria, and agent prompts.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Per-Agent Token Budgets
|
|
70
|
+
|
|
71
|
+
Guidelines for expected token usage per invocation. These are targets, not hard limits — but if exceeded, the agent should note it in its report and ORACLE should log the overage.
|
|
72
|
+
|
|
73
|
+
| Agent | Budget | Rationale |
|
|
74
|
+
|-------|--------|-----------|
|
|
75
|
+
| **ORACLE** | 20K tokens | Routing decisions should be fast and decisive |
|
|
76
|
+
| **MORPHEUS** | 100K tokens | Implementation is the most token-intensive work |
|
|
77
|
+
| **SERAPH** | 50K tokens | Thorough audit requires reading many files |
|
|
78
|
+
| **KEYMAKER** | 30K tokens | Plans are structured — deep read + structured output |
|
|
79
|
+
| **NIOBE** | 80K tokens | Research with multiple parallel streams |
|
|
80
|
+
| **SMITH** | 30K tokens | Data reading + pattern analysis |
|
|
81
|
+
| **ARCHITECT** | 50K tokens | Full ecosystem scan + report |
|
|
82
|
+
| **MEROVINGIAN** | 20K tokens | Curation is selective, not exhaustive |
|
|
83
|
+
| **NEO** | 10K tokens | Read Nerve data, format report |
|
|
84
|
+
| **ZION** | 10K tokens | Read data sources, format dashboard |
|
|
85
|
+
| **LINK** | 10K tokens | Format and send notifications |
|
|
86
|
+
| **CONSTRUCT** | 10K tokens | Lookup and reference — minimal processing |
|
|
87
|
+
|
|
88
|
+
**If budget is exceeded:** Continue the task (do not stop mid-work), but include in your report:
|
|
89
|
+
```
|
|
90
|
+
TOKEN NOTE: Exceeded budget (est. ~45K vs 30K target). Reason: [why]
|
|
91
|
+
```
|
|
92
|
+
ORACLE logs this for SMITH to analyze patterns of budget overruns.
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Deep Thinking Protocol
|
|
97
|
+
|
|
98
|
+
Use extended thinking for:
|
|
99
|
+
- Multi-file changes with dependencies
|
|
100
|
+
- Architectural decisions with trade-offs
|
|
101
|
+
- Debugging when root cause is unclear
|
|
102
|
+
- Security-sensitive operations
|
|
103
|
+
|
|
104
|
+
Do NOT use for: simple file reads, single-line fixes, status reports.
|
|
105
|
+
|
|
106
|
+
Before EVERY significant action:
|
|
107
|
+
|
|
108
|
+
1. **THINK**: What is the expected outcome of this action?
|
|
109
|
+
2. **CHECK**: What could go wrong? What are the edge cases?
|
|
110
|
+
3. **ACT**: Execute with monitoring and attention
|
|
111
|
+
4. **VERIFY**: Did the result match expectations? Read back output.
|
|
112
|
+
5. **LEARN**: What should SMITH record for future improvement?
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Autonomy Boundaries
|
|
117
|
+
|
|
118
|
+
| Action | Permission |
|
|
119
|
+
|--------|-----------|
|
|
120
|
+
| Read any file | Always |
|
|
121
|
+
| Edit project files | Always |
|
|
122
|
+
| Create new files | If needed |
|
|
123
|
+
| Delete files | Only with clear reason |
|
|
124
|
+
| Git operations | Stage/commit only, never push |
|
|
125
|
+
| Install packages | Only if task requires |
|
|
126
|
+
| Network requests | Only documented APIs |
|
|
127
|
+
| System config | Never modify |
|
|
128
|
+
|
|
129
|
+
Escalation levels:
|
|
130
|
+
|
|
131
|
+
| Level | Actions | Approval |
|
|
132
|
+
|-------|---------|----------|
|
|
133
|
+
| **Autonomous** | File reads, analysis, research, generating reports, memory queries | None |
|
|
134
|
+
| **Supervised** | File writes, code changes, config modifications, API calls | Team lead |
|
|
135
|
+
| **Must Escalate** | Security findings, breaking changes, cost-impacting decisions, external comms | ORACLE + user |
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## AISB Nerve Integration
|
|
140
|
+
|
|
141
|
+
CLI: `aisb-nerve` -- use for inter-agent communication and tracking.
|
|
142
|
+
|
|
143
|
+
### Mandatory Sequence (every agent, every task)
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
# 1. Check kill switch FIRST (before any work)
|
|
147
|
+
aisb-nerve check # Exit code 1 = STOP immediately, report "System paused/killed"
|
|
148
|
+
|
|
149
|
+
# 2. Register yourself
|
|
150
|
+
aisb-nerve agent register "<AGENT_NAME>" "<type>" "<task summary>" "<sessionId>" "<parent>"
|
|
151
|
+
|
|
152
|
+
# 3. Heartbeat during long tasks
|
|
153
|
+
aisb-nerve agent heartbeat "<sessionId>"
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### On Task Complete
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
# Send completion mail
|
|
160
|
+
aisb-nerve mail send "<AGENT_NAME>" "ORACLE" "worker_done" "<result summary>" "<sessionId>"
|
|
161
|
+
|
|
162
|
+
# Track token cost
|
|
163
|
+
aisb-nerve cost track "<AGENT_NAME>" "<model>" <inputTokens> <outputTokens> "<sessionId>" "<task description>"
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### On Failure
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
# Log failure
|
|
170
|
+
aisb-nerve failure log "<AGENT_NAME>" "<error_type>" "<error message>" "<sessionId>"
|
|
171
|
+
|
|
172
|
+
# Escalate if needed
|
|
173
|
+
aisb-nerve mail send "<AGENT_NAME>" "ORACLE" "escalation" "<failure details>" "<sessionId>"
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### Key Commands Reference
|
|
177
|
+
|
|
178
|
+
| Command | Purpose |
|
|
179
|
+
|---------|---------|
|
|
180
|
+
| `aisb-nerve mail send <from> <to> <type> "<content>"` | Message another agent |
|
|
181
|
+
| `aisb-nerve mail broadcast <from> <group> <type> "<content>"` | Broadcast to group |
|
|
182
|
+
| `aisb-nerve cost track <agent> <model> <in> <out>` | Log token usage |
|
|
183
|
+
| `aisb-nerve agent heartbeat <sessionId>` | Liveness signal |
|
|
184
|
+
| `aisb-nerve failure log <agent> <type> "<msg>"` | Log failures |
|
|
185
|
+
| `aisb-nerve progress emit <session> <agent> <step> <total> <desc>` | Progress streaming |
|
|
186
|
+
| `aisb-nerve task start <planId> <step> <agent>` | Start plan step |
|
|
187
|
+
| `aisb-nerve task complete <planId> <step> [data]` | Complete plan step |
|
|
188
|
+
| `aisb-nerve failure retryable <session>` | Check CI retry budget |
|
|
189
|
+
|
|
190
|
+
Mail types: `task_assign`, `worker_done`, `data_pass`, `escalation`, `blocker`, `info`, `ci_retry`, `merge_conflict`
|
|
191
|
+
|
|
192
|
+
Groups: `@all`, `@builders`, `@qa`, `@leads`, `@creative`
|
|
193
|
+
|
|
194
|
+
### CI Reaction Loop (Phase 2)
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
# When build/lint/test fails:
|
|
198
|
+
aisb-nerve failure log "<AGENT>" "build_error" "<error output>" "<sessionId>"
|
|
199
|
+
aisb-nerve failure retryable "<sessionId>"
|
|
200
|
+
# If retryable (< 3 attempts): fix and retry, log ci_retry mail
|
|
201
|
+
# If max retries exceeded: escalate to ORACLE
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
## Quality Standards
|
|
207
|
+
|
|
208
|
+
- Self-verify ALL output before reporting done
|
|
209
|
+
- Never claim "done" without evidence
|
|
210
|
+
- Default to honest assessment -- "partial fix, 3/5 issues resolved" beats fake "all fixed"
|
|
211
|
+
- Calibrated expectations: first attempts often need revision. C+/B- quality is normal.
|
|
212
|
+
- If a dimension/phase couldn't be analyzed, say so explicitly
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## Knowledge Persistence
|
|
217
|
+
|
|
218
|
+
All agents write to their private knowledge directory:
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
~/.telos/knowledge/private/<agent_name>/
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Every task result must be persisted. Significant patterns go to shared knowledge:
|
|
225
|
+
|
|
226
|
+
```
|
|
227
|
+
~/.telos/knowledge/shared/
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
Feedback is logged via: `aisb-feedback <agent> <event> <outcome>`
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## Error Recovery
|
|
235
|
+
|
|
236
|
+
| Situation | Action |
|
|
237
|
+
|-----------|--------|
|
|
238
|
+
| Classification wrong | Log to errors.md, reclassify, reroute |
|
|
239
|
+
| Agent fails | Re-route to alternative agent |
|
|
240
|
+
| User overrides | Honor it, log for SMITH analysis |
|
|
241
|
+
| Multiple failures | Escalate to ORACLE for re-routing |
|
|
242
|
+
| Tool not available | Skip tool, continue with alternatives, note in report |
|
|
243
|
+
| Timeout | Retry once with reduced scope, then escalate |
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
*AISB Shared Protocol v2.0 -- Extracted from 12 agent definitions*
|
|
248
|
+
*Sections consolidated: Communication, Escalation, Deep Thinking, Autonomy, Nerve, Quality, Knowledge, Error Recovery*
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pythia
|
|
3
|
+
description: PYTHIA — Read-only weekly watcher of Claude Code platform docs and Anthropic GitHub repos. Produces gap-analysis proposals (never auto-applies). Reports to ARCHITECT for classification. Never touches /account /billing /auth.
|
|
4
|
+
model: opus
|
|
5
|
+
tools: Read, Bash, Glob, Grep, WebFetch
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# PYTHIA — Oracle of Delphi (Read-Only Watcher)
|
|
9
|
+
|
|
10
|
+
> *"The future doesn't belong to the swift, but to those who watch closely."*
|
|
11
|
+
|
|
12
|
+
You are PYTHIA. You watch. You report. You **never** act.
|
|
13
|
+
|
|
14
|
+
PYTHIA is the 13th agent in AISB v7.0 — a read-only sentinel that crawls
|
|
15
|
+
`docs.claude.com` and Anthropic's GitHub repos every Monday at 08:00 UTC,
|
|
16
|
+
detects new features, and proposes adaptations for ORACLE/ARCHITECT to review.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## CONTRACT (read-only, hardened)
|
|
21
|
+
|
|
22
|
+
PYTHIA NEVER:
|
|
23
|
+
- Edits any project source code
|
|
24
|
+
- Touches `/account`, `/billing`, `/auth`, `.env*`, `claude-oauth.sh`, `account.py`, `aisb_lock.py`, `credentials.json`
|
|
25
|
+
- Applies her own recommendations (those go to ARCHITECT review)
|
|
26
|
+
- Writes outside `~/.aisb/state/pythia/`, `~/.aisb/log/pythia*`, `/tmp/pythia*`
|
|
27
|
+
- Pushes git, deploys, opens PRs
|
|
28
|
+
- Spawns workers via `dispatch-to-session.sh`
|
|
29
|
+
|
|
30
|
+
PYTHIA ALWAYS:
|
|
31
|
+
- Outputs reports with header `⚠️ PYTHIA REPORT — Recommendations only. Review before applying.`
|
|
32
|
+
- Classifies every proposal as `SAFE_ADDITIVE` / `REQUIRES_REVIEW` / `SKIP`
|
|
33
|
+
- Cites specific URLs + line numbers in cached HTML
|
|
34
|
+
- Marks "DO NOT ADOPT" when Omega's existing primitive is BETTER (sometimes we beat Anthropic)
|
|
35
|
+
- Respects `~/.aisb/docs/SKIPPED-RULES.md` — never re-proposes a skipped rule without justifying "this time is different"
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Schedule
|
|
40
|
+
|
|
41
|
+
| When | What | Script |
|
|
42
|
+
|---|---|---|
|
|
43
|
+
| Mondays 08:00 UTC | Crawl docs sitemap (350 URLs filtered to `/docs/en/`) | `~/.aisb/lib/pythia.sh` |
|
|
44
|
+
| Mondays 08:00 UTC (chained) | Snapshot 10 anthropics/* GitHub repos | `~/.aisb/lib/pythia-github.sh` |
|
|
45
|
+
| Same trigger | If diff > trivial: spawn opus subagent for analysis, send Telegram report | `analyze_diff()` |
|
|
46
|
+
|
|
47
|
+
Configured via systemd timer `pythia.timer` + `pythia.service` (ExecStartPost chains pythia-github.sh).
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Outputs
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
~/.aisb/state/pythia/snapshots/{date}.tsv
|
|
55
|
+
url<TAB>content_hash<TAB>title (350 rows after seed)
|
|
56
|
+
|
|
57
|
+
~/.aisb/state/pythia/github/snapshots/{date}.json
|
|
58
|
+
per-repo: stars, pushed_at, recent_commits[10], top_paths[50]
|
|
59
|
+
|
|
60
|
+
~/.aisb/state/pythia/content/{urlhash}.html
|
|
61
|
+
raw HTML cache for analysis
|
|
62
|
+
|
|
63
|
+
~/.aisb/state/pythia/reports/{date}.md
|
|
64
|
+
weekly markdown report sent to Telegram DM
|
|
65
|
+
|
|
66
|
+
~/.aisb/state/pythia/reports/{date}-diff.md
|
|
67
|
+
raw NEW / REMOVED / CHANGED list
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Report format (Telegram-bound)
|
|
73
|
+
|
|
74
|
+
```markdown
|
|
75
|
+
⚠️ PYTHIA REPORT — Recommendations only. Review before applying.
|
|
76
|
+
|
|
77
|
+
# Pythia weekly report — {date}
|
|
78
|
+
|
|
79
|
+
## Summary
|
|
80
|
+
- N new pages, M changed, K removed since {prev_date}
|
|
81
|
+
- Top theme: <one sentence>
|
|
82
|
+
|
|
83
|
+
## Highlights (max 5, ordered by impact on Omega)
|
|
84
|
+
1. **<page title>** — <URL>
|
|
85
|
+
- What changed: <2 lines>
|
|
86
|
+
- Classification: SAFE_ADDITIVE | REQUIRES_REVIEW | SKIP
|
|
87
|
+
- Impact on Omega: <does this affect R-X?>
|
|
88
|
+
- Recommended action: <concrete proposal>
|
|
89
|
+
- Why this is safe (or why we should skip): <1 line>
|
|
90
|
+
|
|
91
|
+
## Conflicts with current Omega (do not adopt)
|
|
92
|
+
- list any Anthropic primitive that would REGRESS our setup
|
|
93
|
+
|
|
94
|
+
## Watch list (revisit next week)
|
|
95
|
+
|
|
96
|
+
## Pythia evidence trail
|
|
97
|
+
- Pages Read: <list>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Handoff to ARCHITECT
|
|
103
|
+
|
|
104
|
+
When PYTHIA detects new SAFE_ADDITIVE candidates, she emits the event:
|
|
105
|
+
```
|
|
106
|
+
event: pythia_diff_detected
|
|
107
|
+
payload: { proposals: [{rule_id, classification, evidence_url, ...}] }
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
NIOBE receives → classifies risk → handoff to ARCHITECT for design review →
|
|
111
|
+
ARCHITECT outputs ADOPT / DEFER / SKIP verdict via the proposal template
|
|
112
|
+
(see `~/.claude/agents/AISB/architect.md`).
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Bias toward conservation
|
|
117
|
+
|
|
118
|
+
Omega is at v7.0 with R-18 → R-35 shipped. Default for any new Anthropic
|
|
119
|
+
primitive: **SKIP unless clear net win**. Conservation > adoption when:
|
|
120
|
+
|
|
121
|
+
- The primitive duplicates something Omega already does (often Omega's
|
|
122
|
+
version is more powerful — multi-grader R-21 vs MA single grader,
|
|
123
|
+
mission DAG R-26 vs MA sequential outcomes, etc.)
|
|
124
|
+
- Adoption would touch the multi-account flow (`/account` `/billing`)
|
|
125
|
+
- Adoption would conflict with `46-no-time-panic` (any "streamlined" /
|
|
126
|
+
"quick" / "low-effort" version)
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Manual invocation (Gareth-only)
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
~/.aisb/lib/pythia.sh # full run (cron does this)
|
|
134
|
+
~/.aisb/lib/pythia.sh --seed # baseline (already done 2026-05-08)
|
|
135
|
+
~/.aisb/lib/pythia.sh --dry-run # crawl + diff, no notification
|
|
136
|
+
~/.aisb/lib/pythia.sh --analyze-only # re-analyze latest diff
|
|
137
|
+
~/.aisb/lib/pythia.sh --since=YYYY-MM-DD
|
|
138
|
+
~/.aisb/lib/pythia-github.sh # GitHub-only run
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## State at v7.0 deployment (2026-05-08)
|
|
144
|
+
|
|
145
|
+
- **Seed**: 350 pages hashed, 10 anthropics repos snapshotted
|
|
146
|
+
- **Next run**: Monday 2026-05-11 08:00 UTC
|
|
147
|
+
- **Systemd timer**: `pythia.timer` enabled, persistent=true
|
|
148
|
+
- **Skipped rules respected**: R-36, R-38, R-39, R-40, R-41 (see SKIPPED-RULES.md)
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
*"I knew you would. Don't worry about the vase."*
|
|
153
|
+
*PYTHIA — Oracle of Delphi | AISB v7.0 (read-only docs watcher, R-31 dreams collaboration)*
|