raptor-aios 0.1.0 → 0.3.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 +31 -0
- package/README.md +342 -165
- package/dist/_core/dist/agents/prompt-builder.d.ts.map +1 -1
- package/dist/_core/dist/agents/prompt-builder.js +14 -7
- package/dist/_core/dist/agents/prompt-builder.js.map +1 -1
- package/dist/_core/dist/audit/logger.d.ts +1 -1
- package/dist/_core/dist/audit/logger.d.ts.map +1 -1
- package/dist/_core/dist/audit/logger.js.map +1 -1
- package/dist/_core/dist/audit/schema.d.ts +1 -1
- package/dist/_core/dist/audit/schema.d.ts.map +1 -1
- package/dist/_core/dist/audit/schema.js +1 -0
- package/dist/_core/dist/audit/schema.js.map +1 -1
- package/dist/_core/dist/gates/builtin.d.ts +1 -0
- package/dist/_core/dist/gates/builtin.d.ts.map +1 -1
- package/dist/_core/dist/gates/builtin.js +94 -0
- package/dist/_core/dist/gates/builtin.js.map +1 -1
- package/dist/_core/dist/hooks/types.d.ts +1 -1
- package/dist/_core/dist/hooks/types.d.ts.map +1 -1
- package/dist/_core/dist/hooks/types.js +1 -0
- package/dist/_core/dist/hooks/types.js.map +1 -1
- package/dist/_core/dist/index.d.ts +1 -0
- package/dist/_core/dist/index.d.ts.map +1 -1
- package/dist/_core/dist/index.js +1 -0
- package/dist/_core/dist/index.js.map +1 -1
- package/dist/_core/dist/jira/credentials.d.ts +22 -0
- package/dist/_core/dist/jira/credentials.d.ts.map +1 -0
- package/dist/_core/dist/jira/credentials.js +60 -0
- package/dist/_core/dist/jira/credentials.js.map +1 -0
- package/dist/_core/dist/jira/dialects.d.ts +62 -0
- package/dist/_core/dist/jira/dialects.d.ts.map +1 -0
- package/dist/_core/dist/jira/dialects.js +112 -0
- package/dist/_core/dist/jira/dialects.js.map +1 -0
- package/dist/_core/dist/jira/index.d.ts +11 -0
- package/dist/_core/dist/jira/index.d.ts.map +1 -0
- package/dist/_core/dist/jira/index.js +11 -0
- package/dist/_core/dist/jira/index.js.map +1 -0
- package/dist/_core/dist/jira/mapper.d.ts +63 -0
- package/dist/_core/dist/jira/mapper.d.ts.map +1 -0
- package/dist/_core/dist/jira/mapper.js +219 -0
- package/dist/_core/dist/jira/mapper.js.map +1 -0
- package/dist/_core/dist/jira/mcp-client.d.ts +110 -0
- package/dist/_core/dist/jira/mcp-client.d.ts.map +1 -0
- package/dist/_core/dist/jira/mcp-client.js +318 -0
- package/dist/_core/dist/jira/mcp-client.js.map +1 -0
- package/dist/_core/dist/jira/oauth.d.ts +57 -0
- package/dist/_core/dist/jira/oauth.d.ts.map +1 -0
- package/dist/_core/dist/jira/oauth.js +177 -0
- package/dist/_core/dist/jira/oauth.js.map +1 -0
- package/dist/_core/dist/jira/types.d.ts +102 -0
- package/dist/_core/dist/jira/types.d.ts.map +1 -0
- package/dist/_core/dist/jira/types.js +21 -0
- package/dist/_core/dist/jira/types.js.map +1 -0
- package/dist/_core/package.json +1 -1
- package/dist/_core/templates/spec.md.hbs +152 -67
- package/dist/commands/approve.d.ts.map +1 -1
- package/dist/commands/approve.js +9 -0
- package/dist/commands/approve.js.map +1 -1
- package/dist/commands/clarify.d.ts.map +1 -1
- package/dist/commands/clarify.js +4 -0
- package/dist/commands/clarify.js.map +1 -1
- package/dist/commands/implement.d.ts.map +1 -1
- package/dist/commands/implement.js +5 -0
- package/dist/commands/implement.js.map +1 -1
- package/dist/commands/jira/connect.d.ts +21 -0
- package/dist/commands/jira/connect.d.ts.map +1 -0
- package/dist/commands/jira/connect.js +168 -0
- package/dist/commands/jira/connect.js.map +1 -0
- package/dist/commands/jira/disconnect.d.ts +7 -0
- package/dist/commands/jira/disconnect.d.ts.map +1 -0
- package/dist/commands/jira/disconnect.js +20 -0
- package/dist/commands/jira/disconnect.js.map +1 -0
- package/dist/commands/jira/pull.d.ts +13 -0
- package/dist/commands/jira/pull.d.ts.map +1 -0
- package/dist/commands/jira/pull.js +60 -0
- package/dist/commands/jira/pull.js.map +1 -0
- package/dist/commands/jira/status.d.ts +10 -0
- package/dist/commands/jira/status.d.ts.map +1 -0
- package/dist/commands/jira/status.js +76 -0
- package/dist/commands/jira/status.js.map +1 -0
- package/dist/commands/new.d.ts +9 -0
- package/dist/commands/new.d.ts.map +1 -1
- package/dist/commands/new.js +110 -20
- package/dist/commands/new.js.map +1 -1
- package/dist/commands/taskstoissues.d.ts +15 -0
- package/dist/commands/taskstoissues.d.ts.map +1 -0
- package/dist/commands/taskstoissues.js +196 -0
- package/dist/commands/taskstoissues.js.map +1 -0
- package/dist/shared/jira.d.ts +65 -0
- package/dist/shared/jira.d.ts.map +1 -0
- package/dist/shared/jira.js +196 -0
- package/dist/shared/jira.js.map +1 -0
- package/dist/shared/project.d.ts +19 -0
- package/dist/shared/project.d.ts.map +1 -1
- package/dist/shared/project.js +7 -2
- package/dist/shared/project.js.map +1 -1
- package/package.json +2 -2
- package/scripts/prepare-npm.mjs +2 -2
- package/templates/commands/clarify.md +95 -33
- package/templates/commands/specify.md +133 -34
- package/templates/spec-template.md +161 -66
- package/templates/tasks-template.md +2 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,39 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
5
5
|
|
|
6
|
+
## [0.3.0] - 2026-06-04
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- **`raptor new --jira=<KEY>` now seeds a reused-but-unseeded feature.** The Jira fetch was gated behind `!reusing`, so re-running `new` over a half-created feature directory (the folder existed but `spec.md` had never been written) silently skipped the fetch and left the spec empty (`id only (fetch unavailable)`). The trigger is now the absence of `spec.md`, not the reuse flag: `new` always consults Jira when it is about to seed and a ticket was given, and re-seeds any missing `spec.md` in an existing directory — without ever overwriting an already-authored spec or truncating companion files.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Full Jira context lands in the spec, in canonical form.** The seeded `spec.md` carries the complete ticket body verbatim, and both the `spec.md.hbs` template and the `/raptor-specify` command now instruct the agent to redistribute every imported user story, functional/non-functional requirement, acceptance scenario, out-of-scope item, and design link into its canonical section — losing nothing — then reduce the Problem Statement to a crisp who/how.
|
|
15
|
+
- **`/raptor-specify` no longer clobbers a seeded spec:** when `spec.md` already holds real content (e.g. seeded by `raptor new`), the command authors in place instead of copying the blank template over it.
|
|
16
|
+
|
|
17
|
+
### Security
|
|
18
|
+
|
|
19
|
+
- Jira/Confluence secrets stay out of `raptor.yml`: the MCP `env` block supports `${VAR}` expansion against the shell environment (e.g. `JIRA_API_TOKEN: ${ATLASSIAN_API_TOKEN}`), so committed configs reference a token held in the environment instead of embedding it.
|
|
20
|
+
|
|
21
|
+
## [0.2.0] - 2026-06-03
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- **Spec workflow of excellence:** the spec is now born populated. `raptor new -d/--desc "<descrição>"` captures a natural-language description that seeds the `Summary` and the agent prompt instead of an empty skeleton.
|
|
26
|
+
- **Single canonical spec template:** `templates/spec-template.md` and `packages/core/templates/spec.md.hbs` now share one rich form (Summary, Problem Statement, User Scenarios, User Stories with priority/why/independent-test, `FR-###`, Key Entities, NFRs, Edge Cases, Out of Scope, Dependencies & Assumptions, `AC-###`, technology-agnostic `SC-###`, dated Clarifications, and an embedded Review & Acceptance Checklist).
|
|
27
|
+
- **`gate.spec.ready`:** new built-in gate enforcing spec cohesion (every user story covered by an acceptance criterion, AC ids mirrored in frontmatter, measurable success criteria, no leftover placeholders).
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- **`/raptor-specify` (v2.0.0):** informed-defaults table, hard cap of 3 high-impact `[NEEDS CLARIFICATION]` markers (ranked scope → security → UX → feasibility), evidence-based self-validation loop, and a richer `checklists/requirements.md`.
|
|
32
|
+
- **`/raptor-clarify` (v2.0.0):** investigative clarification — 9-category coverage map, Impact×Uncertainty prioritization, ≤5 recommendation-driven questions, section-aware integration, and before→after checklist re-validation.
|
|
33
|
+
- **README:** rewritten for first-time users (per-command guidance, React Native flow, Mermaid diagrams, tables); removed Spec Kit references.
|
|
34
|
+
|
|
6
35
|
## [0.1.0] - 2026-04-24
|
|
7
36
|
|
|
8
37
|
### Added
|
|
38
|
+
|
|
9
39
|
- **Full SDD Lifecycle:** `new` → `clarify` → `plan` → `tasks` → `implement` → `analyze` → `checklist` with mandatory gate enforcement between phases.
|
|
10
40
|
- **Workflow Engine:** Declarative YAML-based workflow orchestration with resumable state machine, conditional steps, loops, branches, fan-out/fan-in, and human gates.
|
|
11
41
|
- **Real Shell Executor:** `child_process.spawn`-based async shell execution with configurable timeout (default 30s), environment injection, and stream-based stdout/stderr capture. Replaces the previous `execSync` blocking implementation.
|
|
@@ -21,6 +51,7 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
21
51
|
- **593 Tests:** 467 core + 126 CLI, 0 failures.
|
|
22
52
|
|
|
23
53
|
### Infrastructure
|
|
54
|
+
|
|
24
55
|
- Monorepo: `@raptor/core` + `@raptor/cli` via pnpm workspaces.
|
|
25
56
|
- TypeScript strict mode, ESM (NodeNext), Node.js ≥ 20.
|
|
26
57
|
- Oclif-based CLI with dynamic command loading.
|