---
description: Archive a completed and released feature
argument-hint: <feature-slug>
allowed-tools: Bash
---

Archive feature: $ARGUMENTS

## Instructions

### 1. Verify Feature is Released

```bash
sdlc feature show $ARGUMENTS --json
```

Confirm the feature current phase is `released`. Only released features can be archived.

### 2. Archive the Feature

```bash
sdlc archive $ARGUMENTS
```

This moves the feature from active tracking to the archive. The `.sdlc/features/$ARGUMENTS/` directory and its artifacts are preserved in git history.

### 3. Confirm Completion

```bash
sdlc feature list --json
```

Verify the feature no longer appears in the active features list.

### 4. Report

Confirm:
- Feature slug that was archived
- Previous phase: `released`
- Status: archived and removed from active tracking

## Critical Rules

- ONLY archive features in the `released` phase
- NEVER archive features that are still in progress
- This is a cleanup action -- it does not delete git history
- ALWAYS verify the feature is released before archiving
