@v11g/agents-rock 1.0.4 → 1.0.6
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 +1 -1
- package/package.json +1 -1
- package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
- package/plugins/solution-architect/skills/estimate/README.md +8 -5
- package/plugins/solution-architect/skills/estimate/SKILL.md +13 -7
- package/plugins/solution-architect/skills/estimate/assets/estimate-template-agentic.html +142 -376
- package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +619 -601
- package/plugins/solution-architect/skills/estimate/assets/scores-review-template.html +363 -0
- package/plugins/solution-architect/skills/estimate/references/ai-multipliers.md +5 -9
- package/plugins/solution-architect/skills/estimate/references/interview.md +132 -12
- package/plugins/solution-architect/skills/estimate/references/scoring-guide.md +23 -0
- package/plugins/solution-architect/skills/estimate/references/techniques.md +9 -2
- package/plugins/solution-architect/skills/estimate/references/writing.md +28 -5
- package/plugins/solution-architect/skills/estimate/scripts/lib/agentic-checks.mjs +1 -1
- package/plugins/solution-architect/skills/estimate/scripts/lib/checks.mjs +4 -30
- package/plugins/solution-architect/skills/estimate/scripts/lib/estimate-math.mjs +14 -10
- package/plugins/solution-architect/skills/estimate/scripts/lib/inline.mjs +6 -8
- package/plugins/solution-architect/skills/estimate/scripts/lib/md-tables.mjs +31 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/redact.mjs +14 -3
- package/plugins/solution-architect/skills/estimate/scripts/lib/rollup.mjs +5 -4
- package/plugins/solution-architect/skills/estimate/scripts/lib/scenario-schema.mjs +39 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/schema.mjs +4 -14
- package/plugins/solution-architect/skills/estimate/scripts/lib/score-csv.mjs +58 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/score-diff.mjs +30 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/score-html.mjs +17 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/scoring-checks.mjs +24 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/scoring-schema.mjs +48 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/scoring.mjs +45 -0
- package/plugins/solution-architect/skills/estimate/scripts/render.mjs +14 -13
- package/plugins/solution-architect/skills/estimate/scripts/score-review.mjs +59 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/browser.test.mjs +403 -316
- package/plugins/solution-architect/skills/estimate/scripts/test/compute.test.mjs +25 -1
- package/plugins/solution-architect/skills/estimate/scripts/test/estimate-math.test.mjs +29 -10
- package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-inputs.json +2 -2
- package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/booking-inputs.json +21 -3
- package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-fail.md +1 -1
- package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-pass.md +4 -4
- package/plugins/solution-architect/skills/estimate/scripts/test/references.test.mjs +64 -6
- package/plugins/solution-architect/skills/estimate/scripts/test/render.test.mjs +96 -13
- package/plugins/solution-architect/skills/estimate/scripts/test/schema.test.mjs +105 -4
- package/plugins/solution-architect/skills/estimate/scripts/test/score-review.test.mjs +187 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/scoring.test.mjs +49 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/url-state.test.mjs +198 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/validate.test.mjs +38 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/xlsx-export.test.mjs +114 -28
- package/plugins/solution-architect/skills/new-lead/scripts/lib/map-nodes.mjs +1 -1
- package/plugins/solution-architect/skills/proposal/scripts/test/checks-client.test.mjs +2 -2
- package/plugins/solution-architect/skills/proposal/scripts/test/figures.test.mjs +1 -1
package/README.md
CHANGED
|
@@ -82,7 +82,7 @@ rather than a hang.
|
|
|
82
82
|
| Plugin | Description | Version |
|
|
83
83
|
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
|
|
84
84
|
| `business-analyst` | Business-analysis toolkit: interview-driven requirements discovery that turns raw client input into a validated, traceable requirements package ready for solution architecture. | 0.2.0 |
|
|
85
|
-
| `solution-architect` | Solution-architecture toolkit: interview-driven architecture documentation with interactive diagrams and provenance-tagged facts, AI-aware project estimation, and client-ready proposals. |
|
|
85
|
+
| `solution-architect` | Solution-architecture toolkit: interview-driven architecture documentation with interactive diagrams and provenance-tagged facts, AI-aware project estimation, and client-ready proposals. | 2.0.1 |
|
|
86
86
|
| `lmk` | Terminal-native visual explainer: explains the current topic with cheap diagrams (flowcharts, sequences, timelines, tables) rendered directly in the terminal via a bundled Mermaid renderer. | 0.1.0 |
|
|
87
87
|
|
|
88
88
|
## Skills
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solution-architect",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Solution-architecture toolkit: interview-driven architecture documentation with interactive diagrams and provenance-tagged facts, AI-aware project estimation, and client-ready proposals.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Truong Vu",
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
# estimate
|
|
2
2
|
|
|
3
3
|
Produce an honest, validated project estimate, then serve it on localhost as an
|
|
4
|
-
interactive
|
|
4
|
+
interactive page.
|
|
5
5
|
|
|
6
6
|
## What it produces
|
|
7
7
|
|
|
8
8
|
**`estimation.md`** — scope split into `stated` vs `proposed` items, a task-level
|
|
9
9
|
backlog with confidence and assumptions per row, an AI-aware scenario comparison
|
|
10
|
-
(team composition ×
|
|
10
|
+
(team composition × AI assistance), and the technique used, all backed by
|
|
11
11
|
`estimation.json` (the numbers every table cell comes from — nothing in the
|
|
12
12
|
doc is hand-totaled).
|
|
13
13
|
|
|
14
14
|
**An interactive page** (`estimate.html`) — the same data rendered as a
|
|
15
|
-
self-contained, offline-capable HTML file
|
|
16
|
-
|
|
15
|
+
self-contained, offline-capable HTML file: a Summary (recommended team, months,
|
|
16
|
+
cost, and the committed alternatives), the feature breakdown (the interview's
|
|
17
|
+
five factor scores per feature, Σ, tier and hours side by side; a
|
|
18
|
+
spreadsheet export with a scoring tab, a Score Rationale tab and a task
|
|
19
|
+
tab), containers, roadmap and risks, served on `localhost:4173` (or the
|
|
17
20
|
next free port).
|
|
18
21
|
|
|
19
22
|
## Two run modes
|
|
@@ -42,7 +45,7 @@ node scripts/render.mjs --json estimation.json --md estimation.md --out .
|
|
|
42
45
|
|
|
43
46
|
`validate.mjs` must exit 0 before `render.mjs` will produce a page — an
|
|
44
47
|
unvalidated estimate cannot ship. Add `--client-only` to `render.mjs` for a
|
|
45
|
-
client-safe file with rates and the labor/
|
|
48
|
+
client-safe file with rates and the labor/tooling cost breakdown stripped from
|
|
46
49
|
both the embedded data and the task register (totals and months stay) —
|
|
47
50
|
unless `exposeRatesToClient: true` is set in `estimation-inputs.json`, which
|
|
48
51
|
keeps them.
|
|
@@ -7,7 +7,7 @@ description: Interview-driven project estimation with AI-aware delivery scenario
|
|
|
7
7
|
|
|
8
8
|
Produce an honest, validated estimate: confirmed scope split from assumptions,
|
|
9
9
|
a technique that fits the evidence, AI-assisted staffing scenarios, and an
|
|
10
|
-
interactive
|
|
10
|
+
interactive page served on localhost.
|
|
11
11
|
|
|
12
12
|
## Hard rules
|
|
13
13
|
|
|
@@ -27,12 +27,16 @@ interactive what-if page served on localhost.
|
|
|
27
27
|
|
|
28
28
|
1. **Detect evidence**: requirements/RFP? ARCHITECTURE.md? codebase? none?
|
|
29
29
|
State findings; the user can override. (`references/interview.md` §1)
|
|
30
|
-
2. **Depth and delivery mode**: ask QUICK / STANDARD / DEEP, then
|
|
31
|
-
|
|
30
|
+
2. **Depth and delivery mode**: ask QUICK / STANDARD / DEEP, then assume
|
|
31
|
+
AGENTIC and ask only "humans writing the code?" as the opt-out
|
|
32
|
+
(`references/interview.md` §2b). Delivery mode decides step 4, and is
|
|
33
|
+
written to `estimation-inputs.json` explicitly either way.
|
|
32
34
|
3. **Interview**: follow `references/interview.md` — pre-fill from evidence,
|
|
33
|
-
ask only holes, run the clear-vs-assumed gate before sizing.
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
ask only holes, run the clear-vs-assumed gate before sizing. Read
|
|
36
|
+
`references/scoring-guide.md` before proposing any score; offer the
|
|
37
|
+
review channel (terminal cards, csv, or html via
|
|
38
|
+
`node scripts/score-review.mjs`). Before proposing milestones, read
|
|
39
|
+
`references/slicing.md` — slices are judged there, not computed.
|
|
36
40
|
4. **Technique**: TRADITIONAL-only — recommend from `references/techniques.md`,
|
|
37
41
|
state why, cite the method's sources (its §Sources — attribution + link,
|
|
38
42
|
never quoted text), confirm. AGENTIC reads
|
|
@@ -46,7 +50,9 @@ interactive what-if page served on localhost.
|
|
|
46
50
|
— fix findings, re-run until clean.
|
|
47
51
|
9. **Render + serve**:
|
|
48
52
|
`node scripts/render.mjs --json estimation.json --md estimation.md --out <dir>`
|
|
49
|
-
(add `--client-only` for a client-safe file
|
|
53
|
+
(add `--client-only` for a client-safe file; add `--figures proposal-figures.json`
|
|
54
|
+
once `/proposal` has written it, so the Summary shows the client's quoted
|
|
55
|
+
range) — render re-runs the validation
|
|
50
56
|
checks itself and refuses on findings, so an unvalidated page cannot ship.
|
|
51
57
|
`deliveryMode: "agentic"` routes rendering to the agentic HTML template
|
|
52
58
|
automatically; nothing to choose here. Then serve with the
|