|
12 | 12 |
|
13 | 13 | ## Resource Strategy |
14 | 14 | - Source repository tooling (`repo_tools`, project-specific scripts) — use for branch management, formatting, linting, testing, and static analysis before hand-off. |
15 | | -- `.devagent/features/YYYY-MM-DD_feature-slug/tasks/` — canonical task packet; mirror status updates and reference IDs in execution notes. |
16 | | -- `.devagent/execution/YYYY-MM-DD_feature-slug/` — store implementation logs, test transcripts, and decision records per run using ISO-dated filenames. |
| 15 | +- `.devagent/features/YYYY-MM-DD_feature-slug/tasks/` — canonical task packet; mirror status updates and reference IDs in commit messages. |
| 16 | +- **Git** — all implementation tracking happens through commit messages, branch history, and PR descriptions; no separate execution logs needed. |
17 | 17 | - Reviewer (if required) — coordinate for pairing sessions, code reviews, and approval gates before merging. |
18 | | -- Observability & staging environments — deploy feature branches when acceptance criteria call for integrated validation; capture links in the execution log. |
| 18 | +- Observability & staging environments — deploy feature branches when acceptance criteria call for integrated validation; capture links in commit messages or PR description. |
19 | 19 |
|
20 | 20 | ## Knowledge Sources |
21 | | -- Internal: Feature specs, ADRs, architecture diagrams, codeowner maps, and prior execution logs relevant to the tasks being implemented. |
| 21 | +- Internal: Feature specs, ADRs, architecture diagrams, codeowner maps, and prior git history relevant to the tasks being implemented. |
22 | 22 | - External: Vendor API docs, dependency library manuals, and tooling guides referenced in the task packet; confirm currency before use and cache copies in the feature hub when needed. |
23 | | -- Retrieval etiquette: Cross-link referenced files with line numbers, record new insights in the execution log, and update long-term memory entries when patterns emerge (e.g., recurring migration steps). |
| 23 | +- Retrieval etiquette: Cross-link referenced files with line numbers, record new insights in commit messages or feature hub documentation, and update long-term memory entries when patterns emerge (e.g., recurring migration steps). |
24 | 24 |
|
25 | 25 | ## Workflow |
26 | 26 | 1. **Kickoff / readiness checks:** Verify task packet approval date, confirm repository access, ensure required tooling and environment secrets are available, and agree on branch naming plus completion targets. |
27 | | -2. **Context gathering:** Review the task packet, linked specs, and recent execution logs; highlight assumptions, dependencies, or open questions in working notes. |
28 | | -3. **Implementation loop:** For each task (or tightly coupled task group), create or update the feature branch, write code and tests that satisfy the acceptance criteria, and document relevant decisions inline or in the execution log. |
29 | | -4. **Validation / QA:** Run linters, static analysis, and automated tests specified in the packet; when manual or integrated testing is required, execute and capture evidence (screenshots, logs) in `.devagent/execution/`. |
30 | | -5. **Output packaging:** Summarize completed tasks with references to acceptance criteria, list validation evidence, stage commits with clear messages, and prepare the review payload (PR description, diff summary, validation notes) or commit log when no review gate exists. |
31 | | -6. **Post-run logging:** Update short-term memory with current branch status and outstanding issues; archive long-term learnings (e.g., migration patterns, flaky tests) and link them to the relevant feature hub entries. |
| 27 | +2. **Context gathering:** Review the task packet, linked specs, and recent git history; highlight assumptions, dependencies, or open questions in working notes. |
| 28 | +3. **Implementation loop:** For each task (or tightly coupled task group), create or update the feature branch, write code and tests that satisfy the acceptance criteria, and document relevant decisions inline or in descriptive commit messages. |
| 29 | +4. **Validation / QA:** Run linters, static analysis, and automated tests specified in the packet; when manual or integrated testing is required, execute and document results in commit messages or PR description. |
| 30 | +5. **Output packaging:** Summarize completed tasks with references to acceptance criteria, list validation evidence, stage commits with clear descriptive messages, and prepare the review payload (PR description, diff summary, validation notes) or commit log when no review gate exists. |
| 31 | +6. **Post-run reflection:** Update short-term memory with current branch status and outstanding issues; archive long-term learnings (e.g., migration patterns, flaky tests) and link them to the relevant feature hub entries. |
32 | 32 |
|
33 | 33 | ## Adaptation Notes |
34 | | -- For single-task hotfixes, streamline to a lightweight branch cycle but maintain the same validation and logging standards. |
| 34 | +- For single-task hotfixes, streamline to a lightweight branch cycle but maintain the same validation and commit message standards. |
35 | 35 | - For multi-task packets, batch related tasks in reviewable slices (≤5 changes per review batch) while keeping shared dependencies visible. |
36 | 36 | - When onboarding to unfamiliar code paths, schedule exploratory spikes or pair sessions with subject-matter experts before modifying critical systems. |
37 | 37 |
|
38 | 38 | ## Failure & Escalation |
39 | | -- Ambiguous requirements or acceptance criteria: pause implementation, document the question in the execution log, and escalate to #TaskPlanner or the spec owner. |
40 | | -- Blocked environment setup or tooling failures: record diagnostics, attempt fallback scripts, and notify the infrastructure contact (or log the issue for later follow-up) before proceeding. |
41 | | -- Failing regression tests unrelated to the packet: bisect to confirm origin, log findings, and coordinate with maintainers to prevent blocking delivery. |
| 39 | +- Ambiguous requirements or acceptance criteria: pause implementation, document the question in a git note or working branch commit, and escalate to #TaskPlanner or the spec owner. |
| 40 | +- Blocked environment setup or tooling failures: record diagnostics, attempt fallback scripts, and notify the infrastructure contact (or document the issue in commit message for later follow-up) before proceeding. |
| 41 | +- Failing regression tests unrelated to the packet: bisect to confirm origin, document findings in commit message, and coordinate with maintainers to prevent blocking delivery. |
42 | 42 |
|
43 | 43 | ## Expected Output |
44 | | -- Artifacts: Feature branch (or PR) aligned with the task packet, updated execution log stored under `.devagent/execution/YYYY-MM-DD_feature-slug/`, validation evidence (test results, deployment links), and any generated documentation updates. |
45 | | -- Communication: Implementation summary referencing task IDs and acceptance criteria, plus explicit next steps for reviewers or other recipients when required. |
46 | | -- Guardrails: Never merge without required approval, ensure all mandatory checks pass, and document any scope deviations or technical debt follow-ups. |
| 44 | +- Artifacts: Feature branch (or PR) aligned with the task packet, clear git commit history with descriptive messages, validation evidence (test results, deployment links), and any generated documentation updates. |
| 45 | +- Communication: Implementation summary referencing task IDs and acceptance criteria in PR description or final commit, plus explicit next steps for reviewers or other recipients when required. |
| 46 | +- Tracking: All implementation details captured in git history (commits, branch, PR); commit messages should be descriptive enough to serve as implementation log. |
| 47 | +- Guardrails: Never merge without required approval, ensure all mandatory checks pass, and document any scope deviations or technical debt follow-ups in commit messages or PR description. |
47 | 48 |
|
48 | 49 | ## Follow-up Hooks |
49 | 50 | - Downstream agents: Reviewers or release partners when required, and analytics owners if instrumentation updates require verification. |
|
0 commit comments