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/README.md +141 -151
- package/bin/{agent-method.js → wwa.js} +12 -4
- package/lib/cli/check.js +2 -2
- package/lib/cli/init.js +107 -17
- package/lib/cli/pipeline.js +1 -1
- package/lib/cli/refine.js +3 -3
- package/lib/cli/route.js +1 -1
- package/lib/cli/scan.js +3 -3
- package/lib/cli/serve.js +23 -0
- package/lib/cli/status.js +2 -2
- package/lib/cli/upgrade.js +8 -7
- package/lib/cli/watch.js +32 -0
- package/lib/init.js +62 -6
- package/lib/mcp-server.js +524 -0
- package/lib/pipeline.js +1 -1
- package/lib/registry.js +1 -1
- package/lib/watcher.js +165 -0
- package/package.json +7 -5
- package/templates/README.md +24 -20
- package/templates/entry-points/.cursorrules +11 -11
- package/templates/entry-points/AGENT.md +11 -11
- package/templates/entry-points/CLAUDE.md +11 -11
- package/templates/full/.cursorrules +11 -11
- package/templates/full/AGENT.md +11 -11
- package/templates/full/CLAUDE.md +11 -11
- package/templates/full/SESSION-LOG.md +37 -5
- package/templates/starter/.cursorrules +11 -11
- package/templates/starter/AGENT.md +11 -11
- package/templates/starter/CLAUDE.md +11 -11
- package/templates/starter/SESSION-LOG.md +37 -5
|
@@ -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
|
|
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
|
|
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
|
|
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
|
-
##
|
|
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
|