agent-method 1.5.12
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 +343 -0
- package/bin/wwa.js +115 -0
- package/docs/internal/cli-commands.yaml +259 -0
- package/docs/internal/doc-tokens.yaml +1103 -0
- package/docs/internal/feature-registry.yaml +1643 -0
- package/lib/boundaries.js +247 -0
- package/lib/cli/add.js +170 -0
- package/lib/cli/casestudy.js +1000 -0
- package/lib/cli/check.js +323 -0
- package/lib/cli/close.js +838 -0
- package/lib/cli/completion.js +735 -0
- package/lib/cli/deps.js +234 -0
- package/lib/cli/digest.js +73 -0
- package/lib/cli/doc-review.js +486 -0
- package/lib/cli/docs.js +315 -0
- package/lib/cli/helpers.js +198 -0
- package/lib/cli/implement.js +169 -0
- package/lib/cli/init.js +280 -0
- package/lib/cli/pipeline.js +206 -0
- package/lib/cli/plan.js +140 -0
- package/lib/cli/record.js +98 -0
- package/lib/cli/refine.js +202 -0
- package/lib/cli/report-helpers.js +113 -0
- package/lib/cli/review.js +76 -0
- package/lib/cli/routable.js +109 -0
- package/lib/cli/route.js +101 -0
- package/lib/cli/scan.js +133 -0
- package/lib/cli/serve.js +23 -0
- package/lib/cli/status.js +65 -0
- package/lib/cli/update-docs.js +574 -0
- package/lib/cli/upgrade.js +222 -0
- package/lib/cli/watch.js +32 -0
- package/lib/dependencies.js +196 -0
- package/lib/init.js +692 -0
- package/lib/mcp-server.js +612 -0
- package/lib/pipeline.js +907 -0
- package/lib/registry.js +132 -0
- package/lib/watcher.js +165 -0
- package/package.json +54 -0
- package/templates/README.md +363 -0
- package/templates/entry-points/.cursorrules +90 -0
- package/templates/entry-points/AGENT.md +90 -0
- package/templates/entry-points/CLAUDE.md +88 -0
- package/templates/extensions/MANIFEST.md +110 -0
- package/templates/extensions/analytical-system.md +96 -0
- package/templates/extensions/code-project.md +77 -0
- package/templates/extensions/data-exploration.md +117 -0
- package/templates/full/.context/BASE.md +101 -0
- package/templates/full/.context/COMPOSITION.md +47 -0
- package/templates/full/.context/INDEX.yaml +56 -0
- package/templates/full/.context/METHODOLOGY.md +246 -0
- package/templates/full/.context/PROTOCOL.yaml +169 -0
- package/templates/full/.context/REGISTRY.md +75 -0
- package/templates/full/.cursorrules +90 -0
- package/templates/full/AGENT.md +90 -0
- package/templates/full/CLAUDE.md +90 -0
- package/templates/full/Management/DIGEST.md +23 -0
- package/templates/full/Management/STATUS.md +46 -0
- package/templates/full/PLAN.md +67 -0
- package/templates/full/PROJECT-PROFILE.md +61 -0
- package/templates/full/PROJECT.md +80 -0
- package/templates/full/REQUIREMENTS.md +30 -0
- package/templates/full/ROADMAP.md +39 -0
- package/templates/full/Reviews/INDEX.md +41 -0
- package/templates/full/Reviews/backlog.md +52 -0
- package/templates/full/Reviews/plan.md +43 -0
- package/templates/full/Reviews/project.md +41 -0
- package/templates/full/Reviews/requirements.md +42 -0
- package/templates/full/Reviews/roadmap.md +41 -0
- package/templates/full/Reviews/state.md +56 -0
- package/templates/full/SESSION-LOG.md +102 -0
- package/templates/full/STATE.md +42 -0
- package/templates/full/SUMMARY.md +27 -0
- package/templates/full/agentWorkflows/INDEX.md +42 -0
- package/templates/full/agentWorkflows/observations.md +65 -0
- package/templates/full/agentWorkflows/patterns.md +68 -0
- package/templates/full/agentWorkflows/sessions.md +92 -0
- package/templates/full/intro/README.md +39 -0
- package/templates/full/registry/feature-registry.yaml +25 -0
- package/templates/full/registry/features/catalog.yaml +743 -0
- package/templates/full/registry/features/protocol.yaml +121 -0
- package/templates/full/registry/features/routing.yaml +358 -0
- package/templates/full/registry/features/workflows.yaml +404 -0
- package/templates/full/todos/backlog.md +19 -0
- package/templates/starter/.context/BASE.md +66 -0
- package/templates/starter/.context/INDEX.yaml +51 -0
- package/templates/starter/.context/METHODOLOGY.md +228 -0
- package/templates/starter/.context/PROTOCOL.yaml +165 -0
- package/templates/starter/.cursorrules +90 -0
- package/templates/starter/AGENT.md +90 -0
- package/templates/starter/CLAUDE.md +90 -0
- package/templates/starter/Management/DIGEST.md +23 -0
- package/templates/starter/Management/STATUS.md +46 -0
- package/templates/starter/PLAN.md +67 -0
- package/templates/starter/PROJECT-PROFILE.md +44 -0
- package/templates/starter/PROJECT.md +80 -0
- package/templates/starter/ROADMAP.md +39 -0
- package/templates/starter/Reviews/INDEX.md +75 -0
- package/templates/starter/SESSION-LOG.md +102 -0
- package/templates/starter/STATE.md +42 -0
- package/templates/starter/SUMMARY.md +27 -0
- package/templates/starter/agentWorkflows/INDEX.md +61 -0
- package/templates/starter/intro/README.md +37 -0
- package/templates/starter/registry/feature-registry.yaml +25 -0
- package/templates/starter/registry/features/catalog.yaml +743 -0
- package/templates/starter/registry/features/protocol.yaml +121 -0
- package/templates/starter/registry/features/routing.yaml +358 -0
- package/templates/starter/registry/features/workflows.yaml +404 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Management Digest
|
|
2
|
+
|
|
3
|
+
<!-- AGENT: Append a row for every HIGH-EFFORT task only.
|
|
4
|
+
This is the primary management-facing project record — managers and leads
|
|
5
|
+
read this to understand what significant work happened, without parsing
|
|
6
|
+
detailed session logs or operational files.
|
|
7
|
+
|
|
8
|
+
Low-effort tasks (lookups, status checks, clarifications) are NOT recorded here.
|
|
9
|
+
See SESSION-LOG.md for complete session data. -->
|
|
10
|
+
|
|
11
|
+
## What qualifies as high-effort
|
|
12
|
+
|
|
13
|
+
- Multi-file changes (3+ files)
|
|
14
|
+
- Architectural or design decisions
|
|
15
|
+
- Phase completions
|
|
16
|
+
- Complex queries requiring research or multi-step execution
|
|
17
|
+
- New feature implementations
|
|
18
|
+
|
|
19
|
+
## Digest
|
|
20
|
+
|
|
21
|
+
| Date | Task | Query | Outcome | Key Changes | Decisions | Effort | Time |
|
|
22
|
+
|------|------|-------|---------|-------------|-----------|--------|------|
|
|
23
|
+
<!-- Rows added automatically by agent for high-effort tasks -->
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Project Status
|
|
2
|
+
|
|
3
|
+
<!-- AGENT: Update this file after significant milestones (phase completions,
|
|
4
|
+
architectural decisions, blocker changes). This is the management-facing
|
|
5
|
+
health snapshot — read by leads to understand project state at a glance.
|
|
6
|
+
|
|
7
|
+
Do NOT update for routine work. Only update when the project's overall
|
|
8
|
+
status, direction, or risk profile changes. -->
|
|
9
|
+
|
|
10
|
+
## Current state
|
|
11
|
+
|
|
12
|
+
| Field | Value |
|
|
13
|
+
|-------|-------|
|
|
14
|
+
| Phase | {current phase} |
|
|
15
|
+
| Status | {active / blocked / complete} |
|
|
16
|
+
| Active work | {brief description of current task} |
|
|
17
|
+
| Last milestone | {most recent completed phase or significant deliverable} |
|
|
18
|
+
| Next milestone | {what's coming next} |
|
|
19
|
+
|
|
20
|
+
## Recent decisions
|
|
21
|
+
|
|
22
|
+
<!-- AGENT: Keep the 5 most recent significant decisions here.
|
|
23
|
+
Full decision history lives in STATE.md. -->
|
|
24
|
+
|
|
25
|
+
| Date | Decision | Impact |
|
|
26
|
+
|------|----------|--------|
|
|
27
|
+
<!-- Last 5 significant decisions -->
|
|
28
|
+
|
|
29
|
+
## Blockers & risks
|
|
30
|
+
|
|
31
|
+
<!-- AGENT: List active blockers and known risks. Remove when resolved. -->
|
|
32
|
+
|
|
33
|
+
| Type | Description | Since | Severity |
|
|
34
|
+
|------|-------------|-------|----------|
|
|
35
|
+
<!-- {blocker/risk} | {description} | {date} | {high/medium/low} -->
|
|
36
|
+
|
|
37
|
+
## Health indicators
|
|
38
|
+
|
|
39
|
+
<!-- AGENT: Update these after each high-effort task or milestone. -->
|
|
40
|
+
|
|
41
|
+
| Indicator | Status | Notes |
|
|
42
|
+
|-----------|--------|-------|
|
|
43
|
+
| Scope | {stable / expanding / contracting} | {brief note} |
|
|
44
|
+
| Velocity | {steady / accelerating / slowing} | {brief note} |
|
|
45
|
+
| Technical debt | {low / medium / high} | {brief note} |
|
|
46
|
+
| Context freshness | {current / slightly stale / stale} | {last refresh date} |
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Current Plan
|
|
2
|
+
|
|
3
|
+
<!-- INSTRUCTION: This file contains ONE task at a time. Replace the entire
|
|
4
|
+
contents when starting a new task — never accumulate multiple plans.
|
|
5
|
+
The agent proposes the plan and waits for human approval before executing. -->
|
|
6
|
+
|
|
7
|
+
## {Task name}
|
|
8
|
+
|
|
9
|
+
### Objective
|
|
10
|
+
|
|
11
|
+
{What this task achieves. One clear sentence.}
|
|
12
|
+
|
|
13
|
+
### Prerequisites
|
|
14
|
+
|
|
15
|
+
<!-- INSTRUCTION: What must be true before starting this task? -->
|
|
16
|
+
|
|
17
|
+
- {Prior phase or task complete}
|
|
18
|
+
- {Required files or context available}
|
|
19
|
+
|
|
20
|
+
### Dependencies
|
|
21
|
+
|
|
22
|
+
<!-- INSTRUCTION: What depends on this task? What does this task block? -->
|
|
23
|
+
|
|
24
|
+
- {Phase/task that depends on this completing}
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
### Step 1: {Step name}
|
|
29
|
+
|
|
30
|
+
**Objective**: {What this step achieves}
|
|
31
|
+
|
|
32
|
+
**Read**: {Files to read before this step}
|
|
33
|
+
**Produce**: {Files created or modified by this step}
|
|
34
|
+
|
|
35
|
+
**Substeps**:
|
|
36
|
+
- a. {First substep}
|
|
37
|
+
- b. {Second substep}
|
|
38
|
+
|
|
39
|
+
**Verify**: {How to confirm this step is complete and correct}
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
### Step 2: {Step name}
|
|
44
|
+
|
|
45
|
+
**Objective**: {What this step achieves}
|
|
46
|
+
|
|
47
|
+
**Read**: {Files to read}
|
|
48
|
+
**Produce**: {Files created or modified}
|
|
49
|
+
|
|
50
|
+
**Verify**: {Verification criteria}
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
<!-- INSTRUCTION: Add more steps as needed. Each step should have:
|
|
55
|
+
- Clear objective
|
|
56
|
+
- Read/produce specs (what files are involved)
|
|
57
|
+
- Substeps (if complex)
|
|
58
|
+
- Verification criteria (how to confirm it's done right) -->
|
|
59
|
+
|
|
60
|
+
### Completion criteria
|
|
61
|
+
|
|
62
|
+
{Task name} is done when:
|
|
63
|
+
1. {Criterion 1 — specific and measurable}
|
|
64
|
+
2. {Criterion 2}
|
|
65
|
+
3. {Criterion 3}
|
|
66
|
+
|
|
67
|
+
**Next after {task name}**: {What comes next}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Project Profile
|
|
2
|
+
|
|
3
|
+
<!-- INSTRUCTION: This file is maintained by the agent. It tracks your project's
|
|
4
|
+
type, lifecycle stage, and active extensions. The agent reads this to adjust
|
|
5
|
+
feature priorities and workflow selection. You can also update it manually
|
|
6
|
+
when your project's situation changes.
|
|
7
|
+
|
|
8
|
+
Fill in the initial values during setup. The agent updates lifecycle stage
|
|
9
|
+
and maturity as the project evolves. -->
|
|
10
|
+
|
|
11
|
+
## Project identity
|
|
12
|
+
|
|
13
|
+
- **Types**: [{project-type}]
|
|
14
|
+
- **Extensions**: [{extensions-applied}]
|
|
15
|
+
|
|
16
|
+
<!-- INSTRUCTION: Project types: code, data, analytical, mixed, general.
|
|
17
|
+
Extensions: code-project, data-exploration, analytical-system, or none. -->
|
|
18
|
+
|
|
19
|
+
## Lifecycle
|
|
20
|
+
|
|
21
|
+
- **Stage**: {stage}
|
|
22
|
+
- **Maturity**: {maturity}
|
|
23
|
+
- **Last transition**: {date} ({from} -> {to})
|
|
24
|
+
|
|
25
|
+
<!-- INSTRUCTION: Lifecycle stages:
|
|
26
|
+
- discovery: Understanding an existing project (brownfield entry)
|
|
27
|
+
- design: Defining architecture and structure (greenfield start)
|
|
28
|
+
- development: Building and iterating (active implementation)
|
|
29
|
+
- evolution: Maintaining and extending (stable baseline)
|
|
30
|
+
|
|
31
|
+
Maturity levels: new, early, established, legacy.
|
|
32
|
+
The agent suggests transitions; you decide when to move. -->
|
|
33
|
+
|
|
34
|
+
## Extension stack
|
|
35
|
+
|
|
36
|
+
| Extension | Applied | Source |
|
|
37
|
+
|-----------|---------|--------|
|
|
38
|
+
| code-project | {yes/no} | {setup.sh / manual} |
|
|
39
|
+
| data-exploration | {yes/no} | {setup.sh / manual} |
|
|
40
|
+
| analytical-system | {yes/no} | {setup.sh / manual} |
|
|
41
|
+
|
|
42
|
+
<!-- INSTRUCTION: Track which extensions are active. Extensions can be added
|
|
43
|
+
mid-project without re-running setup.sh — merge the extension file
|
|
44
|
+
into your entry point manually and update this table. -->
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# {Your Project Name}
|
|
2
|
+
|
|
3
|
+
<!-- INSTRUCTION: Replace with a 2-3 sentence description of your project.
|
|
4
|
+
Include what it does, who it's for, and what technologies it uses. -->
|
|
5
|
+
{Describe what your project does and who it's for}
|
|
6
|
+
|
|
7
|
+
## Problem
|
|
8
|
+
|
|
9
|
+
<!-- INSTRUCTION: What problem does this solve? 2-3 bullet points. -->
|
|
10
|
+
|
|
11
|
+
- {Problem statement 1}
|
|
12
|
+
- {Problem statement 2}
|
|
13
|
+
|
|
14
|
+
## Solution
|
|
15
|
+
|
|
16
|
+
<!-- INSTRUCTION: How does the project solve the problem? Brief description of the approach. -->
|
|
17
|
+
|
|
18
|
+
{Describe your approach}
|
|
19
|
+
|
|
20
|
+
## Project structure
|
|
21
|
+
|
|
22
|
+
<!-- INSTRUCTION: Table of top-level directories and their purposes.
|
|
23
|
+
The agent uses this to understand the project layout.
|
|
24
|
+
For existing codebases, ask the agent to help populate this from a scan. -->
|
|
25
|
+
|
|
26
|
+
| Path | Purpose |
|
|
27
|
+
|------|---------|
|
|
28
|
+
| {src/} | {Source code} |
|
|
29
|
+
| {docs/} | {Documentation} |
|
|
30
|
+
|
|
31
|
+
## Audiences
|
|
32
|
+
|
|
33
|
+
<!-- INSTRUCTION: Who interacts with this project? Users, developers, managers, agents? -->
|
|
34
|
+
|
|
35
|
+
| Audience | What they need |
|
|
36
|
+
|----------|---------------|
|
|
37
|
+
| {Developer} | {Working code, clear architecture} |
|
|
38
|
+
| {User} | {Functional product} |
|
|
39
|
+
|
|
40
|
+
## Principles
|
|
41
|
+
|
|
42
|
+
<!-- INSTRUCTION: 3-5 guiding principles for decision-making on this project. -->
|
|
43
|
+
|
|
44
|
+
1. {Principle 1}
|
|
45
|
+
2. {Principle 2}
|
|
46
|
+
3. {Principle 3}
|
|
47
|
+
|
|
48
|
+
## Agent onboarding
|
|
49
|
+
|
|
50
|
+
<!-- AGENT: Use these questions to populate this file during the first session.
|
|
51
|
+
Ask the user each question, draft this file from the answers, and show the
|
|
52
|
+
draft at the Stage 1 checkpoint before writing. Remove this section after
|
|
53
|
+
the file is populated — it's scaffolding, not permanent content. -->
|
|
54
|
+
|
|
55
|
+
### Greenfield (no existing codebase)
|
|
56
|
+
|
|
57
|
+
Ask the user:
|
|
58
|
+
1. What is your project about? (1-2 sentences for the description above)
|
|
59
|
+
2. Who is it for? (populate the Audiences table)
|
|
60
|
+
3. What problem does it solve? (populate the Problem section)
|
|
61
|
+
4. What technologies, languages, or frameworks will you use? (informs Solution + structure)
|
|
62
|
+
5. What are 2-3 guiding principles for this project? (populate Principles)
|
|
63
|
+
6. What is the top-level directory structure? (populate Project structure table)
|
|
64
|
+
|
|
65
|
+
### Brownfield (existing codebase)
|
|
66
|
+
|
|
67
|
+
<!-- AGENT: For brownfield projects, you've already scanned the project at Stage 1.
|
|
68
|
+
Pre-fill as much as possible from scan results. Only ask what you couldn't determine. -->
|
|
69
|
+
|
|
70
|
+
Pre-fill from scan:
|
|
71
|
+
- **Description**: infer from README, package.json description, or top-level docs
|
|
72
|
+
- **Project structure**: build from directory listing — auto-populate the table
|
|
73
|
+
- **Technologies**: extract from package.json, requirements.txt, config files, imports
|
|
74
|
+
|
|
75
|
+
Ask the user only what the scan couldn't determine:
|
|
76
|
+
1. Is this description accurate? (confirm or correct the auto-generated description)
|
|
77
|
+
2. Who is the primary audience? (rarely inferable from code alone)
|
|
78
|
+
3. What problem does this solve from the user's perspective? (intent, not implementation)
|
|
79
|
+
4. What guiding principles drive decisions on this project? (conventions, priorities)
|
|
80
|
+
5. Are there directories I should know about that aren't obvious from the structure? (hidden patterns, legacy areas)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Roadmap
|
|
2
|
+
|
|
3
|
+
<!-- INSTRUCTION: Define phases with deliverables and gate criteria.
|
|
4
|
+
Each phase should have:
|
|
5
|
+
- A clear objective (1 sentence)
|
|
6
|
+
- A deliverable table (what, requirement, status)
|
|
7
|
+
- A gate (how you know the phase is done)
|
|
8
|
+
Copy the Phase template below for each phase in your project. -->
|
|
9
|
+
|
|
10
|
+
## Phase 1 — {Phase name} [status]
|
|
11
|
+
|
|
12
|
+
<!-- INSTRUCTION: Replace {Phase name} with a descriptive name.
|
|
13
|
+
Set [status] to one of: current, pending, done -->
|
|
14
|
+
|
|
15
|
+
{One sentence describing what this phase achieves.}
|
|
16
|
+
|
|
17
|
+
| Deliverable | Requirement | Status |
|
|
18
|
+
|-------------|-------------|--------|
|
|
19
|
+
| {Deliverable 1} | {Which requirement it satisfies} | pending |
|
|
20
|
+
| {Deliverable 2} | {Which requirement it satisfies} | pending |
|
|
21
|
+
|
|
22
|
+
**Gate**: {How you know this phase is complete. Be specific — measurable criteria.}
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Phase 2 — {Phase name} [pending]
|
|
27
|
+
|
|
28
|
+
{One sentence describing what this phase achieves.}
|
|
29
|
+
|
|
30
|
+
| Deliverable | Requirement | Status |
|
|
31
|
+
|-------------|-------------|--------|
|
|
32
|
+
| {Deliverable 1} | {Requirement} | pending |
|
|
33
|
+
|
|
34
|
+
**Gate**: {Completion criteria}
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
<!-- INSTRUCTION: Add more phases as needed. Each phase should be achievable
|
|
39
|
+
in 1-5 sessions. If a phase takes longer, split it. -->
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Project Reviews
|
|
2
|
+
|
|
3
|
+
<!-- AGENT: This is the review dashboard — a synthesized view of project intelligence.
|
|
4
|
+
Update sections when the corresponding source file changes significantly.
|
|
5
|
+
|
|
6
|
+
Source files: ROADMAP.md, PLAN.md, STATE.md, todos/backlog.md
|
|
7
|
+
When this file exceeds 300 lines, split sections into individual files
|
|
8
|
+
in this directory (roadmap.md, plan.md, state.md, backlog.md). -->
|
|
9
|
+
|
|
10
|
+
## At a glance
|
|
11
|
+
|
|
12
|
+
| Area | Status | Last updated |
|
|
13
|
+
|------|--------|-------------|
|
|
14
|
+
| Roadmap | {on track / behind / ahead} | {date} |
|
|
15
|
+
| Plan | {active / blocked / between tasks} | {date} |
|
|
16
|
+
| State | {N decisions, N blockers, N open questions} | {date} |
|
|
17
|
+
| Backlog | {N items} | {date} |
|
|
18
|
+
|
|
19
|
+
## Roadmap review
|
|
20
|
+
|
|
21
|
+
<!-- AGENT: Synthesize from ROADMAP.md. Phase progress, milestone tracking. -->
|
|
22
|
+
|
|
23
|
+
### Phase progress
|
|
24
|
+
|
|
25
|
+
| Phase | Status | Completion |
|
|
26
|
+
|-------|--------|------------|
|
|
27
|
+
<!-- Populate from ROADMAP.md -->
|
|
28
|
+
|
|
29
|
+
### Velocity notes
|
|
30
|
+
|
|
31
|
+
<!-- Brief observations about project velocity and trajectory. -->
|
|
32
|
+
|
|
33
|
+
## Plan review
|
|
34
|
+
|
|
35
|
+
<!-- AGENT: Synthesize from PLAN.md. Current task status, execution patterns. -->
|
|
36
|
+
|
|
37
|
+
### Current task
|
|
38
|
+
|
|
39
|
+
<!-- What's being worked on, how it's progressing. -->
|
|
40
|
+
|
|
41
|
+
### Execution patterns
|
|
42
|
+
|
|
43
|
+
<!-- Observations about plan execution — revision patterns, task sizing accuracy. -->
|
|
44
|
+
|
|
45
|
+
## State review
|
|
46
|
+
|
|
47
|
+
<!-- AGENT: Synthesize from STATE.md. Decision trends, blocker aging, question resolution. -->
|
|
48
|
+
|
|
49
|
+
### Decision summary
|
|
50
|
+
|
|
51
|
+
- **Total decisions**: {count}
|
|
52
|
+
- **Recent decisions** (last 5):
|
|
53
|
+
|
|
54
|
+
<!-- List last 5 decisions from STATE.md -->
|
|
55
|
+
|
|
56
|
+
### Blocker status
|
|
57
|
+
|
|
58
|
+
<!-- Active blockers, how long they've been open, resolution progress. -->
|
|
59
|
+
|
|
60
|
+
### Open questions
|
|
61
|
+
|
|
62
|
+
<!-- Active open questions, aging analysis, resolution rate. -->
|
|
63
|
+
|
|
64
|
+
## Backlog review
|
|
65
|
+
|
|
66
|
+
<!-- AGENT: Synthesize from todos/backlog.md. Item counts, categories, aging. -->
|
|
67
|
+
|
|
68
|
+
### Summary
|
|
69
|
+
|
|
70
|
+
- **Total items**: {count}
|
|
71
|
+
- **Categories**: {list with counts}
|
|
72
|
+
|
|
73
|
+
### Aging
|
|
74
|
+
|
|
75
|
+
<!-- How old are backlog items? Any that need attention? -->
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Session Log
|
|
2
|
+
|
|
3
|
+
Append-only session observation log for case study data collection. Each session adds a metrics entry at close. High-effort tasks log immediately at task completion. This file is read-only during extraction (never during normal work).
|
|
4
|
+
|
|
5
|
+
<!-- AGENT INSTRUCTION: At the end of every session — or immediately after any high-effort task —
|
|
6
|
+
append a new entry below using the format in "Entry format".
|
|
7
|
+
Do NOT read this file during normal work — only append to it.
|
|
8
|
+
Do NOT modify or delete previous entries.
|
|
9
|
+
When this file exceeds 300 lines, archive older entries to session-log/batch-{N}.md -->
|
|
10
|
+
|
|
11
|
+
## Project context
|
|
12
|
+
|
|
13
|
+
| Field | Value |
|
|
14
|
+
|-------|-------|
|
|
15
|
+
| Project name | {project name} |
|
|
16
|
+
| Project type | {code / data / analytical / mixed / general} |
|
|
17
|
+
| Integration profile | {lite / standard / full} |
|
|
18
|
+
| Extension(s) | {code-project / data-exploration / analytical-system / none} |
|
|
19
|
+
| Observation started | {date} |
|
|
20
|
+
|
|
21
|
+
## Effort classification
|
|
22
|
+
|
|
23
|
+
| Effort | Description | When to log |
|
|
24
|
+
|--------|-------------|-------------|
|
|
25
|
+
| **low** | Quick answer, single file or no changes, <5 min | At session close |
|
|
26
|
+
| **medium** | Multi-step work, several file changes, 5-30 min | At session close |
|
|
27
|
+
| **high** | Complex multi-file changes, architecture decisions, extensive debugging, 30+ min | Immediately at task completion |
|
|
28
|
+
|
|
29
|
+
## Assessment scales
|
|
30
|
+
|
|
31
|
+
**Ambiguity** (agent-assessed — how clear was the user's request?):
|
|
32
|
+
- **low**: Clear, specific request with sufficient context
|
|
33
|
+
- **medium**: Request understood but required interpretation or assumptions
|
|
34
|
+
- **high**: Vague or ambiguous, required significant clarification
|
|
35
|
+
|
|
36
|
+
**Context level** (agent-assessed — how much project context was loaded?):
|
|
37
|
+
- **very low**: No project files loaded, answered from general knowledge
|
|
38
|
+
- **low**: Entry point only
|
|
39
|
+
- **medium**: Entry point + STATE.md + 1-2 project files
|
|
40
|
+
- **high**: Entry point + STATE.md + specialist context + multiple project files
|
|
41
|
+
- **very high**: Extensive project context, multiple specialists, cross-file analysis
|
|
42
|
+
|
|
43
|
+
**User response** (agent-observed — how did the user respond to the result?):
|
|
44
|
+
- **accepted**: User proceeded to next step without changes
|
|
45
|
+
- **edited**: User manually modified the agent's output
|
|
46
|
+
- **revised**: User asked agent to redo or revise the result
|
|
47
|
+
- **rejected**: User said no or declined the result entirely
|
|
48
|
+
- **redirected**: User changed approach or gave new instructions
|
|
49
|
+
|
|
50
|
+
**Refinement magnitude** (for medium/high effort only — how much changed from first attempt to final?):
|
|
51
|
+
- **none**: Accepted as-is, 0% changed
|
|
52
|
+
- **minor**: Small fixes — typos, naming, formatting (<10% changed)
|
|
53
|
+
- **moderate**: Logic or structural changes, added/removed sections (10–50% changed)
|
|
54
|
+
- **major**: Significant rework of approach or content (50–80% changed)
|
|
55
|
+
- **rework**: Mostly rewritten, original approach abandoned (>80% changed)
|
|
56
|
+
|
|
57
|
+
**Delta categories** (what kinds of changes were needed — select all that apply):
|
|
58
|
+
- **accuracy**: Factual errors or incorrect implementation
|
|
59
|
+
- **completeness**: Missing parts, incomplete coverage
|
|
60
|
+
- **approach**: Wrong method or strategy
|
|
61
|
+
- **scope**: Over-scoped or under-scoped
|
|
62
|
+
- **style**: Formatting, naming, conventions
|
|
63
|
+
|
|
64
|
+
## Observation checklist
|
|
65
|
+
|
|
66
|
+
At session close (or high-effort task completion), reflect on these before writing the entry:
|
|
67
|
+
1. Which workflow did this session follow?
|
|
68
|
+
2. Which query types were encountered?
|
|
69
|
+
3. Which features visibly activated? (context loading, cascade, decision recording, scoping)
|
|
70
|
+
4. Were any cascades expected but missed?
|
|
71
|
+
5. Were any decisions deferred instead of recorded immediately?
|
|
72
|
+
6. Was there friction with any methodology rule?
|
|
73
|
+
7. Any degradation signals? (HAI-05: cascade misses, instruction loss, shallow context)
|
|
74
|
+
8. How much effort did this task require? (low / medium / high)
|
|
75
|
+
9. How ambiguous was the user's request? (low / medium / high)
|
|
76
|
+
10. How much project context was loaded? (very low / low / medium / high / very high)
|
|
77
|
+
11. LLM token usage (input + output), tool call count, and wall time?
|
|
78
|
+
12. How did the user respond to the result? (accepted / edited / revised / rejected / redirected)
|
|
79
|
+
13. For medium/high effort: how many revision cycles before acceptance?
|
|
80
|
+
14. What magnitude of change between first attempt and final result? (none / minor / moderate / major / rework)
|
|
81
|
+
15. What categories of refinement were needed? (accuracy / completeness / approach / scope / style)
|
|
82
|
+
|
|
83
|
+
## Entry format
|
|
84
|
+
|
|
85
|
+
<!-- Append new entries below. Format: -->
|
|
86
|
+
<!--
|
|
87
|
+
### S{N} — {YYYY-MM-DD} — {brief title}
|
|
88
|
+
Model: {model} | Profile: {profile} | Workflow: {WF-XX}
|
|
89
|
+
Effort: {low / medium / high} | Ambiguity: {low / medium / high} | Context: {very low / low / medium / high / very high}
|
|
90
|
+
LLM tokens: ~{N}k ({N} input + {N} output) | Tool calls: {N} | Wall time: ~{N} min
|
|
91
|
+
Queries: {query types encountered}
|
|
92
|
+
Features: {feature IDs activated}
|
|
93
|
+
Cascades: {triggered}/{expected} | Decisions: {count}
|
|
94
|
+
Response: {accepted / edited / revised / rejected / redirected}
|
|
95
|
+
Revisions: {0 | count of revision cycles} | Magnitude: {none / minor / moderate / major / rework}
|
|
96
|
+
Delta: {n/a | categories: accuracy, completeness, approach, scope, style} | Survival: ~{N}%
|
|
97
|
+
Delta notes: {n/a | brief description of what changed between first attempt and final}
|
|
98
|
+
Friction: {none | brief description}
|
|
99
|
+
Finding: {none | observation with methodology implication}
|
|
100
|
+
-->
|
|
101
|
+
|
|
102
|
+
## Session entries
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# State
|
|
2
|
+
|
|
3
|
+
## Current position
|
|
4
|
+
|
|
5
|
+
- **Phase**: {Phase name or number}
|
|
6
|
+
- **Status**: {What's happening now}
|
|
7
|
+
- **Next**: {What comes after the current work}
|
|
8
|
+
- **Active context**: `.context/BASE.md`
|
|
9
|
+
|
|
10
|
+
<!-- INSTRUCTION: Update this section every session. The next session reads this
|
|
11
|
+
to know where to pick up. Be specific about what's in progress and what's next. -->
|
|
12
|
+
|
|
13
|
+
## Decisions
|
|
14
|
+
|
|
15
|
+
| Date | Decision | Rationale |
|
|
16
|
+
|------|----------|-----------|
|
|
17
|
+
<!-- INSTRUCTION: Add decisions HERE, in the SAME response as the work that
|
|
18
|
+
produced them. Never defer to end of session. If the session is interrupted,
|
|
19
|
+
the decision survives. Format: date, what was decided, why. -->
|
|
20
|
+
|
|
21
|
+
## Blockers
|
|
22
|
+
|
|
23
|
+
<!-- INSTRUCTION: List anything preventing progress. Remove when resolved. -->
|
|
24
|
+
|
|
25
|
+
None currently.
|
|
26
|
+
|
|
27
|
+
## Open questions
|
|
28
|
+
|
|
29
|
+
<!-- INSTRUCTION: When the agent encounters uncertainty, it writes a numbered
|
|
30
|
+
question here. When resolved, don't delete — add the resolution inline.
|
|
31
|
+
This preserves reasoning history. -->
|
|
32
|
+
|
|
33
|
+
1. {Open question — describe what's uncertain and why it matters}
|
|
34
|
+
|
|
35
|
+
## Variant log
|
|
36
|
+
|
|
37
|
+
<!-- INSTRUCTION: Optional. Track experiment variants if your project involves
|
|
38
|
+
A/B testing, prompt variants, or configuration comparison. Delete if unused. -->
|
|
39
|
+
|
|
40
|
+
| Run | Scenario | Variant | Avg Score | Notes |
|
|
41
|
+
|-----|----------|---------|-----------|-------|
|
|
42
|
+
| -- | -- | -- | -- | No runs executed yet |
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Summary
|
|
2
|
+
|
|
3
|
+
<!-- AGENT: This file is the session audit trail — a chronological record of work done.
|
|
4
|
+
The management digest has moved to Management/DIGEST.md.
|
|
5
|
+
Append an entry after each session or significant task using the format below.
|
|
6
|
+
Never edit previous entries. -->
|
|
7
|
+
|
|
8
|
+
## Session audit trail
|
|
9
|
+
|
|
10
|
+
<!-- INSTRUCTION: Use this format for each entry:
|
|
11
|
+
|
|
12
|
+
### {Date} — {Brief title}
|
|
13
|
+
|
|
14
|
+
**Plan**: {What was planned for this session}
|
|
15
|
+
**Outcome**: {What was actually accomplished}
|
|
16
|
+
|
|
17
|
+
**Files created**:
|
|
18
|
+
- {path/to/new-file.md}
|
|
19
|
+
|
|
20
|
+
**Files updated**:
|
|
21
|
+
- {path/to/updated-file.md} — {what changed}
|
|
22
|
+
|
|
23
|
+
**Key decisions**:
|
|
24
|
+
- {Decision and rationale — should match what's in STATE.md}
|
|
25
|
+
|
|
26
|
+
**Next**: {What should happen in the following session — this is the bridge}
|
|
27
|
+
-->
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Agent Workflows
|
|
2
|
+
|
|
3
|
+
<!-- AGENT: This file tracks how the methodology performs in practice.
|
|
4
|
+
Update after high-effort sessions by reviewing SESSION-LOG.md patterns.
|
|
5
|
+
|
|
6
|
+
Source: SESSION-LOG.md entries, agent self-observation during sessions.
|
|
7
|
+
When this file exceeds 300 lines, split sections into individual files
|
|
8
|
+
in this directory (sessions.md, patterns.md, observations.md). -->
|
|
9
|
+
|
|
10
|
+
## Workflow summary
|
|
11
|
+
|
|
12
|
+
| Workflow | Times used | Last used | Typical effort |
|
|
13
|
+
|----------|-----------|-----------|---------------|
|
|
14
|
+
<!-- Populate from SESSION-LOG.md workflow field -->
|
|
15
|
+
|
|
16
|
+
## Session patterns
|
|
17
|
+
|
|
18
|
+
<!-- AGENT: Synthesize from SESSION-LOG.md. Look for patterns across sessions. -->
|
|
19
|
+
|
|
20
|
+
### Effort distribution
|
|
21
|
+
|
|
22
|
+
| Effort level | Count | Percentage |
|
|
23
|
+
|-------------|-------|------------|
|
|
24
|
+
| Low | {N} | {%} |
|
|
25
|
+
| Medium | {N} | {%} |
|
|
26
|
+
| High | {N} | {%} |
|
|
27
|
+
|
|
28
|
+
### Common query types
|
|
29
|
+
|
|
30
|
+
<!-- Which query types appear most often? -->
|
|
31
|
+
|
|
32
|
+
### Acceptance rates
|
|
33
|
+
|
|
34
|
+
<!-- How often is agent output accepted vs. revised? -->
|
|
35
|
+
|
|
36
|
+
- **Accepted**: {count} ({%})
|
|
37
|
+
- **Edited**: {count} ({%})
|
|
38
|
+
- **Revised**: {count} ({%})
|
|
39
|
+
- **Rejected**: {count} ({%})
|
|
40
|
+
- **Redirected**: {count} ({%})
|
|
41
|
+
|
|
42
|
+
## Behavioral patterns
|
|
43
|
+
|
|
44
|
+
<!-- AGENT: Record patterns observed across sessions. What works well, what causes friction. -->
|
|
45
|
+
|
|
46
|
+
### What works
|
|
47
|
+
|
|
48
|
+
<!-- Patterns that consistently lead to accepted results. -->
|
|
49
|
+
|
|
50
|
+
### Friction points
|
|
51
|
+
|
|
52
|
+
<!-- Recurring issues, methodology rules that cause difficulty. -->
|
|
53
|
+
|
|
54
|
+
## Observations
|
|
55
|
+
|
|
56
|
+
<!-- AGENT: Record methodology observations — findings with implications for
|
|
57
|
+
how the methodology could be improved or adapted for this project. -->
|
|
58
|
+
|
|
59
|
+
| Date | Observation | Implication | Severity |
|
|
60
|
+
|------|-------------|-------------|----------|
|
|
61
|
+
<!-- Append observations as they arise -->
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Methodology Overview
|
|
2
|
+
|
|
3
|
+
This project uses the **wwa** (Working With Agents) methodology for AI-agent-assisted development. The methodology gives your AI agent persistent memory, structured workflows, and scoped context loading across sessions.
|
|
4
|
+
|
|
5
|
+
## How it works
|
|
6
|
+
|
|
7
|
+
Your agent reads an entry point file (CLAUDE.md, .cursorrules, or AGENT.md) at the start of every session. That file tells the agent:
|
|
8
|
+
|
|
9
|
+
- **What to read** — scoping rules match your question to the right files
|
|
10
|
+
- **What to update** — cascade rules keep dependent files in sync
|
|
11
|
+
- **How to work** — workflows guide the agent through structured steps
|
|
12
|
+
|
|
13
|
+
Key files the agent manages:
|
|
14
|
+
|
|
15
|
+
| File | Purpose |
|
|
16
|
+
|------|---------|
|
|
17
|
+
| STATE.md | Decisions, blockers, current position (cross-session memory) |
|
|
18
|
+
| PLAN.md | Current task with verification criteria |
|
|
19
|
+
| ROADMAP.md | Phase breakdown with gate criteria |
|
|
20
|
+
| .context/BASE.md | Core project context — architecture, codebase map |
|
|
21
|
+
| .context/DOCS-MAP.md | Maps your project components to their documentation |
|
|
22
|
+
|
|
23
|
+
## Your project's docs/
|
|
24
|
+
|
|
25
|
+
The `docs/` folder is reserved for **your project's documentation** — API references, architecture guides, setup instructions, etc. It is not created at setup time. Instead, the agent proposes new docs/ files as your project grows, based on scaffolding rules in `.context/DOCS-MAP.md`.
|
|
26
|
+
|
|
27
|
+
## Full documentation
|
|
28
|
+
|
|
29
|
+
For the complete methodology guide, templates reference, and architecture docs:
|
|
30
|
+
|
|
31
|
+
**https://github.com/anthropics/agent-method**
|
|
32
|
+
|
|
33
|
+
Key pages:
|
|
34
|
+
- [Quick Start](https://github.com/anthropics/agent-method/blob/main/docs/guides/quick-start.md)
|
|
35
|
+
- [For Developers](https://github.com/anthropics/agent-method/blob/main/docs/guides/for-developers.md)
|
|
36
|
+
- [File Roles](https://github.com/anthropics/agent-method/blob/main/docs/architecture/file-roles.md)
|
|
37
|
+
- [CLI Tools](https://github.com/anthropics/agent-method/blob/main/docs/guides/for-developers/cli-tools.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Feature Registry — Index
|
|
2
|
+
# Split into registry/features/. Tools reassemble on load.
|
|
3
|
+
# CLI: wwa route, wwa check, wwa scan, wwa init
|
|
4
|
+
#
|
|
5
|
+
# Four layers:
|
|
6
|
+
# 1. Feature catalog — WHAT each capability is
|
|
7
|
+
# 2. Guided workflows — HOW features compose into task patterns
|
|
8
|
+
# 3. Agent protocol — WHY the agent does what it does
|
|
9
|
+
# 4. Routing rules — HOW queries map to features automatically
|
|
10
|
+
|
|
11
|
+
version: v1.6
|
|
12
|
+
|
|
13
|
+
layers:
|
|
14
|
+
- id: catalog
|
|
15
|
+
file: features/catalog.yaml
|
|
16
|
+
description: "Domains + features — WHAT each capability is"
|
|
17
|
+
- id: workflows
|
|
18
|
+
file: features/workflows.yaml
|
|
19
|
+
description: "Guided workflows — HOW features compose into task patterns"
|
|
20
|
+
- id: protocol
|
|
21
|
+
file: features/protocol.yaml
|
|
22
|
+
description: "Agent behavioral protocol — WHY the agent does what it does"
|
|
23
|
+
- id: routing
|
|
24
|
+
file: features/routing.yaml
|
|
25
|
+
description: "Routing rules — HOW queries map to features automatically"
|