Create release

From markmhendrickson/neotoma · View interactive version

Create release is an AI agent skill from the GitHub repository markmhendrickson/neotoma. Create a new software release with planning, manifest, and execution schedule.

How to use this skill

Skill file

Create New Release

Orchestrates multiple Feature Units into a cohesive release. Implements the Release workflow from foundation/development/release_workflow.md.

When to Use

Explicit Command: Use when you know exactly what you want: start a new release, plan multi-FU work with dependency resolution, generate execution schedules with parallelization, orchestrate FU creation/execution in dependency order, run cross-FU integration tests.

Automatic Detection: This workflow can also be triggered automatically via .cursor/rules/release_detection.md when you mention release-related patterns in natural language (e.g., "new release", "release v1.1.0"). Both paths execute the same workflow.

This is a foundation command. If installed, it will be available in .cursor/commands/ via symlink.

Prerequisites

Command Execution

Step 1: Load Documentation

Load required documents:

Step 2: Checkpoint 0 — Release Planning

Check if Release plan exists:

If Release plan exists: Load and validate. If complete → proceed to Step 3. If incomplete → prompt user to complete.

If Release plan does NOT exist: Prompt user interactively for Release details:

  1. Release name and version (e.g., "MVP", "v1.0.0")
  2. Release goal (1-2 sentence summary of what this ships)
  3. Target ship date (date or "when ready")
  4. Priority (P0 critical / P1 high / P2 normal)
  5. Included Feature Units (list of FU IDs, e.g., "FU-100, FU-101, FU-102")
  6. Excluded scope (what's explicitly NOT in this release)
  7. Release-level acceptance criteria:
  1. Cross-FU integration test requirements (flows that span multiple FUs)
  2. Deployment strategy (staging_first / canary / full_rollout)
  3. Rollback plan (how to revert if issues found)
  4. Post-release monitoring plan (key metrics, alerts)

After user input: Generate complete Release plan (release_plan.md), create manifest YAML (manifest.yaml), create integration test spec (integration_tests.md), create status tracker (status.md), save all to docs/releases/in_progress/{release_id}/.

After saving the release plan, offer the publish-plan prompt once:

Release plan saved to docs/releases/in_progress/{release_id}/release_plan.md.

Would you like to share this as a GitHub Discussion for pre-execution
input? Run /publish-plan docs/releases/in_progress/{release_id}/release_plan.md
to generate a public-facing post.

Do not wait for a response before proceeding to Step 3.

Step 3: Dependency Analysis and Schedule Generation

Analyze dependencies:

  1. Load all FU manifests for FUs in Release
  2. Extract dependencies from each FU's dependencies.requires field
  3. Build dependency graph: FU → [list of required FUs]
  4. Detect cycles: If cycle found → REJECT with error message. List cycle: "FU-A → FU-B → FU-C → FU-A"
  5. Validate dependencies: If any required FU is ⏳ Not Started and not in this Release → REJECT. If any required FU is 🔨 Partial → WARN but allow with user confirmation. If any required FU is ✅ Complete → proceed.

Generate execution schedule:

  1. Perform topological sort of FU dependency graph
  2. Group into batches:
  1. Identify parallelization opportunities:
  1. Estimate timeline:
  1. Save execution schedule to execution_schedule.md

Pre-Mortem Analysis:

  1. Identify top 3-5 most likely failure modes for this Release
  2. For each failure mode, specify:
  1. Present pre-mortem to user and ask:
  1. Incorporate feedback and add "Pre-Mortem" section to Release plan

WIP and Parallelization Limits:

  1. Encode limits in manifest.yaml:
  1. Present limits to user: "Proposed limits: max_parallel_fus=3, max_high_risk_in_parallel=1. Approve? (yes/modify)"

Machine-Checkable Exit Criteria:

  1. For each Release acceptance criterion, define:
  1. Add these to integration_tests.md with explicit pass/fail conditions
  2. Present to user: "Each acceptance criterion now has a machine-checkable test. Review? (yes/modify)"

Present schedule to user: Display batch breakdown, show which FUs run in parallel, show estimated timeline, show WIP limits and pre-mortem failure modes. STOP and prompt: "Approve execution schedule? (yes/no/modify)"

If user approves:

If user requests modifications:


Step 4: Execute FU Batches (Autonomous)

Before starting execution, prompt user for execution strategy:

For each batch in execution schedule (in order):

Batch Execution Loop:

  1. Start all FUs in batch:
  1. Wait for all FUs in batch to complete
  1. Run cross-FU integration tests:
  1. Update Release status:

After all batches complete:


Step 5: Checkpoint 1 — Mid-Release Review (Optional)

Check if mid-release checkpoint is configured: Look for checkpoint_1_after_batch in manifest.yaml. If not configured, skip to Step 6.

If configured and batch threshold reached, present mid-release status:

STOP and prompt user:

If user responds:


Step 6: Cross-Release Integration Testing

Run full integration test suite:

  1. Execute all tests from integration_tests.md
  2. Run end-to-end user flows that span multiple FUs
  3. Verify no regressions in existing functionality
  4. Run performance benchmarks (if specified in acceptance criteria)
  5. Verify graph integrity (0 orphans, 0 cycles if applicable)

Check Release-level acceptance criteria:

Generate integration test report:

If tests fail: STOP and report failures to user. User decides: fix issues and re-test, or abort Release.

If all tests pass: Proceed to Step 7.

Step 7: Checkpoint 2 — Pre-Release Sign-Off

Present Release summary:

STOP and prompt user:

If user requests changes:

If user approves:


Step 8: Deployment

Execute deployment plan:

  1. Follow deployment strategy from Release plan:
  1. Run deployment steps:
  1. Verify deployment success:

If deployment fails: STOP and report failure, execute rollback plan, user investigates and fixes.

If deployment succeeds: Update Release status to deployed, record deployment timestamp, proceed to Step 9.

Step 9: Post-Release Monitoring Setup

Setup monitoring:

  1. Verify metrics instrumentation:
  1. Setup alerts:
  1. Document monitoring links:

Mark Release as completed:

```bash

mv docs/releases/in_progress/{release_id} docs/releases/completed/{release_id}

```

Present completion summary:

Example Interaction

User: Create release v1.0.0 for MVP

Agent: Loading Release workflow documentation...

Agent: No existing Release plan found for v1.0.0. Starting interactive Release planning (Checkpoint 0).

Agent: What is the Release name and version?
User: MVP, v1.0.0

Agent: What is the Release goal? (1-2 sentence summary)
User: Ship deterministic Truth Layer with ingestion, extraction, entity resolution, timeline, and MCP access for AI tools. Support multi-user teams.

Agent: What is the target ship date?
User: 2025-03-01

Agent: What is the priority?
User: P0 critical

Agent: Which Feature Units should be included? (list FU IDs)
User: FU-100, FU-101, FU-102, FU-103, FU-105, FU-300, FU-700, FU-701

Agent: [loads the matching Feature Unit specs from `docs/feature_units/`]

Agent: What scope is explicitly excluded from this release?
User: Semantic search, Plaid integration, X/Instagram integrations (all post-MVP)

Agent: What are the Release-level acceptance criteria? (product, technical, business)
User: [provides release-specific criteria]

Agent: What cross-FU integration tests are required?
User: Full user flow: upload → extraction → entity resolution → event generation → timeline display → AI query via MCP

Agent: What is the deployment strategy?
User: staging_first

Agent: What is the rollback plan?
User: Revert to previous release tag, restore DB snapshot if needed

Agent: What monitoring plan should be setup post-release?
User: Monitor upload success rate, P95 latency, DAU, orphan node count

Agent: Generating Release plan, manifest, and integration test spec...
Agent: Analyzing FU dependencies...
Agent: Dependency graph:
  FU-100 → []
  FU-101 → [FU-100]
  FU-102 → [FU-100]
  FU-103 → [FU-101, FU-102]
  FU-105 → [FU-103]
  FU-300 → []
  FU-700 → []
  FU-701 → [FU-700]

Agent: Generating execution schedule...
Agent: Execution schedule:
  Batch 0: FU-100, FU-300, FU-700 (can run in parallel)
  Batch 1: FU-101, FU-102 (can run in parallel, depend on FU-100)
  Batch 2: FU-103 (depends on FU-101, FU-102)
  Batch 3: FU-105, FU-701 (can run in parallel, FU-105 depends on FU-103, FU-701 depends on FU-700)

Agent: Estimated timeline: 11-14 days (with parallelization across 3 agents)

Agent: Approve execution schedule? (yes/no/modify)
User: yes

Agent: Starting batch execution...
Agent: Batch 0: Starting FU-100, FU-300, FU-700 in parallel...
[FU execution proceeds autonomously]
Agent: Batch 0 complete. Running cross-FU integration tests...
Agent: Integration tests passed.
Agent: Batch 1: Starting FU-101, FU-102 in parallel...
[continues through all batches]

Agent: All batches complete. Running full integration test suite...
Agent: All integration tests passed.
Agent: Release v1.0.0 ready for deployment.
Agent: All FUs complete: FU-100 ✅, FU-101 ✅, FU-102 ✅, FU-103 ✅, FU-105 ✅, FU-300 ✅, FU-700 ✅, FU-701 ✅
Agent: Integration tests passed: 12/12
Agent: Acceptance criteria met: ✅ Product, ✅ Technical, ✅ Business
Agent: Approve for deployment? (yes/no)
User: yes

Agent: Deploying to staging...
Agent: Staging smoke tests passed.
Agent: Deploying to production...
Agent: Production health checks passed.
Agent: Release v1.0.0 deployed and complete!
Agent: Monitoring: [dashboard links]

Agent Instructions

Load Order

  1. foundation/development/release_workflow.md (primary)
  2. docs/feature_units/standards/creating_feature_units.md (for FU creation)
  3. docs/feature_units/standards/execution_instructions.md (for FU execution)
  4. docs/feature_units/completed/ and docs/feature_units/in_progress/ (for Feature Unit specs)

Constraints

Forbidden Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.