😏
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Adaptive Engineering
|
||||
|
||||
Use this flagship profile for difficult general software engineering where selective reconnaissance, a separable implementation, or independent review can improve a strong root. Do not use it for trivial edits or as an automatic four-agent fan-out.
|
||||
|
||||
```text
|
||||
Sol orchestrator (active root)
|
||||
├── Luna repo scout (native, read-only)
|
||||
├── DeepSeek V4 Pro implementation specialist (MCP, one leased write scope)
|
||||
└── Claude Opus 5 adversarial reviewer (MCP, read-only)
|
||||
```
|
||||
|
||||
The root decides dynamically which roles justify their cost and continues critical-path work while they run. MCP jobs mechanically receive exact models, goal/turn lifecycle, warning-only stalls, scopes, and strict contracts. The native scout's result format and role boundary are advisory. Root avoidance of an active worker scope is an instruction because the root is not covered by MCP worker leases.
|
||||
|
||||
The implementation specialist and adversarial reviewer run on persistent supervised app-server threads; the root controls both, and the two roles may challenge, steer, pause, or return each other to focused work through exact reciprocal control edges. Transport loss suspends instead of erasing them. The Luna scout remains a Codex-native participant, so MMO does not claim app-server lifecycle or live-control enforcement for that branch.
|
||||
|
||||
Expected cost is medium to high and latency is medium. Optional worker failure reduces coverage but need not block a safe root-owned result. There is no automatic provider substitution.
|
||||
@@ -0,0 +1 @@
|
||||
Act as one strong independent peer, not a ceremonial council. For an architecture consultation, identify competing feasible approaches, hidden assumptions, falsification tests, and the evidence that should decide. For a post-change review, attack correctness, concurrency, security, compatibility, and test gaps. Ground findings in exact evidence and distinguish confirmed defects from hypotheses. Do not decide by model reputation or majority vote.
|
||||
@@ -0,0 +1 @@
|
||||
Implement only the bounded branch and write scope assigned by the root. Work from stated invariants, run focused tests, and return a minimal reviewable patch with exact command evidence. Do not broaden the design, touch unrelated files, or assume that your isolated worktree will be merged. State unresolved risks and blockers plainly; the root alone accepts and integrates the patch.
|
||||
@@ -0,0 +1,3 @@
|
||||
Own the critical path and canonical workspace. Decompose only independent work whose expected value exceeds its handoff cost. Launch the Luna scout early for bounded repository facts, use the DeepSeek specialist for at most one disjoint and objectively testable patch, and use the Opus peer either before implementation for a material architecture fork or after the diff for adversarial review. Continue diagnosing or implementing non-overlapping work while workers run; wait only at a genuine dependency barrier.
|
||||
|
||||
Treat worker output as claims. Read each result, inspect evidence and artifacts, then explicitly accept or reject it. For a writable worker, review the binary patch and tests before explicit integration. Never equate reading with acceptance. Resolve disagreements through repository evidence, commands, tests, or specifications—not voting or model reputation. If an optional route is unavailable, record the degraded topology and complete the task yourself when safe.
|
||||
@@ -0,0 +1 @@
|
||||
Perform only the bounded reconnaissance requested. Report exact paths, symbols, line locations, tests, commands, and uncertainties. Do not design the solution, edit files, or duplicate the root's critical-path investigation. Make every consequential claim easy for the root to verify from repository evidence.
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"title": "Bounded isolated engineering patch",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"summary": {"type": "string", "minLength": 1},
|
||||
"changes": {"type": "array", "items": {"type": "string"}, "maxItems": 50},
|
||||
"files": {"type": "array", "items": {"type": "string"}, "maxItems": 50, "uniqueItems": true},
|
||||
"commands": {
|
||||
"type": "array",
|
||||
"maxItems": 30,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"command": {"type": "string", "minLength": 1},
|
||||
"exit_code": {"type": "integer"},
|
||||
"observation": {"type": "string", "minLength": 1}
|
||||
},
|
||||
"required": ["command", "exit_code", "observation"]
|
||||
}
|
||||
},
|
||||
"risks": {"type": "array", "items": {"type": "string"}, "maxItems": 30},
|
||||
"blockers": {"type": "array", "items": {"type": "string"}, "maxItems": 30}
|
||||
},
|
||||
"required": ["summary", "changes", "files", "commands", "risks", "blockers"]
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"status": {"enum": ["ok", "conflict", "blocked"], "type": "string"},
|
||||
"evidence": {
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"claim": {"minLength": 1, "type": "string"},
|
||||
"source": {"minLength": 1, "type": "string"},
|
||||
"location": {"type": "string"},
|
||||
"observation": {"minLength": 1, "type": "string"}
|
||||
},
|
||||
"required": ["claim", "source", "observation"],
|
||||
"type": "object"
|
||||
},
|
||||
"maxItems": 100,
|
||||
"type": "array"
|
||||
},
|
||||
"conflicts": {"items": {"type": "string"}, "maxItems": 30, "type": "array"},
|
||||
"limitations": {"items": {"type": "string"}, "maxItems": 30, "type": "array"}
|
||||
},
|
||||
"required": ["status", "evidence", "conflicts", "limitations"],
|
||||
"title": "Repository evidence report",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"title": "Independent architecture or diff review",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"verdict": {"type": "string", "enum": ["pass", "concerns", "fail", "blocked"]},
|
||||
"review_mode": {"type": "string", "enum": ["architecture", "post_change"]},
|
||||
"findings": {
|
||||
"type": "array",
|
||||
"maxItems": 50,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"severity": {"type": "string", "enum": ["critical", "high", "medium", "low", "note"]},
|
||||
"claim": {"type": "string", "minLength": 1},
|
||||
"evidence": {"type": "string", "minLength": 1},
|
||||
"location": {"type": "string"},
|
||||
"falsification": {"type": "string", "minLength": 1}
|
||||
},
|
||||
"required": ["severity", "claim", "evidence", "falsification"]
|
||||
}
|
||||
},
|
||||
"alternatives": {"type": "array", "items": {"type": "string"}, "maxItems": 20},
|
||||
"blockers": {"type": "array", "items": {"type": "string"}, "maxItems": 20}
|
||||
},
|
||||
"required": ["verdict", "review_mode", "findings", "alternatives", "blockers"],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {"properties": {"verdict": {"const": "pass"}}, "required": ["verdict"]},
|
||||
"then": {"properties": {"findings": {"maxItems": 0}, "blockers": {"maxItems": 0}}}
|
||||
},
|
||||
{
|
||||
"if": {"properties": {"verdict": {"const": "blocked"}}, "required": ["verdict"]},
|
||||
"then": {"properties": {"blockers": {"minItems": 1}}}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
schema_version = 8
|
||||
id = "adaptive-engineering"
|
||||
version = "8.0.0"
|
||||
display_name = "Adaptive Engineering"
|
||||
description = "A productive Sol root selectively combines fast native reconnaissance, an economical isolated implementation branch, and one strong cross-provider peer."
|
||||
tags = ["engineering", "adaptive", "hybrid", "featured"]
|
||||
maturity = "featured"
|
||||
root = "orchestrator"
|
||||
smoke = "smoke.toml"
|
||||
|
||||
[agents.orchestrator]
|
||||
kind = "root"
|
||||
description = "Critical-path engineer, canonical writer, evidence adjudicator, and integration authority"
|
||||
model = "codex_chatgpt_builtin__gpt_5_6_sol"
|
||||
reasoning = "high"
|
||||
allowed_reasoning_efforts = ["medium", "high", "xhigh", "max"]
|
||||
execution_mode = "goal"
|
||||
goal_token_budget = 600000
|
||||
max_goal_token_budget = 1000000
|
||||
stall_warning_seconds = 3600
|
||||
finalization_grace_seconds = 1800
|
||||
plan_reasoning = "high"
|
||||
permissions = "workspace-write"
|
||||
can_spawn = ["repo_scout", "implementation_specialist", "adversarial_reviewer"]
|
||||
max_active = 1
|
||||
trust = "high"
|
||||
verification = "risk_based"
|
||||
attachments_allowed = true
|
||||
requires_modalities = ["text", "image"]
|
||||
instructions = "agents/orchestrator.md"
|
||||
|
||||
[agents.repo_scout]
|
||||
description = "Fast native read-only repository and test reconnaissance"
|
||||
model = "codex_chatgpt_builtin__gpt_5_6_luna"
|
||||
reasoning = "medium"
|
||||
allowed_reasoning_efforts = ["low", "medium", "high"]
|
||||
permissions = "read-only"
|
||||
backends = ["native"]
|
||||
can_spawn = []
|
||||
max_active = 1
|
||||
allowed_task_kinds = ["analysis", "locate", "references", "test_analysis"]
|
||||
trust = "normal"
|
||||
verification = "material_changes"
|
||||
contract_enforcement = "warn"
|
||||
output_contract = "contracts/evidence.json"
|
||||
instructions = "agents/repo-scout.md"
|
||||
|
||||
[agents.implementation_specialist]
|
||||
description = "One bounded, disjoint, objectively testable implementation branch"
|
||||
model = "opencode_go_openai_chat__deepseek_v4_pro"
|
||||
reasoning = "high"
|
||||
allowed_reasoning_efforts = ["high", "max"]
|
||||
execution_mode = "goal"
|
||||
goal_token_budget = 250000
|
||||
max_goal_token_budget = 400000
|
||||
stall_warning_seconds = 1800
|
||||
finalization_grace_seconds = 1200
|
||||
permissions = "workspace-write"
|
||||
backends = ["mcp"]
|
||||
can_spawn = []
|
||||
max_active = 1
|
||||
allowed_task_kinds = ["analysis", "implement", "debug", "test", "refactor"]
|
||||
trust = "high"
|
||||
verification = "always"
|
||||
contract_enforcement = "strict"
|
||||
output_contract = "contracts/engineering.json"
|
||||
instructions = "agents/implementation-specialist.md"
|
||||
|
||||
[agents.adversarial_reviewer]
|
||||
description = "One architecture consultation or post-change adversarial review"
|
||||
model = "opencode_zen_anthropic_messages__claude_opus_5"
|
||||
reasoning = "high"
|
||||
allowed_reasoning_efforts = ["medium", "high", "xhigh", "max"]
|
||||
execution_mode = "turn"
|
||||
stall_warning_seconds = 1800
|
||||
finalization_grace_seconds = 900
|
||||
permissions = "read-only"
|
||||
backends = ["mcp"]
|
||||
can_spawn = []
|
||||
max_active = 1
|
||||
allowed_task_kinds = ["architecture", "review", "verification", "security_review"]
|
||||
trust = "adversarial_reviewer"
|
||||
verification = "root_adjudication"
|
||||
contract_enforcement = "strict"
|
||||
output_contract = "contracts/review.json"
|
||||
instructions = "agents/adversarial-reviewer.md"
|
||||
|
||||
[agents.orchestrator.controls.repo_scout]
|
||||
actions = ["inspect", "trace", "steer", "interrupt", "pause", "continue", "detach", "stop", "finalize", "compact", "respond", "set_effort", "fork"]
|
||||
|
||||
[agents.orchestrator.controls.implementation_specialist]
|
||||
actions = ["inspect", "trace", "steer", "interrupt", "pause", "continue", "detach", "stop", "finalize", "compact", "respond", "set_effort", "fork"]
|
||||
|
||||
[agents.orchestrator.controls.adversarial_reviewer]
|
||||
actions = ["inspect", "trace", "steer", "interrupt", "pause", "continue", "detach", "stop", "finalize", "compact", "respond", "set_effort", "fork"]
|
||||
|
||||
[agents.implementation_specialist.controls.adversarial_reviewer]
|
||||
actions = ["inspect", "trace", "steer", "interrupt", "pause", "continue", "detach", "stop", "finalize", "compact", "respond", "set_effort", "fork"]
|
||||
|
||||
[agents.adversarial_reviewer.controls.implementation_specialist]
|
||||
actions = ["inspect", "trace", "steer", "interrupt", "pause", "continue", "detach", "stop", "finalize", "compact", "respond", "set_effort", "fork"]
|
||||
|
||||
[coordination]
|
||||
mode = "adaptive_engineering"
|
||||
orchestration = "hybrid"
|
||||
max_active_agents = 4
|
||||
max_depth = 1
|
||||
max_children_per_agent = 3
|
||||
max_active_writers = 1
|
||||
native_max_concurrent_threads = 1
|
||||
native_nested_delegation = false
|
||||
reject_ancestor_role = true
|
||||
wait_policy = "dependency_only"
|
||||
write_conflict_policy = "reject"
|
||||
contradiction_policy = "primary_evidence"
|
||||
result_visibility = "ancestors"
|
||||
@@ -0,0 +1,32 @@
|
||||
schema_version = 8
|
||||
|
||||
[[tasks]]
|
||||
agent = "orchestrator"
|
||||
task_kind = "analysis"
|
||||
task = "Inspect this repository read-only and explain when this profile should select each worker and when the root should continue alone."
|
||||
mode = "read-only"
|
||||
wall_timeout_seconds = 600
|
||||
|
||||
[[tasks]]
|
||||
agent = "repo_scout"
|
||||
task_kind = "locate"
|
||||
task = "Locate the profile compiler and its tests. Return exact paths and evidence in the required JSON shape; do not propose changes."
|
||||
backend = "native"
|
||||
mode = "read-only"
|
||||
wall_timeout_seconds = 600
|
||||
|
||||
[[tasks]]
|
||||
agent = "implementation_specialist"
|
||||
task_kind = "analysis"
|
||||
task = "Inspect the profile schema validation read-only. Return the required engineering JSON with an empty changes/files list and any focused validation command evidence."
|
||||
backend = "mcp"
|
||||
mode = "read-only"
|
||||
wall_timeout_seconds = 900
|
||||
|
||||
[[tasks]]
|
||||
agent = "adversarial_reviewer"
|
||||
task_kind = "review"
|
||||
task = "Review the adaptive profile definition for one concrete orchestration risk. Return only the required review JSON grounded in repository evidence."
|
||||
backend = "mcp"
|
||||
mode = "read-only"
|
||||
wall_timeout_seconds = 900
|
||||
Reference in New Issue
Block a user