agent-conductor

v0.1.0
io.github.icohangar-ops/agent-conductor Checked 2 days ago Published 3 months ago

AGENTS.md + skills MCP with CHP R0 gate and adversary decision tools.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

contract_load

Compile an AGENTS.md operating manual into a structured agent contract: mission, non-negotiable rules, layer responsibilities, verification gates, recommended skills, and out-of-scope list. Pass a file path or a project directory (defaults to the current working directory).

ParameterTypeDescription
pathstringAGENTS.md path or project root

contract_verification

Return the verification gates from a project's agent contract — the named checklists and shell commands that must pass before work is handed off. Run these and confirm success before declaring any task complete.

ParameterTypeDescription
pathstringAGENTS.md path or project root

skills_list

Discover SKILL.md skills visible from a project root (project-scope .conductor/.claude/.cursor skill dirs, then personal ones). Returns metadata only (~100 tokens per skill); use skill_load for the full body.

ParameterTypeDescription
projectRootstringProject root (defaults to cwd)

skill_load

Load the full SKILL.md body for a named skill — the on-demand half of progressive disclosure. Call only when the current task matches the skill's description.

ParameterTypeDescription
name *stringSkill name as returned by skills_list
projectRootstringProject root (defaults to cwd)

decision_gate

Run the Consensus Hardening Protocol R0 gate on a proposed decision: is it solvable, scoped, valid, and worth making at all? Any FATAL answer returns HALT — stop and reframe before doing the work.

ParameterTypeDescription
scoped *booleanIs the scope explicitly bounded?
solvable *booleanCan this problem actually be solved?
valid *booleanIs the current state accurately understood?
worth_it *booleanDo the stakes justify the work?

decision_adversary

Run a one-shot Consensus Hardening Protocol adversarial pass against a claim or proposed change: CHP attacks its foundations, scores them 0-100, and returns findings plus a session status (EXPLORING / HALT / REFRAME_REQUIRED). Use before locking any high-stakes decision.

ParameterTypeDescription
claim *stringThe claim or decision to attack
contextstringSupporting context for the claim
high_stakesbooleanDefault true

engine_status

Health/readiness probe for the CHP decision engine (Python subprocess). By default returns a cheap readiness snapshot (running, last exit code, restart-backoff state) WITHOUT spawning Python. Pass probe=true to also issue a live ping that warms/spawns the subprocess.

ParameterTypeDescription
probebooleanIssue a live ping (spawns the subprocess). Default false.