mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-29 20:11:04 +08:00
docs: add workflow session awareness spec to AGENTS.md
Same artifact locations table and pre-task discovery rules as CLAUDE.md. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -105,6 +105,21 @@ ACE search_context (semantic) → smart_search (structured) → read_file (batch
|
|||||||
|
|
||||||
**NEVER** use shell commands (`cat`, `find`, `grep`) when MCP tools are available.
|
**NEVER** use shell commands (`cat`, `find`, `grep`) when MCP tools are available.
|
||||||
|
|
||||||
|
## Workflow Session Awareness
|
||||||
|
|
||||||
|
| Workflow | Directory | Summary File |
|
||||||
|
|----------|-----------|-------------|
|
||||||
|
| `workflow-plan` | `.workflow/active/WFS-*/` | `workflow-session.json` |
|
||||||
|
| `workflow-lite-plan` | `.workflow/.lite-plan/{slug}-{date}/` | `plan.json` |
|
||||||
|
| `analyze-with-file` | `.workflow/.analysis/ANL-*/` | `conclusions.json` |
|
||||||
|
| `multi-cli-plan` | `.workflow/.multi-cli-plan/*/` | `session-state.json` |
|
||||||
|
| `lite-fix` | `.workflow/.lite-fix/*/` | `fix-plan.json` |
|
||||||
|
| Other | `.workflow/.debug/`, `.workflow/.scratchpad/`, `.workflow/archives/` | — |
|
||||||
|
|
||||||
|
Before starting work, scan recent sessions (7 days) to avoid conflicts and reuse prior work:
|
||||||
|
- Overlapping file scope → warn, suggest referencing prior session
|
||||||
|
- Complementary findings → feed into current task context
|
||||||
|
|
||||||
## Execution Checklist
|
## Execution Checklist
|
||||||
|
|
||||||
**Before**:
|
**Before**:
|
||||||
|
|||||||
Reference in New Issue
Block a user