yadflow 4.10.0 → 4.12.0
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 +152 -0
- package/README.md +14 -3
- package/bin/commands.mjs +7 -1
- package/bin/yad.mjs +163 -16
- package/cli/agent-guard-worker.mjs +13 -0
- package/cli/agent-guard.mjs +1053 -57
- package/cli/agent-rules.mjs +59 -3
- package/cli/argv-flags.mjs +2 -2
- package/cli/brain/vendor/LICENSE-graphology-library.txt +21 -0
- package/cli/brain/vendor/LICENSE-graphology.txt +21 -0
- package/cli/brain/vendor/LICENSE-sigma.txt +12 -0
- package/cli/brain/vendor/graphology-library.min.js +2 -0
- package/cli/brain/vendor/graphology.umd.min.js +2 -0
- package/cli/brain/vendor/sigma.min.js +1369 -0
- package/cli/brain/view/app.js +382 -0
- package/cli/brain/view/index.html +63 -0
- package/cli/brain/view/live.css +228 -0
- package/cli/brain/view/live.html +110 -0
- package/cli/brain/view/live.js +884 -0
- package/cli/brain/view/style.css +141 -0
- package/cli/brain-about.mjs +206 -0
- package/cli/brain-activity.mjs +285 -0
- package/cli/brain-skills.mjs +118 -0
- package/cli/brain-vendor.mjs +71 -0
- package/cli/brain-view.mjs +345 -0
- package/cli/brain.mjs +810 -0
- package/cli/brand-cmd.mjs +326 -0
- package/cli/brand.mjs +327 -0
- package/cli/ci-check.mjs +3 -3
- package/cli/doctor.mjs +145 -14
- package/cli/epic-state.mjs +93 -1
- package/cli/epic.mjs +15 -3
- package/cli/errors.mjs +2 -1
- package/cli/find-product.mjs +69 -15
- package/cli/foundation-publish.mjs +256 -0
- package/cli/gate.mjs +29 -3
- package/cli/git-read.mjs +38 -0
- package/cli/guard-stream.mjs +409 -0
- package/cli/guide.mjs +26 -3
- package/cli/hook.mjs +59 -9
- package/cli/issues-act.mjs +57 -13
- package/cli/issues-write.mjs +19 -6
- package/cli/issues.mjs +69 -24
- package/cli/lib.mjs +37 -2
- package/cli/local-page.mjs +138 -0
- package/cli/local-setup-record.mjs +71 -0
- package/cli/local-setup-steps.mjs +186 -0
- package/cli/local-setup.mjs +611 -0
- package/cli/machine.mjs +1 -1
- package/cli/manifest.mjs +55 -0
- package/cli/map/view/app.js +712 -0
- package/cli/map/view/index.html +50 -0
- package/cli/map/view/style.css +142 -0
- package/cli/map-view.mjs +190 -0
- package/cli/map.mjs +637 -0
- package/cli/members.mjs +9 -15
- package/cli/next.mjs +1 -1
- package/cli/openpr.mjs +2 -2
- package/cli/plain-text.mjs +22 -0
- package/cli/plan.mjs +310 -36
- package/cli/platform.mjs +5 -5
- package/cli/product-index.mjs +1 -1
- package/cli/protection.mjs +32 -0
- package/cli/reconcile.mjs +61 -13
- package/cli/report.mjs +9 -3
- package/cli/reports-dir.mjs +393 -0
- package/cli/reports.mjs +65 -0
- package/cli/run-checks.mjs +5 -2
- package/cli/scan.mjs +4 -6
- package/cli/secret-text.mjs +66 -0
- package/cli/setup.mjs +54 -8
- package/cli/standup.mjs +94 -72
- package/cli/status.mjs +6 -5
- package/cli/test-agents-file.mjs +614 -8
- package/cli/test-brain-activity.mjs +753 -0
- package/cli/test-brain-view.mjs +381 -0
- package/cli/test-brain.mjs +795 -0
- package/cli/test-brand.mjs +558 -0
- package/cli/test-guide.mjs +438 -0
- package/cli/test-local-setup.mjs +1188 -0
- package/cli/test-machine.mjs +59 -0
- package/cli/test-map.mjs +615 -0
- package/cli/test-reports.mjs +382 -0
- package/cli/test-run-checks.mjs +4 -0
- package/cli/test-worktree.mjs +24 -3
- package/cli/toolbox-connect.mjs +21 -6
- package/cli/toolbox.mjs +74 -5
- package/cli/update-commit.mjs +118 -9
- package/cli/usage.mjs +17 -7
- package/cli/workspace.mjs +11 -2
- package/package.json +8 -4
- package/skills/sdlc/module-help.csv +1 -0
- package/skills/yad-architecture/SKILL.md +22 -4
- package/skills/yad-brand/SKILL.md +69 -0
- package/skills/yad-change/SKILL.md +3 -1
- package/skills/yad-change/references/triage.md +2 -0
- package/skills/yad-checks/SKILL.md +2 -0
- package/skills/yad-checks/references/check-gates.md +8 -5
- package/skills/yad-checks/templates/checks/build-test-lint.sh +7 -0
- package/skills/yad-checks/templates/checks/install-deps.sh +6 -0
- package/skills/yad-checks/templates/checks/package-manager.sh +42 -0
- package/skills/yad-checks/templates/github/yad-checks.yml +3 -2
- package/skills/yad-checks/templates/gitlab/yad-checks.gitlab-ci.yml +3 -2
- package/skills/yad-checks/templates/hooks/local-setup-notice.mjs +96 -0
- package/skills/yad-checks/templates/hooks/yad-activity.mjs +238 -0
- package/skills/yad-connect-repos/SKILL.md +14 -0
- package/skills/yad-discovery/SKILL.md +11 -0
- package/skills/yad-discovery/references/foundation-schema.md +11 -0
- package/skills/yad-docs/templates/app/package-lock.json +18 -10
- package/skills/yad-docs/templates/app/package.json +6 -1
- package/skills/yad-epic/SKILL.md +3 -0
- package/skills/yad-epic/references/state-schema.md +35 -1
- package/skills/yad-guide/SKILL.md +10 -7
- package/skills/yad-implement/SKILL.md +76 -15
- package/skills/yad-issues/SKILL.md +2 -1
- package/skills/yad-pr-template/templates/checks/pr-template.sh +8 -4
- package/skills/yad-pr-template/templates/checks/pr-title.sh +8 -4
- package/skills/yad-spec/SKILL.md +19 -0
- package/skills/yad-stories/SKILL.md +22 -4
- package/skills/yad-stories/references/story-schema.md +1 -1
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self' data:; font-src data:; connect-src 'self'; base-uri 'none'; form-action 'none'">
|
|
7
|
+
<meta name="referrer" content="no-referrer">
|
|
8
|
+
<title>Project brain, live</title>
|
|
9
|
+
<link rel="stylesheet" href="style.css?t=__TOKEN__">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<canvas id="stars" class="stars" aria-hidden="true"></canvas>
|
|
13
|
+
<header class="bar">
|
|
14
|
+
<div class="mark">
|
|
15
|
+
<span id="pulse" class="pulse" aria-hidden="true"></span>
|
|
16
|
+
<span id="mode" class="mode">Connecting</span>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="where">
|
|
19
|
+
<span id="where-story" class="where-story">No task yet</span>
|
|
20
|
+
<span id="where-task" class="where-task"></span>
|
|
21
|
+
</div>
|
|
22
|
+
<p class="limit" title="The record holds tool calls and file paths only: never prompts, reasoning, file content, search terms or command text.">Shows what the agent did, not why</p>
|
|
23
|
+
</header>
|
|
24
|
+
|
|
25
|
+
<main class="deck">
|
|
26
|
+
<section class="now" aria-labelledby="now-h">
|
|
27
|
+
<h2 id="now-h" class="sr-only">Now</h2>
|
|
28
|
+
<div id="now-op" class="now-op">Waiting</div>
|
|
29
|
+
<div id="now-path" class="now-path is-quiet">for the agent's first move</div>
|
|
30
|
+
<div id="now-when" class="now-when"></div>
|
|
31
|
+
<p id="now-say" class="sr-only" aria-live="polite"></p>
|
|
32
|
+
<ul class="tally" aria-label="What the agent did in this window">
|
|
33
|
+
<li data-op="read"><span class="tally-n" id="n-read">0</span><span class="tally-l">files read</span><canvas class="spark" id="sp-read" width="120" height="26" aria-hidden="true"></canvas></li>
|
|
34
|
+
<li data-op="search"><span class="tally-n" id="n-search">0</span><span class="tally-l">searches</span><canvas class="spark" id="sp-search" width="120" height="26" aria-hidden="true"></canvas></li>
|
|
35
|
+
<li data-op="edit"><span class="tally-n" id="n-edit">0</span><span class="tally-l">edits</span><canvas class="spark" id="sp-edit" width="120" height="26" aria-hidden="true"></canvas></li>
|
|
36
|
+
<li data-op="run"><span class="tally-n" id="n-run">0</span><span class="tally-l">commands</span><canvas class="spark" id="sp-run" width="120" height="26" aria-hidden="true"></canvas></li>
|
|
37
|
+
</ul>
|
|
38
|
+
<div class="sessions" id="sessions" hidden>
|
|
39
|
+
<label for="session">Session</label>
|
|
40
|
+
<select id="session"><option value="">Every session</option></select>
|
|
41
|
+
</div>
|
|
42
|
+
</section>
|
|
43
|
+
|
|
44
|
+
<section class="sky" aria-label="The brain, lit by what the agent touches">
|
|
45
|
+
<div id="graph" class="graph"></div>
|
|
46
|
+
<canvas id="fx" class="fx" aria-hidden="true"></canvas>
|
|
47
|
+
<div id="empty" class="empty" hidden>
|
|
48
|
+
<div class="empty-ring" aria-hidden="true"></div>
|
|
49
|
+
<p id="empty-title" class="empty-title">Waiting for the agent</p>
|
|
50
|
+
<p id="empty-hint" class="empty-hint">Start a task in Claude Code or Cursor. Each file it reads, searches or edits will light up here.</p>
|
|
51
|
+
</div>
|
|
52
|
+
<div id="inspect" class="inspect" hidden></div>
|
|
53
|
+
<div class="sky-tools" role="group" aria-label="View">
|
|
54
|
+
<button type="button" id="t-follow" class="tool" aria-pressed="true" title="Move the view to each node the agent touches (F)">Follow</button>
|
|
55
|
+
<button type="button" id="t-heat" class="tool" aria-pressed="true" title="Keep a glow where the agent has worked (H)">Heat</button>
|
|
56
|
+
<button type="button" id="t-fit" class="tool" title="Show the whole brain">Fit</button>
|
|
57
|
+
</div>
|
|
58
|
+
<p id="toast" class="toast" role="status" hidden></p>
|
|
59
|
+
</section>
|
|
60
|
+
|
|
61
|
+
<section class="plan" aria-labelledby="plan-h">
|
|
62
|
+
<h2 id="plan-h" class="plan-h">Plan and reality</h2>
|
|
63
|
+
<div id="plan-task" class="plan-task">
|
|
64
|
+
<p class="quiet">When the agent touches a file a task declares, that task shows here with its files.</p>
|
|
65
|
+
</div>
|
|
66
|
+
<div id="plan-out" class="plan-out" hidden>
|
|
67
|
+
<h3>Edited outside the plan</h3>
|
|
68
|
+
<p class="quiet small">No task of this story declares these files.</p>
|
|
69
|
+
<ul id="plan-out-list" class="paths"></ul>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="plan-touched">
|
|
72
|
+
<h3><span id="touched-n">0</span> files touched</h3>
|
|
73
|
+
<details id="unmapped" hidden>
|
|
74
|
+
<summary><span id="unmapped-n">0</span> not in the brain</summary>
|
|
75
|
+
<ul id="unmapped-list" class="paths"></ul>
|
|
76
|
+
</details>
|
|
77
|
+
</div>
|
|
78
|
+
<p id="rebuilt" class="note" hidden>The brain was rebuilt since this page opened. Reload it to match.</p>
|
|
79
|
+
</section>
|
|
80
|
+
</main>
|
|
81
|
+
|
|
82
|
+
<footer class="river" aria-label="Timeline">
|
|
83
|
+
<div class="river-tools">
|
|
84
|
+
<button type="button" id="r-play" class="tool" title="Play from here (Space)">Play</button>
|
|
85
|
+
<div class="speeds" role="group" aria-label="Speed">
|
|
86
|
+
<button type="button" class="tool speed" data-speed="1" aria-pressed="true">1×</button>
|
|
87
|
+
<button type="button" class="tool speed" data-speed="4" aria-pressed="false">4×</button>
|
|
88
|
+
<button type="button" class="tool speed" data-speed="16" aria-pressed="false">16×</button>
|
|
89
|
+
</div>
|
|
90
|
+
<button type="button" id="r-live" class="tool tool-live" title="Back to now (L)">Live</button>
|
|
91
|
+
<div class="spans" role="group" aria-label="How far back">
|
|
92
|
+
<button type="button" class="tool span" data-span="session" aria-pressed="true">This session</button>
|
|
93
|
+
<button type="button" class="tool span" data-span="all" aria-pressed="false" title="Everything recorded in the last 14 days, up to the newest 20,000 actions">Everything kept</button>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="river-wrap">
|
|
97
|
+
<canvas id="river" class="river-canvas" tabindex="0" aria-label="Timeline: drag to replay, arrow keys to step"></canvas>
|
|
98
|
+
<div id="river-tip" class="river-tip" hidden></div>
|
|
99
|
+
</div>
|
|
100
|
+
<div class="river-ends"><span id="river-from"></span><span id="river-to"></span></div>
|
|
101
|
+
</footer>
|
|
102
|
+
<!--SCRIPTS-->
|
|
103
|
+
<!--SERVED:start-->
|
|
104
|
+
<script src="vendor/graphology.umd.min.js?t=__TOKEN__"></script>
|
|
105
|
+
<script src="vendor/graphology-library.min.js?t=__TOKEN__"></script>
|
|
106
|
+
<script src="vendor/sigma.min.js?t=__TOKEN__"></script>
|
|
107
|
+
<script src="app.js?t=__TOKEN__"></script>
|
|
108
|
+
<!--SERVED:end-->
|
|
109
|
+
</body>
|
|
110
|
+
</html>
|