deepwork-execute-status
View execute-mode session status — phase, plan_hash, drift, change_log, test results, 3-dimension verdict table, rollback log, discoveries
What this skill does
# Deepwork Execute Status
Display the current status of the active execute-mode deepwork session.
1. Use Glob to find active instances:
```
Glob: ${CLAUDE_PROJECT_DIR:-$(pwd -P)}/.claude/deepwork/*/state.json
```
If no files are found, report "no deepwork session is currently active" and stop. If multiple are found, identify the execute-mode instance by `state.json.execute.phase` being non-null and not "halt". If none has execute mode active, report "no execute-mode session is currently active" and stop.
2. Read the identified `state.json`. Display a header summary:
| Instance ID | Goal | Execute Phase | Team |
|---|---|---|---|
| `<id>` | `<goal>` | `<execute.phase>` | `<team_name>` |
3. Display **Execute Core State**:
- **Goal**: `goal`
- **Execute Phase**: `execute.phase`
- **Plan Ref**: `execute.plan_ref`
- **Plan Hash**: `execute.plan_hash`
- **Plan Drift**: `execute.plan_drift_detected` — if `true`, display `DRIFT DETECTED — resolve via /deepwork-execute-amend before proceeding`
- **Started**: `started_at`
- **Last Updated**: `last_updated`
4. Display **Authorization Flags** (flat fields under `execute`):
| Flag | Value |
|---|---|
| `execute.authorized_push` | `<value>` |
| `execute.authorized_force_push` | `<value>` |
| `execute.authorized_prod_deploy` | `<value>` |
| `execute.authorized_local_destructive` | `<value>` |
| `execute.secret_scan_waived` | `<value>` |
If all flags are absent, display "(not yet set — SETUP incomplete)".
5. Display **Written Bar** (`bar[]`):
| ID | Criterion | Verdict | Categorical Ban | Evidence Required |
|---|---|---|---|---|
Or "(not yet populated)" if empty.
6. Display **Change Log** (`execute.change_log[]`). For each entry:
| Entry ID | Plan Section | Files Touched | PA | EG | RA | Critic Verdict |
|---|---|---|---|---|---|---|
Where PA/EG/RA come from `critic_dimensions.PA`, `critic_dimensions.EG`, `critic_dimensions.RA` (show "pending" if absent). Display "(no changes yet)" if empty.
7. Display **Scope Amendments** (`execute.scope_amendments[]`):
| SA ID | Gate ID | Amendment File | Reason | Approved At |
|---|---|---|---|---|
Or "(none)" if empty.
8. Display **Rollback Log** (`execute.rollback_log[]`):
| Entry ID | Gate ID | Reason | Rolled Back At |
|---|---|---|---|
Or "(none)" if empty.
9. Display **Test Manifest** (`execute.test_manifest[]`). For each entry:
| Source File | Command | Last Result | Last Run At |
|---|---|---|---|
Read `test-results.jsonl` from the instance directory if present. For each manifest entry, match the most recent `test-results.jsonl` record whose `covering_files[0]` equals the entry's `source_file`. Show the matched record's `exit_code` (pass/fail) and `timestamp` in Last Result and Last Run At. Truncate `test_command` to ~40 chars for display. Display "(not yet populated)" if `execute.test_manifest` is empty.
10. Display **Environment Attestations** (`execute.env_attestations[]`):
| Env | Status | Attested At | Attested By |
|---|---|---|---|
Or "(not yet attested)" if empty.
11. Call `TaskList` to get live task status. Display tasks grouped by status (`in_progress`, `pending`, `completed`) with `owner` and `metadata.bar_id` where available.
12. Display **Recent Discoveries** (last 5 entries from `discoveries.jsonl`):
| Discovery ID | Type | Detected By | Proposed Outcome | Resolution |
|---|---|---|---|---|
Read `discoveries.jsonl` as newline-delimited JSON. Show "(none)" if file absent or empty. Show `resolution` as "(open)" if null or absent.
13. Read the last 50 lines of `${CLAUDE_PROJECT_DIR:-$(pwd -P)}/.claude/deepwork/<id>/log.md` and display as **Recent Activity**.
14. If `execute.plan_drift_detected` is `true`, close with a highlighted notice:
```
PLAN DRIFT DETECTED
Plan hash stored in state does not match plan_ref on disk.
Run /deepwork-execute-amend <gate-id> to re-verdict the affected gate before resuming.
```
Format everything as a clean, readable dashboard. Use markdown tables; keep output scannable.
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.