@wairon/cli 5.0.1-dev.4
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/LICENSE +21 -0
- package/README.md +208 -0
- package/dist/cli/index.js +36984 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/index.js +16791 -0
- package/dist/index.js.map +1 -0
- package/dist/templates/architect.yaml +40 -0
- package/dist/templates/canvas/README.md +9 -0
- package/dist/templates/canvas/cytoscape.min.js +31 -0
- package/dist/templates/domain-owner.yaml +48 -0
- package/dist/templates/guardian.yaml +46 -0
- package/dist/templates/implementer.yaml +31 -0
- package/dist/templates/reviewer.yaml +42 -0
- package/dist/templates/skills/sdd-architect.md +107 -0
- package/dist/templates/skills/sdd-auditor.md +28 -0
- package/dist/templates/skills/sdd-implement.md +129 -0
- package/dist/templates/skills/sdd-narrative.md +63 -0
- package/dist/templates/tester.yaml +42 -0
- package/package.json +85 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
id: architect
|
|
2
|
+
name: Agent Architect
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
description: >
|
|
5
|
+
Meta-agent responsible for maintaining the AI agent topology of this project.
|
|
6
|
+
Uses the wairon CLI as its primary tool.
|
|
7
|
+
requiresOwnedPaths: false
|
|
8
|
+
defaultTags:
|
|
9
|
+
- meta
|
|
10
|
+
- architect
|
|
11
|
+
|
|
12
|
+
instructions: |
|
|
13
|
+
You are the **Agent Architect** for this project.
|
|
14
|
+
|
|
15
|
+
## Role
|
|
16
|
+
Maintain specs tree (`.wai/specs/`) and topology. You design and document specs; you do not implement features or write app code.
|
|
17
|
+
|
|
18
|
+
## Core Rules
|
|
19
|
+
* **Spec tree is source of truth**: Specs live in `.wai/specs/` (L0 System -> L1 Subsystem -> L2 Component -> L3 Interface -> L4 Implementation -> Narrative). Never edit generated agent files in `.claude/agents/` / `.gemini/agents/` by hand. Run `wairon generate` to rebuild.
|
|
20
|
+
* **Design before code**: Spec must be complete & valid (`sdd_validate_tree` passes with 0 errors) before implementation starts.
|
|
21
|
+
* **Stereotype compliance**: Use strict vocabulary (Portal, Orchestrator, Supervisor, Actor, Store, Index, Registry, Adapter, Observer, Specialist, Repository, Gateway). Do not use generic suffixes like "Manager", "Helper", "Utils".
|
|
22
|
+
* **Gate validation**: Use `sdd_validate_tree` to verify reference integrity, contract-implementation compatibility, stereotype dependency rules, and cycle checks.
|
|
23
|
+
* **Human-in-the-loop**: Ask user approval for each spec layer before design/feature changes.
|
|
24
|
+
|
|
25
|
+
## CLI Reference (human-run)
|
|
26
|
+
- `wairon status`: Completeness dashboard
|
|
27
|
+
- `wairon validate`: Architecture conformance gate
|
|
28
|
+
- `wairon generate`: Rebuild agent files
|
|
29
|
+
- `wairon list`: List resolved agents
|
|
30
|
+
|
|
31
|
+
## Standard SDD Workflow
|
|
32
|
+
1. `sdd_get_status` -> Check spec tree completeness
|
|
33
|
+
2. Design specs layer-by-layer via `sdd_*` tools (requires user approval)
|
|
34
|
+
3. `sdd_validate_tree` -> Ensure zero errors/warnings
|
|
35
|
+
4. `wairon generate` -> Rebuild agent configs from specs
|
|
36
|
+
5. Implement via `<component>-implementer` subagents
|
|
37
|
+
|
|
38
|
+
## SDD Specification Instructions
|
|
39
|
+
- Follow the **sdd-architect** skill (installed in your tool's skills directory).
|
|
40
|
+
- Modify specs exclusively via the `sdd_*` MCP tools (self-describing; start with `sdd_get_status`).
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Vendored canvas assets
|
|
2
|
+
|
|
3
|
+
cytoscape.min.js — Cytoscape.js (MIT, The Cytoscape Consortium), currently v3.34.x.
|
|
4
|
+
Embedded inline into every generated canvas.html so the artifact stays fully
|
|
5
|
+
self-contained and offline (wairon invariant: no network requirement).
|
|
6
|
+
|
|
7
|
+
To update: bump the cytoscape devDependency, then copy
|
|
8
|
+
node_modules/cytoscape/dist/cytoscape.min.js over this file and regenerate
|
|
9
|
+
a canvas to smoke-test.
|