@christianmaf80/agentic-workflow 1.2.0-beta.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.
Files changed (67) hide show
  1. package/LICENSE +15 -0
  2. package/README.es.md +88 -0
  3. package/README.md +88 -0
  4. package/bin/cli.js +44 -0
  5. package/dist/artifacts/index.md +28 -0
  6. package/dist/cli/commands/create.js +178 -0
  7. package/dist/cli/commands/init.js +212 -0
  8. package/dist/cli/commands/mcp-register.js +33 -0
  9. package/dist/cli/commands/restore.js +67 -0
  10. package/dist/cli/index.js +2 -0
  11. package/dist/core/context/manager.js +136 -0
  12. package/dist/core/index.js +1 -0
  13. package/dist/core/mapping/resolver.js +72 -0
  14. package/dist/core/migration/backup.js +14 -0
  15. package/dist/core/migration/detector.js +32 -0
  16. package/dist/core/migration/transformer.js +11 -0
  17. package/dist/core/utils/backup.js +41 -0
  18. package/dist/mcp/server.js +160 -0
  19. package/dist/rules/constitution/GEMINI.location.md +29 -0
  20. package/dist/rules/constitution/agent-system.md +77 -0
  21. package/dist/rules/constitution/agents-behavior.md +188 -0
  22. package/dist/rules/constitution/clean-code.md +153 -0
  23. package/dist/rules/constitution/index.md +29 -0
  24. package/dist/rules/constitution/project-architecture.md +57 -0
  25. package/dist/rules/index.md +26 -0
  26. package/dist/rules/roles/architect.md +40 -0
  27. package/dist/rules/roles/index.md +45 -0
  28. package/dist/rules/roles/neo.md +32 -0
  29. package/dist/rules/roles/qa.md +22 -0
  30. package/dist/rules/roles/researcher.md +22 -0
  31. package/dist/rules/roles/tooling.md +22 -0
  32. package/dist/templates/acceptance.md +64 -0
  33. package/dist/templates/agent-scores.md +25 -0
  34. package/dist/templates/agent-task.md +106 -0
  35. package/dist/templates/analysis.md +161 -0
  36. package/dist/templates/brief.md +96 -0
  37. package/dist/templates/changelog.md +30 -0
  38. package/dist/templates/closure.md +87 -0
  39. package/dist/templates/index.md +45 -0
  40. package/dist/templates/init.md +26 -0
  41. package/dist/templates/planning.md +157 -0
  42. package/dist/templates/research.md +89 -0
  43. package/dist/templates/results-acceptance.md +177 -0
  44. package/dist/templates/review.md +110 -0
  45. package/dist/templates/subtask-implementation.md +67 -0
  46. package/dist/templates/supplemental-report.md +30 -0
  47. package/dist/templates/task-metrics.md +39 -0
  48. package/dist/templates/task.md +151 -0
  49. package/dist/templates/todo-item.md +49 -0
  50. package/dist/templates/verification.md +77 -0
  51. package/dist/workflows/index.md +44 -0
  52. package/dist/workflows/init.md +61 -0
  53. package/dist/workflows/tasklifecycle-long/index.md +176 -0
  54. package/dist/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +161 -0
  55. package/dist/workflows/tasklifecycle-long/phase-1-research.md +151 -0
  56. package/dist/workflows/tasklifecycle-long/phase-2-analysis.md +136 -0
  57. package/dist/workflows/tasklifecycle-long/phase-3-planning.md +121 -0
  58. package/dist/workflows/tasklifecycle-long/phase-4-implementation.md +104 -0
  59. package/dist/workflows/tasklifecycle-long/phase-5-verification.md +82 -0
  60. package/dist/workflows/tasklifecycle-long/phase-6-results-acceptance.md +79 -0
  61. package/dist/workflows/tasklifecycle-long/phase-7-evaluation.md +85 -0
  62. package/dist/workflows/tasklifecycle-long/phase-8-commit-push.md +80 -0
  63. package/dist/workflows/tasklifecycle-short/index.md +67 -0
  64. package/dist/workflows/tasklifecycle-short/short-phase-1-brief.md +66 -0
  65. package/dist/workflows/tasklifecycle-short/short-phase-2-implementation.md +72 -0
  66. package/dist/workflows/tasklifecycle-short/short-phase-3-closure.md +67 -0
  67. package/package.json +53 -0
@@ -0,0 +1,157 @@
1
+ ---
2
+ artifact: plan
3
+ phase: phase-3-planning
4
+ owner: architect-agent
5
+ status: draft | approved
6
+ related_task: <taskId>-<taskTitle>
7
+ ---
8
+
9
+ # Implementation Plan — <taskId>-<taskTitle>
10
+
11
+ ## Agent Identification (MANDATORY)
12
+ First line of the document:
13
+ `<icon> **<agent-name>**: <message>`
14
+
15
+ ## 1. Plan Summary
16
+ - **Context**: brief reminder of the task objective.
17
+ - **Expected Result**: what will be implemented upon completion.
18
+ - **Scope**: what this plan explicitly includes and excludes.
19
+
20
+ ---
21
+
22
+ ## 2. Contractual Inputs
23
+ - **Task**: `.agent/artifacts/<taskId>-<taskTitle>/task.md`
24
+ - **Analysis**: `.agent/artifacts/<taskId>-<taskTitle>/analysis.md`
25
+ - **Acceptance Criteria**: explicit reference to relevant ACs.
26
+
27
+ **Domain Dispatch (MANDATORY if applicable)**
28
+ ```yaml
29
+ plan:
30
+ workflows:
31
+ drivers:
32
+ action: create | refactor | delete | none
33
+ workflow: workflow.drivers.create | workflow.drivers.refactor | workflow.drivers.delete
34
+
35
+ dispatch:
36
+ - domain: drivers | modules | core | qa
37
+ action: create | refactor | delete | audit | verify | none
38
+ workflow: <workflow.id>
39
+ ```
40
+
41
+ ---
42
+
43
+ ## 3. Implementation Breakdown (Steps)
44
+ Ordered and executable decomposition.
45
+
46
+ ### Step 1
47
+ - **Description**
48
+ - **Dependencies**
49
+ - **Deliverables**
50
+ - **Responsible Agent**
51
+
52
+ ### Step 2
53
+ - (Repeat structure)
54
+
55
+ > Note: indicate order, dependencies, and parallelization if applicable.
56
+
57
+ ---
58
+
59
+ ## 4. Responsibility Assignment (Agents)
60
+ Clear mapping of agents ↔ sub-areas.
61
+
62
+ - **Architect-Agent**
63
+ - Responsibilities
64
+ - **Implementation-Agent**
65
+ - Responsibilities
66
+ - **QA / Verification-Agent** (if applicable)
67
+ - Responsibilities
68
+ - **Other Agents** (if applicable)
69
+
70
+ **Handoffs**
71
+ - What is delivered, to whom, and when.
72
+
73
+ **Components (if applicable)**
74
+ - Define who executes it.
75
+ - Define how it is implemented (steps and criteria).
76
+ - Define the best available tool (prefer declared tools; if none exist, justify the alternative).
77
+ - Reference the chosen tool by alias (e.g., `mcp_extensio-cli tools`) and the reason.
78
+
79
+ **Demo (if applicable)**
80
+ - Define the expected structure aligned with `constitution.project_architecture`.
81
+ - Define the mandatory tool for generating scaffolding (use `mcp_extensio-cli tools`).
82
+
83
+ ---
84
+
85
+ ## 5. Testing and Validation Strategy
86
+ How it will be verified that the implementation meets the ACs.
87
+
88
+ - **Unit Tests**
89
+ - Scope and tools (see `constitution.project_architecture`)
90
+ - **Integration Tests**
91
+ - Covered flows (see `constitution.project_architecture`)
92
+ - **E2E / Manual**
93
+ - Key scenarios (see `constitution.project_architecture`)
94
+
95
+ **Traceability**
96
+ - Mapping of tests ↔ acceptance criteria.
97
+
98
+ ---
99
+
100
+ ## 6. Demo Plan (if applicable)
101
+ - **Demo Objective**
102
+ - **Scenario(s)**
103
+ - **Example Data**
104
+ - **Demo Success Criteria**
105
+
106
+ ---
107
+
108
+ ## 7. Estimations and Implementation Weights
109
+ - **Estimation per Step / Sub-area**
110
+ - relative effort (low / medium / high or points)
111
+ - **Approximate Timeline** (if applicable)
112
+ - **Assumptions** used for estimating
113
+
114
+ ---
115
+
116
+ ## 8. Critical Points and Resolution
117
+ Identification of key technical risks.
118
+
119
+ ### Critical Point 1
120
+ - **Risk**
121
+ - **Impact**
122
+ - **Resolution Strategy**
123
+
124
+ ### Critical Point 2
125
+ - (Repeat)
126
+
127
+ ---
128
+
129
+ ## 9. Dependencies and Compatibility
130
+ - **Internal Dependencies**
131
+ - **External Dependencies**
132
+ - **Multi-Browser Compatibility** (if applicable)
133
+ - Chrome / Chromium
134
+ - Firefox
135
+ - Safari
136
+ - **Relevant Architectural Constraints**
137
+
138
+ ---
139
+
140
+ ## 10. Completion Criteria
141
+ Objective conditions to consider the implementation "Done".
142
+
143
+ - Final checklist aligned with acceptance criteria.
144
+ - Mandatory verifications completed.
145
+
146
+ ---
147
+
148
+ ## 11. Developer Approval (MANDATORY)
149
+ This plan **requires explicit and binary approval**.
150
+
151
+ ```yaml
152
+ approval:
153
+ developer:
154
+ decision: YES | NO
155
+ date: <ISO-8601>
156
+ comments: <optional>
157
+ ```
@@ -0,0 +1,89 @@
1
+ ---
2
+ artifact: research
3
+ phase: phase-1-research
4
+ owner: researcher-agent
5
+ status: draft | approved
6
+ related_task: <taskId>-<taskTitle>
7
+ ---
8
+
9
+ # Research Report — <taskId>-<taskTitle>
10
+
11
+ ## Agent Identification (MANDATORY)
12
+ First line of the document:
13
+ `<icon> **<agent-name>**: <message>`
14
+
15
+ > [!CAUTION]
16
+ > **PERMANENT RULE**: This document is ONLY for documentation.
17
+ > The researcher-agent documents findings WITHOUT analyzing, WITHOUT recommending, and WITHOUT proposing solutions.
18
+ > Analysis is the responsibility of the architect during Phase 2.
19
+
20
+ ## 1. Executive Summary
21
+ - Problem researched
22
+ - Research objective
23
+ - Key findings
24
+
25
+ ---
26
+
27
+ ## 2. Detected Needs
28
+ - Technical requirements identified by the architect-agent
29
+ - Assumptions and limits
30
+
31
+ ---
32
+
33
+ ## 3. Technical Findings
34
+ For each finding:
35
+ - Concept/technology description
36
+ - Current status (stable, experimental, deprecated)
37
+ - Official documentation
38
+ - Known limitations
39
+
40
+ > **DO NOT include**: pros/cons, recommendations, or decisions.
41
+
42
+ ---
43
+
44
+ ## 4. Relevant Web APIs / WebExtensions
45
+ - API / specification
46
+ - Support status (Chrome/Firefox/Safari)
47
+ - Known restrictions
48
+
49
+ ---
50
+
51
+ ## 5. Multi-browser Compatibility
52
+ - Compatibility table
53
+ - Key differences
54
+ - Mitigation strategies
55
+
56
+ ---
57
+
58
+ ## 6. AI-first Opportunities Detected
59
+ - Patterns or APIs that could enable automation
60
+ - References to relevant documentation
61
+
62
+ > **DO NOT include**: expected impact or usage recommendations.
63
+
64
+ ---
65
+
66
+ ## 7. Identified Risks
67
+ - Risk detected
68
+ - Severity (high/medium/low)
69
+ - Information source
70
+
71
+ > **DO NOT include**: mitigations (these belong in the analysis).
72
+
73
+ ---
74
+
75
+ ## 8. Sources
76
+ - Links to official docs
77
+ - RFCs / proposals
78
+ - Other resources
79
+
80
+ ---
81
+
82
+ ## 9. Developer Approval (MANDATORY)
83
+ ```yaml
84
+ approval:
85
+ developer:
86
+ decision: YES | NO
87
+ date: <ISO-8601>
88
+ comments: <optional>
89
+ ```
@@ -0,0 +1,177 @@
1
+ ---
2
+ artifact: results_acceptance
3
+ phase: phase-6-results-acceptance
4
+ owner: architect-agent
5
+ status: pending | approved | rejected
6
+ related_task: <taskId>-<taskTitle>
7
+ related_plan: .agent/artifacts/<taskId>-<taskTitle>/plan.md
8
+ related_review: .agent/artifacts/<taskId>-<taskTitle>/architect/review.md
9
+ related_verification: .agent/artifacts/<taskId>-<taskTitle>/verification.md
10
+ ---
11
+
12
+ # Final Results Report — <taskId>-<taskTitle>
13
+
14
+ ## Agent Identification (MANDATORY)
15
+ First line of the document:
16
+ `<icon> **<agent-name>**: <message>`
17
+
18
+ ## 1. Executive Summary (for decision)
19
+ This document presents **the complete final result of the task**, consolidating:
20
+ - what was planned
21
+ - what was implemented
22
+ - how it was reviewed
23
+ - how it was verified
24
+
25
+ **Quick Conclusion**
26
+ - General status: ☐ SATISFACTORY ☐ UNSATISFACTORY
27
+ - Architect's Recommendation: ☐ Accept ☐ Iterate
28
+
29
+ ---
30
+
31
+ ## 2. Task Context
32
+ ### 2.1 Original Objective
33
+ (Extracted from `task.md`)
34
+
35
+ - Objective:
36
+ - Defined scope:
37
+ - Out of scope:
38
+
39
+ ### 2.2 Agreed Acceptance Criteria (AC)
40
+ List of ACs defined in Phase 0.
41
+
42
+ | ID | Description | Final Status |
43
+ |----|-------------|--------------|
44
+ | AC-1 | | ✅ Met / ❌ No |
45
+ | AC-2 | | ✅ Met / ❌ No |
46
+
47
+ ---
48
+
49
+ ## 3. Planning (What was agreed upon)
50
+ Summary of the **approved plan** from Phase 3.
51
+
52
+ - General strategy
53
+ - Main phases and steps
54
+ - Involved agents and responsibilities
55
+ - Agreed testing strategy
56
+ - Demo plan (if applicable)
57
+
58
+ > Reference: `plan.md`
59
+
60
+ ---
61
+
62
+ ## 4. Implementation (What was actually done)
63
+ Clear description of the executed implementation.
64
+
65
+ ### 4.1 Subtasks per Agent
66
+ For each participating agent:
67
+
68
+ **Agent:** `<agent-name>`
69
+ - Assigned responsibility:
70
+ - Executed subtasks:
71
+ - Generated artifacts:
72
+ - Relevant changes:
73
+
74
+ (Repeat for each agent)
75
+
76
+ ### 4.2 Relevant Technical Changes
77
+ - New modules / drivers
78
+ - Structural changes
79
+ - Affected APIs
80
+ - Multi-browser compatibility (if applicable)
81
+
82
+ ---
83
+
84
+ ## 5. Architectural Review
85
+ Summary of the architect's review report.
86
+
87
+ - Consistency with the plan: ☐ Yes ☐ No
88
+ - Architectural compliance: ☐ Yes ☐ No
89
+ - Clean code compliance: ☐ Yes ☐ No
90
+ - Detected deviations:
91
+ - None / Detailed below
92
+
93
+ **Architect's Conclusions**
94
+ - Impact on the system
95
+ - Residual risks
96
+ - Technical debt (if any)
97
+
98
+ > Reference: `architect/review.md`
99
+
100
+ ---
101
+
102
+ ## 6. Verification and Validation
103
+ Functional verification results.
104
+
105
+ ### 6.1 Executed Tests
106
+ - Unit:
107
+ - Integration:
108
+ - End-to-End / Manual:
109
+ - Global Result: ☐ OK ☐ NO OK
110
+
111
+ ### 6.2 Demo (if applicable)
112
+ - What was demonstrated
113
+ - Demo result
114
+ - Developer's observations
115
+
116
+ > Reference: `verification.md`
117
+
118
+ ---
119
+
120
+ ## 7. Final Status of Acceptance Criteria
121
+ Definitive evaluation.
122
+
123
+ | Acceptance Criteria | Result | Evidence |
124
+ |---------------------|--------|----------|
125
+ | AC-1 | ✅ / ❌ | |
126
+ | AC-2 | ✅ / ❌ | |
127
+
128
+ > All ACs **MUST** be met to accept the task.
129
+
130
+ ---
131
+
132
+ ## 8. AHRP Discipline and Conformity (CRITICAL)
133
+ Evaluation of compliance with safety and orchestration protocol.
134
+
135
+ | Gate | Status | Observations |
136
+ | :--- | :--- | :--- |
137
+ | **Gate A (Activation)** | ☐ PASS ☐ FAIL | Did the agent wait for signature before using tools? |
138
+ | **Gate B (Reasoning)** | ☐ PASS ☐ FAIL | Was the technical plan approved before implementation? |
139
+ | **Global Conformity** | ☐ YES ☐ NO | |
140
+
141
+ > **NOTE**: If global conformity is **NO**, the final task score will be **0** automatically.
142
+
143
+ ---
144
+
145
+ ## 9. Issues and Deviations
146
+ Consolidated list of problems found during the cycle.
147
+
148
+ - Issue:
149
+ - Phase where it was detected
150
+ - Impact
151
+ - Applied resolution
152
+
153
+ If no issues were found, explicitly state:
154
+ > "No relevant issues detected."
155
+
156
+ ---
157
+
158
+ ## 10. Global Evaluation
159
+ Final assessment of the result.
160
+
161
+ - Technical Quality: ☐ High ☐ Medium ☐ Low
162
+ - Alignment with Request: ☐ Full ☐ Partial ☐ Insufficient
163
+ - Solution Stability: ☐ High ☐ Medium ☐ Low
164
+ - Maintainability: ☐ High ☐ Medium ☐ Low
165
+
166
+ ---
167
+
168
+ ## 11. Developer's Final Decision (MANDATORY)
169
+ This decision **closes the phase**.
170
+
171
+ ```yaml
172
+ approval:
173
+ developer:
174
+ decision: YES | NO
175
+ date: <ISO-8601>
176
+ comments: <optional>
177
+ ```
@@ -0,0 +1,110 @@
1
+ ---
2
+ artifact: architect-review
3
+ phase: phase-4-implementation
4
+ owner: architect-agent
5
+ status: approved | rejected
6
+ related_task: <taskId>-<taskTitle>
7
+ related_plan: .agent/artifacts/<taskId>-<taskTitle>/plan.md
8
+ ---
9
+
10
+ # Architectural Implementation Review — <taskId>-<taskTitle>
11
+
12
+ ## Agent Identification (MANDATORY)
13
+ First line of the document:
14
+ `<icon> **<agent-name>**: <message>`
15
+
16
+ ## 1. Review Summary
17
+ - **Review Objective**
18
+ Verify that the executed implementation complies with the **approved implementation plan** without unauthorized deviations.
19
+
20
+ - **Global Result**
21
+ - Status: ☐ APPROVED ☐ REJECTED
22
+ - Review Date:
23
+ - Responsible Architect:
24
+
25
+ ---
26
+
27
+ ## 2. Verification against the Implementation Plan
28
+ Direct and traceable review **plan → implementation**.
29
+
30
+ ### 2.1 Plan Steps
31
+ For **each step defined in `plan.md`**:
32
+
33
+ | Plan Step | Status | Evidence | Observations |
34
+ |-----------|--------|----------|--------------|
35
+ | Step 1 | ☐ OK ☐ NO OK | refs / commits / artifacts | |
36
+ | Step 2 | ☐ OK ☐ NO OK | | |
37
+
38
+ > All steps **MUST** be in **OK** status to approve the phase.
39
+
40
+ ---
41
+
42
+ ## 3. Subtasks per Agent
43
+ Review of individual implementations.
44
+
45
+ ### Agent: `<agent-name>`
46
+ - **Task document**:
47
+ - `.agent/artifacts/<taskId>-<taskTitle>/agent-tasks/<N>-<agent>-<taskName>.md`
48
+ - **Evaluation**:
49
+ - ☐ Complies with the plan
50
+ - ☐ Deviations detected (detail below)
51
+
52
+ **Architect's Notes**
53
+ - Changes made:
54
+ - Technical decisions:
55
+ - Consistency with the rest of the system:
56
+
57
+ (Repeat section for each participating agent)
58
+
59
+ ---
60
+
61
+ ## 4. Acceptance Criteria (Impact)
62
+ Verification that the implementation **does not break** the defined acceptance criteria.
63
+
64
+ - ☐ All ACs remain valid
65
+ - ☐ Any AC requires review (detail below)
66
+
67
+ **Observations**
68
+ - Affected ACs:
69
+ - Reason:
70
+
71
+ ---
72
+
73
+ ## 5. Architectural Consistency
74
+ Global evaluation of the system after implementation.
75
+
76
+ - ☐ Respects project architecture
77
+ - ☐ Respects clean code
78
+ - ☐ Does not introduce significant technical debt
79
+ - ☐ Maintains expected compatibility (multi-browser if applicable)
80
+
81
+ **Architectural Observations**
82
+ - Impact on structure:
83
+ - Impact on modules/drivers:
84
+ - Risks introduced:
85
+
86
+ ---
87
+
88
+ ## 6. Plan Deviations
89
+ Explicit record of deviations (if any).
90
+
91
+ - **Deviation**
92
+ - Description:
93
+ - Justification:
94
+ - Was it anticipated in the plan? ☐ Yes ☐ No
95
+ - Does it require re-planning? ☐ Yes ☐ No
96
+
97
+ (If there are no deviations, explicitly state: "No deviations detected").
98
+
99
+ ---
100
+
101
+ ## 7. Architect's Final Decision
102
+ Severe and binary decision.
103
+
104
+ ```yaml
105
+ decision:
106
+ architect:
107
+ result: APPROVED | REJECTED
108
+ date: <ISO-8601>
109
+ comments: <optional>
110
+ ```
@@ -0,0 +1,67 @@
1
+ ---
2
+ artifact: subtask_implementation
3
+ phase: phase-4-implementation
4
+ owner: implementation-agent
5
+ status: draft | completed
6
+ related_task: <taskId>-<taskTitle>
7
+ agent: <agent>
8
+ subtask_id: <id>
9
+ ---
10
+
11
+ > [!WARNING]
12
+ > **@deprecated**: This template is obsolete. Use `templates.agent_task` for new tasks.
13
+
14
+ # Subtask Implementation — <taskId>-<taskTitle>
15
+
16
+ ## Agent Identification (MANDATORY)
17
+ First line of the document:
18
+ `<icon> **<agent-name>**: <message>`
19
+ — <agent> — <subtask_id>
20
+
21
+ ## 1. Context and Scope
22
+ - Precise subtask description
23
+ - Specific objective
24
+ - Relation to the plan (reference to the exact step)
25
+
26
+ ---
27
+
28
+ ## 2. Changes Made (Detailed)
29
+ - Touched files (full list)
30
+ - Changes per file (summary per file)
31
+ - Affected APIs/contracts
32
+ - New functions/classes/constants
33
+
34
+ ---
35
+
36
+ ## 3. Technical Decisions
37
+ - Key decisions and their justification
38
+ - Alternatives considered and why they were discarded
39
+ - Impact on other modules/drivers (if applicable)
40
+
41
+ ---
42
+
43
+ ## 4. Testing and Evidence
44
+ - Executed tests (command and scope)
45
+ - Results (pass/fail)
46
+ - Evidence (logs, screenshots, reports)
47
+
48
+ ---
49
+
50
+ ## 5. Plan Deviations
51
+ - Detected deviations
52
+ - Reason
53
+ - Corrective action or recorded debt
54
+
55
+ ---
56
+
57
+ ## 6. Risks and Pending Validations
58
+ - Open risks
59
+ - Pending validations
60
+
61
+ ---
62
+
63
+ ## 7. Checklist
64
+ - [ ] Subtask completed
65
+ - [ ] Changes documented
66
+ - [ ] Testing documented
67
+ - [ ] Ready for architect review
@@ -0,0 +1,30 @@
1
+ # Supplemental Report — <taskId>-<taskTitle>
2
+
3
+ ## Agent Identification (MANDATORY)
4
+ First line of the document:
5
+ `<icon> **<agent-name>**: <message>`
6
+
7
+ ## Identification
8
+ - id: {{artifact.id}}
9
+ - title: {{artifact.title}}
10
+ - type: supplemental
11
+ - owner: {{artifact.owner}}
12
+ - related_task: {{task.id}}
13
+
14
+ ## Purpose
15
+ {{artifact.purpose}}
16
+
17
+ ## Context
18
+ {{artifact.context}}
19
+
20
+ ## Findings / Notes
21
+ {{artifact.findings}}
22
+
23
+ ## Decisions
24
+ {{artifact.decisions}}
25
+
26
+ ## References
27
+ - {{artifact.references}}
28
+
29
+ ## Related Artifact Links
30
+ - {{artifact.related_artifacts}}
@@ -0,0 +1,39 @@
1
+ ---
2
+ artifact: task_metrics
3
+ phase: phase-7-evaluation
4
+ owner: architect-agent
5
+ status: pending | completed
6
+ related_task: <taskId>-<taskTitle>
7
+ ---
8
+
9
+ # Task Metrics — <taskId>-<taskTitle>
10
+
11
+ ## Agent Identification (MANDATORY)
12
+ First line of the document:
13
+ `<icon> **<agent-name>**: <message>`
14
+
15
+ ## 1. Evaluated Agents
16
+ - Agent A
17
+ - Agent B
18
+
19
+ ---
20
+
21
+ ## 2. Score per Agent (0-10)
22
+ - **Agent A**: score
23
+ - Justification
24
+ - **Agent B**: score
25
+ - Justification
26
+
27
+ ---
28
+
29
+ ## 3. Global Task Score
30
+ - Weighted Average: score
31
+ - **AHRP Compliance**: [YES / NO] (If NO, global score is 0)
32
+ - Observations
33
+
34
+ ---
35
+
36
+ ## 4. Developer Validation
37
+ - Approved: [YES / NO]
38
+ - Developer Score (0-10):
39
+ - Comments: