Xpersona
M

mission-orchestrator

CLAWHUB · Unverified

Orchestrates full project lifecycle by auto-detecting state and routing to the correct phase Skill: mission-orchestrator Owner: athola Summary: Orchestrates full project lifecycle by auto-detecting state and routing to the correct phase Tags: latest:1.9.19 Version history: v1.9.19 | 2026-08-26T13:06:43.113Z | user Release v1.9.19 v1.9.18 | 2026-08-15T21:30:21.176Z | user Release v1.9.18 v1.9.17 | 2026-07-30T05:30:05.641Z | user Release v1.9.17 v1.9.16 | 2026-07-14T19:47:09.463Z | user Release v1.9.16 v1.9.15

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-attune-mission-orchestrator
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-attune-mission-orchestrator/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

147,718 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: mission-orchestrator
description: |
  Orchestrates full project lifecycle by auto-detecting state and routing to the correct phase
version: 1.9.8
triggers:
  - mission
  - orchestrator
  - lifecycle
  - full-cycle
  - automation
  - starting or resuming a project mid-workflow
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/attune", "emoji": "\ud83e\udd9e", "requires": {"config": ["night-market.attune:project-brainstorming", "night-market.attune:project-specification", "night-market.attune:project-planning", "night-market.attune:project-execution", "night-market.attune:war-room-checkpoint", "night-market.attune:war-room", "night-market.leyline:risk-classification", "night-market.leyline:damage-control", "night-market.leyline:additive-bias-defense", "night-market.imbue:justify", "night-market.imbue:vow-enforcement", "night-market.abstract:friction-detector"]}}}
source: claude-night-market
source_plugin: attune
---

> **Night Market Skill** — ported from [claude-night-market/attune](https://github.com/athola/claude-night-market/tree/master/plugins/attune). For the full experience with agents, hooks, and commands, install the Claude Code plugin.


## Table of Contents

- [Overview](#overview)
- [When to Use](#when-to-use)
- [Mission Lifecycle](#mission-lifecycle)
- [Interactive Plan Review](#interactive-plan-review)
- [Mission Types](#mission-types)
- [Phase-to-Skill Mapping](#phase-to-skill-mapping)
- [Session Recovery](#session-recovery)
- [Module Reference](#module-reference)
- [Related Skills](#related-skills)
- [Related Commands](#related-commands)
- [Exit Criteria](#exit-criteria)


# Mission Orchestrator

## Overview

Wraps the entire attune development lifecycle (brainstorm → specify → plan → execute) into a single mission with automatic state detection, type selection, and phase routing. Follows the "persistent presence lens" pattern from `spec-kit:speckit-orchestrator` — delegates entirely to existing skills via `Skill()` calls, never re-implements phase logic.

## When To Use

- Starting a new project from scratch (full lifecycle)
- Resuming an interrupted project workflow
- Running a focused tactical implementation from existing specs
- Quick-fixing from an existing implementation plan

## When NOT To Use

- Running a single phase directly (use `/attune:brainstorm`, `/attune:specify`, etc.)
- Non-project work (code review, debugging, research)
- When you need fine-grained control over phase transitions

## Mission Lifecycle

```
1. State Detection
   Scan for existing artifacts (project-brief.md, specification.md, etc.)
       |
2. Mission Type Selection
   Auto-detect type based on artifacts, or accept user override
       |
3. Phase Routing Loop
   For each phase in the mission type:
       a. Pre-phase validation (check prerequisites)
       b. Invoke Skill(attune:{phase-skill})
       c. Post-phase artifact check (verify output exists)
       d. Post-phase backlog triage

_meta.json

{
  "ownerId": "kn7d107jg9jv602h9ytsegydq184a42s",
  "slug": "nm-attune-mission-orchestrator",
  "version": "1.9.19",
  "publishedAt": 1787749603113
}

modules/adaptive-constraints.md

---
name: adaptive-constraints
description: >-
  Dynamically adjust constraint loading based on
  task complexity. Simple tasks get minimal
  governance; complex tasks get full enforcement.
parent_skill: attune:mission-orchestrator
category: workflow-orchestration
estimated_tokens: 180
---

# Adaptive Constraints (Nen-Free Zones)

## Problem

All missions load the same governance weight
regardless of complexity. Past 150 soft rules,
compliance drops for all rules. A focused 50-line
CLAUDE.md beats an unfocused 300-line one; bad
context performs worse than none. SWE-agent mini
proves 100 lines of focused code reaches 74% on
SWE-bench Verified. Simple tasks need less
governance, not the same governance.

## Constraint Profiles

| Profile | Task Type | Constraints Loaded | Governance |
|---------|-----------|-------------------|------------|
| Minimal | quickfix, single-file changes | Core safety only (no `--no-verify`, no secrets) | No war-room, no scope-guard, no plan review |
| Standard | tactical missions, multi-file | Core safety, scope-guard, and proof-of-work | Plan review, single checkpoint |
| Full | full/standard missions, architecture changes | All constraints, war-room, and extended thinking | Full checkpoints, iteration governor |

## Profile Selection

### By Mission Type

| Mission Type | Default Profile |
|-------------|----------------|
| `quickfix` | Minimal |
| `tactical` | Standard |
| `standard` | Full |
| `full` | Full |

### Manual Override

Override with `--constraints=minimal|standard|full`.
The override bypasses mission-type defaults and
risk upgrades (always wins).

### User Directive Override (Natural Language)

Parse the command-args and any free-text the user
provides at mission start. If a recognized trust
signal is present, treat it as a manual override
with the tier shown below. Directive overrides
behave exactly like `--constraints=` flags: they win
over mission-type defaults and risk upgrades, but
never bypass the Safety Floor.

| User phrase contains | Effective profile | Notes |
|----------------------|-------------------|-------|
| "ignore scope guard" / "skip scope guard" | Standard with scope-guard stripped | Acts like Minimal for scope, keeps proof-of-work |
| "ultrathink" / "deep dive" / "be thorough" | Full quality, Minimal checkpoints | Use full reasoning depth, skip blocking gates |
| "don't ask" / "stop asking" / "no more questions" | Minimal | Auto-continue all phase transitions |
| "be autonomous" / "trust your judgment" | Minimal | Same as above |
| "I trust you" / "go ahead" / "just do it" | Minimal | Same as above |
| "ask before each step" / "supervised" | Full | Force maximum oversight |
| "explain everything" / "teach me" | Full and verbose | Pair with explanatory output style |

Match is case-insensitive substring. Multiple
matches: the most-restrictive directive wins (Full
beats Minimal). The orchestrator records the
matched directive and resulting profile in
`.attune/mission-state.json` under

modules/context-injector.md

---
name: context-injector
description: >-
  Build structured revision prompts from feedback
  files so the planning skill addresses specific
  complaints in the next iteration.
parent_skill: attune:mission-orchestrator
category: workflow-orchestration
estimated_tokens: 150
---

# Context Injector

## Purpose

When a plan revision is requested, transform the
structured feedback into a prompt addition that guides
the planning skill to address the specific complaints
without repeating rejected patterns.

## Revision Prompt Template

The context injector reads the latest
`round-N.json` and builds this prompt block:

```
## Revision Context (Round {N} Feedback)

The previous plan version was reviewed. Address
these items in the revised plan:

### Sections Requiring Revision

**{section_name}** (verdict: {verdict})
Feedback: {rationale}
{annotations if any}

### Sections Approved (Do Not Change)

- {section_name}: approved, keep as-is

### Anti-Patterns to Avoid

Do NOT repeat these patterns from the rejected plan:
- {extracted patterns from rejected sections}

### Constraints Added by Reviewer

- {constraint annotations}
```

## Building the Prompt

### Algorithm

1. Read `.attune/plan-history/feedback/round-N.json`
2. For each section with verdict `revise` or `reject`:
   - Include the section name, verdict, and rationale
   - Include any typed annotations
   - Extract specific patterns to avoid from rejected
     content
3. For each section with verdict `approve`:
   - List as "keep as-is" to prevent regression
4. Collect all `constraint` type annotations into a
   dedicated section
5. If bias findings exist, include them as additional
   constraints

### Feeding Back to the Planning Skill

The revision prompt is passed as additional context
when re-invoking `Skill(attune:project-planning)`:

```
The orchestrator re-invokes the planning skill with:
1. The original specification (docs/specification.md)
2. The revision context block (built above)
3. The previous plan version for reference
```

The planning skill sees the revision context as
requirements that constrain its output.

## War Room Feedback

When the war room returns concerns or rejection:

1. Read the war-room verdict from mission state
2. Convert war-room concerns into the same revision
   prompt format
3. Include the prosecution counsel's specific
   objections as constraints
4. Mark this as "war-room feedback" so the planning
   skill knows the source

## Guard Rails

- The context injector NEVER modifies the plan directly
- It only produces prompt context for the planning skill
- Approved sections are explicitly marked "do not change"
  to prevent regression during revision

modules/feedback-collector.md

---
name: feedback-collector
description: >-
  Capture section-level verdicts (approve/revise/reject)
  with optional rationale and typed annotations, write
  structured feedback to .attune/plan-history/feedback/.
parent_skill: attune:mission-orchestrator
category: workflow-orchestration
estimated_tokens: 200
---

# Feedback Collector

## Purpose

Capture the user's section-by-section review verdicts
and write them as structured JSON for consumption by
the context injector and plan versioner.

## Verdict Types

| Verdict | Meaning | Requires Rationale |
|---------|---------|-------------------|
| `approve` | Section is acceptable | No |
| `revise` | Section needs changes | Yes |
| `reject` | Section is wrong approach | Yes |

## Optional Typed Annotations

When the user wants finer-grained control than
section-level verdicts, they can add typed annotations:

| Type | Purpose |
|------|---------|
| `reject` | Remove this entirely |
| `revise` | Change this, here is why |
| `question` | I do not understand this |
| `constraint` | Add this requirement |

## Feedback File Schema

Written to `.attune/plan-history/feedback/round-N.json`:

```json
{
  "round": 1,
  "plan_version": 1,
  "timestamp": "2026-04-13T14:30:00Z",
  "sections": [
    {
      "name": "architecture",
      "verdict": "revise",
      "rationale": "Split the API layer into read/write services",
      "annotations": []
    },
    {
      "name": "phase-1",
      "verdict": "approve",
      "rationale": null,
      "annotations": []
    },
    {
      "name": "phase-2",
      "verdict": "reject",
      "rationale": "Wrong approach entirely, use event sourcing",
      "annotations": [
        {
          "type": "constraint",
          "text": "Must support event replay for auditing"
        }
      ]
    }
  ],
  "overall": "revision_requested",
  "bias_findings": [],
  "war_room": null
}
```

## Field Descriptions

| Field | Type | Description |
|-------|------|-------------|
| `round` | int | Review round number (1-3) |
| `plan_version` | int | Version of plan being reviewed |
| `timestamp` | ISO 8601 | When feedback was collected |
| `sections` | array | Per-section verdicts |
| `sections[].name` | string | Section identifier |
| `sections[].verdict` | string | approve/revise/reject |
| `sections[].rationale` | string or null | Why, if not approved |
| `sections[].annotations` | array | Optional typed annotations |
| `overall` | string | `approved` or `revision_requested` |
| `bias_findings` | array | From additive-bias-defense scan |
| `war_room` | object or null | War-room verdict (filled after deliberation) |

## Overall Verdict Logic

```
if len(sections) > 0 and all sections have verdict "approve":
    overall = "approved"
elif len(sections) == 0:
    overall = "error: no sections parsed"
else:
    overall = "revision_requested"
```

An empty sections array MUST NOT resolve to "approved."
If the plan parser produces zero sections, report the
error rather than silently approvin

Sponsored

Ads related to mission-orchestrator and adjacent AI workflows.