원클릭으로
demerzel-team
Spawn and manage Demerzel governance agent teams — spawn from template, check status, pause work, dissolve team
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Spawn and manage Demerzel governance agent teams — spawn from template, check status, pause work, dissolve team
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when a pull request needs review by a different AI model than the one that authored it, or when configuring cross-model code review pipelines in CI/CD.
Run Demerzel's autonomous driver — full cycle or individual phases across all repos
Capture meaningful session state (current cursor, in-flight work, live hypotheses, open questions, do-NOT-carry-forward, success criteria) to state/digests/latest.md so the next session — including one after auto-compaction — can re-enter without re-discovering context cold. Distinct from /learnings (which captures surprises). Validates against docs/contracts/digest-schema.json.
Autonomous research scheduler — selects the most under-researched department by coverage ratio, generates questions from completeness gaps, cross-model validates, auto-produces courses at T>=0.8, rate-limited to 6 cycles/day with kill switch
Personalized AI tutor — turns any topic into a customized, progress-tracked learning course. Use when the user wants to LEARN a concept, skill, language, tool, or domain. Creates a MISSION, curated RESOURCES, iterative lessons with self-checks, and learning-records that persist across sessions. NOT for interrogating the user about their own design (use brainstorming/IDSD for that).
Run one bounded supervised autonomous cycle on the Demerzel governance repo. Picks the smallest unchecked governance slice inside allow_edit, implements it, runs the oracle (`pwsh scripts/verify.ps1`), emits cycle evidence, and stops. Refuses to run unless dev-process-overseer reports loop-eligible and the preflight passes. Use when asked to "run one supervised loop", "advance governance autonomously", or "do one cycle and stop".
| name | demerzel-team |
| description | Spawn and manage Demerzel governance agent teams — spawn from template, check status, pause work, dissolve team |
Spawn, monitor, pause, and dissolve Demerzel governance agent teams. Teams are
assembled from templates defined in AGENTS.md and governed by the constitutional
hierarchy. All team operations are logged and constitutional constraints apply to
every spawned agent.
/demerzel team spawn <template> — spawn a team from a named template
/demerzel team status — show active team members, task states, health
/demerzel team pause — pause all in-progress team work (state preserved)
/demerzel team dissolve — dissolve team, finalize state, archive manifests
Templates are defined in AGENTS.md → Team Structure section. Available templates:
| Template | Members | Use when |
|---|---|---|
full | Demerzel (Lead) + Seldon + Auditor + Architect + Integrator | Full sprint — new features, architecture, cross-repo |
research | Seldon + Auditor | Research cycles, course production, knowledge harvesting |
audit | Auditor + Demerzel (Lead) | Governance audits, compliance checks, behavioral test runs |
build | Architect + Integrator + Auditor | Implementation sprints — grammar, pipeline, schema work |
hotfix | Integrator + Auditor | Bug fixes, broken CI, urgent cross-repo patches |
/demerzel team spawn <template><template> against the table above. Unknown template → escalate, do not guess.personas/. Missing persona → halt and report.AGENTS.md → Starting the Team:
gh issue list, triage by label using the Issue Triage table in AGENTS.md, assign to correct teammate.state/teams/<date>-<template>-team.json (see schema below).LOG.md with timestamp, template, member list.If confidence in task assignments < 0.7, output assignments with a [NEEDS REVIEW] flag and ask the operator to confirm before dispatching.
/demerzel team statusRead state/teams/<latest>-team.json. Output:
Team: <template> spawned <date>
State: active | paused | dissolving
Member | Role | Model | Current Task | Status
----------------|---------------|---------|-----------------|----------
Demerzel (Lead) | Coordinator | Sonnet | #138 schema fix | in_progress
Seldon | Research | Sonnet | #125 manifest | in_progress
Auditor | Quality | Opus | #138 review | pending
Architect | Design | Opus | (idle) | idle
Integrator | Cross-repo | Sonnet | (idle) | idle
Tasks: 2 in_progress / 1 pending / 0 completed / 0 blocked
Constitutional health: OK (no conscience signals)
If no active team manifest exists: No active team. Use /demerzel team spawn <template> to start one.
/demerzel team pausestate/teams/<date>-<template>-team.json under members[].paused_state.state field to paused, record paused_at timestamp.LOG.md.Pause is non-destructive. Work resumes on next /demerzel team spawn from the same template (detects existing paused manifest).
/demerzel team dissolvedissolved. Write final state to manifest.state/teams/archive/<date>-<template>-team.json.state/evolution//seldon deliver if Seldon was a team memberLOG.md with task summary (completed / dissolved / failed counts).Dissolve is permanent for the current team instance. Spawn a fresh team for new work.
{
"template": "full",
"spawned_at": "<ISO timestamp>",
"state": "active | paused | dissolved",
"paused_at": "<ISO timestamp or null>",
"dissolved_at": "<ISO timestamp or null>",
"members": [
{
"role": "Lead",
"name": "Demerzel",
"persona": "personas/demerzel.persona.yaml",
"model": "claude-sonnet-4-6",
"current_task": "<task id or null>",
"status": "active | paused | idle | dissolved",
"paused_state": {}
}
],
"tasks": [
{
"id": "<task id>",
"issue": "<GitHub issue number>",
"assigned_to": "<role>",
"status": "pending | in_progress | completed | dissolved | failed",
"authorization_artifact": "<issue URL or roadmap ref>"
}
],
"constitution_violations": [],
"log": []
}
On /demerzel team spawn <template>, before assembling new agents:
state/teams/ for an existing manifest with matching template and state: paused.paused_state for each member, re-queue tasks from saved manifest.This section bridges the governance spec above to actual Claude Code tool calls.
Each template maps to a TeamCreate call. The team name follows the pattern demerzel-<template>-<YYYY-MM-DD>.
/demerzel team spawn full → TeamCreate(team_name: "demerzel-full-2026-03-26",
description: "Full governance sprint — features, architecture, cross-repo")
/demerzel team spawn research → TeamCreate(team_name: "demerzel-research-2026-03-26",
description: "Research cycle — knowledge harvesting, course production")
/demerzel team spawn audit → TeamCreate(team_name: "demerzel-audit-2026-03-26",
description: "Governance audit — compliance checks, behavioral tests")
/demerzel team spawn build → TeamCreate(team_name: "demerzel-build-2026-03-26",
description: "Implementation sprint — grammar, pipeline, schema work")
/demerzel team spawn hotfix → TeamCreate(team_name: "demerzel-hotfix-2026-03-26",
description: "Hotfix — urgent bug fixes, broken CI, cross-repo patches")
After TeamCreate, spawn each team member as an Agent. Model and subagent_type map from the governance role:
| Role | Name | subagent_type | model | Rationale |
|---|---|---|---|---|
| Lead / Coordinator | Demerzel | general-purpose | sonnet | Throughput-heavy orchestration, task dispatch |
| Research | Seldon | general-purpose | sonnet | High-volume knowledge harvesting, multi-source synthesis |
| Quality / Auditor | Auditor | octo:droids:octo-code-reviewer | opus | Deep reasoning for compliance, behavioral test validation |
| Design / Architect | Architect | octo:droids:octo-backend-architect | opus | Reasoning-heavy design decisions, constitutional review |
| Cross-repo / Integrator | Integrator | general-purpose | sonnet | Throughput-heavy cross-repo coordination |
Each Agent call includes the persona context in its prompt:
Agent(
subagent_type: "general-purpose",
model: "sonnet",
prompt: "You are Seldon (Research). Persona: personas/seldon.persona.yaml.
Constitutional constraints: Asimov Articles 0-5, Default Articles 1-11.
Your current task: <task description>.
Report findings via SendMessage to the team lead."
)
Use TaskCreate to create discrete work items and assign them to teammates:
TaskCreate(
description: "Research tetravalent logic extensions for hexavalent support",
assignee: "Seldon"
)
TaskCreate(
description: "Review schema changes for persona.schema.json v3",
assignee: "Auditor"
)
TaskCreate(
description: "Design cross-repo contract for ix ML feedback loop",
assignee: "Architect",
mode: "plan" // Required for constitution/policy/contract work (Article 6)
)
Track progress with TaskGet / TaskList. Update status with TaskUpdate as agents complete work.
For unattended execution (e.g., overnight research cycles or CI-triggered audits), set bypass permissions:
mode: "bypassPermissions"
This enables agents to proceed without operator confirmation at each step. Constitutional constraints still apply — YOLO mode bypasses permission prompts, not governance gates. Conscience signals and confidence thresholds below 0.3 still trigger hard stops regardless of mode.
Use YOLO mode only when:
Team control commands map to SendMessage calls targeting teammates:
# Status check — query all agents
SendMessage(to: "*", message: "Report current task status and blockers")
# Pause — signal all agents to save state and stop
SendMessage(to: "*", message: "shutdown_request: pause — save current state to team manifest, do not start new tasks")
# Dissolve — finalize and archive
SendMessage(to: "*", message: "shutdown_request: dissolve — finalize all tasks, write final state, prepare for archival")
# Direct a specific agent
SendMessage(to: "Seldon", message: "Priority shift: drop current task, begin research on issue #142")
The team lead (Demerzel) coordinates lifecycle transitions. On pause, each agent writes paused_state to the team manifest before stopping. On dissolve, the lead runs the COMPOUND phase after all agents confirm finalization.
AGENTS.md, constitutions/asimov.constitution.md, constitutions/default.constitution.md,
policies/autonomous-loop-policy.yaml, policies/alignment-policy.yaml,
state/teams/, LOG.md