/wire:migrate (no arguments — auto-detects the .wire/ layout)from wire
Auto-detects and migrates a flat .wire/ layout from pre-v3.4.0 to the two-tier engagement/releases structure. Opt-in step-level execution tracing available via WIRE_TRACE=true.
Ships in wire. Installing the plugin adds it to Claude Code.
$ARGUMENTS
.wire (project data and status files)When following the workflow specification below, resolve paths as follows:
.wire/ in specs refers to the .wire/ directory in the current repositoryTEMPLATES/ references refer to the templates section embedded at the end of this commandspecs/<path>.md references are shared workflow docs shipped with this plugin — read them from ${CLAUDE_PLUGIN_ROOT}/specs/<path>.md. If the path matches a Wire command (e.g. specs/requirements/generate.md), it means that command (/wire:requirements-generate) and its spec is already embedded in the command file.execution_log.md records one terse row per whole command (timestamp, command, result, a detail string capped at 120 characters). That's enough for a normal audit trail, but it can't answer "what actually happened inside that command, step by step" — which specific files it read, what it inferred, what it proposed, what a consultant decided, why. Tracing exists for engagements that want that depth: a complete, structured, append-only record of every step of every command, scoped to the release and release type it ran under.
Off by default. Tracing never runs unless WIRE_TRACE=true is set in the shell environment. If it isn't, skip this entire section — do nothing, check nothing further, proceed straight to the Workflow Specification exactly as if this section didn't exist. This is the common case and must add zero overhead.
.wire/releases/<release_folder>/trace.jsonl — one JSON object per line (JSON Lines), append-only, alongside that release's status.md and execution_log.md.
For commands not scoped to a specific release (cross-cutting utilities with release_types: [] in their own front-matter, or any command whose argument isn't a release folder), write to .wire/trace.jsonl at the engagement level instead, with release and release_type fields set to null.
This file is local only — nothing in it is ever sent anywhere, unlike the anonymous Segment telemetry event described elsewhere. It stays on the consultant's machine, inside the engagement's own repo, exactly like execution_log.md.
If WIRE_TRACE=true:
release_type (read .wire/releases/<release_folder>/status.md's project_type or release_type field). If this command has no release-folder argument, both are null.command_start event before beginning the Workflow Specification below.step event after completing each one — and where a step itself has meaningfully distinct numbered sub-parts (e.g. "check location A, then location B, then infer a match, then propose it"), treat each of those as its own step event too rather than collapsing them into one. The detail field has no length limit and is not a summary — write what actually happened: values found, files read, decisions made and why, what was proposed and what the consultant chose. If this step involved the data model registry or any other external/optional resource, log it explicitly: whether it was reached, what was searched, what matched (or didn't, and why not), and whether/how the result was used downstream.command_end event when the workflow finishes, with the same result value this command would write to execution_log.md (complete, pass, fail, approved, etc.).Use this pattern for every event (adjust the heredoc body and the Python literals per call — this is a template, not a fixed script):
[ "${WIRE_TRACE:-false}" = "true" ] && {
mkdir -p ".wire/releases/<release_folder>" 2>/dev/null
cat > "/tmp/wire_trace_detail_$$.txt" << 'WIRE_TRACE_DETAIL_EOF'
<the full, untruncated detail text for this event — safe to include quotes,
newlines, code snippets, anything; this heredoc is not shell-interpreted>
WIRE_TRACE_DETAIL_EOF
python3 -c "
import json, datetime
detail = open('/tmp/wire_trace_detail_$$.txt').read().rstrip('\n')
event = {
'ts': datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ'),
'release': '<release_folder_or_null>',
'release_type': '<release_type_or_null>',
'command': 'migrate',
'event': '<command_start|step|command_end>',
'step': '<step_number_or_null>',
'step_name': '<step_heading_or_null>',
'result': '<result_value_or_null>',
'detail': detail,
}
with open('.wire/releases/<release_folder>/trace.jsonl', 'a') as f:
f.write(json.dumps(event) + chr(10))
"
rm -f "/tmp/wire_trace_detail_$$.txt"
}
<release_folder_or_null> / <release_type_or_null>: from Step 1 above; write the literal JSON null (no quotes) if either doesn't apply, or a quoted string if it does.event: command_start, step, or command_end.step / step_name: null for command_start/command_end; the step's own number (e.g. "1.5") and heading (e.g. "Check for a Canonical Vertical Match") for a step event.result: null except on command_end.open(...) call to .wire/trace.jsonl for engagement-level (non-release-scoped) commands.trace.jsonl.execution_log.md and Telemetry, not a replacement for either. All three continue exactly as documented elsewhere; tracing is a separate, optional, much finer-grained record for engagements that opt in.execution_log.md is that it isn't limited to a 120-character line — write the real detail.{"ts":"2026-07-05T14:20:03Z","release":"20260705_acme","release_type":"full_platform","command":"data_model-generate","event":"command_start","step":null,"step_name":null,"result":null,"detail":"Invoked for release 20260705_acme (full_platform)"}
{"ts":"2026-07-05T14:20:11Z","release":"20260705_acme","release_type":"full_platform","command":"data_model-generate","event":"step","step":"1.5.1","step_name":"Resolve the registry location","result":null,"detail":"Checked wire/data-model-registry/ (not found — not the Wire source repo). Checked ~/.wire/data-model-registry/ (found — cloned via /wire:utils-data-model-registry-setup on 2026-07-01)."}
{"ts":"2026-07-05T14:20:19Z","release":"20260705_acme","release_type":"full_platform","command":"data_model-generate","event":"step","step":"1.5.2","step_name":"Resolve the vertical","result":null,"detail":"No confident vertical match for Acme (B2B SaaS, no dedicated saas vertical in the registry). Adjacent match found: subscription-commerce — entity shape (subscriber, subscription, subscription_event, monthly_retention, subscription_revenue) proposed as a structural analogue for Acme's MRR/NRR model."}
{"ts":"2026-07-05T14:20:34Z","release":"20260705_acme","release_type":"full_platform","command":"data_model-generate","event":"step","step":"1.5.3","step_name":"Check cross-vertical patterns","result":null,"detail":"crm_identity_resolution flagged as relevant — requirements FR-12 describes reconciling Salesforce and HubSpot contact records, a 12% mismatch rate noted in discovery. Proposed alongside the subscription-commerce adjacent match."}
{"ts":"2026-07-05T14:21:02Z","release":"20260705_acme","release_type":"full_platform","command":"data_model-generate","event":"step","step":"1.5.4","step_name":"Propose and record decision","result":null,"detail":"Presented both proposals. Consultant chose 'adapt' on subscription-commerce (kept subscriber/subscription/subscription_revenue, dropped monthly_retention as out of scope for this phase, renamed subscription_event to billing_event to match client terminology) and 'yes' on crm_identity_resolution as-is. Recorded data_model_registry.vertical: subscription-commerce and cross_vertical_schemas: [crm_identity_resolution] in .wire/engagement/context.md."}
{"ts":"2026-07-05T14:34:47Z","release":"20260705_acme","release_type":"full_platform","command":"data_model-generate","event":"step","step":"5","step_name":"Carry reference pointers forward","result":null,"detail":"account_dim mapped to subscription-commerce's subscriber entity — generation_constraints and reference_implementation pointer carried into data_model_specification.md. subscription_fct mapped to subscription entity, same treatment. contact_identity_map (new, from crm_identity_resolution) added as its own integration model with that pattern's reference_implementation pointer."}
{"ts":"2026-07-05T14:41:15Z","release":"20260705_acme","release_type":"full_platform","command":"data_model-generate","event":"command_end","step":null,"step_name":null,"result":"complete","detail":"Generated data_model_specification.md — 14 models (5 staging, 4 integration, 5 warehouse), including 2 informed by the accepted registry proposals above."}
wire_schema: "1.0" command: lifecycle artifact: migrate domain: migrate release_types: [] action_type: lifecycle logs_execution: true inputs: required: - name: release_folder description: "Path to the release folder" description: Migrate an engagement repository to the current Wire v3.4+ structure, auto-detecting the source layout argument-hint: (no arguments — auto-detects the layout)
Migrate an engagement repository to the Wire v3.4+ two-tier layout (.wire/engagement/ + .wire/releases/), regardless of the source layout. Two migration paths are supported:
| Case | Source layout | Description |
|---|---|---|
| Case A | Pre-v3.4 flat .wire/ | Old layout with project folders directly under .wire/ |
| Case B | Near-wire root-level structure | Repos with releases/, context/, artifacts/ at the repo root — no .wire/ directory — that evolved organically alongside the Wire framework |
| Case C | v3.4+ layout with the briefly-used release_type: "shape_up_discovery" | Already on the two-tier layout, but the release type is the v3.5.0 name that was reverted in v3.5.1 — rewrite to the canonical discovery and update any internal references |
| Case D | Custom commands in wrong namespace | Wire custom command wrappers written to .claude/commands/ directly (pre-v3.5.7 behaviour) instead of .claude/commands/wire/, causing them to appear without the /wire: prefix |
This command is safe to re-run. For Case B, the migration runs on a new git branch and raises a PR so changes can be reviewed before merging. Case C is a small in-place edit and does not need its own branch.
.wire/ (source).wire/
20260202_northfield_live_pastoral/
status.md
artifacts/
sow.pdf
kickoff_notes.md
requirements/
design/
dev/
test/
deploy/
enablement/
20260310_acme_marketing_analytics/
status.md
artifacts/
proposal.pdf
2026-03-01-discovery-call.md
requirements/
...
releases/
01-discovery/
brief.md
plan.md
status.md ← deliverable table format (D01, D02, …)
deliverables/
d01-business-structure-review.md
...
context/
engagement.md ← YAML frontmatter + rich engagement content
stakeholders.md
decisions.md
glossary.md
references/
sow.pdf
requirements-specification.md
artifacts/
meetings/
raw/ ← Fathom API JSON
processed/ ← structured markdown transcripts and summaries
notion/
slack/
utils/
script_*.py
.claude/
commands/
engagement/
release/
session/
settings.json
CLAUDE.md
.wire/
engagement/
context.md ← synthesised from context/engagement.md (Case B) or generated (Case A)
stakeholders.md ← moved from context/ (Case B)
decisions.md ← moved from context/ (Case B)
glossary.md ← moved from context/ (Case B)
sow.pdf / sow.md ← moved from context/references/ or artifacts/
calls/ ← meeting transcripts and summaries
org/ ← empty, ready for org charts
references/ ← moved from context/references/ (Case B)
releases/
01-discovery/
status.md ← wire YAML frontmatter format
deliverables/ ← preserved
brief.md ← preserved
plan.md ← preserved
02-build-sprint-1/
status.md
...
research/
sessions/ ← auto-populated by research skill
artifacts/ ← NON-meeting reference materials stay at root (Case B)
notion/
slack/
utils/ ← utility scripts stay at root (Case B)
CLAUDE.md ← updated to Wire framework conventions
Inspect the repository root:
ls -la
ls -la .wire/ 2>/dev/null || echo "no .wire"
Determine which case applies:
| Condition | Result |
|---|---|
.wire/engagement/ exists, no stray project folders at .wire/ root, and no release_type: "shape_up_discovery" strings | Already migrated — check for Case D then stop |
.wire/engagement/ exists AND any .wire/releases/*/status.md contains release_type: "shape_up_discovery" (the briefly-used identifier, reverted to discovery in v3.5.1) | Case C — release-type normalise |
.wire/ exists with project folders directly under it (no engagement/ or releases/ subdirs) | Case A |
No .wire/ directory; root contains releases/ dir and context/engagement.md | Case B |
Neither .wire/ nor releases/context/ found | Error: nothing to migrate — suggest /wire:new |
Run the Case D check as follows:
grep -rl 'Read the spec at .wire/releases/' .claude/commands/ 2>/dev/null \
| grep -v '/.claude/commands/wire/'
If any files match, Case D applies — chain it in after whichever primary case runs (or run it standalone if the repo is already on the current layout). Case D is always checked last, regardless of which other cases ran.
If Case A: proceed to Case A Workflow. If Case B: proceed to Case B Workflow. If Case C: proceed to Case C Workflow. After any case (or if the layout is already current): check and run Case D if the grep above returns results.
Case A and Case B may also require Case C steps if the migrated releases use the briefly-used shape_up_discovery identifier — after completing the primary case, re-check for release_type: "shape_up_discovery" and chain into Case C if found.
(Pre-v3.4.0 flat .wire/ layout → v3.4+ two-tier layout)
Scan .wire/ for directories that:
engagement, releases, or researchstatus.md fileDisplay the proposed migration to the user and ask for confirmation before proceeding.
Found N project folder(s) in the old layout:
.wire/20260202_northfield_live_pastoral/
.wire/20260310_acme_marketing_analytics/
These will be migrated to:
.wire/releases/01-northfield-live-pastoral/
.wire/releases/02-acme-marketing-analytics/
Engagement-level files found:
sow.pdf → .wire/engagement/sow.pdf
kickoff_notes.md → .wire/engagement/calls/migrated-kickoff_notes.md
Continue? (yes/no)
For each old project folder:
20260202_) if present01-, 02-, …) oldest firstScan each project folder's artifacts/ directory for:
sow, statement-of-work, proposal, contract, scopecall, transcript, meeting, notes, kickoff, review, standup, syncmkdir -p .wire/engagement/calls
mkdir -p .wire/engagement/org
mkdir -p .wire/releases
mkdir -p .wire/research/sessions
.wire/releases/mv .wire/<old-folder>/ .wire/releases/<new-release-name>/
If a target name already exists under .wire/releases/, append -2 and warn.
.wire/engagement/.wire/engagement/calls/
YYYY-MM-DD- prefix, prepend migrated-.wire/engagement/context.mdSynthesise from available metadata in the releases' status.md YAML frontmatter:
---
engagement_name: "<derived from project folder names>"
client_name: "<extracted from status.md YAML or folder name>"
repo_mode: combined
client_repo: null
created_date: "<oldest release creation date>"
migrated_from_version: "pre-v3.4.0"
---
# Engagement: <Client Name>
> **Migrated** from pre-v3.4.0 flat layout on <today's date> by `/wire:migrate`.
> Review and update the fields below.
## Objectives
[Add engagement objectives here]
## Key Stakeholders
| Name | Role | Organisation | Contact |
|------|------|-------------|---------|
## Current-State Architecture
[Add description here]
## Working Agreements
- Branch naming: `feature/<release-name>`
- Review process: [add details]
## Releases in This Engagement
| Release Folder | Release Type | Status |
|----------------|-------------|--------|
For each release, add a row using the release_type from its status.md YAML.
For each migrated release, add a session_history entry if it does not exist:
## Session History
| Date | Objective | Accomplished | Next Focus |
|------|-----------|--------------|------------|
| <today> | Migrated from pre-v3.4.0 layout | Release moved to .wire/releases/<folder>/ | Resume from last completed artifact |
Also update the project_id field in the frontmatter if it changed.
╔══════════════════════════════════════════════════════════╗
║ WIRE MIGRATION COMPLETE (Case A) ║
╚══════════════════════════════════════════════════════════╝
Releases migrated:
.wire/20260202_northfield_live_pastoral/
→ .wire/releases/01-northfield-live-pastoral/
.wire/20260310_acme_marketing_analytics/
→ .wire/releases/02-acme-marketing-analytics/
Engagement files:
.wire/.../artifacts/sow.pdf → .wire/engagement/sow.pdf
.wire/.../artifacts/kickoff_notes.md → .wire/engagement/calls/migrated-kickoff_notes.md
Created:
.wire/engagement/context.md ← review and fill in details
.wire/engagement/calls/
.wire/engagement/org/
.wire/research/sessions/
Next steps:
1. Review .wire/engagement/context.md
2. Run /wire:session-start <release-folder> to resume work
(Near-wire root-level structure → v3.4+ .wire/ layout)
This workflow creates a new git branch, performs the migration, commits and pushes, then opens a PR so the team can review before merging.
Check for uncommitted changes:
git status --short
If uncommitted changes exist, warn:
Warning: uncommitted changes detected. The migration moves files — git will track these as renames.
Recommend committing or stashing current changes first.
Proceed anyway? (yes/no)
Identify available content:
Read the following files to understand what exists:
context/engagement.md — engagement metadata (YAML frontmatter + content)context/stakeholders.md — stakeholder listcontext/decisions.md — decisions logcontext/glossary.md — domain glossary (if present)context/references/ — SOW PDFs, requirements specs, etc.releases/*/status.md — one per release (deliverable table format)artifacts/meetings/processed/ — meeting transcripts and summariesCLAUDE.md — existing repo instructionsDisplay a preview of what will happen and ask for confirmation:
Detected: near-wire root-level layout
What will be moved into .wire/:
context/engagement.md → .wire/engagement/context.md (reformatted)
context/stakeholders.md → .wire/engagement/stakeholders.md
context/decisions.md → .wire/engagement/decisions.md
context/glossary.md → .wire/engagement/glossary.md
context/references/ → .wire/engagement/references/
releases/01-discovery/ → .wire/releases/01-discovery/ (status.md reformatted)
artifacts/meetings/processed/ → .wire/engagement/calls/
Left at root (not moved):
artifacts/notion/ ← reference materials, not engagement files
artifacts/slack/ ← reference materials, not engagement files
utils/ ← utility scripts
.claude/commands/ ← preserved (see CLAUDE.md for wire command notes)
New branch: wire/migrate-<YYYYMMDD>
PR will be opened after migration.
Continue? (yes/no)
Wait for user confirmation.
git checkout -b wire/migrate-<YYYYMMDD>
Use today's date in YYYYMMDD format (e.g. wire/migrate-20260327).
.wire/ directory structuremkdir -p .wire/engagement/calls
mkdir -p .wire/engagement/org
mkdir -p .wire/engagement/references
mkdir -p .wire/releases
mkdir -p .wire/research/sessions
.wire/engagement/context.mdRead context/engagement.md in full. It contains a YAML frontmatter block and rich markdown content (overview, timeline, team, tooling, commercial notes, etc.).
Create .wire/engagement/context.md by:
---
engagement_name: "<client_name from context/engagement.md> Data & Analytics"
client_name: "<client field from context/engagement.md>"
created_date: "<start_date from context/engagement.md>"
engagement_lead: "<first RA team member listed as Principal or lead>"
repo_mode: "dedicated_delivery"
migrated_from: "near-wire root-level layout"
migrated_on: "<today's date>"
client_repo:
github_url: null
local_path: null
default_branch: "main"
---
Preserving all rich content from context/engagement.md verbatim below the frontmatter — overview, timeline, team table, tooling table, Jira links, commercial notes, etc. This is valuable engagement context; do not discard it.
Appending an Engagement Releases table at the end, populated from the existing releases/ directory:
## Engagement Releases
| # | Release Name | Type | Status | Start | End |
|---|-------------|------|--------|-------|-----|
For each release folder under releases/, add a row. Read each release's status.md frontmatter to populate Type and Status. Use created from the release status frontmatter for Start.
git mv context/stakeholders.md .wire/engagement/stakeholders.md
git mv context/decisions.md .wire/engagement/decisions.md
If context/glossary.md exists:
git mv context/glossary.md .wire/engagement/glossary.md
Move the entire context/references/ directory:
git mv context/references/ .wire/engagement/references/
Within references/, identify the primary SOW/contract file (matches sow, msa, statement-of-work, contract — case insensitive). Also create a top-level symlink or note in context.md pointing to it:
In .wire/engagement/context.md, add or update:
## SOW Reference
Primary contract: `.wire/engagement/references/<sow-filename>`
After all files from context/ are moved, remove the now-empty context/ directory:
rmdir context
.wire/releases/For each directory found under releases/:
git mv releases/<release-folder>/ .wire/releases/<release-folder>/
Preserve the folder name exactly (e.g. 01-discovery stays 01-discovery).
After all releases are moved:
rmdir releases
For each release, read the existing status.md at .wire/releases/<folder>/status.md. The old format has a simple YAML frontmatter block and a deliverable table. Replace it with the full wire-format status file:
Determine the release type: read the release name and the deliverable table. If the release is named discovery or its deliverables match discovery-phase work (business structure review, stakeholder interviews, solution definition), classify as a discovery release. Otherwise classify as delivery.
For a discovery release, pick the discovery flavour:
shape_up_discovery.sop_discovery.shape_up_discovery (the historical default that this migration replaces) and note in migrated_from that the flavour was inferred.For shape_up_discovery releases, generate a status.md using the shape-up discovery template schema, mapping existing deliverable statuses:
---
release_id: "<release-folder-name>"
release_name: "<human-readable from brief.md title or folder name>"
release_type: "shape_up_discovery"
client_name: "<client_name from .wire/engagement/context.md>"
engagement_name: "<engagement_name from .wire/engagement/context.md>"
created_date: "<created from old frontmatter>"
last_updated: "<today's date>"
current_phase: "discovery"
spawned_from: null
migrated_from: "near-wire root-level layout"
jira:
project_key: null
epic_key: null
artifacts:
problem_definition:
task_key: null
generate_key: null
validate_key: null
review_key: null
pitch:
task_key: null
generate_key: null
validate_key: null
review_key: null
release_brief:
task_key: null
generate_key: null
validate_key: null
review_key: null
sprint_plan:
task_key: null
generate_key: null
validate_key: null
review_key: null
artifacts:
problem_definition:
generate: <see mapping table below>
validate: not_started
review: not_started
file: null
generated_date: null
generated_files: []
revision_history: []
pitch:
generate: not_started
validate: not_started
review: not_started
file: null
generated_date: null
generated_files: []
revision_history: []
release_brief:
generate: not_started
validate: not_started
review: not_started
file: null
generated_date: null
generated_files: []
revision_history: []
sprint_plan:
generate: not_started
validate: not_started
review: not_started
file: null
generated_date: null
generated_files: []
revision_history: []
notes:
- "Migrated from near-wire root-level layout on <today's date>"
- "Original deliverable table preserved below"
blockers: []
---
For sop_discovery releases, the schema is materially different (interviews array, sponsor_validation block). Generate the status.md from TEMPLATES/sop-discovery-status-template.md instead of inlining the schema here. Map each existing deliverable to one of the SOP artifact names (engagement_brief, stakeholder_map, stakeholder_interview, requirements_matrix, discovery_analyses, findings_playback, delivery_roadmap) using best-effort keyword matching:
| Old deliverable (by keyword) | Mapped SOP artifact |
|---|---|
| Engagement brief, project brief, scoping doc | engagement_brief |
| Stakeholder map, interview list | stakeholder_map |
| Stakeholder interview, discovery interview, write-up | stakeholder_interview (aggregate state; per-stakeholder files go in planning/interviews/) |
| Requirements matrix, consolidated requirements | requirements_matrix |
| Hierarchy of Needs, PPT analysis, Maturity Curve, three analyses | discovery_analyses |
| Findings playback, playback deck, discovery readout | findings_playback |
| Delivery roadmap, programme plan, Build/Pair/Coach | delivery_roadmap |
If migrating per-stakeholder interview files, write each to .wire/releases/<folder>/planning/interviews/<slug>.md and append a corresponding entry to interviews: in the new status.md. Tag completeness on legacy interviews must be checked manually — the v3.4+ four-tag rule was not enforced before, so validate: not_started is the safe default until the consultant re-tags.
Deliverable status → wire artifact state mapping:
| Old deliverable status | wire generate state | wire validate state | wire review state |
|---|---|---|---|
-- (not started) | not_started | not_started | not_started |
draft | complete | not_started | not_started |
review | complete | complete | in_progress |
approved | complete | complete | complete |
n/a or out of scope | not_started | not_started | not_started |
Discovery deliverable → wire artifact mapping (best-effort; used to infer artifact states):
| Old deliverable (by keyword) | Mapped wire artifact |
|---|---|
| Business structure review, org structure, stakeholder analysis | problem_definition |
| Pitch, proposal, business case | pitch |
| Solution definition, discovery document, final discovery report | release_brief |
| Delivery roadmap, sprint plan, release plan | sprint_plan |
For deliverables that don't clearly map to a wire artifact, record them as notes in the notes: array.
For delivery releases, use the standard wire status template schema with all artifact fields (requirements, conceptual_model, data_model, etc.), inferring states from any existing status table using the same mapping.
After the YAML frontmatter, include the full human-readable status content:
# Release Status: <Release Name>
**Client**: <client_name>
**Release ID**: <release_id>
**Type**: Discovery
**Created**: <created_date>
**Last Updated**: <today>
## Artifact Status
| Artifact | Generate | Validate | Review | Ready |
|----------|----------|----------|--------|-------|
| problem_definition | <emoji> | <emoji> | <emoji> | <emoji> |
| pitch | <emoji> | <emoji> | <emoji> | <emoji> |
| release_brief | <emoji> | <emoji> | <emoji> | <emoji> |
| sprint_plan | <emoji> | <emoji> | <emoji> | <emoji> |
**Legend**: ✅ Complete | 🔄 In Progress | ❌ Not Started | ⚠️ Blocked
## Migrated Deliverables
> The following deliverable table was carried over from the pre-migration status.md.
> It reflects actual work completed during discovery and is the authoritative record of deliverable status.
> Wire artifact states above are inferred from it.
<paste the original deliverable table verbatim here>
## Session History
<migrate all rows from the old session history table verbatim>
| <today> | Migrated to Wire v3.4+ structure | Repository restructured by /wire:migrate | Resume with /wire:session-start |
## Blockers
<migrate any rows from the old blockers table>
.wire/engagement/calls/git mv artifacts/meetings/processed/* .wire/engagement/calls/
git mv artifacts/meetings/raw/ .wire/engagement/calls/raw/
rmdir artifacts/meetings/processed
rmdir artifacts/meetings
Files in calls/ should use the YYYY-MM-DD__topic__id__type.md naming convention already used. No renaming needed if existing files already follow this convention.
If artifacts/ becomes empty after removing meetings/, do not remove it — non-meeting artifact directories (notion/, slack/, etc.) remain there as reference material.
CLAUDE.mdReplace the existing CLAUDE.md with a new one that reflects the wire v3.4+ structure. Preserve important engagement-specific content (tooling, conventions, current state summary) but update the structural descriptions and command table.
The new CLAUDE.md should follow this structure:
# <Client Name> Delivery — Claude Instructions
This is the delivery repository for the <Client Name> engagement. It is a **planning-only** repo — no code lives here.
> **Migrated to Wire v3.4+** on <today's date>. Engagement files now live under `.wire/`.
> Previous custom commands (`.claude/commands/`) are preserved but superseded by wire plugin commands.
## Repository Structure
\`\`\`
.wire/
engagement/ Engagement-level context (persists across releases)
context.md Client, team, dates, commercial terms, tooling
stakeholders.md People, roles, relationships, preferences
decisions.md Append-only log of key decisions
glossary.md Domain terminology
calls/ Meeting transcripts and summaries (from Fathom)
references/ Source documents (SOW, contracts, org charts)
releases/ Time-boxed work cycles
NN-name/
status.md Wire YAML frontmatter + deliverable tracking
deliverables/ Actual work products
brief.md Release brief (problem, appetite, solution)
plan.md Execution plan
research/
sessions/ Research session persistence (auto-managed)
artifacts/ Shared reference materials (not engagement management files)
notion/ Notion exports
slack/ Slack exports
utils/ Utility scripts (Fathom fetch, process, etc.)
\`\`\`
---
## Case C Workflow
Engagements using the **briefly-used `release_type: "shape_up_discovery"`** identifier (from the Wire v3.5.0 window before the rename was reverted in v3.5.1) need to be normalised back to `discovery`. The `discovery` identifier is canonical for the Shape Up flow — the rename to `shape_up_discovery` was reversed for backwards compatibility.
Case C is an **in-place edit** — it does not move any files or restructure the repo. It is also idempotent: re-running on an already-normalised repo is a no-op.
### C1: Identify affected releases
```bash
grep -l 'release_type: "shape_up_discovery"' .wire/releases/*/status.md 2>/dev/null
For each matching file, report the path before editing.
release_typeFor each affected status.md:
Replace release_type: "shape_up_discovery" with release_type: "discovery".
Append a one-line note to notes: recording the migration:
notes:
- "Normalised release_type shape_up_discovery → discovery on <today's date> by /wire:migrate Case C"
Search for any other files that reference the literal release type:
grep -rln 'release_type: "shape_up_discovery"' .wire/ 2>/dev/null
grep -rln 'release_type: shape_up_discovery$' .wire/ 2>/dev/null
Update any matches to discovery. Likely candidates: legacy session-history snapshots, exported status copies.
Do not mass-rename the word discovery — it is a valid phase name, folder name, and search keyword. Only the release type identifier value changes.
After rewriting, run /wire:status to confirm each affected release is recognised under discovery and that artifact lifecycle states are unchanged.
## Case C migration complete
| Release | Before | After |
|---|---|---|
| 01-discovery | release_type: "shape_up_discovery" | release_type: "discovery" |
Files updated: <N>
No file moves, no schema changes.
| Command | Purpose |
|---|---|
/wire:status | Show status across all releases with Jira sync |
/wire:session-start | Begin a work session |
/wire:session-end | End session, update tracking |
/wire:requirements-generate | Generate requirements artifact |
/wire:<artifact>-generate | Generate any wire artifact |
/wire:<artifact>-validate | Validate an artifact |
/wire:<artifact>-review | Stakeholder review flow |
The .claude/commands/ directory contains previous engagement/release/session commands.
These still work but use the old root-level releases/ and context/ paths which no longer exist.
Prefer wire plugin commands for new work. The legacy commands are kept for reference.
``` not_started → in_progress → complete ```
Wire tracks generate / validate / review states per artifact. The status.md YAML frontmatter is the source of truth.
Wire commands output to .wire/releases/<release>/ as their working directory.
Deliverables live in .wire/releases/<release>/deliverables/.
Use feature branches for deliverable work: feat/d<NN>-<kebab-name>/0.0.1
<list releases from .wire/releases/ with current status>
.wire/engagement/context.md for timeline, team, commercial terms.wire/engagement/stakeholders.md for who's who at .wire/engagement/decisions.md for accumulated decisions.wire/engagement/glossary.md for domain terminology
Populate the **Current State** section from the releases' status.md frontmatter.
### B10: Commit the migration
Stage all changes:
```bash
git add .wire/
git add CLAUDE.md
git add -u # stage all renames/deletions (moved context/, releases/, artifacts/meetings/)
Commit:
git commit -m "feat: migrate to Wire v3.4+ .wire/ structure
- Move context/ → .wire/engagement/ (preserving all files)
- Move releases/ → .wire/releases/ (preserving all deliverables)
- Move artifacts/meetings/ → .wire/engagement/calls/
- Reformat status.md files to wire YAML frontmatter
- Generate .wire/engagement/context.md from context/engagement.md
- Update CLAUDE.md to wire v3.4+ conventions
- Preserve artifacts/notion/, artifacts/slack/, utils/ at root
Migrated by /wire:migrate on <today's date>"
git push -u origin wire/migrate-<YYYYMMDD>
Create a PR using gh pr create:
gh pr create \
--title "feat: migrate to Wire v3.4+ structure" \
--body "$(cat <<'EOF'
## Summary
This PR migrates the delivery repository from the near-wire root-level layout to the standard Wire v3.4+ `.wire/` structure, enabling full compatibility with wire plugin commands.
## What Changed
### Files Moved
| From | To |
|------|----|
| `context/engagement.md` | `.wire/engagement/context.md` (reformatted) |
| `context/stakeholders.md` | `.wire/engagement/stakeholders.md` |
| `context/decisions.md` | `.wire/engagement/decisions.md` |
| `context/glossary.md` | `.wire/engagement/glossary.md` |
| `context/references/` | `.wire/engagement/references/` |
| `releases/01-discovery/` | `.wire/releases/01-discovery/` |
| `artifacts/meetings/processed/` | `.wire/engagement/calls/` |
| `artifacts/meetings/raw/` | `.wire/engagement/calls/raw/` |
### Files Modified
- `releases/01-discovery/status.md` → reformatted to wire YAML frontmatter; original deliverable table preserved in body
- `CLAUDE.md` → updated to wire v3.4+ structure; legacy commands noted
### Files Created
- `.wire/research/sessions/` (empty directory, ready for research skill)
### Not Changed
- `artifacts/notion/` — reference materials, stays at root
- `artifacts/slack/` — reference materials, stays at root
- `utils/` — utility scripts, stays at root
- `.claude/commands/` — preserved for reference (wire plugin commands are now primary)
## Why
Wire plugin commands read engagement and release state from `.wire/`. Moving files into this structure makes all wire plugin commands immediately usable without manual path adjustments.
## Review Checklist
- [ ] `.wire/engagement/context.md` — review and fill in any fields left as placeholders
- [ ] `.wire/releases/01-discovery/status.md` — verify artifact state mapping is correct
- [ ] `CLAUDE.md` — confirm the current state section is accurate
- [ ] Run `/wire:status` to confirm Wire reads the engagement correctly
🤖 Migrated by `/wire:migrate`
EOF
)"
After the PR is created, print the PR URL and the next steps.
╔══════════════════════════════════════════════════════════╗
║ WIRE MIGRATION COMPLETE (Case B) ║
╚══════════════════════════════════════════════════════════╝
Branch created: wire/migrate-<YYYYMMDD>
PR: <PR URL>
Moved into .wire/:
context/ → .wire/engagement/
releases/01-discovery/ → .wire/releases/01-discovery/
artifacts/meetings/ → .wire/engagement/calls/
Status files reformatted:
.wire/releases/01-discovery/status.md ← wire YAML frontmatter added
original deliverable table preserved
CLAUDE.md updated to Wire v3.4+ conventions.
Left at root (unchanged):
artifacts/notion/, artifacts/slack/ ← reference materials
utils/ ← utility scripts
.claude/commands/ ← legacy commands preserved
Next steps:
1. Review the PR: <PR URL>
2. Open .wire/engagement/context.md and fill in any placeholder fields
3. Verify .wire/releases/01-discovery/status.md artifact states are correct
4. Merge the PR when satisfied
5. After merging, run /wire:status to confirm Wire reads the engagement
(Custom command wrappers in wrong namespace → .claude/commands/wire/)
Custom commands generated by /wire:custom-define before v3.5.7 were written to .claude/commands/[name].md directly, which makes them available as /[name]-generate rather than /wire:[name]-generate. This case moves them into the wire/ subdirectory so they pick up the correct namespace prefix.
Case D is an in-place edit — no new branch or PR needed. The file moves are tracked by git as renames.
grep -rl 'Read the spec at .wire/releases/' .claude/commands/ 2>/dev/null \
| grep -v '/.claude/commands/wire/'
This matches any wrapper file that delegates to a .wire/releases/*/custom-commands/ spec but is not already inside .claude/commands/wire/.
If no files match, print:
No misplaced custom command wrappers found — already on the current layout.
and stop.
List each file with its current and target path:
Found N custom command wrapper(s) in the wrong location:
.claude/commands/target-state-architecture-doc-generate.md
→ .claude/commands/wire/target-state-architecture-doc-generate.md
.claude/commands/target-state-architecture-doc-validate.md
→ .claude/commands/wire/target-state-architecture-doc-validate.md
.claude/commands/target-state-architecture-doc-review.md
→ .claude/commands/wire/target-state-architecture-doc-review.md
[... etc]
After this move, these commands will be invoked as:
/wire:target-state-architecture-doc-generate
/wire:target-state-architecture-doc-validate
/wire:target-state-architecture-doc-review
They previously had no prefix (e.g. /target-state-architecture-doc-generate).
Move them now? (yes/no)
Wait for confirmation. If no, stop and note that commands will continue to work without the prefix until manually moved.
mkdir -p .claude/commands/wire
For each misplaced wrapper:
git mv .claude/commands/[name].md .claude/commands/wire/[name].md
Use git mv so the rename is tracked. If git is not initialised in this repo (unusual), fall back to mv.
git add .claude/commands/
git commit -m "fix: move custom Wire command wrappers to .claude/commands/wire/
Wrappers written by /wire:custom-define before v3.5.7 were placed in
.claude/commands/ directly, giving them no namespace prefix. Moving them
to .claude/commands/wire/ restores the /wire: prefix.
Migrated by /wire:migrate Case D on <today's date>"
╔══════════════════════════════════════════════════════════════╗
║ WIRE MIGRATION COMPLETE (Case D) ║
╚══════════════════════════════════════════════════════════════╝
Moved N wrapper file(s) to .claude/commands/wire/:
[list each file moved]
These commands are now available as:
/wire:[name]-generate
/wire:[name]-validate
/wire:[name]-review
If you had bookmarked or shared the old command names (without /wire:),
update any references — the old names are no longer available.
Already fully migrated (.wire/engagement/ and .wire/releases/ both exist, no stray folders):
Already on Wire v3.4+ layout — nothing to migrate.
Run /wire:status to see current engagement state.
.wire/ exists but is empty or has unknown structure:
/wire:new if starting fresh..wire/ has no project folders (nothing to migrate):
No Wire project folders found in .wire/ — nothing to migrate.
Run /wire:new to start a new engagement.
Partial migration (.wire/engagement/ exists but some old-layout folders remain at .wire/ root):
engagement/ directories.wire/ root levelProject folder has no artifacts/: proceed with folder move only; note in report.
Multiple projects share the same SOW filename: move the first to engagement/sow.md, log a warning.
context/ exists but releases/ is empty or absent:
context/ to .wire/engagement/.wire/releases/ (empty, ready for /wire:start)Release has no brief.md or plan.md (only status.md and deliverables/):
Multiple releases (e.g. 01-discovery/ and 02-build-sprint-1/):
.wire/releases/status.md filesartifacts/meetings/ does not exist (meetings stored elsewhere):
No .claude/commands/ (custom commands were never created):
.claude/commands/ does not exist: no custom commands were ever created — skip silently.
Some wrappers already in wire/, some not: only move the ones outside wire/. Report both sets in the summary (already correct vs moved).
A file with the same name already exists in .claude/commands/wire/: do not overwrite. Warn the user, show both file contents side by side, and ask which to keep. Default is to keep the existing one in wire/ and leave the stale root-level file in place for manual review.
Non-Wire project commands also in .claude/commands/: the grep for Read the spec at .wire/releases/ is specific enough to avoid matching project commands that happen to live in .claude/commands/. Do not move files that don't match the grep — they are not Wire custom command wrappers.
Git remote not configured (no origin):
Warning: no git remote found. Cannot push branch or create PR.
Migration completed locally on branch wire/migrate-<date>.
Push manually when ready: git push -u origin wire/migrate-<date>
gh CLI not installed or not authenticated:
Warning: gh CLI not available. Cannot create PR automatically.
Branch pushed to origin. Create the PR manually at: <remote URL>/compare/wire/migrate-<date>
.wire/engagement/context.md — created.wire/engagement/calls/ — created.wire/engagement/org/ — created.wire/releases/<new-name>/ — moved from old location.wire/releases/<new-name>/status.md — session_history section added.wire/research/sessions/ — created.wire/engagement/.wire/engagement/calls/.wire/engagement/context.md — created (from context/engagement.md).wire/engagement/stakeholders.md — moved from context/.wire/engagement/decisions.md — moved from context/.wire/engagement/glossary.md — moved from context/ (if present).wire/engagement/references/ — moved from context/references/.wire/engagement/calls/ — moved from artifacts/meetings/processed/.wire/engagement/calls/raw/ — moved from artifacts/meetings/raw/.wire/engagement/org/ — created (empty).wire/releases/<folder>/ — moved from root releases/<folder>/.wire/releases/<folder>/status.md — reformatted to wire YAML frontmatter.wire/research/sessions/ — created (empty)CLAUDE.md — updated to wire v3.4+ conventionscontext/ — removed (emptied by moves)releases/ — removed (emptied by moves)artifacts/meetings/ — removed (emptied by moves); artifacts/ stays if non-meeting dirs remain.claude/commands/wire/ — created (if not already present).claude/commands/[name]-generate.md → .claude/commands/wire/[name]-generate.md — moved (one per custom artifact).claude/commands/[name]-validate.md → .claude/commands/wire/[name]-validate.md — moved.claude/commands/[name]-review.md → .claude/commands/wire/[name]-review.md — movedExecute the complete workflow as specified above.
After completing the workflow, append a log entry to the project's execution_log.md:
After completing any generate, validate, or review workflow (or a project management command that changes state), append a single log entry to the project's execution log file. Skills also append an entry on activation, making the log a unified trace of all agent activity — both explicit commands and auto-activated skills.
<DP_PROJECTS_PATH>/<project_folder>/execution_log.md
Where <project_folder> is the project directory passed as an argument (e.g., 20260222_acme_platform).
If the file does not exist, create it with the header:
# Execution Log
| Timestamp | Command | Result | Detail | By | Session | Duration | Tokens | Cost (USD) |
|-----------|---------|--------|--------|----|---------|----------|--------|------------|
Then append one row per execution:
| YYYY-MM-DD HH:MMZ | /wire:<command> | <result> | <detail> | <by> | <session> | <duration> | n/a | n/a |
Timestamp: Current date and time in UTC, written YYYY-MM-DD HH:MMZ
(24-hour, a literal Z after the minutes, no T, no seconds, no offset):
2026-10-17 14:05Z. Get it with date -u +"%Y-%m-%d %H:%MZ" (or
python3 <wire>/scripts/log_time.py now), never from the local clock. The
same form is used for every time written into a log row, including an
original time quoted in Detail (ran 2026-10-17 14:28Z), in the release log
and in ticket run logs. From Wire 4.4.3; see "Time zones" below.
Command: Either the /wire:* command invoked, or skill for a skill activation entry
Result / Skill name: For commands, the outcome; for skills, the skill identifier. Use one of:
complete — generate command finished successfullypass — validate command passed all checksfail — validate command found failuresapproved — review command: stakeholder approvedchanges_requested — review command: stakeholder requested changescreated — /wire:new created a new projectarchived — /wire:archive archived a projectremoved — /wire:remove deleted a projectactivated — a skill was auto-activated (used with skill in the Command column)override — specs/utils/precondition_gate.md recorded a consultant overriding an unmet precondition, or an advisory gate satisfied by a director's rulingmode — the director handed control over or took it back ("you drive" / "I'll drive"), per specs/utils/director_operating_model.mdblocked — specs/utils/precondition_gate.md Step 2 stopped the command on an unmet blocking precondition and the consultant chose not to override; Detail is gate: <dep_artifact>.<dep_action> required <outcome>, was <actual> and the Command cell carries the command in full. The Wire mod's commands band shows these rows as Not run: <command>, gate: <...>Detail: A concise one-line summary of what happened. Include:
By: the git user (git config user.name), or unknown if git has no
user configured. Who the run is attributable to, regardless of what typed it.
Session: what invoked the run. One of:
typed — a person typed the commandorchestrator — the orchestrating session dispatched it, followed by its
session id in brackets where one is available: orchestrator [a1b2c3]dbt-developer [staging 1/2]autopilot — /wire:autopilot ran itWhen a persona is set for the run (specs/utils/personas.md), add
as <persona> to the value: typed as delivery-manager,
orchestrator [a1b2c3] as delivery-manager. No persona: the value alone.
This is the same value the invoked_by telemetry property carries
(specs/utils/telemetry.md), read from WIRE_INVOKED_BY and defaulting to
typed. The log records it per row so the record on disk answers the same
question telemetry answers in aggregate.
Duration: Wall-clock time the workflow took. As the first action of the
workflow, run date +%s and note the value as the start time. When
appending the log row, run date +%s again and format the difference as
42s, 4m 12s, or 1h 03m. If the start time was not captured, write
n/a. Skill activation entries write n/a.
Tokens: Total model tokens the run consumed (input + output, including
cache reads and writes). Write the literal n/a — a model cannot measure
its own token usage, and an estimated figure must never be written. On
Claude Code, the Wire plugin's metrics hook backfills this cell with the
measured value from the session transcript after the turn ends (see
Metrics Backfill below). On runtimes without the hook (e.g. Gemini CLI)
the cell stays n/a.
Cost (USD): Estimated cost of the measured tokens, e.g. $0.42. Same
rule as Tokens: write n/a; the metrics hook backfills it where token
usage can be measured. Never compute or guess this yourself.
When a skill activates, it appends a row in the same format as commands, using skill in the Command column and the skill identifier in the Result column, with n/a in all three metric columns:
| YYYY-MM-DD HH:MMZ | skill | <skill-identifier> | activated | <brief trigger description> | <by> | <session> | n/a | n/a | n/a |
Skill identifiers:
| Skill | Identifier |
|---|---|
| Engagement Context | engagement-context |
| Research Persistence | research-persistence |
| dbt Development | dbt-development |
| LookML Content Authoring | lookml-authoring |
| dbt Analytics QA | dbt-analytics-qa |
| dbt Migration | dbt-migration |
| dbt Troubleshooting | dbt-troubleshooting |
| dbt Semantic Layer | dbt-semantic-layer |
| dbt Unit Testing | dbt-unit-testing |
| dbt DAG | dbt-dag |
| Dagster | dagster |
| Fivetran | fivetran |
| Project Review | project-review |
| Looker Dashboard Mockup | looker-dashboard-mockup |
This makes skill activations visible in the same log that captures command invocations, enabling full activity tracing across both explicit commands and automatic skill triggers.
Immediately after appending a command row (this does not apply to skill activation entries), perform a quick freshness check against the project's status.md. This is additive to the logging behavior above — it never blocks the calling command and never modifies status.md.
Process:
artifact_id from the command just logged: strip the /wire: prefix and the trailing -generate, -validate, or -review suffix (e.g. /wire:migration-inventory-generate → migration_inventory). If the command doesn't map to a recognizable artifact (e.g. /wire:new, /wire:status, /wire:archive), skip this check entirely.status.md: artifacts.<artifact_id>.review field (or equivalent approval field) shows pass, approved, or complete.artifacts.<artifact_id> block for a value that is still the literal string TBD, or an empty list ([]) / null where the artifact's own template expects a populated value (i.e. the field is not legitimately optional).⚠ status.md still shows `<field>: TBD` for `<artifact_id>` despite review: pass — status may be stale
Emit one warning per stale field — do not suppress after the first.Run /wire:status-sync <release-folder> to reconcile the record (see specs/utils/status_sync.md).
The offer is informational only — never block the calling command and never run the sync automatically.artifact_id could not be derived: no output, proceed silently.This check is self-contained within this utility, so every caller gets it automatically without any caller-side changes.
|, replace with — to preserve table formatting/wire:status-sync flags them, naming both rows. This does not block any
command — the log is written either way, and the flag is a repair prompt.
Rows are compared as "Time zones" below says.specs/utils/director_operating_model.md's operating model is in force,
only the orchestrating session appends to this file. Lanes write their own
state files and the orchestrator writes the log rows from them (rule 6 of
the operating model). Outside orchestrated mode, every command writes its
own row as it always has.status.md keys in place, then check the file. When a command
records a result in status.md, it changes the existing key; it never adds
a second copy of a key in the same block. A value worth keeping (an earlier
approval date) moves to a prior_<key> field or stays in this log, never
in a duplicate key, because YAML keeps only the last copy and ignores the
first without an error (wire-plugin#2). The same applies to anyone editing
the file by hand or by script. After writing status.md and before
appending the row, run python3 <wire>/scripts/status_file.py check .wire/releases/<release_folder>. If it reports a problem in a line this
command just wrote, fix it now. If the problem was there before, leave it,
say so in the output and point to /wire:status-sync <release_folder>
(specs/utils/status_sync.md Step 1b). In orchestrated mode the
orchestrating session runs the check when it writes status.md from a
lane's state file.n/a and only
ever filled by tooling that measured them. A best guess is worse than
n/a in a client-facing audit trail.Z suffix. A row is never written in local time, and a time
with no zone is never converted by guessing the zone it was written in.specs/utils/status_sync.md Step 4g: By is the approver, Detail says
recorded from PR #<n> approved by <name>, and Session is what ran the
roll-up.From Wire 4.4.3 every Timestamp is UTC, YYYY-MM-DD HH:MMZ. Before that the
rule said local time, and logs mixed UTC rows with rows in the writer's local
time, so a ticket could appear to close before it opened.
date -u +"%Y-%m-%d %H:%MZ". A row's time is the UTC time the
command finished. A roll-up row's Timestamp is the UTC time of the roll-up.YYYY-MM-DD HH:MM without Z is a row written
before 4.4.3. It stays valid, is never rewritten, and is read as "zone
unknown": it may be in any zone from UTC-12 to UTC+14.2026-10-17T14:05Z, 14:05+01:00, 14:05 BST) is
unparseable and reported as such./wire:status-sync Step 4f). Two rows in the same
form compare on the values written. A UTC row next to a zone-unknown row is
out of order only when no zone in that range puts the pair in order; when
some zones do and some do not, the pair is zone_unknown, listed for
information and not a defect. A log that changes from local time to UTC in
British summer time (15:05 then 14:10Z) is therefore not flagged.The rule is implemented in <wire>/scripts/log_time.py (now,
check <execution_log.md>), used by ticket_delivery.py merge-log and tested
by wire/tests/core/validate_execution_log_order.py. The Wire mod's metrics
backfill (below) reads both forms: it matches a row on its command and date,
with a day's slack, not on its time.
From 4.1.0 the Wire mod (hooks/register.ts, a function hook in the Claude
Code plugin) fills the metric cells. It replaces the Stop settings hook
(hooks/wire-metrics.sh and wire_metrics.py), which re-read the session
transcript after each turn.
/wire: command, or
a Wire command called through the Skill tool by the orchestrating session,
a lane or Autopilot.n/a), Tokens and Cost cells of the newest row
whose Command cell names the command, whose Tokens cell is still n/a, and
which is dated no earlier than the day before the run started (a date, not
a time, because commands write the row's time themselves and it is often
rough). It
never touches another cell or row, and never widens a row without the
metric columns.n/a with Tokens filled./wire-usage prints the session's runs with their duration, tokens and cost;
/wire-ran prints each run in full with its result (4.5.0), as the band above
the prompt draws it. The plugin's metrics option, or WIRE_METRICS=false,
turns the backfill off. On runtimes without the mod (Gemini CLI), the metric cells keep the
values the workflow wrote.
Logs written before the By and Session columns existed have four data
columns, and logs written before the Duration, Tokens, and Cost (USD)
columns existed have four or six. They stay valid and are never rewritten:
By, Session,
or metric column as unknown. It does not treat a shorter row as malformed
and does not backfill it.# Execution Log
| Timestamp | Command | Result | Detail | By | Session | Duration | Tokens | Cost (USD) |
|-----------|---------|--------|--------|----|---------|----------|--------|------------|
| 2026-02-22 14:30Z | skill | engagement-context | activated | Context loaded for new conversation | Jane Smith | typed | n/a | n/a | n/a |
| 2026-02-22 14:35Z | /wire:new | created | Project created (type: full_platform, client: Acme Corp) | Jane Smith | typed | 3m 40s | 84210 | $0.61 |
| 2026-02-22 14:40Z | /wire:requirements-generate | complete | Generated requirements specification (3 files) | Jane Smith | orchestrator [a1b2c3] | 18m 05s | 412876 | $3.18 |
| 2026-02-22 15:12Z | /wire:requirements-validate | pass | 14 checks passed, 0 failed | Jane Smith | orchestrator [a1b2c3] | 6m 22s | 156430 | $1.02 |
| 2026-02-22 16:00Z | /wire:requirements-review | approved | Reviewed by Jane Smith | Jane Smith | typed | 24m 10s | 98764 | $0.74 |
| 2026-02-23 09:15Z | /wire:conceptual_model-generate | complete | Generated entity model with 8 entities | Jane Smith | data-designer | 11m 48s | n/a | n/a |
| 2026-02-23 10:30Z | /wire:conceptual_model-validate | fail | 2 issues: missing relationship, orphaned entity | Jane Smith | data-designer | 5m 02s | n/a | n/a |
| 2026-02-23 11:00Z | /wire:conceptual_model-generate | complete | Regenerated entity model (fixed 2 issues, 8 entities) | Jane Smith | data-designer | 9m 31s | n/a | n/a |
| 2026-02-23 11:15Z | /wire:conceptual_model-validate | pass | 12 checks passed, 0 failed | Jane Smith | data-designer | 4m 47s | n/a | n/a |
| 2026-02-23 14:00Z | /wire:conceptual_model-review | changes_requested | Reviewed by John Doe — add Customer entity | Jane Smith | typed | 31m 20s | 122504 | $0.95 |
| 2026-02-23 15:30Z | /wire:conceptual_model-generate | complete | Regenerated entity model (9 entities, added Customer) | Jane Smith | data-designer | 8m 56s | n/a | n/a |
| 2026-02-23 15:45Z | /wire:conceptual_model-validate | pass | 14 checks passed, 0 failed | Jane Smith | data-designer | 4m 12s | n/a | n/a |
| 2026-02-23 16:00Z | /wire:conceptual_model-review | approved | Reviewed by John Doe | Jane Smith | typed | 12m 33s | 74902 | $0.58 |
| 2026-02-24 09:05Z | /wire:migration-strategy-generate | override | migration_inventory.review required approved, was not_started — overridden by Jane Smith: client demo tomorrow, inventory sign-off deferred to Monday | Jane Smith | typed | 2m 08s | 41207 | $0.33 |
| 2026-02-24 10:20Z | /wire:conceptual_model-generate | override | business_rules.review required approved, was not_started — ruling R-1 (Jane Smith): agree definitions at kickoff | Jane Smith | orchestrator [a1b2c3] | 7m 14s | 188341 | $1.44 |
| 2026-02-25 11:02Z | /wire:data_model-generate | complete | ticket CUS-199, ran 2026-02-25 09:40Z: 4 tables | Jane Smith | orchestrator [d4e5f6] | 9m 12s | 201544 | $1.51 |
| 2026-02-25 11:02Z | /wire:data_model-review | approved | recorded from PR #64 approved by John Doe (ticket CUS-199, approved 2026-02-25 10:55Z) | John Doe | orchestrator [d4e5f6] | n/a | n/a | n/a |
The last two rows are a ticket roll-up (specs/utils/status_sync.md Step 4g)
run by an orchestrating session: the first was rolled up from the ticket's run
log; the second records a review result from the ticket's merged pull request,
so By is the approver, Session is the session that ran the roll-up, and the
metric cells stay n/a because no review command ran.
What the command file sets; muted values are Claude Code's defaults
claude-haiku-5-57-day visitors to each command page
npx claudepluginhub rittmananalytics/wire-plugin --plugin wire375 commands in this plugin
/adoptAdopt an in-flight project into Wire — assess repo and external sources, map existing work to artifacts, set up engagement structure, generate adoption playbookAdopt an in-flight project into Wire — assess repo and external sources, map existing work to artifacts, set up engagement structure, generate adoption playbook/ads_adversarial-config-generateConfigure and test adversarial review sub-agentConfigure and test adversarial review sub-agent/ads_adversarial-config-reviewTechnical review of adversarial review configurationTechnical review of adversarial review configuration/ads_adversarial-config-validateVerify adversarial review configuration and calibrationVerify adversarial review configuration and calibration/ads_agent-config-generateGenerate agentic data stack Wire skill with routing logic and provenance footerGenerate agentic data stack Wire skill with routing logic and provenance footer/ads_agent-config-reviewTechnical review of agentic data stack skill before eval suite buildTechnical review of agentic data stack skill before eval suite buildOther plugins' commands for the same job