aura-industry/auramaxx/task-lifecycle
Claude Code and agent skill by aura-industry/auramaxx
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install aura-industry/auramaxx/task-lifecycleSKILL.md
Task Lifecycle — Agent PM System
Manage the task pipeline. All commands use $TASKCTL from the project root.
How It Works
Agents work in isolated task folders — never touching source code directly. Changes flow through automated validation and human approval before landing in the codebase.
Pipeline Flow
- Provision — Task transitions to IN_PROGRESS, system copies allowed files into
{project_root}/tasks/task-{id}/changes/and creates/new/ - Agent works — Modifies files in the task folder only, within spec constraints
- Gate check — Validates against allowlists, line limits, forbidden paths, dependency rules
- Review — Human reviews via dashboard or CLI preview
- Swap — Git savepoint → copy to source → run tests → commit or rollback
- Conflict resolution — After swap, other tasks touching same files get invalidated and requeued
Statuses
| Status | Meaning | |
|---|---|---|
OPEN | Created, not yet queued for agents | |
QUEUED | Ready for agent pickup | |
IN_PROGRESS | Agent working in task folder | |
REVIEW | Gate check passed, awaiting human approval | |
DONE | Approved, swapped into source, archived | |
FROZEN | 3+ failures, needs human investigation | |
HUMAN | Reserved for human-only work | |
CANCELED | Abandoned or superseded |
Task Folder Rules
Agents MUST:
- Only modify files in
changes/that are listed inallowed_modify - Only create files in
new/matchingallowed_createpatterns - Stay under
max_lines_changed(default: 200)
Agents MUST NOT:
- Touch source code directly
- Modify files outside
allowed_modify - Touch
forbiddenpaths (global or per-project) - Add dependencies unless
can_add_dependenciesis true
Task Spec Fields
| Field | Type | Purpose | |
|---|---|---|---|
allowed_modify | JSON array | Files the agent may edit | |
allowed_create | JSON array | Glob patterns for new files | |
max_lines_changed | integer | Max total line diff | |
can_add_dependencies | boolean | Allow package.json changes | |
module | string | Module this task touches | |
attempts | integer | Rejection count | |
last_error | string | Last rejection reason |
Gate Check
Automated validation that runs before a task reaches REVIEW. Auto-rejects if:
- Modified file not in
allowed_modify - Created file not matching
allowed_createpatterns - File matches
forbiddenglobs (global + per-project merged) - Lines changed exceeds
max_lines_changed - package.json/lock file changed and
can_add_dependenciesis false
API: POST /api/tasks/{N}/gate-check → { ok, passed, violations[], filesChanged[], filesCreated[], linesChanged }
Circuit Breaker
On rejection (gate fail, test failure, human reject):
attemptsincrements by 1,last_errorrecords reason- attempts < 3 → QUEUED (agent retries)
- attempts >= 3 → FROZEN (human must investigate)
Frozen tasks require human intervention: rewrite spec + reset attempts, or kill.
Swap
Applies an approved REVIEW task into the source tree:
- Creates git savepoint
- Copies
changes/files into source - Copies
new/files into project - Runs test command (per-project
test_commandconfig, 120s timeout) - Tests pass → commit, release file locks, archive task folder → DONE
- Tests fail → rollback to savepoint, circuit breaker handles retry/freeze
API: POST /api/tasks/{N}/swap (body: { dryRun?: boolean }) → 200 success, 422 test failure, 409 not in REVIEW
File Locks
Tracks file ownership across concurrent tasks. First task to swap wins — conflicting tasks get invalidated and requeued.
- Acquire — Atomic all-or-nothing; returns conflicts if file already locked
- Release — Marks locks as released after swap
- Invalidate — After swap, other tasks on same files get requeued via circuit breaker
API: GET /api/tasks/{N}/file-locks, GET /api/tasks/{N}/file-conflicts
Preview
Temporarily copy task files into source for visual review. One preview at a time. No git operations — clean restore guaranteed.
Context Builder
Assembles the agent prompt when a task starts. Total must stay under 4000 lines.
Assembly order:
- Framing — Per-project
project_framingconfig + task description + allowed files - ARCHITECTURE.md — Truncated to 100 lines
- Modified files — Full content from task folder
- Adjacent interfaces — Export signatures from related files
- Similar feature example — From completed task with same module (optional)
Truncation order if over limit: example first, then adjacent interfaces.
CLI Reference
Quick Workflow
Task Management
Pipeline Commands
Config
Config is layered: per-task spec > per-project config > global config. Per-project can only further restrict, never loosen global rules.
Global Config
Set once, applies to all projects.
| Key | Default | Purpose | |
|---|---|---|---|
global_forbidden | ["core/*"] | Glob patterns no agent may touch | |
max_concurrent_tasks | 5 | Max tasks in IN_PROGRESS at once | |
default_max_lines_changed | 200 | Default line limit per task | |
default_can_add_dependencies | false | Default dependency policy |
Per-Project Config
Stored in project_config table. Overrides global for tasks scoped to that project. Falls back to global when unset.
| Key | Purpose | |
|---|---|---|
global_forbidden | Additional forbidden globs (merged with global) | |
test_command | Test runner command (e.g. npx vitest run, npm test, pytest) | |
project_framing | Context builder framing text for this project | |
source_dir | Source directory name (default: src) | |
dashboard_port | Dev server port for preview |
Adding a New Project
API Endpoints
| Method | Endpoint | Purpose | |
|---|---|---|---|
| GET | /api/tasks | List tasks (query: status, q, limit, offset) | |
| GET | /api/tasks/pick | Pick next queued task | |
| POST | /api/tasks/create | Create task | |
| GET | /api/tasks/{N} | Task detail | |
| POST | /api/tasks/{N}/claim | Acquire lock | |
| POST | /api/tasks/{N}/release | Release lock | |
| POST | /api/tasks/{N}/transition | Transition status | |
| POST | /api/tasks/{N}/gate-check | Run gate check | |
| POST | /api/tasks/{N}/swap | Execute swap | |
| GET | /api/tasks/{N}/file-locks | List active file locks | |
| GET | /api/tasks/{N}/file-conflicts | Check file conflicts | |
| POST | /api/tasks/{N}/tags | Add tag | |
| DELETE | /api/tasks/{N}/tags | Remove tag | |
| GET | /api/tasks/{N}/comments | List comments | |
| POST | /api/tasks/{N}/comments | Add comment | |
| GET | /api/config | List global config | |
| POST | /api/config | Set global config |
Services Reference
| Service | File | Function | |
|---|---|---|---|
| Task Folder | src/core/task-folder-service.ts | provisionTaskFolder(dbFile, taskNum) | |
| Gate Check | src/core/gate-check-service.ts | runGateCheck(dbFile, taskNum) | |
| Circuit Breaker | src/core/circuit-breaker.ts | handleRejection(dbFile, taskNum, reason) | |
| Swap | src/core/swap-service.ts | swapTaskIntoSrc(dbFile, taskNum, opts?) | |
| File Locks | src/core/file-lock-service.ts | acquireFileLocks(), releaseFileLocks(), invalidateConflicts() | |
| Preview | src/core/preview-service.ts | startPreview(dbFile, taskNum), stopPreview(dbFile) | |
| Context Builder | src/core/context-builder.ts | buildAgentContext(dbFile, taskNum) | |
| Global Config | src/core/global-config-service.ts | getConfig(), setConfig(), listConfig() | |
| Project Config | src/core/project-service.ts | getProjectConfig(), setProjectConfig(), listProjectConfig() |
Full spec: public/agent-project-management.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaurawallet/skills/task-lifecycle/SKILL.md
Popularity
- Repository stars
- 182
- Repository forks
- 17
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aura-industry/auramaxx/task-lifecycle)