agent-method 1.5.1 → 1.5.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agent-method",
3
- "version": "1.5.1",
4
- "description": "CLI tools for the agent-method methodology — registry-driven routing, validation, and project setup for AI-agent-assisted development",
3
+ "version": "1.5.3",
4
+ "description": "CLI tools for the wwa methodology — registry-driven routing, validation, and project setup for AI-agent-assisted development",
5
5
  "keywords": [
6
6
  "ai-agents",
7
7
  "prompt-engineering",
@@ -12,9 +12,9 @@
12
12
  ],
13
13
  "type": "module",
14
14
  "license": "MIT",
15
- "author": "agent-method contributors",
15
+ "author": "wwa contributors",
16
16
  "bin": {
17
- "agent-method": "bin/agent-method.js"
17
+ "wwa": "bin/wwa.js"
18
18
  },
19
19
  "files": [
20
20
  "bin/",
@@ -27,13 +27,15 @@
27
27
  "node": ">=18.0.0"
28
28
  },
29
29
  "dependencies": {
30
+ "@modelcontextprotocol/sdk": "^1.27.1",
30
31
  "chalk": "^5.4.0",
32
+ "chokidar": "^4.0.3",
31
33
  "commander": "^12.0.0",
32
34
  "inquirer": "^9.0.0",
33
35
  "js-yaml": "^4.1.0"
34
36
  },
35
37
  "repository": {
36
38
  "type": "git",
37
- "url": "https://github.com/agent-method/agent-method"
39
+ "url": "https://github.com/anthropics/wwa"
38
40
  }
39
41
  }
@@ -229,7 +229,7 @@ See `docs/architecture/context-pairing.md` for the full context maintenance life
229
229
  ### Recommended: npx
230
230
 
231
231
  ```bash
232
- npx agent-method init code ~/my-project
232
+ npx wwa init code ~/my-project
233
233
  ```
234
234
 
235
235
  Replace `code` with: `context`, `data`, `mix`, or `general`.
@@ -249,45 +249,49 @@ See `docs/guides/quick-start.md` for a detailed walkthrough.
249
249
  The methodology works without any tooling. For teams that want additional validation and automation:
250
250
 
251
251
  ```bash
252
- npx agent-method # zero-install (Node.js 18+)
253
- npm install -g agent-method # permanent install
254
- pip install agent-method-tools # Python alternative
252
+ npx wwa # zero-install (Node.js 18+)
253
+ npm install -g wwa # permanent install
254
+ pip install wwa-tools # Python alternative
255
255
  ```
256
256
 
257
257
  ### Developer commands
258
258
 
259
259
  | Command | Use case |
260
260
  |---------|----------|
261
- | `npx agent-method check` | Validate entry point (auto-finds CLAUDE.md/.cursorrules/AGENT.md) |
262
- | `npx agent-method scan` | Detect project type from directory contents |
263
- | `npx agent-method route "<query>"` | Test how a query routes through the pipeline |
264
- | `npx agent-method refine` | Extract refinement report (auto-finds SESSION-LOG.md) |
265
- | `npx agent-method status` | Check if methodology version is current |
266
- | `npx agent-method upgrade` | Brownfield-safe update (adds missing files, updates version) |
267
- | `npx agent-method init <type>` | Describe entry point contents for a project type |
261
+ | `npx wwa check` | Validate entry point (auto-finds CLAUDE.md/.cursorrules/AGENT.md) |
262
+ | `npx wwa scan` | Detect project type from directory contents |
263
+ | `npx wwa route "<query>"` | Test how a query routes through the pipeline |
264
+ | `npx wwa refine` | Extract refinement report (auto-finds SESSION-LOG.md) |
265
+ | `npx wwa status` | Check if methodology version is current |
266
+ | `npx wwa upgrade` | Brownfield-safe update (adds missing files, updates version) |
267
+ | `npx wwa init <type>` | Describe entry point contents for a project type |
268
268
 
269
269
  ### Project types
270
270
 
271
271
  Use friendly names everywhere — all commands accept aliases:
272
272
 
273
273
  ```bash
274
- agent-method init code # software project
275
- agent-method init context # analytical/prompt project (e.g. PromptStudy)
276
- agent-method init data # data index/querying project (e.g. SysMLv2)
277
- agent-method init mix # multi-type project
274
+ wwa init code # software project
275
+ wwa init context # analytical/prompt project (e.g. PromptStudy)
276
+ wwa init data # data index/querying project (e.g. SysMLv2)
277
+ wwa init mix # multi-type project
278
278
  ```
279
279
 
280
280
  ### Advanced: pipeline subcommands
281
281
 
282
- For debugging routing logic: `npx agent-method pipeline classify|select|resolve|cascade|test`.
282
+ For debugging routing logic: `npx wwa pipeline classify|select|resolve|cascade|test`.
283
283
 
284
284
  ### Dependencies
285
285
 
286
+ **Node.js (npx / npm)**:
287
+ - Node.js 18+
288
+ - commander ^12.0, js-yaml ^4.1, inquirer ^9.0, chalk ^5.0
289
+
290
+ **Python (pip)**:
286
291
  - Python 3.9+
287
- - PyYAML >= 6.0
288
- - Click >= 8.0
292
+ - PyYAML >= 6.0, Click >= 8.0
289
293
 
290
294
  ### Future enhancements
291
295
 
292
- - MCP server: `pip install agent-method-tools[mcp]` — exposes pipeline as agent-callable tools
293
- - Registry watcher: `pip install agent-method-tools[watch]` — proactive validation on file changes
296
+ - MCP server: `pip install wwa-tools[mcp]` — exposes pipeline as agent-callable tools
297
+ - Registry watcher: `pip install wwa-tools[watch]` — proactive validation on file changes
@@ -36,7 +36,7 @@ When a file changes, check this table and update dependent files in the same res
36
36
  | Project structure | .context/BASE.md (codebase map), this file (if new query types needed) |
37
37
  | Intelligence layer file exceeds 300 lines | Restructure into index + components subdirectory (keep active content, archive completed sections) |
38
38
  | New domain area | .context/BASE.md, consider new .context/ specialist, this file (if new scoping row) |
39
- | Session close | SESSION-LOG.md (append micro-entry — workflow, features, cascades, friction, findings) |
39
+ | Session close or high-effort task completion | SESSION-LOG.md (append metrics entry — effort, ambiguity, context level, tokens, time, workflow, features, cascades, friction, findings) |
40
40
 
41
41
  <!-- INSTRUCTION: Add project-specific cascade rules below the universal ones above. -->
42
42
 
@@ -66,21 +66,21 @@ tier: standard
66
66
 
67
67
  method_version: 1.5
68
68
  <!-- Tracks which methodology version generated this entry point -->
69
- <!-- Use `npx agent-method status` to compare against latest -->
69
+ <!-- Use `npx wwa status` to compare against latest -->
70
70
 
71
71
  ## CLI tools (optional)
72
72
 
73
- Available via `npx agent-method` (zero-install) or `pip install agent-method-tools`:
73
+ Available via `npx wwa` (zero-install) or `pip install wwa-tools`:
74
74
 
75
75
  | When you want to... | Run |
76
76
  |---------------------|-----|
77
- | Validate this entry point | `npx agent-method check` |
78
- | See what type of project this is | `npx agent-method scan` |
79
- | Test how a query routes | `npx agent-method route "your question"` |
80
- | Extract a refinement report | `npx agent-method refine` |
81
- | Check methodology version | `npx agent-method status` |
82
- | Update methodology files | `npx agent-method upgrade` |
83
- | See what an entry point should contain | `npx agent-method init code` / `context` / `data` / `mix` |
77
+ | Validate this entry point | `npx wwa check` |
78
+ | See what type of project this is | `npx wwa scan` |
79
+ | Test how a query routes | `npx wwa route "your question"` |
80
+ | Extract a refinement report | `npx wwa refine` |
81
+ | Check methodology version | `npx wwa status` |
82
+ | Update methodology files | `npx wwa upgrade` |
83
+ | See what an entry point should contain | `npx wwa init code` / `context` / `data` / `mix` |
84
84
 
85
85
  <!-- INSTRUCTION: The agent can suggest these commands when the user asks about validation,
86
86
  project setup, or methodology updates. All commands auto-detect project type and find
@@ -95,7 +95,7 @@ Available via `npx agent-method` (zero-install) or `pip install agent-method-too
95
95
  - Surface uncertainty as open questions in STATE.md — never guess silently
96
96
  - Keep intelligence layer files under 300 lines — split into index + components subdirectory when exceeded
97
97
  - Propose plans and wait for approval — the human controls direction
98
- - At session close, append a micro-entry to SESSION-LOG.md — never skip, never read previous entries during normal work
98
+ - At session close or after any high-effort task, append a metrics entry to SESSION-LOG.md — include effort level, question ambiguity, context level, estimated tokens, and time. Never skip, never read previous entries during normal work
99
99
 
100
100
  ## Do not
101
101
 
@@ -36,7 +36,7 @@ When a file changes, check this table and update dependent files in the same res
36
36
  | Project structure | .context/BASE.md (codebase map), this file (if new query types needed) |
37
37
  | Intelligence layer file exceeds 300 lines | Restructure into index + components subdirectory (keep active content, archive completed sections) |
38
38
  | New domain area | .context/BASE.md, consider new .context/ specialist, this file (if new scoping row) |
39
- | Session close | SESSION-LOG.md (append micro-entry — workflow, features, cascades, friction, findings) |
39
+ | Session close or high-effort task completion | SESSION-LOG.md (append metrics entry — effort, ambiguity, context level, tokens, time, workflow, features, cascades, friction, findings) |
40
40
 
41
41
  <!-- INSTRUCTION: Add project-specific cascade rules below the universal ones above. -->
42
42
 
@@ -66,21 +66,21 @@ tier: standard
66
66
 
67
67
  method_version: 1.5
68
68
  <!-- Tracks which methodology version generated this entry point -->
69
- <!-- Use `npx agent-method status` to compare against latest -->
69
+ <!-- Use `npx wwa status` to compare against latest -->
70
70
 
71
71
  ## CLI tools (optional)
72
72
 
73
- Available via `npx agent-method` (zero-install) or `pip install agent-method-tools`:
73
+ Available via `npx wwa` (zero-install) or `pip install wwa-tools`:
74
74
 
75
75
  | When you want to... | Run |
76
76
  |---------------------|-----|
77
- | Validate this entry point | `npx agent-method check` |
78
- | See what type of project this is | `npx agent-method scan` |
79
- | Test how a query routes | `npx agent-method route "your question"` |
80
- | Extract a refinement report | `npx agent-method refine` |
81
- | Check methodology version | `npx agent-method status` |
82
- | Update methodology files | `npx agent-method upgrade` |
83
- | See what an entry point should contain | `npx agent-method init code` / `context` / `data` / `mix` |
77
+ | Validate this entry point | `npx wwa check` |
78
+ | See what type of project this is | `npx wwa scan` |
79
+ | Test how a query routes | `npx wwa route "your question"` |
80
+ | Extract a refinement report | `npx wwa refine` |
81
+ | Check methodology version | `npx wwa status` |
82
+ | Update methodology files | `npx wwa upgrade` |
83
+ | See what an entry point should contain | `npx wwa init code` / `context` / `data` / `mix` |
84
84
 
85
85
  <!-- INSTRUCTION: The agent can suggest these commands when the user asks about validation,
86
86
  project setup, or methodology updates. All commands auto-detect project type and find
@@ -95,7 +95,7 @@ Available via `npx agent-method` (zero-install) or `pip install agent-method-too
95
95
  - Surface uncertainty as open questions in STATE.md — never guess silently
96
96
  - Keep intelligence layer files under 300 lines — split into index + components subdirectory when exceeded
97
97
  - Propose plans and wait for approval — the human controls direction
98
- - At session close, append a micro-entry to SESSION-LOG.md — never skip, never read previous entries during normal work
98
+ - At session close or after any high-effort task, append a metrics entry to SESSION-LOG.md — include effort level, question ambiguity, context level, estimated tokens, and time. Never skip, never read previous entries during normal work
99
99
 
100
100
  ## Do not
101
101
 
@@ -36,7 +36,7 @@ When a file changes, check this table and update dependent files in the same res
36
36
  | Project structure | .context/BASE.md (codebase map), this file (if new query types needed) |
37
37
  | Intelligence layer file exceeds 300 lines | Restructure into index + components subdirectory (keep active content, archive completed sections) |
38
38
  | New domain area | .context/BASE.md, consider new .context/ specialist, this file (if new scoping row) |
39
- | Session close | SESSION-LOG.md (append micro-entry — workflow, features, cascades, friction, findings) |
39
+ | Session close or high-effort task completion | SESSION-LOG.md (append metrics entry — effort, ambiguity, context level, tokens, time, workflow, features, cascades, friction, findings) |
40
40
 
41
41
  <!-- INSTRUCTION: Add project-specific cascade rules below the universal ones above. -->
42
42
 
@@ -66,21 +66,21 @@ tier: standard
66
66
 
67
67
  method_version: 1.5
68
68
  <!-- Tracks which methodology version generated this entry point -->
69
- <!-- Use `npx agent-method status` to compare against latest -->
69
+ <!-- Use `npx wwa status` to compare against latest -->
70
70
 
71
71
  ## CLI tools (optional)
72
72
 
73
- Available via `npx agent-method` (zero-install) or `pip install agent-method-tools`:
73
+ Available via `npx wwa` (zero-install) or `pip install wwa-tools`:
74
74
 
75
75
  | When you want to... | Run |
76
76
  |---------------------|-----|
77
- | Validate this entry point | `npx agent-method check` |
78
- | See what type of project this is | `npx agent-method scan` |
79
- | Test how a query routes | `npx agent-method route "your question"` |
80
- | Extract a refinement report | `npx agent-method refine` |
81
- | Check methodology version | `npx agent-method status` |
82
- | Update methodology files | `npx agent-method upgrade` |
83
- | See what an entry point should contain | `npx agent-method init code` / `context` / `data` / `mix` |
77
+ | Validate this entry point | `npx wwa check` |
78
+ | See what type of project this is | `npx wwa scan` |
79
+ | Test how a query routes | `npx wwa route "your question"` |
80
+ | Extract a refinement report | `npx wwa refine` |
81
+ | Check methodology version | `npx wwa status` |
82
+ | Update methodology files | `npx wwa upgrade` |
83
+ | See what an entry point should contain | `npx wwa init code` / `context` / `data` / `mix` |
84
84
 
85
85
  <!-- INSTRUCTION: The agent can suggest these commands when the user asks about validation,
86
86
  project setup, or methodology updates. All commands auto-detect project type and find
@@ -95,7 +95,7 @@ Available via `npx agent-method` (zero-install) or `pip install agent-method-too
95
95
  - Surface uncertainty as open questions in STATE.md — never guess silently
96
96
  - Keep intelligence layer files under 300 lines — split into index + components subdirectory when exceeded
97
97
  - Propose plans and wait for approval — the human controls direction
98
- - At session close, append a micro-entry to SESSION-LOG.md — never skip, never read previous entries during normal work
98
+ - At session close or after any high-effort task, append a metrics entry to SESSION-LOG.md — include effort level, question ambiguity, context level, estimated tokens, and time. Never skip, never read previous entries during normal work
99
99
 
100
100
  ## Do not
101
101
 
@@ -41,7 +41,7 @@ When a file changes, check this table and update dependent files in the same res
41
41
  | File split, created, deleted, or renamed | .context/REGISTRY.md (file tree, topic index, structural log) |
42
42
  | New domain area | .context/BASE.md, consider new .context/ specialist, this file (if new scoping row) |
43
43
  | Lifecycle stage change | PROJECT-PROFILE.md (update stage + date), STATE.md (record decision) |
44
- | Session close | SESSION-LOG.md (append micro-entry — workflow, features, cascades, friction, findings) |
44
+ | Session close or high-effort task completion | SESSION-LOG.md (append metrics entry — effort, ambiguity, context level, tokens, time, workflow, features, cascades, friction, findings) |
45
45
 
46
46
  <!-- INSTRUCTION: Add project-specific cascade rules below the universal ones above. -->
47
47
 
@@ -83,21 +83,21 @@ tier: full
83
83
 
84
84
  method_version: 1.5
85
85
  <!-- Tracks which methodology version generated this entry point -->
86
- <!-- Use `npx agent-method status` to compare against latest -->
86
+ <!-- Use `npx wwa status` to compare against latest -->
87
87
 
88
88
  ## CLI tools (optional)
89
89
 
90
- Available via `npx agent-method` (zero-install) or `pip install agent-method-tools`:
90
+ Available via `npx wwa` (zero-install) or `pip install wwa-tools`:
91
91
 
92
92
  | When you want to... | Run |
93
93
  |---------------------|-----|
94
- | Validate this entry point | `npx agent-method check` |
95
- | See what type of project this is | `npx agent-method scan` |
96
- | Test how a query routes | `npx agent-method route "your question"` |
97
- | Extract a refinement report | `npx agent-method refine` |
98
- | Check methodology version | `npx agent-method status` |
99
- | Update methodology files | `npx agent-method upgrade` |
100
- | See what an entry point should contain | `npx agent-method init code` / `context` / `data` / `mix` |
94
+ | Validate this entry point | `npx wwa check` |
95
+ | See what type of project this is | `npx wwa scan` |
96
+ | Test how a query routes | `npx wwa route "your question"` |
97
+ | Extract a refinement report | `npx wwa refine` |
98
+ | Check methodology version | `npx wwa status` |
99
+ | Update methodology files | `npx wwa upgrade` |
100
+ | See what an entry point should contain | `npx wwa init code` / `context` / `data` / `mix` |
101
101
 
102
102
  <!-- INSTRUCTION: The agent can suggest these commands when the user asks about validation,
103
103
  project setup, or methodology updates. All commands auto-detect project type and find
@@ -113,7 +113,7 @@ Available via `npx agent-method` (zero-install) or `pip install agent-method-too
113
113
  - Keep intelligence layer files under 300 lines — split into index + components subdirectory when exceeded
114
114
  - Propose plans and wait for approval — the human controls direction
115
115
  - SUMMARY.md entries follow audit trail format: date, plan, outcome, files, decisions, next
116
- - At session close, append a micro-entry to SESSION-LOG.md — never skip, never read previous entries during normal work
116
+ - At session close or after any high-effort task, append a metrics entry to SESSION-LOG.md — include effort level, question ambiguity, context level, estimated tokens, and time. Never skip, never read previous entries during normal work
117
117
 
118
118
  ## Do not
119
119
 
@@ -41,7 +41,7 @@ When a file changes, check this table and update dependent files in the same res
41
41
  | File split, created, deleted, or renamed | .context/REGISTRY.md (file tree, topic index, structural log) |
42
42
  | New domain area | .context/BASE.md, consider new .context/ specialist, this file (if new scoping row) |
43
43
  | Lifecycle stage change | PROJECT-PROFILE.md (update stage + date), STATE.md (record decision) |
44
- | Session close | SESSION-LOG.md (append micro-entry — workflow, features, cascades, friction, findings) |
44
+ | Session close or high-effort task completion | SESSION-LOG.md (append metrics entry — effort, ambiguity, context level, tokens, time, workflow, features, cascades, friction, findings) |
45
45
 
46
46
  <!-- INSTRUCTION: Add project-specific cascade rules below the universal ones above. -->
47
47
 
@@ -83,21 +83,21 @@ tier: full
83
83
 
84
84
  method_version: 1.5
85
85
  <!-- Tracks which methodology version generated this entry point -->
86
- <!-- Use `npx agent-method status` to compare against latest -->
86
+ <!-- Use `npx wwa status` to compare against latest -->
87
87
 
88
88
  ## CLI tools (optional)
89
89
 
90
- Available via `npx agent-method` (zero-install) or `pip install agent-method-tools`:
90
+ Available via `npx wwa` (zero-install) or `pip install wwa-tools`:
91
91
 
92
92
  | When you want to... | Run |
93
93
  |---------------------|-----|
94
- | Validate this entry point | `npx agent-method check` |
95
- | See what type of project this is | `npx agent-method scan` |
96
- | Test how a query routes | `npx agent-method route "your question"` |
97
- | Extract a refinement report | `npx agent-method refine` |
98
- | Check methodology version | `npx agent-method status` |
99
- | Update methodology files | `npx agent-method upgrade` |
100
- | See what an entry point should contain | `npx agent-method init code` / `context` / `data` / `mix` |
94
+ | Validate this entry point | `npx wwa check` |
95
+ | See what type of project this is | `npx wwa scan` |
96
+ | Test how a query routes | `npx wwa route "your question"` |
97
+ | Extract a refinement report | `npx wwa refine` |
98
+ | Check methodology version | `npx wwa status` |
99
+ | Update methodology files | `npx wwa upgrade` |
100
+ | See what an entry point should contain | `npx wwa init code` / `context` / `data` / `mix` |
101
101
 
102
102
  <!-- INSTRUCTION: The agent can suggest these commands when the user asks about validation,
103
103
  project setup, or methodology updates. All commands auto-detect project type and find
@@ -113,7 +113,7 @@ Available via `npx agent-method` (zero-install) or `pip install agent-method-too
113
113
  - Keep intelligence layer files under 300 lines — split into index + components subdirectory when exceeded
114
114
  - Propose plans and wait for approval — the human controls direction
115
115
  - SUMMARY.md entries follow audit trail format: date, plan, outcome, files, decisions, next
116
- - At session close, append a micro-entry to SESSION-LOG.md — never skip, never read previous entries during normal work
116
+ - At session close or after any high-effort task, append a metrics entry to SESSION-LOG.md — include effort level, question ambiguity, context level, estimated tokens, and time. Never skip, never read previous entries during normal work
117
117
 
118
118
  ## Do not
119
119
 
@@ -41,7 +41,7 @@ When a file changes, check this table and update dependent files in the same res
41
41
  | File split, created, deleted, or renamed | .context/REGISTRY.md (file tree, topic index, structural log) |
42
42
  | New domain area | .context/BASE.md, consider new .context/ specialist, this file (if new scoping row) |
43
43
  | Lifecycle stage change | PROJECT-PROFILE.md (update stage + date), STATE.md (record decision) |
44
- | Session close | SESSION-LOG.md (append micro-entry — workflow, features, cascades, friction, findings) |
44
+ | Session close or high-effort task completion | SESSION-LOG.md (append metrics entry — effort, ambiguity, context level, tokens, time, workflow, features, cascades, friction, findings) |
45
45
 
46
46
  <!-- INSTRUCTION: Add project-specific cascade rules below the universal ones above. -->
47
47
 
@@ -83,21 +83,21 @@ tier: full
83
83
 
84
84
  method_version: 1.5
85
85
  <!-- Tracks which methodology version generated this entry point -->
86
- <!-- Use `npx agent-method status` to compare against latest -->
86
+ <!-- Use `npx wwa status` to compare against latest -->
87
87
 
88
88
  ## CLI tools (optional)
89
89
 
90
- Available via `npx agent-method` (zero-install) or `pip install agent-method-tools`:
90
+ Available via `npx wwa` (zero-install) or `pip install wwa-tools`:
91
91
 
92
92
  | When you want to... | Run |
93
93
  |---------------------|-----|
94
- | Validate this entry point | `npx agent-method check` |
95
- | See what type of project this is | `npx agent-method scan` |
96
- | Test how a query routes | `npx agent-method route "your question"` |
97
- | Extract a refinement report | `npx agent-method refine` |
98
- | Check methodology version | `npx agent-method status` |
99
- | Update methodology files | `npx agent-method upgrade` |
100
- | See what an entry point should contain | `npx agent-method init code` / `context` / `data` / `mix` |
94
+ | Validate this entry point | `npx wwa check` |
95
+ | See what type of project this is | `npx wwa scan` |
96
+ | Test how a query routes | `npx wwa route "your question"` |
97
+ | Extract a refinement report | `npx wwa refine` |
98
+ | Check methodology version | `npx wwa status` |
99
+ | Update methodology files | `npx wwa upgrade` |
100
+ | See what an entry point should contain | `npx wwa init code` / `context` / `data` / `mix` |
101
101
 
102
102
  <!-- INSTRUCTION: The agent can suggest these commands when the user asks about validation,
103
103
  project setup, or methodology updates. All commands auto-detect project type and find
@@ -113,7 +113,7 @@ Available via `npx agent-method` (zero-install) or `pip install agent-method-too
113
113
  - Keep intelligence layer files under 300 lines — split into index + components subdirectory when exceeded
114
114
  - Propose plans and wait for approval — the human controls direction
115
115
  - SUMMARY.md entries follow audit trail format: date, plan, outcome, files, decisions, next
116
- - At session close, append a micro-entry to SESSION-LOG.md — never skip, never read previous entries during normal work
116
+ - At session close or after any high-effort task, append a metrics entry to SESSION-LOG.md — include effort level, question ambiguity, context level, estimated tokens, and time. Never skip, never read previous entries during normal work
117
117
 
118
118
  ## Do not
119
119
 
@@ -1,8 +1,9 @@
1
1
  # Session Log
2
2
 
3
- Append-only session observation log for case study data collection. Each session adds a micro-entry at close. This file is read-only during extraction (never during normal work).
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
4
 
5
- <!-- AGENT INSTRUCTION: At the end of every session, append a new entry below using this format.
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".
6
7
  Do NOT read this file during normal work — only append to it.
7
8
  Do NOT modify or delete previous entries.
8
9
  When this file exceeds 300 lines, archive older entries to session-log/batch-{N}.md -->
@@ -17,9 +18,31 @@ Append-only session observation log for case study data collection. Each session
17
18
  | Extension(s) | {code-project / data-exploration / analytical-system / none} |
18
19
  | Observation started | {date} |
19
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
+
20
43
  ## Observation checklist
21
44
 
22
- At session close, reflect on these before writing the micro-entry:
45
+ At session close (or high-effort task completion), reflect on these before writing the entry:
23
46
  1. Which workflow did this session follow?
24
47
  2. Which query types were encountered?
25
48
  3. Which features visibly activated? (context loading, cascade, decision recording, scoping)
@@ -27,15 +50,24 @@ At session close, reflect on these before writing the micro-entry:
27
50
  5. Were any decisions deferred instead of recorded immediately?
28
51
  6. Was there friction with any methodology rule?
29
52
  7. Any degradation signals? (HAI-05: cascade misses, instruction loss, shallow context)
53
+ 8. How much effort did this task require? (low / medium / high)
54
+ 9. How ambiguous was the user's request? (low / medium / high)
55
+ 10. How much project context was loaded? (very low / low / medium / high / very high)
56
+ 11. Approximate token usage and time spent?
30
57
 
31
- ## Session entries
58
+ ## Entry format
32
59
 
33
- <!-- Append new entries below. Format:
60
+ <!-- Append new entries below. Format: -->
61
+ <!--
34
62
  ### S{N} — {YYYY-MM-DD} — {brief title}
35
63
  Model: {model} | Profile: {profile} | Workflow: {WF-XX}
64
+ Effort: {low / medium / high} | Ambiguity: {low / medium / high} | Context: {very low / low / medium / high / very high}
65
+ Tokens: ~{N}k | Time: ~{N} min
36
66
  Queries: {query types encountered}
37
67
  Features: {feature IDs activated}
38
68
  Cascades: {triggered}/{expected} | Decisions: {count}
39
69
  Friction: {none | brief description}
40
70
  Finding: {none | observation with methodology implication}
41
71
  -->
72
+
73
+ ## Session entries
@@ -39,7 +39,7 @@ When a file changes, check this table and update dependent files in the same res
39
39
  | Intelligence layer file exceeds 300 lines | Restructure into index + components subdirectory (keep active content, archive completed sections) |
40
40
  | New domain area | .context/BASE.md, consider new .context/ specialist, this file (if new scoping row) |
41
41
  | Lifecycle stage change | PROJECT-PROFILE.md (update stage + date), STATE.md (record decision) |
42
- | Session close | SESSION-LOG.md (append micro-entry — workflow, features, cascades, friction, findings) |
42
+ | Session close or high-effort task completion | SESSION-LOG.md (append metrics entry — effort, ambiguity, context level, tokens, time, workflow, features, cascades, friction, findings) |
43
43
 
44
44
  <!-- INSTRUCTION: Add project-specific cascade rules below the universal ones above. -->
45
45
 
@@ -70,21 +70,21 @@ tier: standard
70
70
 
71
71
  method_version: 1.5
72
72
  <!-- Tracks which methodology version generated this entry point -->
73
- <!-- Use `npx agent-method status` to compare against latest -->
73
+ <!-- Use `npx wwa status` to compare against latest -->
74
74
 
75
75
  ## CLI tools (optional)
76
76
 
77
- Available via `npx agent-method` (zero-install) or `pip install agent-method-tools`:
77
+ Available via `npx wwa` (zero-install) or `pip install wwa-tools`:
78
78
 
79
79
  | When you want to... | Run |
80
80
  |---------------------|-----|
81
- | Validate this entry point | `npx agent-method check` |
82
- | See what type of project this is | `npx agent-method scan` |
83
- | Test how a query routes | `npx agent-method route "your question"` |
84
- | Extract a refinement report | `npx agent-method refine` |
85
- | Check methodology version | `npx agent-method status` |
86
- | Update methodology files | `npx agent-method upgrade` |
87
- | See what an entry point should contain | `npx agent-method init code` / `context` / `data` / `mix` |
81
+ | Validate this entry point | `npx wwa check` |
82
+ | See what type of project this is | `npx wwa scan` |
83
+ | Test how a query routes | `npx wwa route "your question"` |
84
+ | Extract a refinement report | `npx wwa refine` |
85
+ | Check methodology version | `npx wwa status` |
86
+ | Update methodology files | `npx wwa upgrade` |
87
+ | See what an entry point should contain | `npx wwa init code` / `context` / `data` / `mix` |
88
88
 
89
89
  <!-- INSTRUCTION: The agent can suggest these commands when the user asks about validation,
90
90
  project setup, or methodology updates. All commands auto-detect project type and find
@@ -99,7 +99,7 @@ Available via `npx agent-method` (zero-install) or `pip install agent-method-too
99
99
  - Surface uncertainty as open questions in STATE.md — never guess silently
100
100
  - Keep intelligence layer files under 300 lines — split into index + components subdirectory when exceeded
101
101
  - Propose plans and wait for approval — the human controls direction
102
- - At session close, append a micro-entry to SESSION-LOG.md — never skip, never read previous entries during normal work
102
+ - At session close or after any high-effort task, append a metrics entry to SESSION-LOG.md — include effort level, question ambiguity, context level, estimated tokens, and time. Never skip, never read previous entries during normal work
103
103
 
104
104
  ## Do not
105
105
 
@@ -39,7 +39,7 @@ When a file changes, check this table and update dependent files in the same res
39
39
  | Intelligence layer file exceeds 300 lines | Restructure into index + components subdirectory (keep active content, archive completed sections) |
40
40
  | New domain area | .context/BASE.md, consider new .context/ specialist, this file (if new scoping row) |
41
41
  | Lifecycle stage change | PROJECT-PROFILE.md (update stage + date), STATE.md (record decision) |
42
- | Session close | SESSION-LOG.md (append micro-entry — workflow, features, cascades, friction, findings) |
42
+ | Session close or high-effort task completion | SESSION-LOG.md (append metrics entry — effort, ambiguity, context level, tokens, time, workflow, features, cascades, friction, findings) |
43
43
 
44
44
  <!-- INSTRUCTION: Add project-specific cascade rules below the universal ones above. -->
45
45
 
@@ -70,21 +70,21 @@ tier: standard
70
70
 
71
71
  method_version: 1.5
72
72
  <!-- Tracks which methodology version generated this entry point -->
73
- <!-- Use `npx agent-method status` to compare against latest -->
73
+ <!-- Use `npx wwa status` to compare against latest -->
74
74
 
75
75
  ## CLI tools (optional)
76
76
 
77
- Available via `npx agent-method` (zero-install) or `pip install agent-method-tools`:
77
+ Available via `npx wwa` (zero-install) or `pip install wwa-tools`:
78
78
 
79
79
  | When you want to... | Run |
80
80
  |---------------------|-----|
81
- | Validate this entry point | `npx agent-method check` |
82
- | See what type of project this is | `npx agent-method scan` |
83
- | Test how a query routes | `npx agent-method route "your question"` |
84
- | Extract a refinement report | `npx agent-method refine` |
85
- | Check methodology version | `npx agent-method status` |
86
- | Update methodology files | `npx agent-method upgrade` |
87
- | See what an entry point should contain | `npx agent-method init code` / `context` / `data` / `mix` |
81
+ | Validate this entry point | `npx wwa check` |
82
+ | See what type of project this is | `npx wwa scan` |
83
+ | Test how a query routes | `npx wwa route "your question"` |
84
+ | Extract a refinement report | `npx wwa refine` |
85
+ | Check methodology version | `npx wwa status` |
86
+ | Update methodology files | `npx wwa upgrade` |
87
+ | See what an entry point should contain | `npx wwa init code` / `context` / `data` / `mix` |
88
88
 
89
89
  <!-- INSTRUCTION: The agent can suggest these commands when the user asks about validation,
90
90
  project setup, or methodology updates. All commands auto-detect project type and find
@@ -99,7 +99,7 @@ Available via `npx agent-method` (zero-install) or `pip install agent-method-too
99
99
  - Surface uncertainty as open questions in STATE.md — never guess silently
100
100
  - Keep intelligence layer files under 300 lines — split into index + components subdirectory when exceeded
101
101
  - Propose plans and wait for approval — the human controls direction
102
- - At session close, append a micro-entry to SESSION-LOG.md — never skip, never read previous entries during normal work
102
+ - At session close or after any high-effort task, append a metrics entry to SESSION-LOG.md — include effort level, question ambiguity, context level, estimated tokens, and time. Never skip, never read previous entries during normal work
103
103
 
104
104
  ## Do not
105
105
 
@@ -39,7 +39,7 @@ When a file changes, check this table and update dependent files in the same res
39
39
  | Intelligence layer file exceeds 300 lines | Restructure into index + components subdirectory (keep active content, archive completed sections) |
40
40
  | New domain area | .context/BASE.md, consider new .context/ specialist, this file (if new scoping row) |
41
41
  | Lifecycle stage change | PROJECT-PROFILE.md (update stage + date), STATE.md (record decision) |
42
- | Session close | SESSION-LOG.md (append micro-entry — workflow, features, cascades, friction, findings) |
42
+ | Session close or high-effort task completion | SESSION-LOG.md (append metrics entry — effort, ambiguity, context level, tokens, time, workflow, features, cascades, friction, findings) |
43
43
 
44
44
  <!-- INSTRUCTION: Add project-specific cascade rules below the universal ones above. -->
45
45
 
@@ -70,21 +70,21 @@ tier: standard
70
70
 
71
71
  method_version: 1.5
72
72
  <!-- Tracks which methodology version generated this entry point -->
73
- <!-- Use `npx agent-method status` to compare against latest -->
73
+ <!-- Use `npx wwa status` to compare against latest -->
74
74
 
75
75
  ## CLI tools (optional)
76
76
 
77
- Available via `npx agent-method` (zero-install) or `pip install agent-method-tools`:
77
+ Available via `npx wwa` (zero-install) or `pip install wwa-tools`:
78
78
 
79
79
  | When you want to... | Run |
80
80
  |---------------------|-----|
81
- | Validate this entry point | `npx agent-method check` |
82
- | See what type of project this is | `npx agent-method scan` |
83
- | Test how a query routes | `npx agent-method route "your question"` |
84
- | Extract a refinement report | `npx agent-method refine` |
85
- | Check methodology version | `npx agent-method status` |
86
- | Update methodology files | `npx agent-method upgrade` |
87
- | See what an entry point should contain | `npx agent-method init code` / `context` / `data` / `mix` |
81
+ | Validate this entry point | `npx wwa check` |
82
+ | See what type of project this is | `npx wwa scan` |
83
+ | Test how a query routes | `npx wwa route "your question"` |
84
+ | Extract a refinement report | `npx wwa refine` |
85
+ | Check methodology version | `npx wwa status` |
86
+ | Update methodology files | `npx wwa upgrade` |
87
+ | See what an entry point should contain | `npx wwa init code` / `context` / `data` / `mix` |
88
88
 
89
89
  <!-- INSTRUCTION: The agent can suggest these commands when the user asks about validation,
90
90
  project setup, or methodology updates. All commands auto-detect project type and find
@@ -99,7 +99,7 @@ Available via `npx agent-method` (zero-install) or `pip install agent-method-too
99
99
  - Surface uncertainty as open questions in STATE.md — never guess silently
100
100
  - Keep intelligence layer files under 300 lines — split into index + components subdirectory when exceeded
101
101
  - Propose plans and wait for approval — the human controls direction
102
- - At session close, append a micro-entry to SESSION-LOG.md — never skip, never read previous entries during normal work
102
+ - At session close or after any high-effort task, append a metrics entry to SESSION-LOG.md — include effort level, question ambiguity, context level, estimated tokens, and time. Never skip, never read previous entries during normal work
103
103
 
104
104
  ## Do not
105
105