arggon-harness 0.1.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 +229 -0
- package/config/default-opencode.json +21 -0
- package/dist/init.d.ts +3 -0
- package/dist/init.d.ts.map +1 -0
- package/dist/init.js +406 -0
- package/dist/init.js.map +1 -0
- package/dist/plugin/engine/artifact-graph.d.ts +38 -0
- package/dist/plugin/engine/artifact-graph.d.ts.map +1 -0
- package/dist/plugin/engine/artifact-graph.js +137 -0
- package/dist/plugin/engine/artifact-graph.js.map +1 -0
- package/dist/plugin/engine/config.d.ts +21 -0
- package/dist/plugin/engine/config.d.ts.map +1 -0
- package/dist/plugin/engine/config.js +146 -0
- package/dist/plugin/engine/config.js.map +1 -0
- package/dist/plugin/engine/delta-apply.d.ts +23 -0
- package/dist/plugin/engine/delta-apply.d.ts.map +1 -0
- package/dist/plugin/engine/delta-apply.js +153 -0
- package/dist/plugin/engine/delta-apply.js.map +1 -0
- package/dist/plugin/engine/git.d.ts +32 -0
- package/dist/plugin/engine/git.d.ts.map +1 -0
- package/dist/plugin/engine/git.js +61 -0
- package/dist/plugin/engine/git.js.map +1 -0
- package/dist/plugin/engine/integrity.d.ts +45 -0
- package/dist/plugin/engine/integrity.d.ts.map +1 -0
- package/dist/plugin/engine/integrity.js +98 -0
- package/dist/plugin/engine/integrity.js.map +1 -0
- package/dist/plugin/engine/registry.d.ts +39 -0
- package/dist/plugin/engine/registry.d.ts.map +1 -0
- package/dist/plugin/engine/registry.js +191 -0
- package/dist/plugin/engine/registry.js.map +1 -0
- package/dist/plugin/engine/state.d.ts +31 -0
- package/dist/plugin/engine/state.d.ts.map +1 -0
- package/dist/plugin/engine/state.js +116 -0
- package/dist/plugin/engine/state.js.map +1 -0
- package/dist/plugin/engine/task-tracker.d.ts +66 -0
- package/dist/plugin/engine/task-tracker.d.ts.map +1 -0
- package/dist/plugin/engine/task-tracker.js +124 -0
- package/dist/plugin/engine/task-tracker.js.map +1 -0
- package/dist/plugin/engine/types.d.ts +349 -0
- package/dist/plugin/engine/types.d.ts.map +1 -0
- package/dist/plugin/engine/types.js +3 -0
- package/dist/plugin/engine/types.js.map +1 -0
- package/dist/plugin/engine/validator.d.ts +52 -0
- package/dist/plugin/engine/validator.d.ts.map +1 -0
- package/dist/plugin/engine/validator.js +457 -0
- package/dist/plugin/engine/validator.js.map +1 -0
- package/dist/plugin/engine/verifier.d.ts +61 -0
- package/dist/plugin/engine/verifier.d.ts.map +1 -0
- package/dist/plugin/engine/verifier.js +441 -0
- package/dist/plugin/engine/verifier.js.map +1 -0
- package/dist/plugin/hooks/context-injection.d.ts +11 -0
- package/dist/plugin/hooks/context-injection.d.ts.map +1 -0
- package/dist/plugin/hooks/context-injection.js +88 -0
- package/dist/plugin/hooks/context-injection.js.map +1 -0
- package/dist/plugin/hooks/event-handlers.d.ts +9 -0
- package/dist/plugin/hooks/event-handlers.d.ts.map +1 -0
- package/dist/plugin/hooks/event-handlers.js +10 -0
- package/dist/plugin/hooks/event-handlers.js.map +1 -0
- package/dist/plugin/hooks/workflow-gate.d.ts +24 -0
- package/dist/plugin/hooks/workflow-gate.d.ts.map +1 -0
- package/dist/plugin/hooks/workflow-gate.js +78 -0
- package/dist/plugin/hooks/workflow-gate.js.map +1 -0
- package/dist/plugin/index.d.ts +423 -0
- package/dist/plugin/index.d.ts.map +1 -0
- package/dist/plugin/index.js +253 -0
- package/dist/plugin/index.js.map +1 -0
- package/dist/plugin/tools/spec-artifact-instr.d.ts +7 -0
- package/dist/plugin/tools/spec-artifact-instr.d.ts.map +1 -0
- package/dist/plugin/tools/spec-artifact-instr.js +73 -0
- package/dist/plugin/tools/spec-artifact-instr.js.map +1 -0
- package/dist/plugin/tools/spec-change-archive.d.ts +6 -0
- package/dist/plugin/tools/spec-change-archive.d.ts.map +1 -0
- package/dist/plugin/tools/spec-change-archive.js +62 -0
- package/dist/plugin/tools/spec-change-archive.js.map +1 -0
- package/dist/plugin/tools/spec-change-list.d.ts +3 -0
- package/dist/plugin/tools/spec-change-list.d.ts.map +1 -0
- package/dist/plugin/tools/spec-change-list.js +38 -0
- package/dist/plugin/tools/spec-change-list.js.map +1 -0
- package/dist/plugin/tools/spec-change-new.d.ts +7 -0
- package/dist/plugin/tools/spec-change-new.d.ts.map +1 -0
- package/dist/plugin/tools/spec-change-new.js +47 -0
- package/dist/plugin/tools/spec-change-new.js.map +1 -0
- package/dist/plugin/tools/spec-change-status.d.ts +6 -0
- package/dist/plugin/tools/spec-change-status.d.ts.map +1 -0
- package/dist/plugin/tools/spec-change-status.js +43 -0
- package/dist/plugin/tools/spec-change-status.js.map +1 -0
- package/dist/plugin/tools/spec-design-critique.d.ts +20 -0
- package/dist/plugin/tools/spec-design-critique.d.ts.map +1 -0
- package/dist/plugin/tools/spec-design-critique.js +412 -0
- package/dist/plugin/tools/spec-design-critique.js.map +1 -0
- package/dist/plugin/tools/spec-design-hifi.d.ts +119 -0
- package/dist/plugin/tools/spec-design-hifi.d.ts.map +1 -0
- package/dist/plugin/tools/spec-design-hifi.js +653 -0
- package/dist/plugin/tools/spec-design-hifi.js.map +1 -0
- package/dist/plugin/tools/spec-design-wireframe.d.ts +91 -0
- package/dist/plugin/tools/spec-design-wireframe.d.ts.map +1 -0
- package/dist/plugin/tools/spec-design-wireframe.js +357 -0
- package/dist/plugin/tools/spec-design-wireframe.js.map +1 -0
- package/dist/plugin/tools/spec-init.d.ts +9 -0
- package/dist/plugin/tools/spec-init.d.ts.map +1 -0
- package/dist/plugin/tools/spec-init.js +58 -0
- package/dist/plugin/tools/spec-init.js.map +1 -0
- package/dist/plugin/tools/spec-integrity-check.d.ts +6 -0
- package/dist/plugin/tools/spec-integrity-check.d.ts.map +1 -0
- package/dist/plugin/tools/spec-integrity-check.js +19 -0
- package/dist/plugin/tools/spec-integrity-check.js.map +1 -0
- package/dist/plugin/tools/spec-registry-update.d.ts +3 -0
- package/dist/plugin/tools/spec-registry-update.d.ts.map +1 -0
- package/dist/plugin/tools/spec-registry-update.js +34 -0
- package/dist/plugin/tools/spec-registry-update.js.map +1 -0
- package/dist/plugin/tools/spec-schema-list.d.ts +3 -0
- package/dist/plugin/tools/spec-schema-list.d.ts.map +1 -0
- package/dist/plugin/tools/spec-schema-list.js +28 -0
- package/dist/plugin/tools/spec-schema-list.js.map +1 -0
- package/dist/plugin/tools/spec-specs-apply.d.ts +7 -0
- package/dist/plugin/tools/spec-specs-apply.d.ts.map +1 -0
- package/dist/plugin/tools/spec-specs-apply.js +49 -0
- package/dist/plugin/tools/spec-specs-apply.js.map +1 -0
- package/dist/plugin/tools/spec-task-progress.d.ts +8 -0
- package/dist/plugin/tools/spec-task-progress.d.ts.map +1 -0
- package/dist/plugin/tools/spec-task-progress.js +96 -0
- package/dist/plugin/tools/spec-task-progress.js.map +1 -0
- package/dist/plugin/tools/spec-validate.d.ts +21 -0
- package/dist/plugin/tools/spec-validate.d.ts.map +1 -0
- package/dist/plugin/tools/spec-validate.js +182 -0
- package/dist/plugin/tools/spec-validate.js.map +1 -0
- package/dist/plugin/tools/spec-verify.d.ts +7 -0
- package/dist/plugin/tools/spec-verify.d.ts.map +1 -0
- package/dist/plugin/tools/spec-verify.js +50 -0
- package/dist/plugin/tools/spec-verify.js.map +1 -0
- package/dist/plugin/tools/util.d.ts +25 -0
- package/dist/plugin/tools/util.d.ts.map +1 -0
- package/dist/plugin/tools/util.js +33 -0
- package/dist/plugin/tools/util.js.map +1 -0
- package/package.json +61 -0
- package/src/agents/orchestrator.md +158 -0
- package/src/agents/spec-apply.md +114 -0
- package/src/agents/spec-archive.md +103 -0
- package/src/agents/spec-propose.md +120 -0
- package/src/agents/spec-verify.md +103 -0
- package/src/commands/spec-init.md +6 -0
- package/src/commands/spec-onboard.md +6 -0
- package/src/commands/spec-status.md +6 -0
- package/src/commands/spec-sync.md +6 -0
- package/src/schemas/hybrid.yaml +144 -0
- package/src/schemas/spec-driven.yaml +155 -0
- package/src/schemas/tdd.yaml +203 -0
- package/src/skills/playwright-cli/SKILL.md +388 -0
- package/src/skills/playwright-cli/references/element-attributes.md +23 -0
- package/src/skills/playwright-cli/references/playwright-tests.md +39 -0
- package/src/skills/playwright-cli/references/request-mocking.md +87 -0
- package/src/skills/playwright-cli/references/running-code.md +241 -0
- package/src/skills/playwright-cli/references/session-management.md +225 -0
- package/src/skills/playwright-cli/references/spec-driven-testing.md +305 -0
- package/src/skills/playwright-cli/references/storage-state.md +275 -0
- package/src/skills/playwright-cli/references/test-generation.md +134 -0
- package/src/skills/playwright-cli/references/tracing.md +139 -0
- package/src/skills/playwright-cli/references/video-recording.md +143 -0
- package/src/skills/spec-init/SKILL.md +61 -0
- package/src/skills/spec-onboard/SKILL.md +178 -0
- package/src/skills/spec-status/SKILL.md +72 -0
- package/src/skills/spec-sync/SKILL.md +63 -0
- package/src/templates/config.yaml +14 -0
- package/src/templates/design-hifi.yaml +580 -0
- package/src/templates/design-tech.yaml +42 -0
- package/src/templates/design-wireframe.yaml +114 -0
- package/src/templates/proposal.yaml +43 -0
- package/src/templates/registry.yaml +3 -0
- package/src/templates/spec.yaml +56 -0
- package/src/templates/tasks.yaml +58 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Wireframe Template
|
|
2
|
+
#
|
|
3
|
+
# Instructions:
|
|
4
|
+
# - Define pages, layout regions, component placements, user flows, and annotations
|
|
5
|
+
# - Use kebab-case for all IDs
|
|
6
|
+
# - Position coordinates use a 12-column grid system (0-11)
|
|
7
|
+
# - Remove comment lines (starting with #) before saving
|
|
8
|
+
|
|
9
|
+
id: <change-name>
|
|
10
|
+
schema: <schema-name>
|
|
11
|
+
|
|
12
|
+
agent:
|
|
13
|
+
context_files:
|
|
14
|
+
- <relevant files>
|
|
15
|
+
affected_paths:
|
|
16
|
+
- <paths affected>
|
|
17
|
+
|
|
18
|
+
body:
|
|
19
|
+
pages:
|
|
20
|
+
- id: <page-id>
|
|
21
|
+
name: <page display name>
|
|
22
|
+
description: |
|
|
23
|
+
<what this page does>
|
|
24
|
+
layout:
|
|
25
|
+
- region: <header|sidebar|main|footer|aside>
|
|
26
|
+
order: <numeric order>
|
|
27
|
+
style: <optional css hints>
|
|
28
|
+
components:
|
|
29
|
+
- id: <component-id>
|
|
30
|
+
type: <button|card|input|table|navigation|modal|form>
|
|
31
|
+
region: <which region this goes in>
|
|
32
|
+
position:
|
|
33
|
+
x: <column start 0-11>
|
|
34
|
+
y: <row>
|
|
35
|
+
size:
|
|
36
|
+
width: <column span 1-12>
|
|
37
|
+
height: <row span>
|
|
38
|
+
properties:
|
|
39
|
+
label: <optional label>
|
|
40
|
+
placeholder: <optional placeholder>
|
|
41
|
+
variant: <primary|secondary|ghost|outline>
|
|
42
|
+
|
|
43
|
+
- id: <another-page-id>
|
|
44
|
+
name: <another page name>
|
|
45
|
+
description: |
|
|
46
|
+
<what this page does>
|
|
47
|
+
layout:
|
|
48
|
+
- region: header
|
|
49
|
+
order: 1
|
|
50
|
+
style: <optional css hints>
|
|
51
|
+
- region: main
|
|
52
|
+
order: 2
|
|
53
|
+
style: <optional css hints>
|
|
54
|
+
- region: footer
|
|
55
|
+
order: 3
|
|
56
|
+
style: <optional css hints>
|
|
57
|
+
components:
|
|
58
|
+
- id: <component-id>
|
|
59
|
+
type: <button|card|input|table|navigation|modal|form>
|
|
60
|
+
region: main
|
|
61
|
+
position:
|
|
62
|
+
x: <column start 0-11>
|
|
63
|
+
y: <row>
|
|
64
|
+
size:
|
|
65
|
+
width: <column span 1-12>
|
|
66
|
+
height: <row span>
|
|
67
|
+
properties:
|
|
68
|
+
label: <optional label>
|
|
69
|
+
variant: <primary|secondary|ghost|outline>
|
|
70
|
+
|
|
71
|
+
flows:
|
|
72
|
+
user_flows:
|
|
73
|
+
- id: <flow-id>
|
|
74
|
+
name: <flow name>
|
|
75
|
+
description: |
|
|
76
|
+
<what this flow achieves>
|
|
77
|
+
steps:
|
|
78
|
+
- id: <step-id>
|
|
79
|
+
from_page: <page-id>
|
|
80
|
+
to_page: <page-id>
|
|
81
|
+
trigger: <click|submit|hover|scroll|auto>
|
|
82
|
+
description: |
|
|
83
|
+
<what happens in this step>
|
|
84
|
+
|
|
85
|
+
- id: <another-flow-id>
|
|
86
|
+
name: <another flow name>
|
|
87
|
+
description: |
|
|
88
|
+
<what this flow achieves>
|
|
89
|
+
steps:
|
|
90
|
+
- id: <step-id>
|
|
91
|
+
from_page: <page-id>
|
|
92
|
+
to_page: <page-id>
|
|
93
|
+
trigger: <click|submit|hover|scroll|auto>
|
|
94
|
+
description: |
|
|
95
|
+
<what happens in this step>
|
|
96
|
+
- id: <step-id>
|
|
97
|
+
from_page: <page-id>
|
|
98
|
+
to_page: <page-id>
|
|
99
|
+
trigger: <click|submit|hover|scroll|auto>
|
|
100
|
+
description: |
|
|
101
|
+
<what happens in this step>
|
|
102
|
+
|
|
103
|
+
annotations:
|
|
104
|
+
- id: <annotation-id>
|
|
105
|
+
page_id: <optional page reference>
|
|
106
|
+
note: |
|
|
107
|
+
<design note or constraint>
|
|
108
|
+
category: <constraint|edge_case|decision|question>
|
|
109
|
+
|
|
110
|
+
- id: <another-annotation-id>
|
|
111
|
+
page_id: <optional page reference>
|
|
112
|
+
note: |
|
|
113
|
+
<design note or constraint>
|
|
114
|
+
category: <constraint|edge_case|decision|question>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Proposal Template
|
|
2
|
+
#
|
|
3
|
+
# Instructions:
|
|
4
|
+
# - Replace <placeholders> with actual values
|
|
5
|
+
# - Remove comment lines (starting with #) before saving
|
|
6
|
+
# - Keep the structure intact
|
|
7
|
+
|
|
8
|
+
id: <change-name-kebab-case>
|
|
9
|
+
schema: <schema-name>
|
|
10
|
+
created: <YYYY-MM-DD>
|
|
11
|
+
status: active
|
|
12
|
+
|
|
13
|
+
agent:
|
|
14
|
+
priority: <low|medium|high>
|
|
15
|
+
context_files:
|
|
16
|
+
- <file1.ts>
|
|
17
|
+
- <file2.ts>
|
|
18
|
+
affected_paths:
|
|
19
|
+
- <src/path/**>
|
|
20
|
+
hints:
|
|
21
|
+
- <implementation hint>
|
|
22
|
+
|
|
23
|
+
body:
|
|
24
|
+
why: |
|
|
25
|
+
<1-3 sentences explaining the problem and why this change is needed>
|
|
26
|
+
|
|
27
|
+
what_changes:
|
|
28
|
+
- <bullet point describing a change>
|
|
29
|
+
- <another change>
|
|
30
|
+
|
|
31
|
+
capabilities:
|
|
32
|
+
new:
|
|
33
|
+
- id: <capability-id>
|
|
34
|
+
description: <what this capability does>
|
|
35
|
+
modified:
|
|
36
|
+
- id: <existing-capability-id>
|
|
37
|
+
description: <what changed>
|
|
38
|
+
|
|
39
|
+
impact:
|
|
40
|
+
- path: <src/file.ts>
|
|
41
|
+
change: <what changes in this file>
|
|
42
|
+
- path: <src/another.ts>
|
|
43
|
+
change: <description>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Delta Spec Template
|
|
2
|
+
#
|
|
3
|
+
# Instructions:
|
|
4
|
+
# - One file per capability
|
|
5
|
+
# - Use operations: add, modify, remove, rename
|
|
6
|
+
# - Each requirement must have at least one scenario
|
|
7
|
+
# - Add verify blocks for testable assertions
|
|
8
|
+
|
|
9
|
+
capability: <capability-id>
|
|
10
|
+
version: 1
|
|
11
|
+
|
|
12
|
+
agent:
|
|
13
|
+
related_specs:
|
|
14
|
+
- <other-capability>
|
|
15
|
+
affected_paths:
|
|
16
|
+
- <src/auth/**>
|
|
17
|
+
|
|
18
|
+
operations:
|
|
19
|
+
- op: add
|
|
20
|
+
requirement:
|
|
21
|
+
id: <requirement-id>
|
|
22
|
+
description: |
|
|
23
|
+
The system SHALL <behavior description>.
|
|
24
|
+
scenarios:
|
|
25
|
+
- id: <scenario-id>
|
|
26
|
+
given:
|
|
27
|
+
- <precondition>
|
|
28
|
+
when:
|
|
29
|
+
- <action or event>
|
|
30
|
+
then:
|
|
31
|
+
- <expected outcome>
|
|
32
|
+
verify:
|
|
33
|
+
- type: assertion
|
|
34
|
+
code: "<testable assertion>"
|
|
35
|
+
|
|
36
|
+
# Example modify operation:
|
|
37
|
+
# - op: modify
|
|
38
|
+
# requirement:
|
|
39
|
+
# id: <existing-requirement-id>
|
|
40
|
+
# description: |
|
|
41
|
+
# <complete updated requirement>
|
|
42
|
+
# scenarios:
|
|
43
|
+
# - id: <scenario-id>
|
|
44
|
+
# given: [...]
|
|
45
|
+
# when: [...]
|
|
46
|
+
# then: [...]
|
|
47
|
+
|
|
48
|
+
# Example remove operation:
|
|
49
|
+
# - op: remove
|
|
50
|
+
# requirement:
|
|
51
|
+
# id: <requirement-to-remove>
|
|
52
|
+
|
|
53
|
+
# Example rename operation:
|
|
54
|
+
# - op: rename
|
|
55
|
+
# from: <old-id>
|
|
56
|
+
# to: <new-id>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Tasks Template
|
|
2
|
+
#
|
|
3
|
+
# Instructions:
|
|
4
|
+
# - Break implementation into concrete tasks
|
|
5
|
+
# - Each task should be completable in one session
|
|
6
|
+
# - Order by dependency (what must be done first?)
|
|
7
|
+
# - Use tdd_phase for TDD workflows
|
|
8
|
+
|
|
9
|
+
workflow: <schema-name>
|
|
10
|
+
|
|
11
|
+
agent:
|
|
12
|
+
critical_path:
|
|
13
|
+
- <task-id>
|
|
14
|
+
- <task-id>
|
|
15
|
+
total_estimated_minutes: <total>
|
|
16
|
+
|
|
17
|
+
tasks:
|
|
18
|
+
- id: t1
|
|
19
|
+
group: <group-name>
|
|
20
|
+
description: <specific task description>
|
|
21
|
+
depends_on: []
|
|
22
|
+
complexity: <low|medium|high>
|
|
23
|
+
estimated_minutes: <minutes>
|
|
24
|
+
spec_refs:
|
|
25
|
+
- <capability/requirement>
|
|
26
|
+
affected_files:
|
|
27
|
+
- <src/file.ts>
|
|
28
|
+
acceptance:
|
|
29
|
+
- <acceptance criterion>
|
|
30
|
+
status: pending
|
|
31
|
+
# tdd_phase: <red|green|refactor> # Uncomment for TDD
|
|
32
|
+
|
|
33
|
+
- id: t2
|
|
34
|
+
group: <group-name>
|
|
35
|
+
description: <another task>
|
|
36
|
+
depends_on: [t1]
|
|
37
|
+
complexity: <low|medium|high>
|
|
38
|
+
estimated_minutes: <minutes>
|
|
39
|
+
spec_refs:
|
|
40
|
+
- <capability/requirement>
|
|
41
|
+
affected_files:
|
|
42
|
+
- <src/file.ts>
|
|
43
|
+
acceptance:
|
|
44
|
+
- <acceptance criterion>
|
|
45
|
+
status: pending
|
|
46
|
+
|
|
47
|
+
- id: t3
|
|
48
|
+
group: Verify
|
|
49
|
+
description: Run all tests and verify acceptance
|
|
50
|
+
depends_on: [t1, t2]
|
|
51
|
+
complexity: low
|
|
52
|
+
estimated_minutes: 15
|
|
53
|
+
spec_refs: []
|
|
54
|
+
affected_files: []
|
|
55
|
+
acceptance:
|
|
56
|
+
- All tests pass
|
|
57
|
+
- No linting errors
|
|
58
|
+
status: pending
|