yam-flow 2.2.0 → 2.2.1
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/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/references/scout-wide-scan.md +150 -0
- package/references/scout.md +9 -0
- package/skills/scout/SKILL.md +18 -5
- package/yam.manifest.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to yam-flow are documented here.
|
|
4
4
|
|
|
5
|
+
## v2.2.1 - 2026-07-09
|
|
6
|
+
|
|
7
|
+
### Improved
|
|
8
|
+
|
|
9
|
+
- Strengthened `$scout` into a wider research harness with source mapping, evidence ledger, opposition pass, and blocked-source fallback guidance.
|
|
10
|
+
- Added `references/scout-wide-scan.md` for broad searches across tools, agent systems, protocols, harnesses, markets, and third-party ecosystems.
|
|
11
|
+
- Clarified that `insane-search` should be used as blocked-source acquisition for high-signal sources, not as Scout's default search path.
|
|
12
|
+
- Clarified that real subagent or parallel research lanes are explicit-only and should not turn ordinary scouting into `$mission`.
|
|
13
|
+
|
|
5
14
|
## v2.2.0 - 2026-07-07
|
|
6
15
|
|
|
7
16
|
### Added
|
package/package.json
CHANGED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Scout Wide Scan
|
|
2
|
+
|
|
3
|
+
Use this reference when `$scout` needs broad search, powerful outside patterns, ecosystem comparison, agent/harness discovery, or source-heavy direction setting.
|
|
4
|
+
|
|
5
|
+
## Activation
|
|
6
|
+
|
|
7
|
+
Use wide scan when the user asks for:
|
|
8
|
+
|
|
9
|
+
- Broad search or "find powerful patterns".
|
|
10
|
+
- Tool, library, agent, harness, protocol, or market landscape comparison.
|
|
11
|
+
- Third-party perspective before committing to a direction.
|
|
12
|
+
- Evidence from multiple source classes.
|
|
13
|
+
- Ideas worth reworking into yam style.
|
|
14
|
+
|
|
15
|
+
Do not use wide scan for:
|
|
16
|
+
|
|
17
|
+
- Stable direct answers.
|
|
18
|
+
- Small implementation tasks.
|
|
19
|
+
- Local code questions that a focused file read answers.
|
|
20
|
+
- Heavy verification; use `$deep`.
|
|
21
|
+
- Real subagent/team execution; use `$mission` unless the user explicitly asks for parallel agent work inside the current route and the environment supports it.
|
|
22
|
+
|
|
23
|
+
## Scan Lanes
|
|
24
|
+
|
|
25
|
+
1. Decision frame: name the decision, audience, constraints, and what would change the recommendation.
|
|
26
|
+
2. Source map: decide which source classes are needed before reading deeply.
|
|
27
|
+
3. Acquisition: gather enough sources; recover blocked high-signal sources only when needed.
|
|
28
|
+
4. Triage: rank sources by authority, freshness, relevance, bias, and directness.
|
|
29
|
+
5. Comparison: compare by fit, risk, cost, implementation effort, durability, and evidence quality.
|
|
30
|
+
6. Opposition pass: name the strongest argument against the preferred direction.
|
|
31
|
+
7. Synthesis: compress into a practical recommendation and yam-style rework ideas.
|
|
32
|
+
8. Evidence ledger: record the important claims, evidence, confidence, and uncertainty.
|
|
33
|
+
|
|
34
|
+
## Source Map
|
|
35
|
+
|
|
36
|
+
Prefer a small balanced map over a large pile:
|
|
37
|
+
|
|
38
|
+
- Official or primary source: docs, specs, vendor pages, source repos, standards.
|
|
39
|
+
- Implementation evidence: source code, examples, package metadata, changelogs, local files.
|
|
40
|
+
- Third-party analysis: credible writeups, benchmarks, incident reports, adoption notes.
|
|
41
|
+
- Community evidence: issues, forum posts, social reports, user complaints; useful but lower trust.
|
|
42
|
+
- Contrarian source: the best reason the attractive option may be wrong.
|
|
43
|
+
- Local evidence: project constraints, existing route boundaries, installed tools, package scripts.
|
|
44
|
+
|
|
45
|
+
Default focused scout remains 3-7 high-signal sources. Wide scan may use more, but stop once the decision is supported and marginal sources repeat what is already known.
|
|
46
|
+
|
|
47
|
+
## Acquisition Ladder
|
|
48
|
+
|
|
49
|
+
1. Use local project context packs and relevant local files first when the decision is project-specific.
|
|
50
|
+
2. Use official or primary docs for current SDK/API/cloud-service behavior.
|
|
51
|
+
3. Use ordinary web search or documentation search for accessible external sources.
|
|
52
|
+
4. Use platform-specific public APIs or feeds when they are cleaner than rendered pages.
|
|
53
|
+
5. Use blocked-source fallback only for high-signal sources that ordinary access cannot read.
|
|
54
|
+
|
|
55
|
+
Blocked-source fallback:
|
|
56
|
+
|
|
57
|
+
- Treat `insane-search` as a source acquisition subroutine.
|
|
58
|
+
- Use it for blocked/WAF/platform-protected sources such as X, Reddit, YouTube, Naver, LinkedIn, Medium, Substack, or similar pages when they matter to the decision.
|
|
59
|
+
- Preserve provenance: original URL, access path, trace or fallback note, and whether the content came from API, cache, feed, rendered HTML, or archive.
|
|
60
|
+
- Do not use it for ordinary searches that normal web search can handle.
|
|
61
|
+
- Do not treat authentication, paywall, private data, or rate-limit boundaries as something to force through.
|
|
62
|
+
|
|
63
|
+
## Evidence Ledger
|
|
64
|
+
|
|
65
|
+
Use a compact ledger for broad scans:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
Claim:
|
|
69
|
+
Evidence:
|
|
70
|
+
Source class:
|
|
71
|
+
Confidence: high / medium / low
|
|
72
|
+
Uncertainty:
|
|
73
|
+
Decision impact:
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Keep the ledger short. Include only claims that materially shape the recommendation.
|
|
77
|
+
|
|
78
|
+
## Parallel Research
|
|
79
|
+
|
|
80
|
+
Scout stays single-agent by default.
|
|
81
|
+
|
|
82
|
+
Use real subagents or parallel agent lanes only when all are true:
|
|
83
|
+
|
|
84
|
+
- The user explicitly asked for subagents, delegation, or parallel agent work.
|
|
85
|
+
- The available environment provides real subagent tools.
|
|
86
|
+
- The questions are independent and self-contained.
|
|
87
|
+
- The results can be summarized without flooding the main context.
|
|
88
|
+
|
|
89
|
+
Good lanes:
|
|
90
|
+
|
|
91
|
+
- Official/docs lane.
|
|
92
|
+
- Implementation/source lane.
|
|
93
|
+
- Community/contrarian lane.
|
|
94
|
+
- Security/risk lane.
|
|
95
|
+
|
|
96
|
+
Bad lanes:
|
|
97
|
+
|
|
98
|
+
- Multiple agents reading the same sources.
|
|
99
|
+
- Delegating the immediate blocking question.
|
|
100
|
+
- Role-playing subagents when no real subagent tool is available.
|
|
101
|
+
- Turning a normal scout into `$mission`.
|
|
102
|
+
|
|
103
|
+
## Opposition Pass
|
|
104
|
+
|
|
105
|
+
Before the recommendation, ask:
|
|
106
|
+
|
|
107
|
+
- What would make the best pick fail in this project?
|
|
108
|
+
- Which source is least trustworthy or most stale?
|
|
109
|
+
- What is the strongest cheaper/simpler alternative?
|
|
110
|
+
- What security or operational risk is easy to miss?
|
|
111
|
+
- What would we need to verify before implementation?
|
|
112
|
+
|
|
113
|
+
Report the opposition pass briefly. It should sharpen the recommendation, not bury it.
|
|
114
|
+
|
|
115
|
+
## Output
|
|
116
|
+
|
|
117
|
+
Use the normal Scout shape, adding only the sections that help:
|
|
118
|
+
|
|
119
|
+
- Best pick.
|
|
120
|
+
- Objective judgment.
|
|
121
|
+
- Subjective judgment.
|
|
122
|
+
- Macro / realistic / future view.
|
|
123
|
+
- Alternatives.
|
|
124
|
+
- Risks.
|
|
125
|
+
- Security lens.
|
|
126
|
+
- Opposition pass.
|
|
127
|
+
- Evidence ledger.
|
|
128
|
+
- Ideas to rework into yam style.
|
|
129
|
+
- Sources or local evidence.
|
|
130
|
+
- Remaining tasks.
|
|
131
|
+
|
|
132
|
+
## Source Clarity
|
|
133
|
+
|
|
134
|
+
When outside systems shape the answer, preserve boundaries:
|
|
135
|
+
|
|
136
|
+
- Fact: what the source says or what local files show.
|
|
137
|
+
- Inference: what follows from comparing sources.
|
|
138
|
+
- Opinion: taste, product instinct, or likely user perception.
|
|
139
|
+
- Recommendation: the action Scout would take.
|
|
140
|
+
|
|
141
|
+
Useful outside patterns to rework, not copy wholesale:
|
|
142
|
+
|
|
143
|
+
- Agent Skills: progressive disclosure through `SKILL.md` plus optional references/scripts/assets.
|
|
144
|
+
- Deep Research: multi-step search, backtracking, citations, and synthesis.
|
|
145
|
+
- Coding-agent subagents: isolated read-only research lanes for context-heavy side tasks.
|
|
146
|
+
- Agents SDK-style guardrails and tracing: lightweight checks and evidence records around runs.
|
|
147
|
+
- Deep Agents-style harnesses: planning, context offloading, subagents, memory, and human checkpoints.
|
|
148
|
+
- MCP/ACP-style protocols: standard tool/resource discovery and agent-client boundaries.
|
|
149
|
+
|
|
150
|
+
Keep yam's bias: start with momentum, deepen deliberately, stay security-first, and avoid always-on orchestration.
|
package/references/scout.md
CHANGED
|
@@ -14,15 +14,20 @@ Use for:
|
|
|
14
14
|
- Macro, realistic, and future-facing direction checks.
|
|
15
15
|
- Security-centered direction checks.
|
|
16
16
|
- Reference scans that find useful patterns to rework into yam style.
|
|
17
|
+
- Wide scans across tools, agent systems, protocols, harnesses, markets, or third-party ecosystems.
|
|
17
18
|
|
|
18
19
|
Default behavior:
|
|
19
20
|
|
|
20
21
|
- Define the decision clearly.
|
|
21
22
|
- Prefer official or primary sources.
|
|
22
23
|
- Gather 3-7 high-signal references for focused scouting, or more when the user asks for a wide scan.
|
|
24
|
+
- For wide scans, build a source map before deep reading: official/primary, implementation evidence, third-party analysis, community evidence, contrarian sources, and local evidence.
|
|
23
25
|
- Use current docs proof only for modern SDK/API/cloud-service behavior where stale knowledge is plausible.
|
|
26
|
+
- Use blocked-source fallback only when a high-signal source is blocked or platform-protected; treat `insane-search` as source acquisition, not as the default search path.
|
|
24
27
|
- Summarize options and recommendation.
|
|
25
28
|
- Separate fact, inference, opinion, and recommendation.
|
|
29
|
+
- Use a compact evidence ledger for broad recommendations.
|
|
30
|
+
- Run an opposition pass when false confidence would make the recommendation brittle.
|
|
26
31
|
- Keep source boundaries clear: cite what was read and do not present reference-derived judgment as direct verification.
|
|
27
32
|
- Put security before convenience: auth, payment, DB, secrets, permissions, deployment, supply chain, and public release get called out early.
|
|
28
33
|
- Do not change code unless the user asks.
|
|
@@ -36,9 +41,13 @@ Judgment format:
|
|
|
36
41
|
- Future view: second-order effects, durability, and what may age well or badly.
|
|
37
42
|
- Security view: sensitive surfaces, safer defaults, failure modes, and what a non-specialist might miss.
|
|
38
43
|
- Rework view: what ideas should be adapted into yam style and what should be rejected.
|
|
44
|
+
- Evidence view: important claim, source class, confidence, uncertainty, and decision impact.
|
|
45
|
+
- Opposition view: the strongest reason the preferred direction could be wrong.
|
|
39
46
|
|
|
40
47
|
Escalate:
|
|
41
48
|
|
|
42
49
|
- Use `question` for direct answers that do not need sources.
|
|
43
50
|
- Use `deep` only when the user asks for heavy verification.
|
|
44
51
|
- Use implementation routes only after the user asks to change code.
|
|
52
|
+
|
|
53
|
+
For broad scan mechanics, use `references/scout-wide-scan.md`.
|
package/skills/scout/SKILL.md
CHANGED
|
@@ -16,6 +16,7 @@ Use for:
|
|
|
16
16
|
- Objective and subjective evaluation together.
|
|
17
17
|
- Macro, realistic, and future-facing judgment.
|
|
18
18
|
- Broad reference scans when the user needs wider perspective.
|
|
19
|
+
- Wide search across source classes, markets, tools, harnesses, agent patterns, or third-party ecosystems.
|
|
19
20
|
- Security-centered direction checks before implementation.
|
|
20
21
|
- Finding patterns worth reworking into yam style.
|
|
21
22
|
|
|
@@ -31,6 +32,11 @@ Use for:
|
|
|
31
32
|
- Do not change code unless the user asks.
|
|
32
33
|
- Return a practical recommendation.
|
|
33
34
|
- Separate fact, inference, opinion, and recommendation.
|
|
35
|
+
- Use an evidence ledger for wide scans: claim, source or local evidence, confidence, and uncertainty.
|
|
36
|
+
- Run an opposition pass for broad recommendations: name the strongest reason the preferred direction may be wrong.
|
|
37
|
+
- Use blocked-source acquisition only when a high-signal source is blocked, protected by WAF, or hosted on a platform that ordinary fetch cannot read.
|
|
38
|
+
- Treat `insane-search` as a source acquisition subroutine, not as Scout's default search path.
|
|
39
|
+
- Use real subagents or parallel agent lanes only when the user explicitly asks for delegation, subagents, or parallel agent work and the environment supports it.
|
|
34
40
|
- Treat "objective" as evidence plus constraints, not certainty theater.
|
|
35
41
|
- Treat "subjective" as named taste, product instinct, and likely user perception.
|
|
36
42
|
- Security is the first lens: call out auth, payment, DB, secrets, permission, deployment, supply-chain, and public-release risks early.
|
|
@@ -46,13 +52,17 @@ Use for:
|
|
|
46
52
|
- design/reference scan
|
|
47
53
|
- product/technical direction memo
|
|
48
54
|
- risk discovery
|
|
55
|
+
- wide scan
|
|
49
56
|
3. Read `yam.project.md` first when project direction matters.
|
|
50
57
|
4. Gather enough high-signal sources to support the decision; keep source quality higher than source volume.
|
|
51
|
-
5.
|
|
52
|
-
6.
|
|
53
|
-
7.
|
|
54
|
-
8.
|
|
55
|
-
9.
|
|
58
|
+
5. For wide scans, build a source map before deep reading: official/primary, implementation evidence, third-party analysis, community reports, contrarian sources, and local evidence.
|
|
59
|
+
6. Recover blocked high-signal sources through the blocked-source fallback only when ordinary access fails or is predictably blocked.
|
|
60
|
+
7. Compare options by fit, risk, cost, implementation effort, durability, and evidence quality.
|
|
61
|
+
8. Identify security and trust implications before convenience or aesthetics.
|
|
62
|
+
9. Give both objective and subjective judgment when useful.
|
|
63
|
+
10. Run an opposition pass when making a broad recommendation.
|
|
64
|
+
11. Recommend a direction and which ideas are worth reworking into yam style.
|
|
65
|
+
12. State uncertainty and what would change the recommendation.
|
|
56
66
|
|
|
57
67
|
## Output
|
|
58
68
|
|
|
@@ -65,6 +75,8 @@ Use concise sections:
|
|
|
65
75
|
- Alternatives.
|
|
66
76
|
- Risks.
|
|
67
77
|
- Security lens.
|
|
78
|
+
- Evidence ledger.
|
|
79
|
+
- Opposition pass.
|
|
68
80
|
- Ideas to rework into yam style.
|
|
69
81
|
- Sources or local evidence.
|
|
70
82
|
- Remaining tasks or useful next improvements.
|
|
@@ -72,6 +84,7 @@ Use concise sections:
|
|
|
72
84
|
Use `references/token-economy.md`; default to 3-7 high-signal sources unless the user asks for a broad research scan.
|
|
73
85
|
Use `references/current-docs.md` for current SDK/API/cloud-service questions.
|
|
74
86
|
Use `references/context-reuse.md`; do not rescout known decisions unless they may be stale.
|
|
87
|
+
Use `references/scout-wide-scan.md` when the user asks for broad search, powerful outside patterns, harness/agent comparisons, or ecosystem scans.
|
|
75
88
|
Use `references/markdown-management.md` before creating or updating project packs.
|
|
76
89
|
Use `references/final-report.md` to close with remaining tasks and fix-first items when useful.
|
|
77
90
|
Use `references/token-budget-reporter.md` when a run needs measured budget feedback.
|
package/yam.manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yam",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"principles": [
|
|
5
5
|
"Direction before execution.",
|
|
6
6
|
"Start fast.",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"id": "scout",
|
|
39
|
-
"stage": "v0.
|
|
40
|
-
"purpose": "
|
|
39
|
+
"stage": "v0.2",
|
|
40
|
+
"purpose": "Investigation, wide search, evidence-led source mapping, blocked-source fallback, opposition pass, and recommendation without code changes by default."
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"id": "deep",
|