ace-core 0.1.0__py3-none-any.whl
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.
- ace/__init__.py +3 -0
- ace_core-0.1.0.data/data/share/doc/ace/CHANGELOG.md +26 -0
- ace_core-0.1.0.data/data/share/doc/ace/CONTRIBUTING.md +156 -0
- ace_core-0.1.0.data/data/share/doc/ace/README.md +513 -0
- ace_core-0.1.0.data/data/share/doc/ace/ROADMAP.md +43 -0
- ace_core-0.1.0.data/data/share/doc/ace/SECURITY.md +60 -0
- ace_core-0.1.0.data/data/share/doc/ace/docs/README.md +19 -0
- ace_core-0.1.0.data/data/share/doc/ace/docs/architecture.md +406 -0
- ace_core-0.1.0.data/data/share/doc/ace/docs/build-your-first-extension.md +206 -0
- ace_core-0.1.0.data/data/share/doc/ace/docs/capability-maturity.md +62 -0
- ace_core-0.1.0.data/data/share/doc/ace/docs/extension-api.md +46 -0
- ace_core-0.1.0.data/data/share/doc/ace/docs/governance.md +21 -0
- ace_core-0.1.0.data/data/share/doc/ace/docs/providers.md +375 -0
- ace_core-0.1.0.data/data/share/doc/ace/docs/roadmap-status.md +7 -0
- ace_core-0.1.0.dist-info/METADATA +591 -0
- ace_core-0.1.0.dist-info/RECORD +1003 -0
- ace_core-0.1.0.dist-info/WHEEL +5 -0
- ace_core-0.1.0.dist-info/entry_points.txt +7 -0
- ace_core-0.1.0.dist-info/licenses/LICENSE +201 -0
- ace_core-0.1.0.dist-info/licenses/NOTICE +9 -0
- ace_core-0.1.0.dist-info/top_level.txt +6 -0
- ace_mcp_client/__init__.py +4 -0
- ace_mcp_client/client.py +158 -0
- ace_mcp_client/server.py +130 -0
- ace_mcp_client/tools.py +386 -0
- core/engine/__init__.py +0 -0
- core/engine/ai_briefing/__init__.py +33 -0
- core/engine/ai_briefing/builder.py +292 -0
- core/engine/api/__init__.py +1 -0
- core/engine/api/_portal_security.py +73 -0
- core/engine/api/agents.py +112 -0
- core/engine/api/atc.py +162 -0
- core/engine/api/auth_routes.py +62 -0
- core/engine/api/briefings.py +192 -0
- core/engine/api/canvas.py +930 -0
- core/engine/api/canvas_host.py +262 -0
- core/engine/api/canvas_yjs.py +189 -0
- core/engine/api/capture.py +206 -0
- core/engine/api/chat.py +165 -0
- core/engine/api/codebase_qa.py +44 -0
- core/engine/api/conductor.py +301 -0
- core/engine/api/conflicts.py +192 -0
- core/engine/api/contributions.py +16 -0
- core/engine/api/decisions.py +102 -0
- core/engine/api/diagnostics.py +27 -0
- core/engine/api/documents.py +169 -0
- core/engine/api/ecosystem.py +157 -0
- core/engine/api/efficiency.py +115 -0
- core/engine/api/experiments.py +87 -0
- core/engine/api/foresight.py +128 -0
- core/engine/api/gates.py +81 -0
- core/engine/api/graph.py +154 -0
- core/engine/api/graph_clusters.py +105 -0
- core/engine/api/graph_edge_summary.py +80 -0
- core/engine/api/graph_events.py +342 -0
- core/engine/api/graph_explore.py +539 -0
- core/engine/api/graph_health.py +194 -0
- core/engine/api/graph_search.py +103 -0
- core/engine/api/graph_traverse.py +660 -0
- core/engine/api/handoff.py +105 -0
- core/engine/api/ideas.py +488 -0
- core/engine/api/initiatives.py +466 -0
- core/engine/api/intel.py +187 -0
- core/engine/api/journey.py +127 -0
- core/engine/api/layers.py +158 -0
- core/engine/api/live_canvas.py +191 -0
- core/engine/api/live_stream.py +16 -0
- core/engine/api/loop.py +138 -0
- core/engine/api/main.py +926 -0
- core/engine/api/memory.py +180 -0
- core/engine/api/middleware.py +223 -0
- core/engine/api/notifications.py +140 -0
- core/engine/api/onboarding.py +168 -0
- core/engine/api/onboarding_conversation.py +123 -0
- core/engine/api/orchestration.py +64 -0
- core/engine/api/orchestration_ws.py +261 -0
- core/engine/api/portal_views.py +386 -0
- core/engine/api/pr_review.py +721 -0
- core/engine/api/proactive.py +146 -0
- core/engine/api/product.py +277 -0
- core/engine/api/products.py +210 -0
- core/engine/api/reasoning.py +72 -0
- core/engine/api/recognition.py +127 -0
- core/engine/api/recommendations.py +116 -0
- core/engine/api/reports.py +168 -0
- core/engine/api/roi.py +117 -0
- core/engine/api/runner.py +167 -0
- core/engine/api/scanner.py +148 -0
- core/engine/api/search.py +22 -0
- core/engine/api/self_optimizer.py +233 -0
- core/engine/api/sentinel.py +354 -0
- core/engine/api/sentinels.py +221 -0
- core/engine/api/skills.py +179 -0
- core/engine/api/tasks.py +620 -0
- core/engine/api/templates.py +103 -0
- core/engine/api/themes.py +55 -0
- core/engine/api/token_intelligence.py +47 -0
- core/engine/api/velocity.py +25 -0
- core/engine/api/voice_audit.py +61 -0
- core/engine/api/voice_threads.py +206 -0
- core/engine/api/webhooks.py +77 -0
- core/engine/arms/__init__.py +0 -0
- core/engine/arms/base.py +150 -0
- core/engine/arms/brain_hand_arm.py +318 -0
- core/engine/arms/builder.py +75 -0
- core/engine/arms/code_arm.py +95 -0
- core/engine/arms/code_planner.py +236 -0
- core/engine/arms/critic.py +136 -0
- core/engine/arms/data_arm.py +94 -0
- core/engine/arms/data_planner.py +177 -0
- core/engine/arms/design_arm.py +89 -0
- core/engine/arms/design_enforce.py +88 -0
- core/engine/arms/design_planner.py +155 -0
- core/engine/arms/dispatch.py +281 -0
- core/engine/arms/execution/__init__.py +1 -0
- core/engine/arms/execution/executors.py +78 -0
- core/engine/arms/execution/runtime.py +48 -0
- core/engine/arms/execution/workspace.py +137 -0
- core/engine/arms/failure.py +49 -0
- core/engine/arms/migration_safety.py +129 -0
- core/engine/arms/outcome.py +143 -0
- core/engine/arms/preflight.py +141 -0
- core/engine/arms/promotion.py +244 -0
- core/engine/arms/provider_probe.py +202 -0
- core/engine/arms/registry.py +97 -0
- core/engine/arms/router.py +166 -0
- core/engine/arms/run_ledger.py +308 -0
- core/engine/arms/scaffold_arm.py +67 -0
- core/engine/arms/session.py +394 -0
- core/engine/arms/ship_arm.py +82 -0
- core/engine/arms/ship_planner.py +63 -0
- core/engine/arms/spec_reality.py +275 -0
- core/engine/arms/strategy/__init__.py +1 -0
- core/engine/arms/strategy/assemble.py +23 -0
- core/engine/arms/strategy/classify.py +58 -0
- core/engine/arms/strategy/deep_phases.py +78 -0
- core/engine/arms/strategy/depth_scorer.py +100 -0
- core/engine/arms/strategy/graph_classifier.py +223 -0
- core/engine/arms/strategy/profile.py +14 -0
- core/engine/atc/__init__.py +1 -0
- core/engine/atc/events.py +30 -0
- core/engine/atc/freshness.py +96 -0
- core/engine/atc/human_scanner.py +175 -0
- core/engine/atc/landing.py +188 -0
- core/engine/atc/registry.py +347 -0
- core/engine/atc/scheduler.py +204 -0
- core/engine/canvas/__init__.py +1 -0
- core/engine/canvas/canvas_engagement.py +210 -0
- core/engine/canvas/canvas_ui_events.py +156 -0
- core/engine/canvas/code_renderer.py +120 -0
- core/engine/canvas/cogeneration.py +63 -0
- core/engine/canvas/conversation.py +95 -0
- core/engine/canvas/design_renderer.py +112 -0
- core/engine/canvas/event_protocol.py +278 -0
- core/engine/canvas/framework_renderer.py +194 -0
- core/engine/canvas/intent_router.py +39 -0
- core/engine/canvas/ledger_bridge.py +126 -0
- core/engine/canvas/models.py +77 -0
- core/engine/canvas/orchestrated_renderer.py +375 -0
- core/engine/canvas/participant.py +129 -0
- core/engine/canvas/persistence.py +208 -0
- core/engine/canvas/surface_adapter.py +62 -0
- core/engine/canvas_bridge/__init__.py +38 -0
- core/engine/canvas_bridge/api.py +49 -0
- core/engine/canvas_bridge/bridge.py +306 -0
- core/engine/canvas_bridge/demo.py +271 -0
- core/engine/canvas_bridge/messages.py +232 -0
- core/engine/canvas_bridge/participant.py +75 -0
- core/engine/capture/__init__.py +1 -0
- core/engine/capture/agent_sdk_watcher.py +69 -0
- core/engine/capture/atomic_write.py +244 -0
- core/engine/capture/chunker.py +128 -0
- core/engine/capture/cognify.py +149 -0
- core/engine/capture/consolidator.py +172 -0
- core/engine/capture/contextualize.py +51 -0
- core/engine/capture/document_chunker.py +80 -0
- core/engine/capture/episodes.py +205 -0
- core/engine/capture/forget.py +158 -0
- core/engine/capture/freshness.py +177 -0
- core/engine/capture/observer.py +147 -0
- core/engine/capture/pattern_detector.py +159 -0
- core/engine/capture/pipeline.py +195 -0
- core/engine/capture/provenance.py +79 -0
- core/engine/capture/schemas.py +73 -0
- core/engine/capture/service.py +309 -0
- core/engine/capture/synthesizer.py +735 -0
- core/engine/capture/watchers.py +57 -0
- core/engine/chat/__init__.py +1 -0
- core/engine/chat/handler.py +385 -0
- core/engine/chat/session_capture.py +126 -0
- core/engine/chat/streaming.py +436 -0
- core/engine/cli/__init__.py +0 -0
- core/engine/cli/auth.py +81 -0
- core/engine/cli/commands/__init__.py +0 -0
- core/engine/cli/commands/assertions.py +23 -0
- core/engine/cli/commands/briefing.py +83 -0
- core/engine/cli/commands/conflicts.py +101 -0
- core/engine/cli/commands/doctor.py +176 -0
- core/engine/cli/commands/evolve.py +34 -0
- core/engine/cli/commands/flow.py +127 -0
- core/engine/cli/commands/graph.py +65 -0
- core/engine/cli/commands/ideas.py +174 -0
- core/engine/cli/commands/initiatives.py +196 -0
- core/engine/cli/commands/intel.py +84 -0
- core/engine/cli/commands/login.py +76 -0
- core/engine/cli/commands/model_policy.py +51 -0
- core/engine/cli/commands/proposals.py +91 -0
- core/engine/cli/commands/reasoning.py +83 -0
- core/engine/cli/commands/run.py +145 -0
- core/engine/cli/commands/sentinel.py +175 -0
- core/engine/cli/commands/skills.py +92 -0
- core/engine/cli/commands/status.py +22 -0
- core/engine/cli/commands/templates.py +123 -0
- core/engine/cli/display.py +49 -0
- core/engine/cli/main.py +61 -0
- core/engine/cognition/__init__.py +11 -0
- core/engine/cognition/active_discipline.py +104 -0
- core/engine/cognition/best_of_n.py +56 -0
- core/engine/cognition/classifier.py +129 -0
- core/engine/cognition/composer.py +809 -0
- core/engine/cognition/composition_headline.py +81 -0
- core/engine/cognition/composition_trace.py +64 -0
- core/engine/cognition/conductor_phrases.py +227 -0
- core/engine/cognition/confidence_gate.py +40 -0
- core/engine/cognition/crm_calibrator.py +89 -0
- core/engine/cognition/edge_inference.py +131 -0
- core/engine/cognition/fusion.py +142 -0
- core/engine/cognition/handoff.py +86 -0
- core/engine/cognition/instrument_registry.py +70 -0
- core/engine/cognition/journey_voice.py +136 -0
- core/engine/cognition/loop_iterations.py +139 -0
- core/engine/cognition/moa.py +129 -0
- core/engine/cognition/models.py +230 -0
- core/engine/cognition/multiphase.py +615 -0
- core/engine/cognition/phase_evaluator.py +160 -0
- core/engine/cognition/phase_output.py +27 -0
- core/engine/cognition/plan_evaluator.py +90 -0
- core/engine/cognition/reasoning_run.py +143 -0
- core/engine/cognition/recipes/__init__.py +47 -0
- core/engine/cognition/recipes/coding.py +208 -0
- core/engine/cognition/recipes/communication.py +102 -0
- core/engine/cognition/recipes/communication_agentic.py +95 -0
- core/engine/cognition/recipes/coordination.py +98 -0
- core/engine/cognition/recipes/creative.py +154 -0
- core/engine/cognition/recipes/data.py +115 -0
- core/engine/cognition/recipes/delegation.py +96 -0
- core/engine/cognition/recipes/domain_specific.py +98 -0
- core/engine/cognition/recipes/evaluation.py +102 -0
- core/engine/cognition/recipes/feedback.py +98 -0
- core/engine/cognition/recipes/gap.py +97 -0
- core/engine/cognition/recipes/loader.py +119 -0
- core/engine/cognition/recipes/memory.py +99 -0
- core/engine/cognition/recipes/operational.py +102 -0
- core/engine/cognition/recipes/planning.py +105 -0
- core/engine/cognition/recipes/prioritization.yaml +85 -0
- core/engine/cognition/recipes/research.py +100 -0
- core/engine/cognition/recipes/retrieval.py +99 -0
- core/engine/cognition/recipes/risk.py +102 -0
- core/engine/cognition/recipes/schema.py +136 -0
- core/engine/cognition/recipes/strategic.py +116 -0
- core/engine/cognition/recipes/systems.py +125 -0
- core/engine/cognition/recipes/tool.py +96 -0
- core/engine/cognition/recipes/verification.py +99 -0
- core/engine/cognition/run_ledger.py +238 -0
- core/engine/cognition/seed.py +5583 -0
- core/engine/cognition/self_consistency.py +87 -0
- core/engine/cognition/star_trace.py +73 -0
- core/engine/cognition/tool_catalog.py +41 -0
- core/engine/cognition/tool_classifier.py +107 -0
- core/engine/conductor/__init__.py +0 -0
- core/engine/conductor/bootstrap.py +378 -0
- core/engine/conductor/conductor.py +359 -0
- core/engine/conductor/grooming.py +47 -0
- core/engine/conductor/rule_actions.py +498 -0
- core/engine/conductor/rule_conditions.py +88 -0
- core/engine/conductor/rule_engine.py +90 -0
- core/engine/conductor/stall_detector.py +203 -0
- core/engine/conductor/state_machine.py +71 -0
- core/engine/conductor/template_resolver.py +165 -0
- core/engine/conductor/vision_filter.py +61 -0
- core/engine/contributions/__init__.py +0 -0
- core/engine/contributions/aggregator.py +310 -0
- core/engine/core/__init__.py +1 -0
- core/engine/core/access.py +172 -0
- core/engine/core/auth.py +63 -0
- core/engine/core/config.py +327 -0
- core/engine/core/db.py +395 -0
- core/engine/core/error_buffer.py +73 -0
- core/engine/core/exceptions.py +99 -0
- core/engine/core/llm.py +2193 -0
- core/engine/core/llm_anyllm.py +259 -0
- core/engine/core/llm_litellm.py +244 -0
- core/engine/core/llm_prompt_fragments.py +38 -0
- core/engine/core/log_context.py +88 -0
- core/engine/core/metrics.py +157 -0
- core/engine/core/model_costs.py +51 -0
- core/engine/core/model_policy.py +197 -0
- core/engine/core/otel.py +163 -0
- core/engine/core/schema.py +183 -0
- core/engine/core/search.py +117 -0
- core/engine/core/tasks.py +58 -0
- core/engine/core/tokens.py +127 -0
- core/engine/diagram/__init__.py +1 -0
- core/engine/diagram/abstractor.py +107 -0
- core/engine/diagram/graph_reader.py +82 -0
- core/engine/diagram/ir.py +62 -0
- core/engine/diagram/renderers/__init__.py +0 -0
- core/engine/diagram/renderers/base.py +11 -0
- core/engine/diagram/renderers/mermaid.py +52 -0
- core/engine/diagram/service.py +26 -0
- core/engine/embedding/__init__.py +1 -0
- core/engine/embedding/base.py +50 -0
- core/engine/embedding/codesage_embedder.py +71 -0
- core/engine/embedding/noop_embedder.py +12 -0
- core/engine/embedding/onnx_embedder.py +130 -0
- core/engine/eval/__init__.py +7 -0
- core/engine/eval/baseline.py +53 -0
- core/engine/eval/grader.py +119 -0
- core/engine/evaluation/__init__.py +5 -0
- core/engine/evaluation/cli.py +31 -0
- core/engine/evaluation/decision_delta.py +430 -0
- core/engine/evaluation/harness.py +157 -0
- core/engine/evaluation/live_runner.py +207 -0
- core/engine/events/__init__.py +5 -0
- core/engine/events/audit_logger.py +115 -0
- core/engine/events/automations.py +336 -0
- core/engine/events/bus.py +113 -0
- core/engine/events/canvas.py +416 -0
- core/engine/events/gate_handlers.py +80 -0
- core/engine/events/live_handlers.py +63 -0
- core/engine/events/product_handlers.py +202 -0
- core/engine/extensions/__init__.py +17 -0
- core/engine/extensions/base.py +43 -0
- core/engine/extensions/loader.py +108 -0
- core/engine/extensions/registry.py +198 -0
- core/engine/flow/__init__.py +0 -0
- core/engine/flow/clearance.py +72 -0
- core/engine/flow/config.py +77 -0
- core/engine/foresight/__init__.py +1 -0
- core/engine/foresight/forecaster.py +327 -0
- core/engine/foresight/fork_models.py +62 -0
- core/engine/foresight/fork_planner.py +577 -0
- core/engine/foresight/models.py +114 -0
- core/engine/foresight/planner.py +384 -0
- core/engine/foresight/reconciler.py +448 -0
- core/engine/foresight/scenario_builder.py +167 -0
- core/engine/foresight/signal_engine.py +243 -0
- core/engine/foresight/value_model.py +79 -0
- core/engine/generation/__init__.py +0 -0
- core/engine/generation/changelog.py +140 -0
- core/engine/generation/ci_generator.py +231 -0
- core/engine/generation/docs_generator.py +263 -0
- core/engine/generation/iac_generator.py +221 -0
- core/engine/generation/otel_generator.py +208 -0
- core/engine/generation/templates/circleci.yml.j2 +57 -0
- core/engine/generation/templates/docker_compose.yml.j2 +37 -0
- core/engine/generation/templates/github_actions.yml.j2 +71 -0
- core/engine/generation/templates/gitlab_ci.yml.j2 +53 -0
- core/engine/github/__init__.py +1 -0
- core/engine/github/client.py +154 -0
- core/engine/github/diff_parser.py +111 -0
- core/engine/github/models.py +106 -0
- core/engine/graph/__init__.py +0 -0
- core/engine/graph/assertions.py +514 -0
- core/engine/graph/classifier.py +160 -0
- core/engine/graph/cluster.py +109 -0
- core/engine/graph/context.py +387 -0
- core/engine/graph/cooccurrence.py +162 -0
- core/engine/graph/edge_writer.py +112 -0
- core/engine/graph/grounding.py +262 -0
- core/engine/graph/insight_neighbors.py +179 -0
- core/engine/graph/insight_writer.py +108 -0
- core/engine/graph/legacy_migration.py +79 -0
- core/engine/graph/metabolism.py +316 -0
- core/engine/graph/ontology.py +186 -0
- core/engine/graph/proposals.py +79 -0
- core/engine/graph/recommendations.py +627 -0
- core/engine/graph/synaptic_loader.py +108 -0
- core/engine/graph/tension_telemetry.py +60 -0
- core/engine/graph/writer.py +159 -0
- core/engine/handoff/__init__.py +0 -0
- core/engine/handoff/dispatcher.py +298 -0
- core/engine/handoff/models.py +39 -0
- core/engine/handoff/summarizer.py +89 -0
- core/engine/handoff/translators.py +82 -0
- core/engine/ideas/__init__.py +1 -0
- core/engine/ideas/activate.py +168 -0
- core/engine/ideas/capture.py +87 -0
- core/engine/ideas/incubate.py +369 -0
- core/engine/ideas/promote.py +105 -0
- core/engine/ideas/qualify.py +118 -0
- core/engine/ideas/related.py +121 -0
- core/engine/ideas/schemas.py +58 -0
- core/engine/ideas/state_machine.py +71 -0
- core/engine/intelligence/__init__.py +1 -0
- core/engine/intelligence/ab_judge.py +94 -0
- core/engine/intelligence/adjacency.py +106 -0
- core/engine/intelligence/affinities.py +153 -0
- core/engine/intelligence/attribution.py +217 -0
- core/engine/intelligence/calibration.py +196 -0
- core/engine/intelligence/cascade_router.py +421 -0
- core/engine/intelligence/classification_cache.py +208 -0
- core/engine/intelligence/complexity_router.py +92 -0
- core/engine/intelligence/compounding.py +91 -0
- core/engine/intelligence/compressor.py +105 -0
- core/engine/intelligence/cost_predictor.py +58 -0
- core/engine/intelligence/coverage_binder.py +192 -0
- core/engine/intelligence/coverage_priority.py +63 -0
- core/engine/intelligence/decision_capability_inference.py +204 -0
- core/engine/intelligence/dep_updater.py +154 -0
- core/engine/intelligence/depth_budget.py +24 -0
- core/engine/intelligence/detector.py +91 -0
- core/engine/intelligence/distillation_export.py +77 -0
- core/engine/intelligence/emergence.py +168 -0
- core/engine/intelligence/error_explainer.py +244 -0
- core/engine/intelligence/export_pack.py +190 -0
- core/engine/intelligence/failure_classifier.py +164 -0
- core/engine/intelligence/failure_replay.py +104 -0
- core/engine/intelligence/graph_builder.py +1056 -0
- core/engine/intelligence/lsp_client.py +140 -0
- core/engine/intelligence/lsp_manager.py +310 -0
- core/engine/intelligence/maturation.py +383 -0
- core/engine/intelligence/model_affinity.py +156 -0
- core/engine/intelligence/model_router.py +12 -0
- core/engine/intelligence/provisioner.py +179 -0
- core/engine/intelligence/queries.py +344 -0
- core/engine/intelligence/ranker.py +141 -0
- core/engine/intelligence/ref_indexer.py +95 -0
- core/engine/intelligence/roi_detector.py +238 -0
- core/engine/intelligence/schema.py +26 -0
- core/engine/intelligence/servers.py +60 -0
- core/engine/intelligence/specialty_broadcast.py +114 -0
- core/engine/intelligence/statistics.py +373 -0
- core/engine/intelligence/synthetic_runner.py +108 -0
- core/engine/intelligence/token_baseline.py +112 -0
- core/engine/intelligence/token_ledger.py +230 -0
- core/engine/intelligence/utilization.py +156 -0
- core/engine/keyword_classifier.py +107 -0
- core/engine/learning/__init__.py +0 -0
- core/engine/learning/detection_rules.py +127 -0
- core/engine/learning/detector.py +190 -0
- core/engine/learning/effectiveness.py +151 -0
- core/engine/learning/feature_flag.py +31 -0
- core/engine/live/__init__.py +1 -0
- core/engine/live/coordinator.py +168 -0
- core/engine/live/edit_tracker.py +255 -0
- core/engine/live/file_watcher.py +154 -0
- core/engine/live/session_runner.py +247 -0
- core/engine/live/state_machines.py +104 -0
- core/engine/live/stream.py +100 -0
- core/engine/mcp/__init__.py +0 -0
- core/engine/mcp/schemas.py +155 -0
- core/engine/mcp/server.py +2221 -0
- core/engine/mcp/tools.py +5195 -0
- core/engine/notifications/__init__.py +1 -0
- core/engine/notifications/audit_buffer.py +52 -0
- core/engine/notifications/channels/__init__.py +65 -0
- core/engine/notifications/channels/discord.py +488 -0
- core/engine/notifications/channels/in_app.py +41 -0
- core/engine/notifications/channels/webhook.py +82 -0
- core/engine/notifications/dispatcher.py +266 -0
- core/engine/notifications/triggers.py +196 -0
- core/engine/onboarding/__init__.py +1 -0
- core/engine/onboarding/conversation.py +308 -0
- core/engine/onboarding/conversation_copy.json +30 -0
- core/engine/onboarding/scaffolder.py +275 -0
- core/engine/orchestration/__init__.py +69 -0
- core/engine/orchestration/agent.py +63 -0
- core/engine/orchestration/airspace.py +397 -0
- core/engine/orchestration/atc_monitor.py +111 -0
- core/engine/orchestration/bus.py +126 -0
- core/engine/orchestration/capture_bridge.py +91 -0
- core/engine/orchestration/composition.py +142 -0
- core/engine/orchestration/composition_scorer.py +610 -0
- core/engine/orchestration/context.py +24 -0
- core/engine/orchestration/deep_committee.py +181 -0
- core/engine/orchestration/dispatch_planner.py +229 -0
- core/engine/orchestration/dispatcher.py +100 -0
- core/engine/orchestration/events.py +542 -0
- core/engine/orchestration/executor.py +1925 -0
- core/engine/orchestration/factory.py +51 -0
- core/engine/orchestration/hooks.py +430 -0
- core/engine/orchestration/loop_context.py +97 -0
- core/engine/orchestration/patterns/__init__.py +20 -0
- core/engine/orchestration/patterns/adversarial.py +289 -0
- core/engine/orchestration/patterns/base.py +100 -0
- core/engine/orchestration/patterns/committee.py +65 -0
- core/engine/orchestration/patterns/fanout.py +125 -0
- core/engine/orchestration/patterns/independent.py +142 -0
- core/engine/orchestration/patterns/pipeline.py +150 -0
- core/engine/orchestration/patterns/team.py +234 -0
- core/engine/orchestration/planner.py +206 -0
- core/engine/orchestration/python_dispatcher.py +76 -0
- core/engine/orchestration/request.py +134 -0
- core/engine/orchestration/shell.py +319 -0
- core/engine/orchestration/shells/__init__.py +2 -0
- core/engine/orchestration/shells/agent_sdk_shell.py +101 -0
- core/engine/orchestration/shells/llm_shell.py +108 -0
- core/engine/orchestration/shells/reasoning_shell.py +172 -0
- core/engine/orchestration/testing.py +162 -0
- core/engine/orchestration/worktree_manager.py +162 -0
- core/engine/orchestrator/__init__.py +1 -0
- core/engine/orchestrator/archetypes.py +74 -0
- core/engine/orchestrator/budgets.py +45 -0
- core/engine/orchestrator/classifier.py +552 -0
- core/engine/orchestrator/context.py +670 -0
- core/engine/orchestrator/context_assembler.py +590 -0
- core/engine/orchestrator/context_blocks.py +197 -0
- core/engine/orchestrator/dual_loader.py +445 -0
- core/engine/orchestrator/engagement.py +745 -0
- core/engine/orchestrator/engagement_models.py +36 -0
- core/engine/orchestrator/executor.py +960 -0
- core/engine/orchestrator/history.py +85 -0
- core/engine/orchestrator/injection.py +176 -0
- core/engine/orchestrator/loader.py +430 -0
- core/engine/orchestrator/specialty_resolver.py +218 -0
- core/engine/orchestrator/streaming.py +302 -0
- core/engine/orchestrator/synthesizer.py +401 -0
- core/engine/orchestrator/systems_map.py +283 -0
- core/engine/orchestrator/trust_ranking.py +32 -0
- core/engine/orchestrator/verification_gate.py +65 -0
- core/engine/playbooks/__init__.py +0 -0
- core/engine/playbooks/inline_suggest.py +134 -0
- core/engine/pm/__init__.py +1 -0
- core/engine/pm/approvals.py +215 -0
- core/engine/pm/decompose.py +188 -0
- core/engine/pm/gate_engine.py +300 -0
- core/engine/pm/git.py +322 -0
- core/engine/pm/initiative_states.py +63 -0
- core/engine/pm/locks.py +345 -0
- core/engine/pm/parallel.py +261 -0
- core/engine/pm/review.py +181 -0
- core/engine/pm/risk_assessor.py +69 -0
- core/engine/pm/tracker.py +336 -0
- core/engine/proactive/__init__.py +0 -0
- core/engine/proactive/aggregator.py +359 -0
- core/engine/proactive/models.py +47 -0
- core/engine/proactive/voice.py +80 -0
- core/engine/product/__init__.py +0 -0
- core/engine/product/acceptance.py +380 -0
- core/engine/product/agent_orchestrator.py +353 -0
- core/engine/product/ambition.py +177 -0
- core/engine/product/ambition_loader.py +129 -0
- core/engine/product/ambition_relevance.py +51 -0
- core/engine/product/briefing_diff.py +147 -0
- core/engine/product/briefing_payload.py +60 -0
- core/engine/product/capability_mapper.py +650 -0
- core/engine/product/conversation.py +230 -0
- core/engine/product/cost_intelligence.py +735 -0
- core/engine/product/decision_linker.py +423 -0
- core/engine/product/decisions.py +427 -0
- core/engine/product/discover.py +108 -0
- core/engine/product/discovery_sprint.py +247 -0
- core/engine/product/ecosystem.py +332 -0
- core/engine/product/enforcer.py +565 -0
- core/engine/product/feature_flags.py +33 -0
- core/engine/product/feedback_handler.py +233 -0
- core/engine/product/generation_engine.py +567 -0
- core/engine/product/innovate.py +193 -0
- core/engine/product/isolation.py +154 -0
- core/engine/product/living_graph.py +686 -0
- core/engine/product/living_graph_store.py +166 -0
- core/engine/product/map.py +524 -0
- core/engine/product/models.py +163 -0
- core/engine/product/phase_floors.py +145 -0
- core/engine/product/phase_inference.py +81 -0
- core/engine/product/pillar_aggregator.py +101 -0
- core/engine/product/pillars.py +77 -0
- core/engine/product/portfolio.py +161 -0
- core/engine/product/prioritizer.py +115 -0
- core/engine/product/question_engine.py +154 -0
- core/engine/product/rationale_quality.py +50 -0
- core/engine/product/recommendation_decay.py +89 -0
- core/engine/product/report_generator.py +110 -0
- core/engine/product/report_models.py +134 -0
- core/engine/product/retainer.py +207 -0
- core/engine/product/roadmap.py +225 -0
- core/engine/product/roadmap_doc.py +171 -0
- core/engine/product/roadmap_models.py +39 -0
- core/engine/product/roadmap_staleness.py +72 -0
- core/engine/product/runtime_bridge.py +730 -0
- core/engine/product/seed_generator.py +164 -0
- core/engine/product/seed_packs.py +439 -0
- core/engine/product/shadow_ranker.py +40 -0
- core/engine/product/smart_decompose.py +385 -0
- core/engine/product/spec_generator.py +981 -0
- core/engine/product/spec_models.py +98 -0
- core/engine/product/strategic_prioritizer.py +357 -0
- core/engine/product/strategy_ingest.py +249 -0
- core/engine/product/strategy_seed_data.py +189 -0
- core/engine/product/sub_pillar_escalation.py +30 -0
- core/engine/product/uncertainty.py +130 -0
- core/engine/reasoning/__init__.py +0 -0
- core/engine/reasoning/executor.py +195 -0
- core/engine/reasoning/models.py +35 -0
- core/engine/reasoning/selector.py +199 -0
- core/engine/reasoning/synthesis.py +61 -0
- core/engine/recognition/__init__.py +0 -0
- core/engine/recognition/decision_classifier.py +100 -0
- core/engine/recognition/draft_builder.py +71 -0
- core/engine/recognition/models.py +39 -0
- core/engine/reports/__init__.py +0 -0
- core/engine/reports/assembler.py +159 -0
- core/engine/reports/diagrams.py +195 -0
- core/engine/reports/generator.py +77 -0
- core/engine/reports/narrative.py +87 -0
- core/engine/reports/renderer.py +33 -0
- core/engine/reports/static/mermaid.min.js +2029 -0
- core/engine/reports/templates/audit.html +233 -0
- core/engine/reports/templates/base_styles.css +391 -0
- core/engine/reports/templates/snapshot.html +160 -0
- core/engine/research/__init__.py +1 -0
- core/engine/research/agent.py +574 -0
- core/engine/research/confidence.py +53 -0
- core/engine/research/fetcher.py +204 -0
- core/engine/research/source_registry.py +180 -0
- core/engine/review/__init__.py +0 -0
- core/engine/review/autofix.py +365 -0
- core/engine/review/capture.py +136 -0
- core/engine/review/config.py +43 -0
- core/engine/review/engine.py +310 -0
- core/engine/review/impact.py +147 -0
- core/engine/review/judge.py +194 -0
- core/engine/review/learning.py +144 -0
- core/engine/review/models.py +54 -0
- core/engine/review/providers.py +343 -0
- core/engine/review/taint.py +248 -0
- core/engine/review/testgen.py +202 -0
- core/engine/review/velocity.py +131 -0
- core/engine/review/watcher.py +153 -0
- core/engine/runner/__init__.py +0 -0
- core/engine/runner/daemon.py +306 -0
- core/engine/runner/models.py +36 -0
- core/engine/runtime/__init__.py +23 -0
- core/engine/runtime/adapters/__init__.py +18 -0
- core/engine/runtime/adapters/gemini_adapter.py +85 -0
- core/engine/runtime/adapters/openai_adapter.py +117 -0
- core/engine/runtime/auto_extract.py +82 -0
- core/engine/runtime/away_summary.py +71 -0
- core/engine/runtime/background.py +69 -0
- core/engine/runtime/conductor_bridge.py +103 -0
- core/engine/runtime/context_manager.py +230 -0
- core/engine/runtime/default_models.yml +43 -0
- core/engine/runtime/error_recovery.py +53 -0
- core/engine/runtime/events.py +20 -0
- core/engine/runtime/init_project.py +257 -0
- core/engine/runtime/intelligence.py +140 -0
- core/engine/runtime/mid_session_observer.py +183 -0
- core/engine/runtime/model_adapter.py +391 -0
- core/engine/runtime/model_config.py +362 -0
- core/engine/runtime/models.py +126 -0
- core/engine/runtime/product_detector.py +63 -0
- core/engine/runtime/progress.py +37 -0
- core/engine/runtime/prompt_cache.py +52 -0
- core/engine/runtime/query_loop.py +224 -0
- core/engine/runtime/reflection.py +126 -0
- core/engine/runtime/repo_map.py +254 -0
- core/engine/runtime/retry.py +58 -0
- core/engine/runtime/runtime.py +736 -0
- core/engine/runtime/safety.py +25 -0
- core/engine/runtime/session_memory.py +100 -0
- core/engine/runtime/session_resume.py +128 -0
- core/engine/runtime/token_budget.py +49 -0
- core/engine/runtime/token_tracker.py +82 -0
- core/engine/runtime/tool_executor.py +84 -0
- core/engine/runtime/tools/__init__.py +58 -0
- core/engine/runtime/tools/ace_tools.py +787 -0
- core/engine/runtime/tools/bash.py +65 -0
- core/engine/runtime/tools/browser_tool.py +416 -0
- core/engine/runtime/tools/file_edit.py +168 -0
- core/engine/runtime/tools/file_read.py +67 -0
- core/engine/runtime/tools/file_write.py +52 -0
- core/engine/runtime/tools/git_safety.py +69 -0
- core/engine/runtime/tools/glob_tool.py +71 -0
- core/engine/runtime/tools/grep.py +90 -0
- core/engine/runtime/tools/web_tools.py +427 -0
- core/engine/runtime/transcript.py +52 -0
- core/engine/runtime/verification_nudge.py +35 -0
- core/engine/scanner/__init__.py +1 -0
- core/engine/scanner/ast_parser.py +661 -0
- core/engine/scanner/bandit_runner.py +85 -0
- core/engine/scanner/commit_watcher.py +250 -0
- core/engine/scanner/coverage_extractor.py +189 -0
- core/engine/scanner/embed_hook.py +225 -0
- core/engine/scanner/external.py +368 -0
- core/engine/scanner/frontend_scanner.py +309 -0
- core/engine/scanner/hardening.py +396 -0
- core/engine/scanner/import_parser.py +147 -0
- core/engine/scanner/pattern_search.py +131 -0
- core/engine/scanner/pip_audit_runner.py +71 -0
- core/engine/scanner/ruff_runner.py +95 -0
- core/engine/scanner/scanner.py +1191 -0
- core/engine/scanner/security_scanner.py +106 -0
- core/engine/scanner/trufflehog_runner.py +73 -0
- core/engine/seam/__init__.py +0 -0
- core/engine/seam/backend_extractor.py +174 -0
- core/engine/seam/frontend_extractor.py +214 -0
- core/engine/seam/matcher.py +107 -0
- core/engine/seam/types.py +49 -0
- core/engine/search/__init__.py +1 -0
- core/engine/search/hybrid.py +139 -0
- core/engine/search/rerank.py +68 -0
- core/engine/search/semantic.py +97 -0
- core/engine/search/vector_store.py +112 -0
- core/engine/sentinel/__init__.py +0 -0
- core/engine/sentinel/conflict_detector.py +275 -0
- core/engine/sentinel/decay_manager.py +245 -0
- core/engine/sentinel/engines/__init__.py +202 -0
- core/engine/sentinel/engines/adversarial_synthesis.py +239 -0
- core/engine/sentinel/engines/bootstrap.py +128 -0
- core/engine/sentinel/engines/briefing.py +1155 -0
- core/engine/sentinel/engines/calibration_engine.py +119 -0
- core/engine/sentinel/engines/community_scanner.py +194 -0
- core/engine/sentinel/engines/community_summarizer.py +126 -0
- core/engine/sentinel/engines/competitive_observer.py +353 -0
- core/engine/sentinel/engines/correlation_engine.py +234 -0
- core/engine/sentinel/engines/decision_capability_backfill.py +59 -0
- core/engine/sentinel/engines/domain_research.py +743 -0
- core/engine/sentinel/engines/ecosystem_scanner.py +537 -0
- core/engine/sentinel/engines/edge_inference_sweeper.py +34 -0
- core/engine/sentinel/engines/effectiveness_recomputer.py +37 -0
- core/engine/sentinel/engines/embedding_reconciler.py +106 -0
- core/engine/sentinel/engines/evaluator_honesty.py +182 -0
- core/engine/sentinel/engines/failure_analysis.py +203 -0
- core/engine/sentinel/engines/gap_analyzer.py +845 -0
- core/engine/sentinel/engines/gap_researcher.py +306 -0
- core/engine/sentinel/engines/github_release_watcher.py +182 -0
- core/engine/sentinel/engines/idea_incubator.py +67 -0
- core/engine/sentinel/engines/intelligence_optimizer.py +90 -0
- core/engine/sentinel/engines/knowledge_verifier.py +259 -0
- core/engine/sentinel/engines/metabolism_drainer.py +38 -0
- core/engine/sentinel/engines/outcome_sweeper.py +86 -0
- core/engine/sentinel/engines/overthinking_observer.py +97 -0
- core/engine/sentinel/engines/perspective_gaps.py +193 -0
- core/engine/sentinel/engines/pm_optimizer.py +125 -0
- core/engine/sentinel/engines/provenance_reconciler.py +56 -0
- core/engine/sentinel/engines/question_generator.py +64 -0
- core/engine/sentinel/engines/roadmap_reconciler.py +65 -0
- core/engine/sentinel/engines/seam_analyzer.py +106 -0
- core/engine/sentinel/engines/self_optimizer.py +389 -0
- core/engine/sentinel/engines/session_compressor.py +321 -0
- core/engine/sentinel/engines/simplicity_audit.py +341 -0
- core/engine/sentinel/engines/skill_emergence.py +44 -0
- core/engine/sentinel/engines/specialty_deepener.py +228 -0
- core/engine/sentinel/engines/task_grading_engine.py +116 -0
- core/engine/sentinel/engines/template_detector.py +41 -0
- core/engine/sentinel/engines/voice_audit_sweeper.py +28 -0
- core/engine/sentinel/engines/voice_thread_sweeper.py +92 -0
- core/engine/sentinel/engines/whitespace_engine.py +290 -0
- core/engine/sentinel/engines/wiring_auditor.py +135 -0
- core/engine/sentinel/findings.py +122 -0
- core/engine/sentinel/registry.py +73 -0
- core/engine/sentinel/scheduler.py +350 -0
- core/engine/sentinel/triggers.py +131 -0
- core/engine/session/__init__.py +4 -0
- core/engine/session/adapter.py +32 -0
- core/engine/session/adapters/__init__.py +0 -0
- core/engine/session/adapters/claude_code.py +51 -0
- core/engine/session/adapters/generic.py +47 -0
- core/engine/session/models.py +112 -0
- core/engine/session/registry.py +25 -0
- core/engine/skills/__init__.py +0 -0
- core/engine/skills/executor.py +605 -0
- core/engine/skills/models.py +166 -0
- core/engine/skills/selector.py +160 -0
- core/engine/solution.py +29 -0
- core/engine/synthesis/__init__.py +0 -0
- core/engine/synthesis/signal_store.py +155 -0
- core/engine/synthesis/trigger.py +213 -0
- core/engine/templates/__init__.py +1 -0
- core/engine/templates/emergence.py +107 -0
- core/engine/templates/instantiate.py +148 -0
- core/engine/templates/models.py +41 -0
- core/engine/templates/suggest.py +195 -0
- core/engine/verification/__init__.py +26 -0
- core/engine/verification/behavioral.py +81 -0
- core/engine/verification/benchmark.py +233 -0
- core/engine/verification/checks/__init__.py +2 -0
- core/engine/verification/checks/code_inspection.py +117 -0
- core/engine/verification/checks/execution_check.py +176 -0
- core/engine/verification/checks/integration.py +143 -0
- core/engine/verification/grader.py +237 -0
- core/engine/verification/honesty.py +128 -0
- core/engine/verification/models.py +109 -0
- core/engine/verification/quality_gate.py +167 -0
- core/engine/version.py +3 -0
- core/engine/voice/__init__.py +1 -0
- core/engine/voice/anti_patterns.py +53 -0
- core/engine/voice/audit.py +51 -0
- core/engine/voice/audit_runner.py +102 -0
- core/engine/voice/briefing.py +147 -0
- core/engine/voice/composition.py +47 -0
- core/engine/voice/detectors/__init__.py +0 -0
- core/engine/voice/detectors/drift_detector.py +77 -0
- core/engine/voice/detectors/recommendation_shift_detector.py +125 -0
- core/engine/voice/dispatch.py +20 -0
- core/engine/voice/feature_flag.py +59 -0
- core/engine/voice/hashing.py +35 -0
- core/engine/voice/render_context.py +19 -0
- core/engine/voice/renderers.py +173 -0
- core/engine/voice/rules.py +66 -0
- core/engine/voice/salience.py +26 -0
- core/engine/voice/static_copy_extractor.py +132 -0
- core/engine/voice/stream.py +388 -0
- core/engine/voice/surfaces.py +124 -0
- core/engine/voice/thread.py +150 -0
- core/engine/voice/thread_event.py +23 -0
- core/engine/voice/transitions.py +108 -0
- core/engine/worker/__init__.py +0 -0
- core/engine/worker/app.py +790 -0
- core/engine/worker/bus_bridge.py +71 -0
- core/engine/worker/classifier.py +211 -0
- core/engine/worker/feature_flag.py +31 -0
- core/engine/worker/fs_watcher.py +289 -0
- core/engine/worker/gate.py +204 -0
- core/engine/worker/harness.py +156 -0
- core/engine/worker/health.py +68 -0
- core/engine/worker/intelligence.py +126 -0
- core/engine/worker/knowledge.py +175 -0
- core/engine/worker/models.py +90 -0
- core/engine/worker/processor.py +228 -0
- core/engine/worker/session.py +188 -0
- core/engine/worker/signals.py +91 -0
- core/engine/worker/start.py +34 -0
- core/schema/__init__.py +1 -0
- core/schema/v001_structural.surql +117 -0
- core/schema/v002_intelligence.surql +134 -0
- core/schema/v003_maturation.surql +35 -0
- core/schema/v004_documents.surql +23 -0
- core/schema/v005_synapses.surql +29 -0
- core/schema/v006_flow_config.surql +17 -0
- core/schema/v007_scheduler_signals.surql +67 -0
- core/schema/v008_briefings.surql +27 -0
- core/schema/v009_execution.surql +10 -0
- core/schema/v010_skills.surql +45 -0
- core/schema/v011_reasoning.surql +47 -0
- core/schema/v012_pm.surql +130 -0
- core/schema/v013_ideas_playbooks.surql +59 -0
- core/schema/v014_portal.surql +77 -0
- core/schema/v015_advanced_intelligence.surql +57 -0
- core/schema/v016_portal.surql +5 -0
- core/schema/v017_runner.surql +43 -0
- core/schema/v018_chat_linked.surql +4 -0
- core/schema/v019_jobs_templates.surql +53 -0
- core/schema/v020_measurement.surql +59 -0
- core/schema/v021_evolution.surql +47 -0
- core/schema/v022_idea_conversations.surql +8 -0
- core/schema/v023_orchestration_events.surql +32 -0
- core/schema/v024_experiment_narratives.surql +13 -0
- core/schema/v025_dual_graphs.surql +40 -0
- core/schema/v026_engagement.surql +12 -0
- core/schema/v027_self_optimizer.surql +43 -0
- core/schema/v028_onboarding.surql +6 -0
- core/schema/v029_domain_path_optional.surql +11 -0
- core/schema/v030_competitive_observer.surql +37 -0
- core/schema/v031_graph.surql +343 -0
- core/schema/v032_product_awareness.surql +195 -0
- core/schema/v033_ecosystem.surql +39 -0
- core/schema/v034_product_direction_flex.surql +149 -0
- core/schema/v035_flexible_object_fields.surql +33 -0
- core/schema/v036_vision_themes.surql +30 -0
- core/schema/v037_four_layer_live.surql +113 -0
- core/schema/v038_drop_graph_shadows.surql +15 -0
- core/schema/v039_embeddings.surql +10 -0
- core/schema/v040_connected_graph.surql +77 -0
- core/schema/v041_initiative_lifecycle.surql +23 -0
- core/schema/v042_agent_config.surql +23 -0
- core/schema/v043_composition_memory.surql +51 -0
- core/schema/v044_schemaless_nested_objects.surql +61 -0
- core/schema/v045_atc_flight.surql +23 -0
- core/schema/v046_verification_v2.surql +79 -0
- core/schema/v047_pr_review.surql +21 -0
- core/schema/v048_review_reactions.surql +14 -0
- core/schema/v049_project_scoping.surql +32 -0
- core/schema/v050_engine_schedule_override.surql +14 -0
- core/schema/v051_session_digest.surql +20 -0
- core/schema/v052_capability_lifecycle.surql +78 -0
- core/schema/v053_code_intelligence.surql +53 -0
- core/schema/v054_hierarchy_rename.surql +373 -0
- core/schema/v055_resource_lock_product.surql +19 -0
- core/schema/v056_product_repo_detection.surql +7 -0
- core/schema/v057_cognition.surql +37 -0
- core/schema/v058_org_to_product_rename.surql +56 -0
- core/schema/v059_org_to_product_remaining.surql +192 -0
- core/schema/v060_capability_quality_importance.surql +9 -0
- core/schema/v061_drop_org_workspace.surql +177 -0
- core/schema/v062_intelligence_indexes.surql +28 -0
- core/schema/v063_drop_org_table.surql +30 -0
- core/schema/v064_competitor_org_to_product.surql +30 -0
- core/schema/v065_backfill_product.surql +16 -0
- core/schema/v066_benchmark.surql +50 -0
- core/schema/v067_failure_memory.surql +21 -0
- core/schema/v068_self_improvement.surql +25 -0
- core/schema/v069_routing_feedback.surql +15 -0
- core/schema/v070_graph_decision_scanner_fields.surql +5 -0
- core/schema/v071_reports.surql +6 -0
- core/schema/v072_decision_discipline_hint.surql +8 -0
- core/schema/v073_capability_finding.surql +24 -0
- core/schema/v074_quality_confidence.surql +5 -0
- core/schema/v075_quality_snapshot.surql +15 -0
- core/schema/v076_correlation_signal.surql +15 -0
- core/schema/v077_competitor_capability.surql +25 -0
- core/schema/v078_competitor_seeds.surql +163 -0
- core/schema/v079_whitespace_opportunity.surql +33 -0
- core/schema/v080_strategic_score.surql +12 -0
- core/schema/v081_ace_session.surql +10 -0
- core/schema/v082_event_log.surql +15 -0
- core/schema/v083_staleness_and_file_gate.surql +34 -0
- core/schema/v084_extended_search.surql +57 -0
- core/schema/v085_events.surql +25 -0
- core/schema/v086_insight_utilization.surql +12 -0
- core/schema/v087_classification_cache.surql +9 -0
- core/schema/v088_ab_result.surql +20 -0
- core/schema/v089_ambition_substrate.surql +89 -0
- core/schema/v090_product_feature_flag.surql +12 -0
- core/schema/v091_partnership_entities.surql +38 -0
- core/schema/v092_voice_rendering.surql +34 -0
- core/schema/v093_voice_continuity.surql +34 -0
- core/schema/v094_worker_canvas_bridge.surql +12 -0
- core/schema/v095_closed_loop.surql +34 -0
- core/schema/v096_voice_thread_actions.surql +22 -0
- core/schema/v097_seed_history_indexes.surql +22 -0
- core/schema/v098_capability_seed_origin.surql +14 -0
- core/schema/v099_briefing_seed_origin.surql +15 -0
- core/schema/v100_onboarding_conversation.surql +17 -0
- core/schema/v101_reasoning_journey.surql +41 -0
- core/schema/v102_voice_audit_run.surql +14 -0
- core/schema/v103_canvas.surql +62 -0
- core/schema/v104_foresight_phase1.surql +44 -0
- core/schema/v105_rollout_cache.surql +3 -0
- core/schema/v106_orchestration_channel.surql +31 -0
- core/schema/v107_world_model.surql +26 -0
- core/schema/v108_decision_capability_inference.surql +24 -0
- core/schema/v109_decision_recency_index.surql +17 -0
- core/schema/v110_cost_aware_reasoning.surql +18 -0
- core/schema/v111_team_build_signal_fields.surql +17 -0
- core/schema/v112_insight_needs_embedding.surql +11 -0
- core/schema/v113_insight_legacy_field_widen.surql +30 -0
- core/schema/v114_forget_log.surql +20 -0
- core/schema/v115_forget_log_tamper_detect.surql +22 -0
- core/schema/v116_insight_provenance.surql +13 -0
- core/schema/v117_reasoning_run.surql +31 -0
- core/schema/v118_tool_perf.surql +19 -0
- core/schema/v119_instrument_perf_product_index.surql +12 -0
- core/schema/v120_routing_perf.surql +22 -0
- core/schema/v121_reasoning_run_trace_id.surql +10 -0
- core/schema/v122_run_event_seq.surql +15 -0
- core/schema/v123_graph_tension_event.surql +11 -0
- core/schema/v124_roadmap_phase.surql +19 -0
- core/schema/v125_agent_spec_strategy_status.surql +15 -0
- core/schema/v126_action_outcome.surql +24 -0
- core/schema/v127_action_outcome_profile.surql +12 -0
- core/schema/v129_afferent_edges.surql +21 -0
- core/schema/v130_reasoning_event.surql +12 -0
- core/schema/v131_task_grader_score.surql +9 -0
- core/schema/v132_calibrated_assessment_float.surql +12 -0
- core/schema/v133_community_summary.surql +14 -0
- core/schema/v134_reasoning_fork.surql +7 -0
- core/schema/v135_arm_run.surql +49 -0
- core/schema/v136_grounds_edge.surql +85 -0
- core/schema/v137_reeval_request.surql +32 -0
- core/schema/v138_reeval_rederivation.surql +18 -0
- core/schema/v139_reeval_freshness_marked.surql +24 -0
- core/schema/v140_observation_workspace_remove.surql +22 -0
- core/schema/v141_agent_feedback_org_remove.surql +18 -0
- core/schema/v142_relational_assertions.surql +104 -0
- evaluations/README.md +61 -0
- evaluations/__init__.py +1 -0
- evaluations/fixtures/decision_delta_contract_v1.json +189 -0
- evaluations/fixtures/m5_ic_01_live_protocol_v1.json +104 -0
- evaluations/fixtures/offline_contract.json +41 -0
- evaluations/results/decision_delta_contract_v1.json +1744 -0
- evaluations/results/decision_delta_contract_v1.md +127 -0
- evaluations/results/m2_signature_evaluation.json +401 -0
- evaluations/results/m2_signature_evaluation.md +24 -0
- evaluations/results/m5_ic_01_live_inputs_v1.json +455 -0
- evaluations/results/m5_ic_01_live_receipts_v1.json +600 -0
- evaluations/results/m5_ic_01_live_receipts_v1.md +52 -0
- evaluations/results/offline_contract.json +184 -0
- evaluations/results/offline_contract.md +30 -0
- extensions/README.md +107 -0
- extensions/__init__.py +14 -0
- extensions/reference/__init__.py +9 -0
- extensions/reference/extension.py +109 -0
- extensions/reference/instruments/__init__.py +0 -0
- extensions/reference/instruments/framing.py +57 -0
- extensions/reference/instruments/multi_voice_engage.py +47 -0
- extensions/reference/recipe.py +87 -0
- extensions/reference/sentinels.py +22 -0
- extensions/reference/tools/__init__.py +0 -0
- extensions/reference/tools/product_pulse.py +103 -0
- scripts/__init__.py +1 -0
- scripts/demo_relational_assertions.py +64 -0
- scripts/health_check.py +80 -0
- scripts/migrate_relational_assertions.py +25 -0
- scripts/release_inventory.py +109 -0
- scripts/scaffold_extension.py +143 -0
- scripts/schema_apply.py +200 -0
- scripts/secret_scan.py +213 -0
- scripts/verify_f0_persistence.py +414 -0
- scripts/verify_golden_path.py +86 -0
- scripts/verify_m3_rehearsal.py +127 -0
- scripts/verify_signature_scenario.py +150 -0
ace/__init__.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Notable user- and contributor-visible changes are recorded here.
|
|
4
|
+
|
|
5
|
+
## 0.1.0
|
|
6
|
+
|
|
7
|
+
- Initial developer preview of the `ace-core` Python distribution, preserving the `ace` import
|
|
8
|
+
package, `ace` CLI command, and version `0.1.0`.
|
|
9
|
+
- The supported public interaction boundary is the thin 11-tool MCP package and CLI.
|
|
10
|
+
- Atrium remains a separate experimental visual-product/research track and releases as public
|
|
11
|
+
repository beta source while staying outside the Python wheel/sdist, golden path,
|
|
12
|
+
supported-runtime claims, and supported release contract.
|
|
13
|
+
- The frozen `ace-preview-surface-v1` M2 scenario proved one durable preference survived restart
|
|
14
|
+
and materially affected a later decision. Its matched-model evidence is n=1 and does not support
|
|
15
|
+
a general superiority claim.
|
|
16
|
+
- Python packaging includes the kernel, CLI, thin MCP client, schema migrations, reference
|
|
17
|
+
extension, evaluation material, public documentation, license, and notice while excluding
|
|
18
|
+
Atrium beta source and local state.
|
|
19
|
+
- `ace doctor` validates a protected authenticated request and reports the effective provider-neutral
|
|
20
|
+
model policy; `ace model-policy` exposes fast/capable/frontier mapping and degraded state.
|
|
21
|
+
- Supported Python is 3.12; the SurrealDB Python client is constrained to the compatible 1.x line.
|
|
22
|
+
- The heavyweight CodeSage/PyTorch embedding backend is now an explicit `codesage` extra; the
|
|
23
|
+
default ONNX-backed install no longer pulls GPU/CUDA packages into the release container.
|
|
24
|
+
|
|
25
|
+
Release entries separate supported, experimental, fixed, security, migration, and known-
|
|
26
|
+
limitation notes.
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# Contributing to ACE
|
|
2
|
+
|
|
3
|
+
ACE is an open-source reasoning kernel — the engine that powers partner-team reasoning across any
|
|
4
|
+
domain. The 0.1.0 contribution path covers the kernel, CLI/thin MCP contract, evaluation, docs, and
|
|
5
|
+
extension ecosystem. Atrium is a separately gated experimental visual-product/research track.
|
|
6
|
+
|
|
7
|
+
**Before you start, please read:**
|
|
8
|
+
- [`ROADMAP.md`](ROADMAP.md) — the public priorities and longer-term direction
|
|
9
|
+
- [`docs/capability-maturity.md`](docs/capability-maturity.md) — which surfaces are supported, experimental, conditional, dormant, or planned
|
|
10
|
+
- [`docs/architecture.md`](docs/architecture.md) — how the system works today
|
|
11
|
+
- [`docs/build-your-first-extension.md`](docs/build-your-first-extension.md) — the contributor entry point if you're building an extension
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Setup
|
|
16
|
+
|
|
17
|
+
Prerequisites are Git, Python 3.12, `uv`, and Docker Engine with Compose v2. SurrealDB listens on
|
|
18
|
+
**8001**, not its upstream default port. Atrium's experimental visual-product/research track has a
|
|
19
|
+
separate Node.js toolchain and is not part of preview setup. The ACE kernel is Apache-2.0; the
|
|
20
|
+
separately run SurrealDB server is
|
|
21
|
+
source-available under BSL 1.1 rather than OSI open source.
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# Backend (Python 3.12)
|
|
25
|
+
git clone <your-clone-url> # e.g. your fork of this repository
|
|
26
|
+
cd ace # the cloned directory
|
|
27
|
+
cp .env.example .env # set JWT_SECRET, API_KEY, and one real provider
|
|
28
|
+
docker compose -f infra/docker-compose.yml up -d surrealdb
|
|
29
|
+
uv sync # installs Python deps
|
|
30
|
+
uv run python scripts/schema_apply.py
|
|
31
|
+
uv run uvicorn core.engine.api.main:app --host 127.0.0.1 --port 3000
|
|
32
|
+
|
|
33
|
+
# In another terminal
|
|
34
|
+
uv run ace login --api-key '<API_KEY from .env>'
|
|
35
|
+
uv run ace doctor
|
|
36
|
+
uv run ace model-policy
|
|
37
|
+
uv run python scripts/verify_golden_path.py
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
See the [README](README.md) quickstart for the authoritative end-to-end setup.
|
|
42
|
+
|
|
43
|
+
MCP and CLI are the developer-preview interaction paths. Atrium—the experimental
|
|
44
|
+
visual-product/research track—is present as a repository beta, not a supported Python artifact or
|
|
45
|
+
prerequisite for contributing to the engine.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## How to contribute
|
|
50
|
+
|
|
51
|
+
### 1. Find or open an issue
|
|
52
|
+
|
|
53
|
+
- Bugs: include reproduction steps, expected vs actual behavior, and the relevant subsystem (classifier / composer / deep committee / canvas / sentinel / foresight).
|
|
54
|
+
- Features: open a discussion first if the change touches an architectural contract from [`docs/architecture.md`](docs/architecture.md).
|
|
55
|
+
|
|
56
|
+
### 2. Pick the right surface
|
|
57
|
+
|
|
58
|
+
| You want to... | Touch this |
|
|
59
|
+
|---|---|
|
|
60
|
+
| Add a domain-specific recipe, persona, framework, or tool | An extension — see [`docs/build-your-first-extension.md`](docs/build-your-first-extension.md). Don't add it to the kernel. |
|
|
61
|
+
| Fix a kernel bug or improve a layer's behavior | `core/engine/{orchestrator,orchestration,cognition,capture,sentinel,foresight}/` |
|
|
62
|
+
| Add or evaluate an orchestration pattern | `core/engine/orchestration/` and `tests/orchestration/` |
|
|
63
|
+
| Add a MAKE or SHIP capability | `core/engine/arms/` with focused tests under `tests/` |
|
|
64
|
+
| Propose an Atrium HCI research change | Begin with the isolated research packet; do not expand the preview artifact |
|
|
65
|
+
| Improve evaluation and conformance | `tests/`, especially orchestration, intelligence, extension, and naked-kernel boundaries |
|
|
66
|
+
|
|
67
|
+
### 3. Run the tests
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
uv run pytest path/to/test_file.py -q # focused check while iterating
|
|
71
|
+
make test-fast # pytest excluding e2e
|
|
72
|
+
ACE_DISABLE_EXTENSIONS=1 uv run pytest -m "not e2e and not requires_extensions" -q --tb=short
|
|
73
|
+
uv run ruff check <changed-python-files>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
For extension changes, also run the extension's own test suite if it ships one (e.g. `uv run pytest extensions/<your-extension>/tests/ -m "not e2e"`); the reference extension (`extensions/reference/`) is covered by `tests/extensions/`.
|
|
77
|
+
|
|
78
|
+
Markers distinguish `e2e` and `requires_extensions` work from the default deterministic suite.
|
|
79
|
+
Do not make provider-quality claims from credential-free fixtures; follow
|
|
80
|
+
[`evaluations/README.md`](evaluations/README.md) for matched-model evidence and paid-live guards.
|
|
81
|
+
|
|
82
|
+
### 4. Conventions
|
|
83
|
+
|
|
84
|
+
**Commits:**
|
|
85
|
+
- Conventional commits format: `feat(area): summary` / `fix(area):` / `docs(area):` / `chore(area):` / `refactor(area):` / `test(area):`
|
|
86
|
+
- Body explains the *why*, not the *what* (the diff shows what)
|
|
87
|
+
- No AI co-author attribution — write what you wrote
|
|
88
|
+
- Never use `--no-verify` to skip hooks; fix the underlying issue
|
|
89
|
+
|
|
90
|
+
**Code:**
|
|
91
|
+
- Python: snake_case everything (modules, functions, files). Use `get_llm()` rather than raw provider imports.
|
|
92
|
+
- SurrealDB access uses `from core.engine.core.db import pool`, `async with pool.connection() as db`,
|
|
93
|
+
`parse_rows(result)` for results, and `serialize_record(obj)` before JSON output. Add migrations
|
|
94
|
+
under `core/schema/`, apply them with `uv run python scripts/schema_apply.py`, and test
|
|
95
|
+
against namespace `ace_test`.
|
|
96
|
+
- TypeScript: no inline `color:` / `font-size:` / `padding:` — compose from `core/ui/canvas/src/design/components/`. New patterns extend the design system *first*, get used *second*.
|
|
97
|
+
- Tests live next to the code they cover. Extension tests in `<extension>/tests/`, kernel tests in `tests/`.
|
|
98
|
+
|
|
99
|
+
**Pull requests:**
|
|
100
|
+
- One concept per PR. Split big changes into atomic commits with tests green between them.
|
|
101
|
+
- Reference the issue (`Fixes #N`) if applicable
|
|
102
|
+
- Describe the *blast radius* — which subsystems, which tests, what could break
|
|
103
|
+
- Wait for CI green before requesting review
|
|
104
|
+
- Include focused and required conformance commands with exact results, documentation changes for
|
|
105
|
+
public behavior, and evidence for maturity or performance claims. Link roadmap work to a public
|
|
106
|
+
issue or Project item when one exists.
|
|
107
|
+
- Never include credentials, private graph exports, proprietary fixtures, or private-extension code.
|
|
108
|
+
|
|
109
|
+
The thin 11-tool MCP package and CLI are the preview contracts. The broad HTTP API, internal MCP
|
|
110
|
+
host, Atrium UI seams, and experimental extension hooks may change. Propose stable-contract changes
|
|
111
|
+
before implementation using [`docs/governance.md`](docs/governance.md).
|
|
112
|
+
|
|
113
|
+
### 5. Architectural contracts (don't break these)
|
|
114
|
+
|
|
115
|
+
These are described in [`docs/architecture.md`](docs/architecture.md). They are stable; changes to them require an explicit decision:
|
|
116
|
+
|
|
117
|
+
- **Provider Agnosticism** — no specific LLM provider in engine imports. Always `get_llm()`.
|
|
118
|
+
- **Surface Agnosticism** — engine emits events; surfaces subscribe. No UI imports in engine modules.
|
|
119
|
+
- **Modularity** — capabilities are recipe + instrument combinations addressable by slug.
|
|
120
|
+
- **Decision Lineage** — every meaningful choice gets a `graph_decision` row.
|
|
121
|
+
- **Forward Momentum** — every synthesis emits a forward-looking next move.
|
|
122
|
+
- **Nested Partnership** — `Human ↔ ACE ↔ LLM`. The LLM is computation, not loop controller.
|
|
123
|
+
- **Adaptive Framework Orchestration** — recipes select frameworks dynamically.
|
|
124
|
+
- **Mandatory Design System Use** — every UI component composes from `core/ui/canvas/src/design/components/`.
|
|
125
|
+
|
|
126
|
+
### 6. Extensions: the recommended contribution path
|
|
127
|
+
|
|
128
|
+
Don't copy `extensions/reference/` by hand — scaffold it:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
python -m scripts.scaffold_extension <your_domain>
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
This copies the shipped reference extension and renames every identifier for
|
|
135
|
+
you (class, discipline, recipe, tool), so your starting point is a fully
|
|
136
|
+
wired, fully working extension, not a stub. From there:
|
|
137
|
+
|
|
138
|
+
1. Wire your recipes, instruments, personas, frameworks through the `Registry` facade.
|
|
139
|
+
2. Register via `ace.extensions` Python entry point (the scaffold wires this too).
|
|
140
|
+
3. Your extension package carries its own `tests/` — run them with `pytest` from your package. (Extensions living in-tree under `extensions/` are still picked up by the kernel's test discovery.)
|
|
141
|
+
|
|
142
|
+
The tutorial is canonical: [`docs/build-your-first-extension.md`](docs/build-your-first-extension.md) walks the full flow, file by file. Exact `Registry` contract: [`docs/extension-api.md`](docs/extension-api.md).
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## Discussion
|
|
147
|
+
|
|
148
|
+
- **GitHub Issues** — bugs, feature requests
|
|
149
|
+
- **GitHub Discussions** — architecture questions, design discussions, "is this an extension or a kernel change?"
|
|
150
|
+
- **Security** — see [`SECURITY.md`](SECURITY.md). Do not file security issues in public GitHub Issues.
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## License
|
|
155
|
+
|
|
156
|
+
By contributing, you agree that your contributions will be licensed under the Apache License 2.0 (see [`LICENSE`](LICENSE)). You retain copyright to your contributions; you grant the project a perpetual license to use them under Apache-2.0.
|