@ncoderz/awa 1.4.0 → 1.5.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/README.md CHANGED
@@ -4,9 +4,9 @@
4
4
  [![npm version](https://img.shields.io/npm/v/@ncoderz/awa.svg)](https://www.npmjs.com/package/@ncoderz/awa)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
6
6
 
7
- `Supercharge your AI development.`
7
+ `Structured, traceable AI development.`
8
8
 
9
- awa is an Agent Workflow for AIs. It is also a CLI tool to powerfully manage agent workflow files using templates, awa's or yours.
9
+ awa is an Agent Workflow for AIs. It provides a Spec-Driven Design (SDD) workflow with full end-to-end traceability, with tools to enforced consistency and help the AI follow the connections. It is also a powerful templating tool for agent configuration files.
10
10
 
11
11
  > awa was written by awa (AI-assisted development using its own workflows). The workflows themselves are designed and crafted by a human who uses Copilot. If something is wrong, let's fix it together.
12
12
 
@@ -14,42 +14,42 @@ awa is an Agent Workflow for AIs. It is also a CLI tool to powerfully manage age
14
14
 
15
15
  ## The Problem
16
16
 
17
- Divergence.
17
+ AI agents produce output that looks right but isn't connected. Requirements live in one place, implementation in another, tests in a third — nothing links them. The AI doesn't know when it has drifted from the original intent. You don't either, until something breaks.
18
18
 
19
- Developing with AI agents requires process. Configuration files that define this process get copy-pasted between projects, then diverge. Requirements live in one place, implementation in another, tests in a third — nothing connects them. They diverge too.
20
-
21
- Without structure, work drifts and nobody, including the AI, can trace what happened or why.
19
+ Agent configuration files diverge too: copy-pasted between projects, modified by hand, silently out of date.
22
20
 
23
21
  ## How awa Solves It
24
22
 
25
- awa does two thing. Firstly, it generates agent configuration files from **templates**. Secondly, the generated output includes a powerful spec-driven development workflow with full traceability:
23
+ awa provides a structured SDD workflow:
26
24
 
27
25
  ```
28
26
  ARCHITECTURE → FEAT → REQUIREMENTS → DESIGN → TASKS → CODE & TESTS → DOCUMENTATION
29
27
  ```
30
28
 
31
- Every code and test artifact traces back to its requirement and acceptance criteria origin through explicit markers (`@awa-impl`, `@awa-test`, `@awa-component`). Any line of code traces back to the requirement that motivated it. Any requirement traces forward to the tests that verify it.
29
+ Every code and test artifact carries an explicit traceability marker (`@awa-impl`, `@awa-test`, `@awa-component`) that links it back to its originating requirement and acceptance criterion. Any line of code traces back to why it was written. Any requirement traces forward to the tests that verify it.
30
+
31
+ `awa check` enforces this chain — validating spec structure via YAML schemas and ensuring every acceptance criterion maps to code and tests. `awa trace` assembles the chain into context so AI agents can navigate it rather than guess.
32
32
 
33
- Not only this, but awa actively checks that specs match a high quality schema, and that all requirements and acceptance criteria map to code and tests. This helps guide the AI to produce higher quality output.
33
+ Agent configuration files are generated from **templates** and can be added to your project or updated consistently with a single `awa init` call.
34
34
 
35
- ## Workflow Features
35
+ ## SDD & Traceability Features
36
36
 
37
37
  - **Structured workflow with full traceability** - every requirement, acceptance critera and property test has an ID, every line of code links back via `@awa-component`, `@awa-impl` and `@awa-test` code markers
38
38
  - **`awa check`** - allows AI or humans to enforces spec structure via YAML schemas, and to validate traceability markers against spec IDs
39
39
  - **`awa trace`** - allows AI or humans to explore traceability chains and quickly assemble context from specs, code, and tests
40
40
  - **Agent-agnostic** - Copilot, Claude, Cursor, Windsurf, and more from a single template set
41
41
 
42
- ## Template Features
42
+ ## Template Bootstrap Features
43
43
 
44
44
  - **[Eta](https://eta.js.org/) templates** with conditionals, loops, and partials for AI configuration files
45
- - **Feature flags and presets** - to turn content on/off per project
46
- - **Template overlays** - to layer customizations without forking
47
- - **`awa template diff`** - shows exactly what changed before you commit; `--watch` re-diffs on template changes
48
- - **`awa template test`** - verifies templates against fixtures and snapshots
49
- - **`awa template features`** - discovers available feature flags and presets
50
- - **Multi-target configuration** - for generating different agent setups in one command
51
- - **Git or local** - template sources GitHub, GitLab, Bitbucket, or local path
52
- - **`--json` and `--summary`** - flags for CI integration
45
+ - **Feature flags and presets** turn content on/off per project
46
+ - **Template overlays** layer customizations without forking
47
+ - **`awa template diff`** shows exactly what changed before you commit; `--watch` re-diffs on template changes
48
+ - **`awa template test`** verifies templates against fixtures and snapshots
49
+ - **`awa template features`** discovers available feature flags and presets
50
+ - **Multi-target configuration** for generating different agent setups in one command
51
+ - **Git or local** template sources (GitHub, GitLab, Bitbucket, or local path)
52
+ - **`--json` and `--summary`** flags for CI integration
53
53
 
54
54
  See the **[full documentation](https://awa.ncoderz.com)** for details.
55
55
 
@@ -80,25 +80,28 @@ awa init . --features copilot claude cursor
80
80
 
81
81
  See the **[Quick Start guide](https://awa.ncoderz.com/guides/quick-start/)** for more.
82
82
 
83
- ## Alternatives
84
-
85
- Several tools address parts of the AI-assisted development workflow. Here's how they compare:
86
-
87
- | | awa | [Kiro](https://kiro.dev) | [Spec Kit](https://github.com/github/spec-kit) | [BMAD Method](https://github.com/bmad-code-org/BMAD-METHOD) | [AI RPI Protocol](https://github.com/MiguelAxcar/ai-rpi-protocol) | Manual files |
88
- |---|---|---|---|---|---|---|
89
- | **What it is** | CLI that generates agent config from templates | IDE with built-in spec-driven development | Python CLI for Spec-Driven Development | Agile workflow with role-based AI skills | Markdown rules for AI behavior governance | Hand-written CLAUDE.md, .cursorrules, etc. |
90
- | **Structured workflow** | Architecture →</br> Features →</br> Requirements →</br> Design →</br> Tasks →</br> Code & Tests →</br> Docs | Requirements →</br> Design →</br> Tasks | Specify →</br> Plan →</br> Tasks →</br> Implement | Analysis →</br> Planning →</br> Solutioning →</br> Implementation | Research →</br> Plan →</br> Implement | Whatever you put in the file |
91
- | **Workflow flexibility** | Start at any stage, skip what's not needed | ⚠️ Two variants (Req-First or Design-First), always 3 phases | ⚠️ Optional clarify/analyze steps, otherwise fixed order | ⚠️ Project levels determine required phases | ⚠️ Hard gates between phases, escape commands to bypass | ✅ No workflow to constrain you |
92
- | **Traceability** | ✅ Requirement IDs →</br> design →</br> `@awa-impl` / `@awa-test` code markers</br> + `awa check` | | | | | ❌ |
93
- | **Template engine** | Eta with conditionals, loops, partials | | Static templates copied on init | ❌ Static skill files | ❌ Static markdown | |
94
- | **Feature flags** | ✅ Enable/disable content per project | ❌ | ❌ | ❌ | ⚠️ Lite/Full modes | ❌ |
95
- | **Presets** | Named flag bundles | ❌ | ❌ | ⚠️ Complexity levels | ⚠️ Operation levels | ❌ |
96
- | **AI Instructions Drift detection** | ✅ `awa template diff` shows what changed vs. templates | ❌ | ❌ | ❌ | ⚠️ Manual compliance checklist | ❌ |
97
- | **Re-generation** | Generates from templates on every run | Specs created per feature | ❌ One-time `specify init` | One-time install | ❌ One-time copy | ❌ One-time manual creation |
98
- | **Agent hooks** | | Event-driven agent triggers on file save | | | | |
99
- | **Built-in IDE** | | VS Code-compatible IDE | | | | |
100
- | **Runtime** | Node + CLI | Standalone IDE + CLI | Python 3.11+ / uv | Shell / Python / yq | None (markdown only) | None |
101
- | **Agent support** | Agent-agnostic (generate config for any agent) | Kiro only | 18+ agents | Codex-focused | Cursor, VS Code, Claude Code, Windsurf | One agent at a time |
83
+ ## Related Tools
84
+
85
+ Several tools address AI-assisted development workflows. Each brings different strengths:
86
+
87
+ | Tool | Description | Runtime |
88
+ |---|---|---|
89
+ | **awa** | Templated agent config generation with spec-driven workflow and traceability | Node + CLI |
90
+ | **[Kiro](https://kiro.dev)** | IDE with built-in spec-driven development and agent hooks | Standalone IDE + CLI |
91
+ | **[Spec Kit](https://github.com/github/spec-kit)** | Python CLI for structured specs with broad agent support (18+) | Python 3.11+ / uv |
92
+ | **[BMAD Method](https://github.com/bmad-code-org/BMAD-METHOD)** | Agile workflow with role-based AI personas | Shell / Python / yq |
93
+ | **[AI RPI Protocol](https://github.com/MiguelAxcar/ai-rpi-protocol)** | Zero-dependency markdown rules for disciplined AI development | None (markdown only) |
94
+
95
+ ### What each tool does well
96
+
97
+ - **Kiro** Deep IDE integration with agent hooks that trigger on file save, giving a seamless spec-driven experience without leaving your editor
98
+ - **Spec Kit** Supports 18+ agents out of the box and brings GitHub's backing; great if you work in Python and want broad compatibility
99
+ - **BMAD Method** Role-based AI personas (architect, PM, developer) that mirror agile team structures, useful for larger or more formal projects
100
+ - **AI RPI Protocol** Works instantly with no tooling to install; a simple, proven mental model for disciplined AI-assisted development
101
+
102
+ ### Where awa fits
103
+
104
+ awa focuses on two things other tools don't combine: **end-to-end traceability** (every line of code links back to a requirement via `@awa-impl` / `@awa-test` markers, validated by `awa check`) and **templateable agent configuration** (feature flags, presets, overlays, diff detection). It's agent-agnostic — one template set generates config for Copilot, Claude, Cursor, Windsurf, and more.
102
105
 
103
106
 
104
107
  ## Development
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ import { Command } from "commander";
24
24
  // src/_generated/package_info.ts
25
25
  var PACKAGE_INFO = {
26
26
  "name": "@ncoderz/awa",
27
- "version": "1.4.0",
27
+ "version": "1.5.0",
28
28
  "author": "Richard Sewell <richard.sewell@ncoderz.com>",
29
29
  "license": "MIT",
30
30
  "description": "awa is an Agent Workflow for AIs. It is also a CLI tool to powerfully manage agent workflow files using templates."