@ncoderz/awa 1.9.0 → 1.10.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ncoderz/awa",
3
- "version": "1.9.0",
3
+ "version": "1.10.1",
4
4
  "description": "awa is an Agent Workflow for AIs. It is also a CLI tool to powerfully manage agent workflow files using templates.",
5
5
  "license": "BSD-3-Clause",
6
6
  "repository": {
@@ -55,6 +55,26 @@ sections:
55
55
  Key design decisions with rationale. Format:
56
56
  - DECISION: rationale. Alternatives: alt1, alt2
57
57
 
58
+ # Design Constraints section (optional)
59
+ - heading: "Design Constraints"
60
+ level: 2
61
+ description: >
62
+ Optional section for quantitative parameters, thresholds, formulas, and
63
+ platform-specific details that shape the implementation but do not belong
64
+ in a component interface or data model. Each H3 groups related constraints
65
+ by topic. Format per item:
66
+ - CONSTRAINT_NAME: value — rationale
67
+ Include IMPLEMENTS trace when a constraint directly satisfies an AC.
68
+ children:
69
+ - heading: ".*"
70
+ level: 3
71
+ repeatable: true
72
+ description: >
73
+ Constraint group heading (e.g., ### Protocol Parameters,
74
+ ### Operational Thresholds, ### Platform Details).
75
+ Bullet list of named constraints in CAPITALS.
76
+ Optional IMPLEMENTS line tracing to ACs.
77
+
58
78
  # Components and Interfaces section
59
79
  - heading: "Components and Interfaces"
60
80
  level: 2
@@ -248,6 +268,20 @@ example: |
248
268
 
249
269
  - PIPELINE OVER EVENT: Sequential pipeline for predictable flow and error handling. Alternatives: event-driven, middleware chain
250
270
 
271
+ ## Design Constraints
272
+
273
+ ### Generation Limits
274
+
275
+ - MAX_TEMPLATE_DEPTH: 10 — prevents infinite recursion in nested templates
276
+ - MAX_OUTPUT_FILES: 500 — safeguard against runaway generation
277
+
278
+ IMPLEMENTS: GEN-3_AC-1, GEN-3_AC-2
279
+
280
+ ### Platform Details
281
+
282
+ - LINE_ENDINGS: LF on POSIX, CRLF on Windows — match OS convention for generated files
283
+ - PATH_SEPARATOR: Use `path.sep` — portable across platforms
284
+
251
285
  ## Components and Interfaces
252
286
 
253
287
  ### CFG-ConfigLoader
@@ -348,4 +382,3 @@ example: |
348
382
 
349
383
  - citty (latest): CLI framework
350
384
  - smol-toml (1.x): TOML parser
351
-
@@ -28,8 +28,8 @@
28
28
  .awa/.agent/schemas/EXAMPLES.schema.yaml
29
29
 
30
30
  # Skills renamed from spec-* to awa-spec-*
31
- .github/prompts/awa.spec-merge.prompt.md
32
- .github/prompts/awa.spec-tidy.prompt.md
31
+ .github/prompts/spec-merge.prompt.md
32
+ .github/prompts/spec-tidy.prompt.md
33
33
  .github/skills/spec-merge/SKILL.md
34
34
  .github/skills/spec-tidy/SKILL.md
35
35
  .claude/skills/spec-merge/SKILL.md