@massu/core 1.15.6 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +103 -0
- package/agents/massu-architecture-reviewer.md +20 -0
- package/agents/massu-blast-radius-analyzer.md +20 -0
- package/agents/massu-competitive-scorer.md +20 -0
- package/agents/massu-help-sync.md +20 -0
- package/agents/massu-migration-writer.md +20 -0
- package/agents/massu-output-scorer.md +20 -0
- package/agents/massu-pattern-reviewer.md +20 -0
- package/agents/massu-plan-auditor.md +20 -0
- package/agents/massu-schema-sync-verifier.md +20 -0
- package/agents/massu-security-reviewer.md +20 -0
- package/agents/massu-ux-reviewer.md +20 -0
- package/commands/_shared-preamble.md +21 -0
- package/commands/_shared-references/auto-learning-protocol.md +2 -0
- package/commands/_shared-references/blast-radius-protocol.md +2 -0
- package/commands/_shared-references/security-pre-screen.md +2 -0
- package/commands/_shared-references/test-first-protocol.md +2 -0
- package/commands/_shared-references/verification-table.md +2 -0
- package/commands/_verification-laws.md +131 -0
- package/commands/_verification-laws.md.sha256 +1 -0
- package/commands/massu-data/references/common-queries.md +2 -0
- package/commands/massu-data/references/table-guide.md +2 -0
- package/commands/massu-data.md +2 -0
- package/commands/massu-debug/references/auto-learning.md +2 -0
- package/commands/massu-debug/references/codegraph-tracing.md +2 -0
- package/commands/massu-debug/references/common-shortcuts.md +2 -0
- package/commands/massu-debug/references/investigation-phases.md +2 -0
- package/commands/massu-debug/references/report-format.md +2 -0
- package/commands/massu-deploy.python-docker.md +2 -0
- package/commands/massu-deploy.python-fly.md +2 -0
- package/commands/massu-deploy.python-launchd.md +2 -0
- package/commands/massu-deploy.python-systemd.md +2 -0
- package/commands/massu-full-audit.md +2 -0
- package/commands/massu-golden-path/references/approval-points.md +2 -0
- package/commands/massu-golden-path/references/phase-0-requirements.md +2 -0
- package/commands/massu-golden-path/references/phase-1-plan-creation.md +2 -0
- package/commands/massu-golden-path/references/phase-2-implementation.md +2 -0
- package/commands/massu-golden-path/references/phase-2.5-gap-analyzer.md +2 -0
- package/commands/massu-golden-path/references/phase-3-simplify.md +2 -0
- package/commands/massu-golden-path/references/phase-3.5-security-audit.md +2 -0
- package/commands/massu-golden-path/references/phase-4-commit.md +2 -0
- package/commands/massu-golden-path/references/phase-5-push.md +2 -0
- package/commands/massu-golden-path/references/phase-5.5-production-verify.md +2 -0
- package/commands/massu-golden-path/references/phase-6-completion.md +2 -0
- package/commands/massu-golden-path/references/qa-evaluator-spec.md +2 -0
- package/commands/massu-golden-path/references/sprint-contract-protocol.md +2 -0
- package/commands/massu-golden-path/references/vr-visual-calibration.md +2 -0
- package/commands/massu-guide.md +2 -0
- package/commands/massu-hooks.md +2 -0
- package/commands/massu-learning-audit.md +2 -0
- package/commands/massu-loop/references/auto-learning.md +2 -0
- package/commands/massu-loop/references/checkpoint-audit.md +2 -0
- package/commands/massu-loop/references/guardrails.md +2 -0
- package/commands/massu-loop/references/iteration-structure.md +2 -0
- package/commands/massu-loop/references/loop-controller.md +2 -0
- package/commands/massu-loop/references/plan-extraction.md +2 -0
- package/commands/massu-loop/references/vr-plan-spec.md +2 -0
- package/commands/massu-parity.md +2 -0
- package/commands/massu-push.md +2 -0
- package/commands/massu-scaffold-hook.md +2 -0
- package/commands/massu-scaffold-page.md +2 -0
- package/commands/massu-scaffold-page.swift.md +2 -0
- package/commands/massu-scaffold-router.md +2 -0
- package/commands/massu-scaffold-router.python-django.md +2 -0
- package/commands/massu-scaffold-router.python-fastapi.md +2 -0
- package/commands/massu-scaffold-router.python.md +2 -0
- package/dist/cli.js +2012 -787
- package/dist/hooks/auto-learning-pipeline.js +152 -67
- package/dist/hooks/classify-failure.js +152 -67
- package/dist/hooks/cost-tracker.js +152 -67
- package/dist/hooks/fix-detector.js +152 -67
- package/dist/hooks/incident-pipeline.js +152 -67
- package/dist/hooks/intent-suggester.js +152 -67
- package/dist/hooks/memory-recall.js +152 -67
- package/dist/hooks/post-edit-context.js +152 -67
- package/dist/hooks/post-tool-use.js +152 -67
- package/dist/hooks/pre-compact.js +152 -67
- package/dist/hooks/pre-delete-check.js +154 -69
- package/dist/hooks/pre-tool-use-gate.js +154 -69
- package/dist/hooks/quality-event.js +152 -67
- package/dist/hooks/rule-enforcement-pipeline.js +152 -67
- package/dist/hooks/security-gate.js +152 -67
- package/dist/hooks/session-end.js +346 -80
- package/dist/hooks/session-start.js +155 -67
- package/dist/hooks/user-prompt.js +222 -111
- package/package.json +4 -3
- package/patterns/build-patterns.md +2 -0
- package/patterns/component-patterns.md +2 -0
- package/patterns/display-patterns.md +2 -0
- package/patterns/form-patterns.md +2 -0
- package/patterns/integration-testing-checklist.md +2 -0
- package/patterns/security-patterns.md +2 -0
- package/patterns/testing-patterns.md +2 -0
- package/patterns/tool-routing.md +2 -0
- package/patterns/ui-patterns.md +2 -0
- package/protocols/plan-implementation.md +2 -0
- package/protocols/recovery.md +2 -0
- package/protocols/verification.md +2 -0
- package/reference/cr-rules-reference.md +2 -0
- package/reference/hook-execution-order.md +2 -0
- package/reference/lessons-learned.md +2 -0
- package/reference/patterns-quickref.md +2 -0
- package/reference/standards.md +2 -0
- package/reference/subagents-reference.md +2 -0
- package/reference/vr-verification-reference.md +2 -0
package/commands/massu-data.md
CHANGED
|
@@ -4,6 +4,8 @@ description: "When user asks about data trends, metrics, analytics, funnel analy
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Grep(*), Glob(*), mcp__supabase__*
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Data Analysis
|
|
8
10
|
|
|
9
11
|
Structured data analysis and query library for your project databases.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Auto-Learning Protocol
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
**MANDATORY after every bug fix.** The system MUST automatically learn from every fix. This is NOT optional.
|
|
4
6
|
|
|
5
7
|
---
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Codegraph-Enhanced Tracing
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
How to use codegraph MCP tools for dependency tracing and understanding the full context before debugging.
|
|
4
6
|
|
|
5
7
|
---
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Common Debugging Shortcuts
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
Quick diagnosis patterns for common error types.
|
|
4
6
|
|
|
5
7
|
---
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Investigation Phases (0-7)
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
Full detail for each investigation phase in the massu-debug protocol.
|
|
4
6
|
|
|
5
7
|
---
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Debug Report Format
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
Templates for the debug report and session state update.
|
|
4
6
|
|
|
5
7
|
---
|
|
@@ -4,6 +4,8 @@ description: "Deploy a containerized Python service via docker compose — force
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Massu Deploy: Python Service — Docker Compose
|
|
8
10
|
|
|
9
11
|
Force-recreates the Docker container for a Python service using `docker compose`. Use this variant when your service is containerized and `massu.config.yaml` declares `config.python.service_label` matching the compose service name.
|
|
@@ -4,6 +4,8 @@ description: "Deploy a Python service to Fly.io — flyctl deploy, status check,
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Massu Deploy: Python Service — Fly.io
|
|
8
10
|
|
|
9
11
|
Deploys a Python service to Fly.io using `flyctl deploy`. Use this variant when your project targets Fly.io and has a `fly.toml` in the repository root. The app name comes from `fly.toml` (or `config.python.service_label` as a fallback).
|
|
@@ -4,6 +4,8 @@ description: "Deploy a Python service supervised by launchd (macOS) — restart
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Massu Deploy: Python Service — launchd (macOS)
|
|
8
10
|
|
|
9
11
|
Restarts a Python service running under `launchd` on macOS. Use this variant when your `massu.config.yaml` declares `config.python.service_label` and your host is macOS.
|
|
@@ -4,6 +4,8 @@ description: "Deploy a Python service supervised by systemd (Linux) — restart
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Massu Deploy: Python Service — systemd (Linux)
|
|
8
10
|
|
|
9
11
|
Restarts a Python service running under a `systemd --user` unit on Linux. Use this variant when your `massu.config.yaml` declares `config.python.service_label` and your host is Linux.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
2
|
+
|
|
1
3
|
name: massu-full-audit
|
|
2
4
|
|
|
3
5
|
# Massu Full Audit
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Approval Points
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
There are exactly 4 approval points (5 when using `--competitive` mode) where the golden path pauses for user input. Everything else runs automatically.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 0: Requirements & Context Loading
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## 0.1 Session Context Loading
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 1: Plan Creation & Audit
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## Phase 1A: Research & Reality Check
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 2: Implementation
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## Competitive Mode Check
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 2.5: Gap & Enhancement Analyzer Loop
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
```
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 3: Simplification
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
```
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 3.5: Deep Security Audit
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
```
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 4: Pre-Commit Verification
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
```
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 5: Push Verification & Push
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
```
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 5.5: Production Verification
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
```
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Phase 6: Completion
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## 6.1 Final Report
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# QA Evaluator Specification
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path` Phase 2C. Return to `phase-2-implementation.md` for full Phase 2.
|
|
4
6
|
|
|
5
7
|
## Purpose
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Sprint Contract Protocol
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-golden-path` Phase 2A.5. Return to `phase-2-implementation.md` for full Phase 2.
|
|
4
6
|
|
|
5
7
|
## What Is a Sprint Contract?
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# VR-VISUAL Calibration Examples
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for VR-VISUAL 4-dimension weighted scoring.
|
|
4
6
|
> Used by `scripts/ui-review.sh` and golden-path Phase 2.5 gap analysis.
|
|
5
7
|
|
package/commands/massu-guide.md
CHANGED
|
@@ -3,6 +3,8 @@ name: massu-guide
|
|
|
3
3
|
description: "When a new user or contributor asks 'how does this work', 'give me a tour', 'onboarding', or needs an interactive walkthrough of the codebase"
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
|
+
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
6
8
|
name: massu-guide
|
|
7
9
|
|
|
8
10
|
# Massu Guide: Codebase Onboarding Walkthrough
|
package/commands/massu-hooks.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
2
|
+
|
|
1
3
|
name: massu-hooks
|
|
2
4
|
|
|
3
5
|
# Massu Hooks: Profile & Status Dashboard
|
|
@@ -4,6 +4,8 @@ description: "When user says 'learning audit', 'check auto-learning', 'memory co
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Grep(*), Glob(*), ToolSearch(mcp__massu-codegraph__*)
|
|
5
5
|
disable-model-invocation: true
|
|
6
6
|
---
|
|
7
|
+
|
|
8
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
7
9
|
name: massu-learning-audit
|
|
8
10
|
|
|
9
11
|
# Massu Learning Audit: Auto-Learning Effectiveness Validation
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Auto-Learning Protocol
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-loop`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## POST-BUILD REFLECTION + MANDATORY MEMORY PERSIST (CR-38)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Checkpoint Audit Protocol
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-loop`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## CHECKPOINT AUDIT (Phase Boundaries)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# The 10 Accountability Safeguards
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-loop`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## THE 10 ACCOUNTABILITY SAFEGUARDS
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Iteration Structure
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-loop`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## ITERATION STRUCTURE
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Loop Controller
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-loop`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## MANDATORY LOOP CONTROLLER (EXECUTE THIS - DO NOT SKIP)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Plan Item Extraction
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-loop`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## PLAN ITEM EXTRACTION PROTOCOL (MANDATORY - STEP 0)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# VR-PLAN Verification Details
|
|
2
2
|
|
|
3
|
+
> **Verification laws apply.** Read `.claude/commands/_verification-laws.md` — CR-64 (a gate must prove it can fail), CR-65 (broken and empty may never render identically), and: an audit that does not run commands is not an audit.
|
|
4
|
+
|
|
3
5
|
> Reference doc for `/massu-loop`. Return to main file for overview.
|
|
4
6
|
|
|
5
7
|
## VR-PLAN: VERIFICATION PLANNING STEP
|
package/commands/massu-parity.md
CHANGED
|
@@ -3,6 +3,8 @@ name: massu-parity
|
|
|
3
3
|
description: Generic feature parity check between two systems or components
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Grep(*), Glob(*), Write(*), Task(*)
|
|
5
5
|
---
|
|
6
|
+
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
6
8
|
name: massu-parity
|
|
7
9
|
|
|
8
10
|
# Massu Parity: Feature Parity Check
|
package/commands/massu-push.md
CHANGED
|
@@ -3,6 +3,8 @@ name: massu-push
|
|
|
3
3
|
description: "When user says 'push', 'push to remote', 'deploy', or wants to push committed changes to the remote repository"
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Edit(*), Write(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
|
+
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
6
8
|
name: massu-push
|
|
7
9
|
|
|
8
10
|
# Massu Push: Verify, Push, Monitor CI
|
|
@@ -4,6 +4,8 @@ description: "When user wants to create a new Claude Code hook — scaffolds the
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Write(*), Edit(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Scaffold New Hook
|
|
8
10
|
|
|
9
11
|
Creates a complete Claude Code hook following the 3-tier profile system.
|
|
@@ -4,6 +4,8 @@ description: "When user wants to create a new page, screen, or view — asks whi
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Write(*), Edit(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Scaffold New Page / View
|
|
8
10
|
|
|
9
11
|
This default template is **framework-agnostic**. It asks the user (or, when invoked by an agent, infers from `massu.config.yaml`) which target to scaffold, then dispatches to one of the embedded patterns below.
|
|
@@ -4,6 +4,8 @@ description: "When user wants to create a new view, screen, or page in a SwiftUI
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Write(*), Edit(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Scaffold New SwiftUI View
|
|
8
10
|
|
|
9
11
|
Creates a SwiftUI View + `@MainActor` ViewModel + Decodable response model. Suitable for iOS, visionOS, or any cross-platform SwiftUI target.
|
|
@@ -4,6 +4,8 @@ description: "When user wants to create a new tRPC router, API endpoint, or back
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Write(*), Edit(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Scaffold New tRPC Router
|
|
8
10
|
|
|
9
11
|
Creates a complete tRPC router following all project database and auth patterns.
|
|
@@ -4,6 +4,8 @@ description: "Django-specific scaffold for {{paths.python_source | default("djan
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Write(*), Edit(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Scaffold New Django View
|
|
8
10
|
|
|
9
11
|
Creates Django views in `{{paths.python_source | default("django_app")}}` following the project's conventions. Covers function-based views (FBV), class-based views (CBV), and the corresponding `urls.py` registration. Auth guard uses `{{detected.python.auth_dep | default("login_required")}}`.
|
|
@@ -4,6 +4,8 @@ description: "FastAPI-specific scaffold for {{paths.python_source | default("app
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Write(*), Edit(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Scaffold New FastAPI Router
|
|
8
10
|
|
|
9
11
|
Creates a complete FastAPI router following the project's existing conventions in `{{paths.python_source | default("app")}}/routers/`. Auth dependency sourced from the massu introspector's `detected.python.auth_dep` (falls back to `get_current_user` if not detected).
|
|
@@ -4,6 +4,8 @@ description: "When user wants to create a new FastAPI router, API endpoint, or b
|
|
|
4
4
|
allowed-tools: Bash(*), Read(*), Write(*), Edit(*), Grep(*), Glob(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
> **Shared rules apply.** Read `.claude/commands/_shared-preamble.md` before proceeding — including **THE VERIFICATION LAWS** (CR-64: a gate must prove it can fail; CR-65: broken and empty may never render identically; an audit that does not run commands is not an audit).
|
|
8
|
+
|
|
7
9
|
# Scaffold New FastAPI Router
|
|
8
10
|
|
|
9
11
|
Creates a complete FastAPI router following the project's existing conventions in `${paths.python_source}/routers/` (or wherever your project's `paths.python_source` resolves).
|