@aarwitz/tapp 0.17.26 → 0.18.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/.claude-plugin/plugin.json +2 -2
- package/AGENTS.md +43 -44
- package/README.md +32 -42
- package/bin/tapp.js +168 -99
- package/browser/app.css +220 -208
- package/browser/app.js +173 -20
- package/browser/index.html +118 -57
- package/browser/tokens.css +33 -25
- package/docs/BROWSER-PRODUCT.md +16 -8
- package/docs/BUSINESS-WORKFLOWS.md +134 -0
- package/docs/PRODUCT-ENGINE.md +5 -0
- package/mcp-server/src/browser-product.js +15 -3
- package/mcp-server/src/business-observation.d.ts +2 -0
- package/mcp-server/src/business-observation.js +25 -0
- package/mcp-server/src/business-workflow-files.js +36 -0
- package/mcp-server/src/business-workflow-runtime.js +47 -0
- package/mcp-server/src/business-workflows.d.ts +50 -0
- package/mcp-server/src/business-workflows.js +169 -0
- package/mcp-server/src/environment-capabilities.d.ts +16 -0
- package/mcp-server/src/environment-capabilities.js +78 -0
- package/mcp-server/src/index.js +546 -794
- package/mcp-server/src/product-operations.js +3 -1
- package/mcp-server/src/public-network.js +65 -0
- package/mcp-server/src/web-audit.js +131 -20
- package/mcp-server/src/web-explorer.js +119 -23
- package/mcp-server/src/web-flow.js +17 -4
- package/package.json +7 -1
- package/scripts/run-web-flow.js +4 -0
- package/skills/tapp/SKILL.md +14 -13
- package/skills/tapp/references/commands.md +73 -57
package/browser/index.html
CHANGED
|
@@ -11,20 +11,29 @@
|
|
|
11
11
|
<link rel="stylesheet" href="./assets/app.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
|
14
|
-
<
|
|
15
|
-
<
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
<svg hidden aria-hidden="true" xmlns="http://www.w3.org/2000/svg">
|
|
15
|
+
<symbol id="i-grid" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2" y="2" width="5" height="5" rx="1"/><rect x="9" y="2" width="5" height="5" rx="1"/><rect x="2" y="9" width="5" height="5" rx="1"/><rect x="9" y="9" width="5" height="5" rx="1"/></symbol>
|
|
16
|
+
<symbol id="i-play" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="8" cy="8" r="6.25"/><path d="M6.5 5.5v5l4-2.5z" fill="currentColor" stroke="none"/></symbol>
|
|
17
|
+
<symbol id="i-warn" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"><path d="M8 2.5 14 13H2z"/><path d="M8 6.5v3M8 11.3v.2"/></symbol>
|
|
18
|
+
<symbol id="i-map" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"><path d="M2 4l4-1.5 4 1.5 4-1.5v10l-4 1.5-4-1.5-4 1.5z"/><path d="M6 2.5v10M10 4v10"/></symbol>
|
|
19
|
+
<symbol id="i-check" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 8.5l3 3 7-7"/></symbol>
|
|
20
|
+
<symbol id="i-gear" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="8" cy="8" r="2.25"/><path d="M8 1.75v2M8 12.25v2M1.75 8h2M12.25 8h2M3.6 3.6l1.4 1.4M11 11l1.4 1.4M3.6 12.4 5 11M11 5l1.4-1.4"/></symbol>
|
|
21
|
+
<symbol id="i-folder" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M2 4.5A1.5 1.5 0 0 1 3.5 3h3l1.5 1.5h4.5A1.5 1.5 0 0 1 14 6v5.5A1.5 1.5 0 0 1 12.5 13h-9A1.5 1.5 0 0 1 2 11.5z"/></symbol>
|
|
22
|
+
<symbol id="i-branch" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="4" cy="3.5" r="1.5"/><circle cx="4" cy="12.5" r="1.5"/><circle cx="12" cy="5" r="1.5"/><path d="M4 5v6M12 6.5c0 3-8 2-8 4.5"/></symbol>
|
|
23
|
+
<symbol id="i-server" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2" y="2.5" width="12" height="4.5" rx="1"/><rect x="2" y="9" width="12" height="4.5" rx="1"/><path d="M4.5 4.75h.01M4.5 11.25h.01"/></symbol>
|
|
24
|
+
<symbol id="i-target" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="8" cy="8" r="5.5"/><circle cx="8" cy="8" r="2"/></symbol>
|
|
25
|
+
<symbol id="i-app" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="3" y="2" width="10" height="12" rx="2"/><path d="M6.5 12h3"/></symbol>
|
|
26
|
+
</svg>
|
|
22
27
|
|
|
23
28
|
<main class="source-onboarding hidden" id="source-onboarding">
|
|
29
|
+
<header class="onboarding-topbar">
|
|
30
|
+
<button class="brand" data-brand-home aria-label="Tapp overview">tapp<span class="brand-mark"></span><small>release confidence</small></button>
|
|
31
|
+
<span class="mode-pill" id="onboarding-mode-pill">Local engine</span>
|
|
32
|
+
</header>
|
|
24
33
|
<section class="welcome-copy">
|
|
25
|
-
<p class="eyebrow">
|
|
34
|
+
<p class="eyebrow">Release contracts for real applications</p>
|
|
26
35
|
<h1>Bring the product.<br>Tapp builds the proof.</h1>
|
|
27
|
-
<p>Connect a repository once. Tapp detects its targets, builds and explores the real application, maps what users can do, proposes the business journeys worth protecting, and installs deterministic release gates.</p>
|
|
36
|
+
<p>Connect a repository once. Tapp detects its targets, builds and explores the real application, maps what users can do, proposes the business journeys worth protecting, and installs deterministic release gates. A website alone can be explored and recorded, but only source gives a release verdict.</p>
|
|
28
37
|
<div class="platform-row" aria-label="Supported target platforms">
|
|
29
38
|
<span>iOS</span><span>Android</span><span>Web</span>
|
|
30
39
|
</div>
|
|
@@ -32,15 +41,17 @@
|
|
|
32
41
|
|
|
33
42
|
<section class="source-choices" aria-label="Connect a repository">
|
|
34
43
|
<article class="source-card local-runner-card">
|
|
44
|
+
<span class="source-layer">Repository</span>
|
|
35
45
|
<div class="source-icon">⌘</div>
|
|
36
|
-
<p class="eyebrow">
|
|
46
|
+
<p class="eyebrow">This Mac</p>
|
|
37
47
|
<h2>Run from your checkout</h2>
|
|
38
48
|
<p>Your source never uploads. Tapp builds with local Xcode and drives your local simulator, while the web app shows progress and evidence.</p>
|
|
39
49
|
<div id="local-repositories"><small>Looking for connected Mac repositories…</small></div>
|
|
40
50
|
</article>
|
|
41
51
|
<article class="source-card drop-zone" id="repository-drop-zone" tabindex="0">
|
|
52
|
+
<span class="source-layer">Repository</span>
|
|
42
53
|
<div class="source-icon">↥</div>
|
|
43
|
-
<p class="eyebrow">
|
|
54
|
+
<p class="eyebrow">Cloud copy</p>
|
|
44
55
|
<h2>Upload a project folder</h2>
|
|
45
56
|
<p>Upload an isolated working copy from this computer. Committed hidden config (like <code>.tapp/</code>) is included; dependency and build output folders are skipped.</p>
|
|
46
57
|
<button class="primary" id="browse-folder">Browse folder</button>
|
|
@@ -48,13 +59,23 @@
|
|
|
48
59
|
<small>For direct edits to an existing checkout, start with <code>tapp app /path/to/repo</code>.</small>
|
|
49
60
|
</article>
|
|
50
61
|
<article class="source-card github-card">
|
|
62
|
+
<span class="source-layer">Repository</span>
|
|
51
63
|
<div class="source-icon github-icon">⌘</div>
|
|
52
|
-
<p class="eyebrow">
|
|
64
|
+
<p class="eyebrow">GitHub</p>
|
|
53
65
|
<h2>Connect to GitHub</h2>
|
|
54
66
|
<p id="github-source-copy">Select one of the repositories authorized by your local GitHub session. Tapp clones an isolated checkout and never pushes silently.</p>
|
|
55
67
|
<button class="secondary" id="connect-github">Choose repository</button>
|
|
56
68
|
<small id="github-source-note">Local preview uses <code>gh auth</code>. Hosted Tapp will use repository-scoped GitHub App authorization.</small>
|
|
57
69
|
</article>
|
|
70
|
+
<article class="source-card website-card" id="website-card">
|
|
71
|
+
<span class="source-layer">Website</span>
|
|
72
|
+
<div class="source-icon">⌁</div>
|
|
73
|
+
<p class="eyebrow">No source code</p>
|
|
74
|
+
<h2>Connect a website</h2>
|
|
75
|
+
<p id="website-source-copy">Explore, record, and check the journeys of an app you own from its public URL. Without source there is no release verdict — exploration observes; only the repository gate judges.</p>
|
|
76
|
+
<a class="button-link hidden" id="website-connect-link" href="/connect">Connect a website</a>
|
|
77
|
+
<small id="website-source-note">In the local Studio, website checks run from the CLI: <code>npx -y @aarwitz/tapp@latest explore https://example.com --read-only</code>. Website projects live in the hosted Studio.</small>
|
|
78
|
+
</article>
|
|
58
79
|
</section>
|
|
59
80
|
|
|
60
81
|
<div class="privacy-note"><strong id="privacy-note-title">Your code stays on this machine in local mode.</strong><span id="privacy-note-detail">Ordinary exploration, replay, and merge decisions are deterministic and require no API key.</span></div>
|
|
@@ -62,50 +83,90 @@
|
|
|
62
83
|
|
|
63
84
|
<div class="product-shell hidden" id="product-shell">
|
|
64
85
|
<aside class="sidebar">
|
|
65
|
-
<
|
|
66
|
-
|
|
67
|
-
<
|
|
86
|
+
<button class="brand" data-brand-home aria-label="Tapp overview">tapp<span class="brand-mark"></span></button>
|
|
87
|
+
<div class="project-menu">
|
|
88
|
+
<span class="project-avatar" id="project-avatar">T</span>
|
|
89
|
+
<select id="repository-switcher" class="repository-switcher hidden" aria-label="Current project"></select>
|
|
68
90
|
</div>
|
|
69
91
|
<nav class="primary-nav" aria-label="Product navigation">
|
|
70
|
-
<button data-view="overview" class="active"><span
|
|
71
|
-
<button data-view="runs"><span
|
|
72
|
-
<button data-view="findings"><span
|
|
73
|
-
<button data-view="coverage"><span
|
|
74
|
-
<button data-view="contracts"><span
|
|
75
|
-
<button data-view="settings"><span
|
|
92
|
+
<button data-view="overview" class="active"><span><svg><use href="#i-grid"/></svg></span>Overview</button>
|
|
93
|
+
<button data-view="runs"><span><svg><use href="#i-play"/></svg></span>Runs <i id="run-count" class="zero">0</i></button>
|
|
94
|
+
<button data-view="findings"><span><svg><use href="#i-warn"/></svg></span>Findings <i id="finding-count" class="zero">0</i></button>
|
|
95
|
+
<button data-view="coverage"><span><svg><use href="#i-map"/></svg></span>Coverage</button>
|
|
96
|
+
<button data-view="contracts"><span><svg><use href="#i-check"/></svg></span>Contracts <i id="contract-count" class="zero">0</i></button>
|
|
97
|
+
<button data-view="settings"><span><svg><use href="#i-gear"/></svg></span>Settings</button>
|
|
76
98
|
</nav>
|
|
77
|
-
<div class="sidebar-
|
|
78
|
-
<p class="eyebrow">
|
|
79
|
-
<strong id="sidebar-
|
|
80
|
-
<
|
|
99
|
+
<div class="sidebar-project">
|
|
100
|
+
<p class="eyebrow">Project</p>
|
|
101
|
+
<div class="row"><span><svg><use href="#i-folder"/></svg></span><span><strong id="sidebar-project-name">Product</strong></span></div>
|
|
102
|
+
<div class="row"><span><svg><use href="#i-branch"/></svg></span><span id="sidebar-project-source">Repository</span></div>
|
|
103
|
+
<div class="row"><span><svg><use href="#i-target"/></svg></span><span id="sidebar-target">Select a target</span></div>
|
|
104
|
+
<div class="row"><span><svg><use href="#i-server"/></svg></span><span id="sidebar-runner">Runner not checked</span></div>
|
|
105
|
+
<div class="row hidden" id="sidebar-app-row"><span><svg><use href="#i-app"/></svg></span><span><code id="sidebar-app-id"></code></span></div>
|
|
106
|
+
<span class="mode-pill" id="mode-pill">Local engine</span>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="sidebar-footer">
|
|
109
|
+
<button class="quiet" id="change-source">+ Add project</button>
|
|
110
|
+
<button class="quiet hidden" id="refresh-project">Refresh</button>
|
|
81
111
|
</div>
|
|
82
|
-
<button class="sidebar-source" id="change-source">+ Add another repository</button>
|
|
83
|
-
<div class="keyless-note"><span>●</span><div><strong>Keyless replay</strong><small>AI is outside the ordinary gate loop.</small></div></div>
|
|
84
112
|
</aside>
|
|
85
113
|
|
|
86
114
|
<main class="workspace">
|
|
87
115
|
<section class="workspace-view active" data-view-panel="overview" id="overview">
|
|
88
|
-
<div class="
|
|
89
|
-
<div><
|
|
90
|
-
<div class="
|
|
116
|
+
<div class="command-bar">
|
|
117
|
+
<div><h1>Release Command Center</h1><p><span id="app-name">Your release workspace</span> · <span id="app-summary">Inspect the repository to discover product targets and release intent.</span></p></div>
|
|
118
|
+
<div class="command-actions">
|
|
119
|
+
<span class="phase-pill hidden" id="phase-pill"><span class="spinner"></span><span id="phase-pill-text">Working…</span></span>
|
|
120
|
+
<button class="primary" id="command-run">Run release check</button>
|
|
121
|
+
</div>
|
|
91
122
|
</div>
|
|
123
|
+
<div class="run-progress hidden" id="run-progress"><span class="progress-track"><span id="run-progress-bar"></span></span><span id="run-progress-text">Starting…</span></div>
|
|
124
|
+
<div class="idle-badges" id="idle-badges"></div>
|
|
125
|
+
<hr class="command-divider">
|
|
126
|
+
|
|
127
|
+
<section class="evidence-section">
|
|
128
|
+
<div class="device-panel">
|
|
129
|
+
<p class="feed-label" id="device-feed-label">Live feed</p>
|
|
130
|
+
<div class="device-frame" id="device-frame">
|
|
131
|
+
<span class="notch"></span>
|
|
132
|
+
<div class="device-screen">
|
|
133
|
+
<img id="live-frame-image" alt="Current application screen">
|
|
134
|
+
<div id="live-frame-loading" class="hidden">Capturing live application…</div>
|
|
135
|
+
<div class="device-placeholder" id="device-placeholder"><div><strong>No live feed yet</strong>Run a release check or open a live session to see the real application here.</div></div>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
<div class="device-meta">
|
|
139
|
+
<div><span>Device</span><strong id="device-meta-device">—</strong></div>
|
|
140
|
+
<div><span>Screen</span><strong id="live-screen-title">—</strong></div>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
<span class="vrule"></span>
|
|
144
|
+
<div class="chat-panel">
|
|
145
|
+
<div class="chat-head"><div><h2>tapp chat</h2><p>Live narration of screens, actions, and findings during a run</p></div></div>
|
|
146
|
+
<div class="chat-transcript" id="chat-transcript"></div>
|
|
147
|
+
<div class="chat-footer">Narration comes from the engine's own progress events. Nothing here is generated after the fact.</div>
|
|
148
|
+
</div>
|
|
149
|
+
</section>
|
|
92
150
|
|
|
93
|
-
<
|
|
94
|
-
<
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
151
|
+
<div class="view-heading" style="margin-top:20px">
|
|
152
|
+
<nav class="journey" aria-label="Release setup progress" style="margin:0">
|
|
153
|
+
<button data-jump="connect"><span>1</span><b>Connect</b><small>Repository</small></button>
|
|
154
|
+
<button data-jump="target-stage"><span>2</span><b>Target</b><small>Build & runtime</small></button>
|
|
155
|
+
<button data-jump="map"><span>3</span><b>Map</b><small>Observed product</small></button>
|
|
156
|
+
<button data-jump="contracts"><span>4</span><b>Contracts</b><small>Review intent</small></button>
|
|
157
|
+
<button data-jump="validate"><span>5</span><b>Validate</b><small>Keyless replay</small></button>
|
|
158
|
+
<button data-jump="evidence"><span>6</span><b>Gate</b><small>Decision & CI</small></button>
|
|
159
|
+
</nav>
|
|
160
|
+
<div class="decision-card neutral" id="decision-card"><span class="decision-label">CURRENT DECISION</span><strong id="decision-title">Not evaluated</strong><span id="decision-detail">Run a conclusive release gate to establish evidence.</span></div>
|
|
161
|
+
</div>
|
|
101
162
|
|
|
102
163
|
<section class="panel section" id="connect">
|
|
103
|
-
<div class="section-heading"><div><p class="eyebrow">
|
|
164
|
+
<div class="section-heading"><div><p class="eyebrow">Connected repository</p><h2 id="repository-title">Repository</h2><p id="repository-detail">Tapp reads canonical repository artifacts and writes only explicit, reviewable changes.</p></div><span class="status-chip" id="connect-status">Not inspected</span></div>
|
|
104
165
|
<div class="button-row"><button class="secondary" id="inspect">Inspect repository</button><button class="quiet" data-view="settings">Repository settings</button></div>
|
|
105
166
|
</section>
|
|
106
167
|
|
|
107
168
|
<section class="panel section" id="target-stage">
|
|
108
|
-
<div class="section-heading"><div><p class="eyebrow">
|
|
169
|
+
<div class="section-heading"><div><p class="eyebrow">Build & run</p><h2>Choose the product target</h2><p>Tapp detected these targets from source. Multiple targets require an explicit choice; build results validate—not replace—the model.</p></div><span class="status-chip" id="target-status">No target selected</span></div>
|
|
109
170
|
<div class="target-choice-callout hidden" id="target-choice-callout"><span>1</span><div><strong>Choose what Tapp should test</strong><small>Nothing will build until you select a target. Tapp never guesses when a repository contains multiple applications.</small></div></div>
|
|
110
171
|
<div id="targets" class="target-grid"><div class="empty">Inspect the repository to detect iOS, Android, and web targets.</div></div>
|
|
111
172
|
<div class="runtime-row hidden" id="runtime-row">
|
|
@@ -116,21 +177,21 @@
|
|
|
116
177
|
</section>
|
|
117
178
|
|
|
118
179
|
<section class="panel section live-session-panel hidden" id="live-session-panel">
|
|
119
|
-
<div class="section-heading"><div><p class="eyebrow">
|
|
180
|
+
<div class="section-heading"><div><p class="eyebrow">Live application</p><h2>Drive the running target</h2><p>The device feed above shows the same real application surface used by Tapp's deterministic engine. Semantic controls refresh after every action.</p></div><div class="button-row"><span class="status-chip" id="live-platform">Target</span><span class="status-chip" id="live-recorded-steps">0 recorded steps</span><button class="quiet" id="refresh-live-session">Refresh</button><button class="secondary" id="end-session">End session</button></div></div>
|
|
120
181
|
<div class="live-layout">
|
|
121
|
-
<div class="live-frame-shell"><div class="live-frame-head"><span id="live-platform">Target</span><span id="live-recorded-steps">0 recorded steps</span></div><div class="live-frame"><img id="live-frame-image" alt="Current application screen"><div id="live-frame-loading">Capturing live application…</div></div><div class="flow-recorder"><div><strong>Keep this journey as a deterministic Flow</strong><small>Successful actions are recorded with semantic selectors. Existing files are preserved.</small></div><label><span>Flow name</span><input id="live-flow-name" placeholder="Checkout smoke"></label><button class="primary" id="save-live-flow">Save Flow</button></div></div>
|
|
122
182
|
<aside class="live-controls"><div class="live-controls-heading"><div><strong>Semantic controls</strong><small id="live-control-count">0 available</small></div></div><div id="live-control-list"><div class="empty">Controls appear when the session starts.</div></div><div class="manual-action"><label><span>Target or field</span><input id="live-action-target" placeholder="Accessibility id or visible label"></label><label><span>Text <i>for type/wait</i></span><input id="live-action-text" autocomplete="off"></label><div class="button-row"><button class="secondary" id="live-tap">Tap</button><button class="secondary" id="live-type">Type</button><button class="quiet" id="live-back">Back</button><button class="quiet" id="live-swipe">Swipe up</button></div></div></aside>
|
|
183
|
+
<div class="flow-recorder-panel"><div class="flow-recorder-head"><div><strong>Keep this journey as a deterministic Flow</strong><small>Successful actions are recorded with semantic selectors. Existing files are preserved.</small></div></div><div class="flow-recorder"><label><span>Flow name</span><input id="live-flow-name" placeholder="Checkout smoke"></label><button class="primary" id="save-live-flow">Save Flow</button><p>Saved Flows replay without AI and can be promoted into the release gate from Contracts.</p></div></div>
|
|
123
184
|
</div>
|
|
124
185
|
</section>
|
|
125
186
|
|
|
126
187
|
<section class="overview-grid">
|
|
127
|
-
<article class="panel summary-panel"><div class="section-heading compact"><div><p class="eyebrow">
|
|
128
|
-
<article class="panel summary-panel"><div class="section-heading compact"><div><p class="eyebrow">
|
|
188
|
+
<article class="panel summary-panel"><div class="section-heading compact"><div><p class="eyebrow">Latest evidence</p><h2>What changed?</h2></div><button class="quiet" data-view="runs">All runs</button></div><div id="overview-evidence"><div class="empty">No release run yet.</div></div></article>
|
|
189
|
+
<article class="panel summary-panel"><div class="section-heading compact"><div><p class="eyebrow">Coverage</p><h2>Observed surface</h2></div><button class="quiet" data-view="coverage">Open map</button></div><div id="overview-coverage" class="metric-grid"></div></article>
|
|
129
190
|
</section>
|
|
130
191
|
</section>
|
|
131
192
|
|
|
132
193
|
<section class="workspace-view" data-view-panel="runs">
|
|
133
|
-
<div class="view-heading simple"><div><p class="eyebrow">
|
|
194
|
+
<div class="view-heading simple"><div><p class="eyebrow">Runs</p><h1>Release history</h1><p>Every autonomous sweep, deterministic replay, finding, and decision stays inspectable.</p></div><button class="primary" id="run-gate">Run release gate</button></div>
|
|
134
195
|
<div class="split-view">
|
|
135
196
|
<section class="panel list-panel" id="runs-list"><div class="empty">No runs yet.</div></section>
|
|
136
197
|
<section class="panel detail-panel" id="run-detail"><div class="empty">Select a run to inspect its decision, checks, findings, and artifacts.</div></section>
|
|
@@ -138,12 +199,12 @@
|
|
|
138
199
|
</section>
|
|
139
200
|
|
|
140
201
|
<section class="workspace-view" data-view-panel="findings">
|
|
141
|
-
<div class="view-heading simple"><div><p class="eyebrow">
|
|
202
|
+
<div class="view-heading simple"><div><p class="eyebrow">Findings</p><h1>What needs attention</h1><p>Findings preserve their severity and regression state. A failed contract is never silently healed.</p></div><select id="finding-filter"><option value="all">All severities</option><option value="critical">Critical</option><option value="high">High</option><option value="medium">Medium</option><option value="low">Low</option></select></div>
|
|
142
203
|
<div class="split-view findings-layout"><section class="panel list-panel" id="findings-list"><div class="empty">No findings yet.</div></section><section class="panel detail-panel" id="finding-detail"><div class="empty">Select a finding to inspect its evidence.</div></section></div>
|
|
143
204
|
</section>
|
|
144
205
|
|
|
145
206
|
<section class="workspace-view" data-view-panel="coverage" id="map">
|
|
146
|
-
<div class="view-heading simple"><div><p class="eyebrow">
|
|
207
|
+
<div class="view-heading simple"><div><p class="eyebrow">Coverage</p><h1>The product Tapp understands</h1><p>One platform-neutral Application Model and UI Map power exploration, planning, maintenance, CLI, MCP, and CI.</p></div><span class="metric" id="map-metric">0 states</span></div>
|
|
147
208
|
<div class="subnav"><button data-coverage-tab="map" class="active">Flow Map</button><button data-coverage-tab="screens">Screens</button><button data-coverage-tab="application">Application</button><button data-coverage-tab="plan">Release Plan</button></div>
|
|
148
209
|
<section class="coverage-panel active" data-coverage-panel="map"><div class="map-layout"><div class="map-canvas" id="map-canvas"><div class="empty">Explore the real product to build its map.</div></div><aside id="coverage-summary" class="coverage-summary"></aside></div><div id="transition-list" class="transition-list"></div></section>
|
|
149
210
|
<section class="coverage-panel" data-coverage-panel="screens"><div class="panel table-panel" id="screen-list"><div class="empty">No observed screens yet.</div></div></section>
|
|
@@ -152,28 +213,28 @@
|
|
|
152
213
|
</section>
|
|
153
214
|
|
|
154
215
|
<section class="workspace-view" data-view-panel="contracts" id="contracts">
|
|
155
|
-
<div class="view-heading simple"><div><p class="eyebrow">
|
|
216
|
+
<div class="view-heading simple"><div><p class="eyebrow">Release contracts</p><h1>Review business guarantees</h1><p>Approve a compact set of important outcomes. Tapp composes reusable Tasks instead of generating one script for every situation.</p></div><span class="status-chip" id="plan-status">No plan</span></div>
|
|
156
217
|
<section class="panel section">
|
|
157
218
|
<div class="plan-toolbar"><button class="quiet" id="approve-high">Approve high & critical</button><button class="quiet" id="defer-rest">Defer undecided</button><span class="spacer"></span><button class="primary" id="save-review">Save review</button></div>
|
|
158
219
|
<div id="plan-list" class="plan-list"><div class="empty">Inspect and explore to create a grounded release plan.</div></div>
|
|
159
220
|
</section>
|
|
160
221
|
<section class="panel section" id="validate">
|
|
161
|
-
<div class="section-heading"><div><p class="eyebrow">
|
|
222
|
+
<div class="section-heading"><div><p class="eyebrow">Deterministic suite</p><h2>Generate, replay, then promote</h2><p>Draft Tasks and contracts remain untrusted until they pass without AI against the selected real target. Promotion is explicit.</p></div><span class="status-chip" id="validation-status">Not generated</span></div>
|
|
162
223
|
<div class="pipeline"><article><span>01</span><h3>Generate drafts</h3><p>Compose reusable Tasks and TypeScript contracts from approved, grounded intent.</p><button class="secondary" id="generate">Generate</button></article><article><span>02</span><h3>Replay without AI</h3><p>Execute exact assertions and bounded waits on the actual selected platform.</p><button class="secondary" id="validate-drafts">Validate</button></article><article><span>03</span><h3>Promote reviewed proof</h3><p>Move only validated drafts into the committed suite and update map coverage.</p><button class="secondary" id="promote">Promote</button></article></div>
|
|
163
224
|
<div id="artifact-list" class="artifact-list"></div>
|
|
164
225
|
</section>
|
|
165
226
|
</section>
|
|
166
227
|
|
|
167
228
|
<section class="workspace-view" data-view-panel="settings">
|
|
168
|
-
<div class="view-heading simple"><div><p class="eyebrow">
|
|
229
|
+
<div class="view-heading simple"><div><p class="eyebrow">Settings</p><h1>Project and execution</h1><p>Only unavoidable target, environment, actor, and credential inputs belong here.</p></div></div>
|
|
169
230
|
<div class="settings-grid">
|
|
170
|
-
<section class="panel settings-section"><p class="eyebrow">
|
|
171
|
-
<section class="panel settings-section"><p class="eyebrow">
|
|
172
|
-
<section class="panel settings-section"><p class="eyebrow">
|
|
173
|
-
<section class="panel settings-section"><p class="eyebrow">AI &
|
|
231
|
+
<section class="panel settings-section"><p class="eyebrow">Repository</p><h2>Source</h2><div id="settings-repository"></div><button class="secondary" id="settings-add-repository">Add repository</button></section>
|
|
232
|
+
<section class="panel settings-section"><p class="eyebrow">Runners</p><h2>Execution surfaces</h2><div id="runner-list"></div></section>
|
|
233
|
+
<section class="panel settings-section"><p class="eyebrow">Actors & credentials</p><h2>Runtime-only values</h2><p>Values stay in this browser session and process environment; they are never written into repository artifacts or job results.</p><label class="field"><span>Test email</span><input id="test-email" autocomplete="off"></label><label class="field"><span>Test password</span><input id="test-password" type="password" autocomplete="new-password"></label><div id="actor-list" class="actor-list"></div></section>
|
|
234
|
+
<section class="panel settings-section"><p class="eyebrow">AI & data</p><h2>Optional orchestration</h2><div class="setting-row"><div><strong>Remote AI</strong><small>Planning and maintenance only. Deterministic execution does not need it.</small></div><span class="status-chip">Off</span></div><p class="honesty">Remote AI consent and provider controls are not yet exposed in this local browser build. Tapp will not opt you in implicitly.</p></section>
|
|
174
235
|
</div>
|
|
175
236
|
<section class="panel section" id="evidence">
|
|
176
|
-
<div class="section-heading"><div><p class="eyebrow">
|
|
237
|
+
<div class="section-heading"><div><p class="eyebrow">Release evidence & CI</p><h2>Install the same decision in GitHub</h2><p>Preview the target-aware workflow, required secrets, unresolved configuration, and exact policy before writing anything.</p></div><div class="button-row"><button class="secondary" id="create-baseline" disabled>Establish baseline</button><button class="secondary" id="preview-ci">Preview CI</button><button class="primary" id="install-ci">Write reviewable patch</button></div></div>
|
|
177
238
|
<div id="latest-evidence" class="evidence-grid"><div class="empty">No release run yet.</div></div>
|
|
178
239
|
<pre id="ci-preview" class="code-preview hidden"></pre>
|
|
179
240
|
</section>
|
|
@@ -183,7 +244,7 @@
|
|
|
183
244
|
|
|
184
245
|
<dialog id="github-dialog">
|
|
185
246
|
<form method="dialog" class="dialog-shell">
|
|
186
|
-
<div class="dialog-heading"><div><p class="eyebrow">
|
|
247
|
+
<div class="dialog-heading"><div><p class="eyebrow">Connect to GitHub</p><h2>Select a repository</h2><p>Tapp only displays repositories available to your authenticated local GitHub session.</p></div><button class="quiet" value="cancel" aria-label="Close">Close</button></div>
|
|
187
248
|
<input class="search-input" id="github-search" placeholder="Search repositories…" autocomplete="off">
|
|
188
249
|
<div id="github-repositories" class="github-repositories"><div class="empty">Loading authorized repositories…</div></div>
|
|
189
250
|
</form>
|
package/browser/tokens.css
CHANGED
|
@@ -1,39 +1,46 @@
|
|
|
1
1
|
/* Tapp design tokens — the single source of truth for what Tapp looks like.
|
|
2
|
-
|
|
3
|
-
(app.runtapp.com), the local `tapp app` Studio, and the
|
|
4
|
-
product. Surfaces consume these variables; none should
|
|
2
|
+
Values mirror the macOS Command Center (AutoTap/Theme/Theme.swift) so the
|
|
3
|
+
hosted Studio (app.runtapp.com), the local `tapp app` Studio, and the desktop
|
|
4
|
+
app read as one product. Surfaces consume these variables; none should
|
|
5
|
+
hardcode a palette. */
|
|
5
6
|
:root {
|
|
6
7
|
color-scheme: dark;
|
|
7
8
|
|
|
8
9
|
/* Ground and surfaces, darkest to lightest */
|
|
9
|
-
--tapp-bg: #
|
|
10
|
-
--tapp-bg-deep: #
|
|
11
|
-
--tapp-sidebar: #
|
|
12
|
-
--tapp-sidebar-solid: #
|
|
13
|
-
--tapp-panel: #
|
|
14
|
-
--tapp-panel-2: #
|
|
15
|
-
--tapp-panel-3: #
|
|
16
|
-
--tapp-panel-soft: rgba(
|
|
17
|
-
--tapp-control: #
|
|
10
|
+
--tapp-bg: #0d1117;
|
|
11
|
+
--tapp-bg-deep: #090c11;
|
|
12
|
+
--tapp-sidebar: #0d1117;
|
|
13
|
+
--tapp-sidebar-solid: #0d1117;
|
|
14
|
+
--tapp-panel: #161b22;
|
|
15
|
+
--tapp-panel-2: #1c2128;
|
|
16
|
+
--tapp-panel-3: #21262d;
|
|
17
|
+
--tapp-panel-soft: rgba(22, 27, 34, 0.85);
|
|
18
|
+
--tapp-control: #21262d;
|
|
18
19
|
|
|
19
20
|
/* Lines */
|
|
20
|
-
--tapp-border:
|
|
21
|
-
--tapp-border-strong: #
|
|
21
|
+
--tapp-border: #30363d;
|
|
22
|
+
--tapp-border-strong: #3d444d;
|
|
23
|
+
--tapp-border-subtle: #21262d;
|
|
22
24
|
|
|
23
25
|
/* Type */
|
|
24
|
-
--tapp-text: #
|
|
25
|
-
--tapp-text-soft: #
|
|
26
|
-
--tapp-text-faint: #
|
|
27
|
-
--tapp-text-control: #
|
|
26
|
+
--tapp-text: #e6edf3;
|
|
27
|
+
--tapp-text-soft: #8b949e;
|
|
28
|
+
--tapp-text-faint: #484f58;
|
|
29
|
+
--tapp-text-control: #e6edf3;
|
|
28
30
|
|
|
29
31
|
/* Accent and status */
|
|
30
|
-
--tapp-blue: #
|
|
31
|
-
--tapp-blue-hover: #
|
|
32
|
-
--tapp-
|
|
33
|
-
--tapp-
|
|
34
|
-
--tapp-
|
|
35
|
-
--tapp-
|
|
36
|
-
--tapp-
|
|
32
|
+
--tapp-blue: #58a6ff;
|
|
33
|
+
--tapp-blue-hover: #79b8ff;
|
|
34
|
+
--tapp-blue-deep: #1f6feb;
|
|
35
|
+
--tapp-purple: #a371f7;
|
|
36
|
+
--tapp-green: #3fb950;
|
|
37
|
+
--tapp-amber: #d29922;
|
|
38
|
+
--tapp-amber-soft: #e3b341;
|
|
39
|
+
--tapp-amber-bg: rgba(210, 153, 34, 0.14);
|
|
40
|
+
--tapp-red: #f85149;
|
|
41
|
+
--tapp-red-bg: rgba(248, 81, 73, 0.12);
|
|
42
|
+
--tapp-green-bg: rgba(63, 185, 80, 0.12);
|
|
43
|
+
--tapp-selected: rgba(31, 111, 235, 0.15);
|
|
37
44
|
|
|
38
45
|
/* Depth */
|
|
39
46
|
--tapp-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
|
|
@@ -47,4 +54,5 @@
|
|
|
47
54
|
--tapp-sidebar-width: 220px;
|
|
48
55
|
--tapp-radius: 8px;
|
|
49
56
|
--tapp-radius-lg: 12px;
|
|
57
|
+
--tapp-radius-xl: 14px;
|
|
50
58
|
}
|
package/docs/BROWSER-PRODUCT.md
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# Browser Release Studio
|
|
2
2
|
|
|
3
|
-
Status: current
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
Status: current product contract as of 2026-10-14 (shell and evidence panel reworked for desktop
|
|
4
|
+
parity; the 2026-08-08 "paused track" framing is superseded by ADR-0006, "Three entry layers,
|
|
5
|
+
two execution modes", in the private decision log).
|
|
6
|
+
|
|
7
|
+
The browser Release Studio is the one web UI. `browser/` is its only source; the hosted control
|
|
8
|
+
plane (`saas/`) copies these assets at build time, so the self-host Studio (`tapp app`) and
|
|
9
|
+
`app.runtapp.com` are the same interface with different execution modes. Its layout mirrors the
|
|
10
|
+
macOS Command Center: wordmark and project menu, Overview / Runs / Findings / Coverage / Contracts /
|
|
11
|
+
Settings, a project block, and an Overview that pairs a device feed with "tapp chat". The feed shows
|
|
12
|
+
a live session frame or the newest screenshot the running exploration wrote; the chat is the
|
|
13
|
+
engine's own progress log (phase changes, per-action narratives such as `Tapped "Place order"`,
|
|
14
|
+
`Reached Checkout`, findings, completion). Nothing in either panel is generated after the fact, and
|
|
15
|
+
there is no message input because no chat backend exists in the package. Web is one application
|
|
16
|
+
target beside iOS and Android; it is not a separate QA product. CLI, MCP, VS Code, the Action,
|
|
17
|
+
desktop, and the hosted Studio all adapt the shared product operations described in
|
|
18
|
+
[`PRODUCT-ENGINE.md`](PRODUCT-ENGINE.md).
|
|
11
19
|
|
|
12
20
|
## Start locally
|
|
13
21
|
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Business workflows in one Tapp product
|
|
2
|
+
|
|
3
|
+
The business workflow map sits above the existing Flows, accounts, backend hooks,
|
|
4
|
+
contracts, Scenarios and release gate. Owners describe outcomes and review them in
|
|
5
|
+
conversation or `/workflows`; developers keep authoring the underlying proof in
|
|
6
|
+
their repositories. It does not replace or weaken the existing release gate.
|
|
7
|
+
|
|
8
|
+
## Implemented paths
|
|
9
|
+
|
|
10
|
+
- `tapp_workflows`: read the saved map, available targets/accounts/checks, proposed
|
|
11
|
+
workflows, missing access, and scoped coverage.
|
|
12
|
+
- `tapp_workflows_save`: save a reviewed definition with optimistic revision checking.
|
|
13
|
+
- `tapp_workflow_run`: queue one confirmed workflow in a configured test environment.
|
|
14
|
+
- `/workflows?project=…`: edit outcomes and steps, choose roles/targets/checks, review,
|
|
15
|
+
run, poll results, inspect evidence, and import/export the portable definition.
|
|
16
|
+
- `tapp workflows [repo]`: discover from the existing project snapshot and inspect
|
|
17
|
+
`.tapp/business-workflows.json`. No source inspection or exploration happens implicitly.
|
|
18
|
+
- `tapp workflows [repo] --save definition.json [--confirm]`: persist a portable map.
|
|
19
|
+
Use the current revision; confirmation reflects a human review. `--workflow ID`
|
|
20
|
+
displays the execution plan and blockers for a saved workflow.
|
|
21
|
+
|
|
22
|
+
Discovery uses observed UI Map nodes, saved Flows, contract journeys, selected
|
|
23
|
+
targets, configured accounts and backend capabilities. Proposals remain unconfirmed.
|
|
24
|
+
The conversational agent can combine these with the owner's stated goals and save
|
|
25
|
+
an ordered map; this module does not call a model or invent backend integrations.
|
|
26
|
+
The top-level description and missing-outcome steps let a person start before any
|
|
27
|
+
recorded proof exists. Additional roles, systems and exception paths must be surfaced
|
|
28
|
+
and confirmed rather than inferred to be covered.
|
|
29
|
+
|
|
30
|
+
## Example journey and the first execution adapter
|
|
31
|
+
|
|
32
|
+
A booking journey can be represented as:
|
|
33
|
+
|
|
34
|
+
1. A named backend capability prepares run-scoped test data.
|
|
35
|
+
2. A saved web Flow signs in as the customer, creates a booking and asserts its UI result.
|
|
36
|
+
3. Another saved web Flow signs in as staff and asserts that the booking is visible.
|
|
37
|
+
4. A named backend verifier checks the expected record and run ID.
|
|
38
|
+
5. A named cleanup capability removes the run's fixtures.
|
|
39
|
+
|
|
40
|
+
This is an example of the implemented composition, **not a journey executed during
|
|
41
|
+
this change**. The flows, accounts, backend implementation and test environment must
|
|
42
|
+
actually exist. The planner names missing pieces and blocks unsupported steps.
|
|
43
|
+
|
|
44
|
+
Every Flow gets a new browser process/context, its selected account, and
|
|
45
|
+
`$TEST_RUN_ID`. Verification hooks receive the same unique ID through the existing
|
|
46
|
+
backend capability interface. Flows composed with a backend verifier must reference
|
|
47
|
+
that variable in their steps; their declared assertions must include at least one
|
|
48
|
+
deterministic assertion. A backend hook must genuinely associate the ID with the
|
|
49
|
+
business record; echoing an ID alone does not establish that an outcome occurred.
|
|
50
|
+
|
|
51
|
+
All referenced Flow files and required accounts are checked before external
|
|
52
|
+
mutation. File hashes are checked again before replay. Cross-origin browser
|
|
53
|
+
navigation stops the workflow before further actions; social sign-in requires a
|
|
54
|
+
supported authorization handoff rather than typing account secrets into a new origin.
|
|
55
|
+
Fixed run/account variables override Flow defaults for this hosted composition.
|
|
56
|
+
Other undeclared variables fail closed; custom per-step input mapping is not yet
|
|
57
|
+
part of the business runner.
|
|
58
|
+
|
|
59
|
+
Execution order is preparation → app activity → backend verification → cleanup.
|
|
60
|
+
On failure, later ordinary steps are skipped and configured cleanup is attempted.
|
|
61
|
+
Cleanup acknowledgement is not proof that all data was deleted. Process termination
|
|
62
|
+
or loss of the runner lease can prevent cleanup and needs operator recovery.
|
|
63
|
+
There is a 15-minute orchestration budget with up to two minutes per Flow replay;
|
|
64
|
+
target preparation/startup and final cleanup have their own adapter time bounds.
|
|
65
|
+
This is not yet an authoritative billable occupancy meter.
|
|
66
|
+
|
|
67
|
+
Web Flow recordings and screenshots live alongside the workflow report and are
|
|
68
|
+
uploaded using existing evidence ownership checks. Existing upload/count limits
|
|
69
|
+
still apply. A failed or killed browser may not finalize its recording; do not
|
|
70
|
+
promise a complete video unless it is present in the returned evidence.
|
|
71
|
+
|
|
72
|
+
## Definitions and advanced developer use
|
|
73
|
+
|
|
74
|
+
The portable JSON has `kind: "tapp-business-workflows"`, `schemaVersion: 1`, a
|
|
75
|
+
monotonic `revision`, a `description`, and up to 30 workflows. Each workflow has
|
|
76
|
+
`id`, `title`, `outcome`, `priority`, `decision` and 1–20 ordered steps. Each step
|
|
77
|
+
has `id`, `title`, `outcome`, `kind`, and optional `ref`, `actor`, `targetId`:
|
|
78
|
+
|
|
79
|
+
| Step kind | Reference | Initial automatic execution |
|
|
80
|
+
| --- | --- | --- |
|
|
81
|
+
| `flow` | Existing `.tapp/flows/name.yml`, `.yaml`, or `.json` | Web, with an explicit actor or `public`, target and artifact fingerprint |
|
|
82
|
+
| `capability` | A configured backend action name | Prepare, verify or cleanup according to its saved configuration |
|
|
83
|
+
| `contract` | An existing contract artifact path | Use the existing repository gate; composition reports this limitation |
|
|
84
|
+
| `manual` | No proof yet | Remains blocked/unverified until a check is connected |
|
|
85
|
+
|
|
86
|
+
The shared modules are `business-workflows.js` (discovery, normalization, planning,
|
|
87
|
+
coverage), `business-workflow-runtime.js` (adapter orchestration), and
|
|
88
|
+
`business-workflow-files.js` (repository persistence). The existing product snapshot
|
|
89
|
+
exposes the repository definition and content hashes for saved Flows. Local inspection
|
|
90
|
+
does not import hosted execution history or claim a local verification from a hosted run.
|
|
91
|
+
|
|
92
|
+
Hosted definitions live in `product_business_workflows`; apply migration 0008 after
|
|
93
|
+
the connection migration. They are server-managed and cannot be overwritten by
|
|
94
|
+
worker artifact uploads. Owners/admins can edit; authorized members may request
|
|
95
|
+
execution; viewers can read. Cookie mutations require same-origin CSRF validation,
|
|
96
|
+
and MCP mutations require their declared OAuth scopes plus organization authorization.
|
|
97
|
+
Map writes use a project lock and expected revision and are blocked during active
|
|
98
|
+
operations or sessions. Execution admission uses the existing quotas, deduplication,
|
|
99
|
+
tenant grants, serialization and leases. It also rechecks the plan when delivering
|
|
100
|
+
the lease-scoped worker access payload.
|
|
101
|
+
|
|
102
|
+
Confirmation fingerprints the selected workflow and discovered execution context.
|
|
103
|
+
Changed Flow contents, targets or connection revisions invalidate that approval.
|
|
104
|
+
Hosted imports require a fresh review. The server strips caller-supplied results
|
|
105
|
+
and approval metadata: only actual completed worker operations supply observations.
|
|
106
|
+
|
|
107
|
+
## Reading coverage honestly
|
|
108
|
+
|
|
109
|
+
The map reports `needs-confirmation`, `blocked`, `unverified`, `observed`, `failed`,
|
|
110
|
+
`inconclusive` and `deferred`. Steps distinguish observed assertions from preparation
|
|
111
|
+
or cleanup acknowledgements. Changing the map revision makes older evidence stale;
|
|
112
|
+
changing linked execution context also requires review. A later infrastructure
|
|
113
|
+
failure prevents an older successful run from remaining the latest successful status.
|
|
114
|
+
Historical observations describe their execution time, not the application's health now.
|
|
115
|
+
|
|
116
|
+
There is no “percent of the entire business tested” score. Coverage counts refer
|
|
117
|
+
only to the explicitly listed workflows and assertions. Unlisted workflows, roles,
|
|
118
|
+
systems and exception paths remain unknown. The business runner returns an observation;
|
|
119
|
+
only the repository-connected deterministic gate issues a release verdict.
|
|
120
|
+
|
|
121
|
+
## Scope and remaining work
|
|
122
|
+
|
|
123
|
+
The first adapter supports sequential web roles and backend hooks within one project.
|
|
124
|
+
Native multi-role isolation, concurrent actor scenarios, cross-project orchestration,
|
|
125
|
+
native provider OAuth, automatic backend sandboxes, full business discovery and
|
|
126
|
+
automatic check authoring remain additional work. Existing developer workflows and
|
|
127
|
+
release gates continue through their existing tools. A test-environment label is
|
|
128
|
+
an operator assertion, not evidence of isolation.
|
|
129
|
+
|
|
130
|
+
This change has not been deployed or exercised against a customer app or ChatGPT.
|
|
131
|
+
No tests or new executable test fixtures were added or run. Production build,
|
|
132
|
+
TypeScript, lint and syntax checks are the available local validation. The next
|
|
133
|
+
runtime milestone is an owned app with two roles and a run-correlated backend
|
|
134
|
+
outcome, configured through this map and recorded end to end.
|
package/docs/PRODUCT-ENGINE.md
CHANGED
|
@@ -7,6 +7,11 @@ operations is [`mcp-server/src/product-operations.js`](../mcp-server/src/product
|
|
|
7
7
|
An interface may validate its transport and render a result; it must not redefine onboarding,
|
|
8
8
|
review, trust, baseline, or gate semantics.
|
|
9
9
|
|
|
10
|
+
The [business workflow layer](BUSINESS-WORKFLOWS.md) adds an owner-facing map over
|
|
11
|
+
the existing proof. It shares discovery/planning/coverage in `business-workflows.js`
|
|
12
|
+
and adapter orchestration in `business-workflow-runtime.js`. Its results are scoped
|
|
13
|
+
observations; release authority stays with the deterministic gate.
|
|
14
|
+
|
|
10
15
|
## Product operation contract
|
|
11
16
|
|
|
12
17
|
The shared engine owns these operations:
|