@piagent/platform 1.8.0 → 1.9.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/AGENTS.md +7 -0
- package/CHANGELOG.md +97 -1
- package/README.md +45 -70
- package/README.vi.md +34 -61
- package/architecture/layers.json +16 -3
- package/catalog/capabilities.json +14 -7
- package/catalog/claude-model-additions.json +42 -0
- package/docs/auto-delegation-policy.md +2 -0
- package/docs/command-reference-vietnamese.md +68 -90
- package/docs/context-window-policy.md +5 -5
- package/docs/distribution-standard.md +13 -16
- package/docs/en/architecture.md +9 -1
- package/docs/herdr-workflow.md +2 -3
- package/docs/languages.json +4 -4
- package/docs/managed-local-acceptance.md +403 -0
- package/docs/mcp-and-tools.md +5 -7
- package/docs/memory-policy.md +3 -3
- package/docs/model-options.md +2 -2
- package/docs/oauth-providers.md +1 -1
- package/docs/operator-manual-vietnamese.md +82 -127
- package/docs/package-architecture-notes.md +4 -4
- package/docs/piagent-core-improvement-plan.md +3 -5
- package/docs/piagent-core-plan-checkpoint-2026-09-06.json +2 -13
- package/docs/piagent-runtime-benchmark-execution-plan.md +10 -8
- package/docs/project-adapters.md +3 -3
- package/docs/project-onboarding.md +15 -16
- package/docs/publishing-for-teams.md +2 -1
- package/docs/quality-benchmark.md +2 -0
- package/docs/quickstart-vietnamese.md +23 -24
- package/docs/release-install-policy.md +3 -2
- package/docs/research/harness-next-evidence-review.md +7 -7
- package/docs/runtime-harness-standard.md +2 -0
- package/docs/runtime-policy-design.md +2 -0
- package/docs/runtime-quality-baseline.md +2 -0
- package/docs/subagent-orchestration-capabilities.md +1 -1
- package/docs/subagents-and-multiagent.md +10 -8
- package/docs/task-implementation-contract.md +2 -0
- package/docs/task-lifecycle-vietnamese.md +2 -0
- package/docs/team-onboarding.md +28 -59
- package/docs/usage-observability.md +2 -2
- package/docs/vi/architecture.md +9 -1
- package/docs/workflow-recipes.md +6 -10
- package/docs-site/architecture.html +4 -3
- package/docs-site/assets/docs.css +80 -0
- package/docs-site/benchmark.html +7 -1
- package/docs-site/commands.html +37 -23
- package/docs-site/content/architecture.html +2 -2
- package/docs-site/content/benchmark.html +5 -0
- package/docs-site/content/commands.html +35 -22
- package/docs-site/content/ecosystem.html +144 -0
- package/docs-site/content/en/architecture.html +1 -1
- package/docs-site/content/en/benchmark.html +5 -0
- package/docs-site/content/en/commands.html +30 -13
- package/docs-site/content/en/ecosystem.html +144 -0
- package/docs-site/content/en/index.html +24 -9
- package/docs-site/content/en/quickstart.html +10 -12
- package/docs-site/content/en/security.html +1 -1
- package/docs-site/content/en/team.html +2 -2
- package/docs-site/content/en/whats-new.html +77 -1
- package/docs-site/content/en/workflows.html +29 -31
- package/docs-site/content/index.html +24 -9
- package/docs-site/content/quickstart.html +10 -12
- package/docs-site/content/security.html +2 -2
- package/docs-site/content/team.html +2 -2
- package/docs-site/content/whats-new.html +77 -1
- package/docs-site/content/workflows.html +36 -38
- package/docs-site/context-engine.html +2 -1
- package/docs-site/ecosystem.html +283 -0
- package/docs-site/en/architecture.html +3 -2
- package/docs-site/en/benchmark.html +7 -1
- package/docs-site/en/commands.html +32 -14
- package/docs-site/en/context-engine.html +2 -1
- package/docs-site/en/ecosystem.html +283 -0
- package/docs-site/en/index.html +30 -14
- package/docs-site/en/mcp-approval.html +2 -1
- package/docs-site/en/mcp-auth.html +2 -1
- package/docs-site/en/mcp-servers.html +2 -1
- package/docs-site/en/mcp.html +2 -1
- package/docs-site/en/permissions.html +2 -1
- package/docs-site/en/profiles.html +2 -1
- package/docs-site/en/quickstart.html +17 -18
- package/docs-site/en/runtime.html +2 -1
- package/docs-site/en/scope.html +2 -1
- package/docs-site/en/security.html +6 -5
- package/docs-site/en/team.html +4 -3
- package/docs-site/en/whats-new.html +85 -8
- package/docs-site/en/workflows.html +34 -35
- package/docs-site/index.html +30 -14
- package/docs-site/mcp-approval.html +2 -1
- package/docs-site/mcp-auth.html +2 -1
- package/docs-site/mcp-servers.html +2 -1
- package/docs-site/mcp.html +2 -1
- package/docs-site/permissions.html +2 -1
- package/docs-site/profiles.html +2 -1
- package/docs-site/quickstart.html +17 -18
- package/docs-site/runtime.html +2 -1
- package/docs-site/scope.html +2 -1
- package/docs-site/security.html +7 -6
- package/docs-site/team.html +4 -3
- package/docs-site/whats-new.html +85 -8
- package/docs-site/workflows.html +41 -42
- package/evals/fs5-causal-arm.v1.json +2 -2
- package/evals/private-holdout-v1/CURRENT_BOUNDARY.md +17 -0
- package/evals/private-holdout-v1/public-exposure.v2.json +2 -2
- package/package.json +8 -7
- package/packages/piagent-core/README.md +15 -23
- package/packages/piagent-core/docs/context-efficiency-improvement-plan.md +2 -0
- package/packages/piagent-core/extensions/experiment-loop-policy.ts +75 -0
- package/packages/piagent-core/extensions/local-state-path.js +15 -0
- package/packages/piagent-core/extensions/piagent-guard.ts +108 -960
- package/packages/piagent-core/extensions/policy-core.js +2 -2
- package/packages/piagent-core/extensions/source-checkout-paths.ts +54 -0
- package/packages/piagent-core/managed/broker-client.mjs +49 -0
- package/packages/piagent-core/managed/capabilities.mjs +28 -0
- package/packages/piagent-core/managed/compaction.mjs +63 -0
- package/packages/piagent-core/managed/doctor.mjs +107 -0
- package/packages/piagent-core/managed/native-catalog.mjs +42 -0
- package/packages/piagent-core/managed/patch-snapshot.mjs +48 -0
- package/packages/piagent-core/managed/repository-operation.mjs +84 -0
- package/packages/piagent-core/managed/request-stream.mjs +129 -0
- package/packages/piagent-core/managed/resource-loader.mjs +42 -0
- package/packages/piagent-core/managed/review-snapshot-worker.mjs +27 -0
- package/packages/piagent-core/managed/sandbox-diagnostic.mjs +12 -0
- package/packages/piagent-core/managed/search-fallback.mjs +93 -0
- package/packages/piagent-core/managed/session.mjs +472 -0
- package/packages/piagent-core/managed/store.d.mts +3 -0
- package/packages/piagent-core/managed/store.mjs +64 -0
- package/packages/piagent-core/managed/tool-boundary.mjs +243 -0
- package/packages/piagent-core/managed/tool-worker.mjs +36 -0
- package/packages/piagent-core/managed/toolchain.mjs +120 -0
- package/packages/piagent-core/managed/web-fetch.mjs +105 -0
- package/packages/piagent-core/managed/web-search.mjs +96 -0
- package/packages/piagent-core/managed/workflow.mjs +299 -0
- package/packages/piagent-core/package.json +2 -5
- package/packages/piagent-core/policies/base-policy.json +80 -26
- package/packages/piagent-core/runtime/hooks/agent-start-hook.ts +3 -3
- package/packages/piagent-core/runtime/hooks/input-hook.ts +35 -196
- package/packages/piagent-core/runtime/hooks/session-start-hook.ts +2 -0
- package/packages/piagent-core/runtime/inspection/approval-broker.ts +9 -1
- package/packages/piagent-core/runtime/managed-failure.d.mts +10 -0
- package/packages/piagent-core/runtime/managed-failure.mjs +164 -0
- package/packages/piagent-core/runtime/orchestration/minimal-delegation-policy.ts +8 -29
- package/packages/piagent-core/runtime/orchestration/owned-work-budget.ts +1 -1
- package/packages/piagent-core/runtime/policy/block-remedy.ts +5 -3
- package/packages/piagent-core/runtime/registration/context-commands.ts +1 -1
- package/packages/piagent-core/runtime/registration/knowledge-tools.ts +7 -7
- package/packages/piagent-core/runtime/registration/policy-tools.ts +2 -2
- package/packages/piagent-core/runtime/registration/session-commands.ts +11 -26
- package/packages/piagent-core/runtime/registration/task-evidence-tools.ts +1 -1
- package/packages/piagent-core/runtime/session/system-prompt.ts +6 -7
- package/packages/piagent-core/runtime/workflows/webui-runtime-command.ts +6 -6
- package/packages/piagent-core/runtime/workflows/webui-workflow.ts +6 -11
- package/packages/piagent-core/security/sensitive-text.js +9 -0
- package/packages/piagent-core/skills/piagent-ops/SKILL.md +8 -10
- package/packages/piagent-core/skills/test-audit/SKILL.md +101 -0
- package/packages/piagent-core/subagents/piagent-planner.md +1 -1
- package/packages/piagent-webui/dist/client/assets/{MarkdownMessage-DMU7Xe_O.js → MarkdownMessage-Dd9wPk-v.js} +1 -1
- package/packages/piagent-webui/dist/client/assets/index-7I-50Q2U.js +228 -0
- package/packages/piagent-webui/dist/client/assets/{index-DVahUVWy.css → index-DgSmcnP8.css} +1 -1
- package/packages/piagent-webui/dist/client/index.html +2 -2
- package/packages/piagent-webui/extension/piagent-webui.ts +11 -11
- package/packages/piagent-webui/extension/session-stream-adapter.ts +3 -1
- package/packages/piagent-webui/extension/terminal-session-adapter.ts +6 -1
- package/packages/piagent-webui/gateway/company-relay.ts +308 -0
- package/packages/piagent-webui/gateway/control-socket.ts +39 -12
- package/packages/piagent-webui/gateway/gateway-service.ts +109 -28
- package/packages/piagent-webui/gateway/gateway-session-stream.ts +58 -2
- package/packages/piagent-webui/gateway/managed-gateway.mjs +41 -0
- package/packages/piagent-webui/gateway/managed-launch.ts +145 -0
- package/packages/piagent-webui/gateway/managed-projection.ts +20 -0
- package/packages/piagent-webui/gateway/pi-host.ts +22 -4
- package/packages/piagent-webui/gateway/runtime-session-controls.ts +5 -2
- package/packages/piagent-webui/gateway/session-approval-authority.ts +28 -0
- package/packages/piagent-webui/gateway/session-catalog.ts +11 -3
- package/packages/piagent-webui/gateway/session-command-controller.ts +8 -2
- package/packages/piagent-webui/gateway/session-file-facts.ts +25 -0
- package/packages/piagent-webui/gateway/session-inspection-registry.ts +40 -9
- package/packages/piagent-webui/gateway/session-list-cache.ts +68 -0
- package/packages/piagent-webui/gateway/session-runtime-ownership.ts +8 -1
- package/packages/piagent-webui/gateway/session-runtime-supervisor.ts +20 -27
- package/packages/piagent-webui/ownership/managed-terminal-lease.ts +27 -0
- package/packages/piagent-webui/ownership/profile-state.ts +2 -0
- package/packages/piagent-webui/ownership/session-lease-store.ts +22 -1
- package/packages/piagent-webui/server/approval-projection.ts +9 -0
- package/packages/piagent-webui/server/core-inspection-provider.ts +4 -9
- package/packages/piagent-webui/server/loopback-server.ts +37 -1
- package/packages/piagent-webui/server/message-stop-reason.ts +11 -0
- package/packages/piagent-webui/server/tool-call-summary.ts +185 -0
- package/packages/piagent-webui/server/transcript-projection.ts +86 -3
- package/packs/engineering-base/pack.json +4 -0
- package/schemas/piagent-webui/runtime-command-v1.schema.json +1 -2
- package/schemas/piagent-webui/session-catalog-v1.schema.json +8 -0
- package/schemas/piagent-webui/transcript-v1.schema.json +94 -1
- package/scripts/build-docs-site.mjs +23 -12
- package/scripts/check-public-wording.mjs +5 -6
- package/scripts/check-runtime-advisories.mjs +23 -6
- package/scripts/claude-model-additions.mjs +33 -0
- package/scripts/configure-model-scope.sh +30 -6
- package/scripts/configure-subagents.sh +1 -1
- package/scripts/explain-command.mjs +5 -6
- package/scripts/model-scope-prune.mjs +75 -0
- package/scripts/phase-tools-evaluation.mjs +9 -4
- package/scripts/piagent-cli.mjs +51 -2
- package/scripts/piagent-dashboard.mjs +27 -4
- package/scripts/piagent-installations.mjs +26 -0
- package/scripts/piagent-studio.mjs +155 -0
- package/scripts/runtime-advisory-exceptions.json +29 -0
- package/scripts/team-doctor.sh +20 -1
- package/scripts/typescript-loader.mjs +6 -0
- package/scripts/verify-local.sh +2 -2
- package/templates/global/settings.json +3 -1
- package/templates/project/.pi/project-context.md +3 -3
- package/templates/project/AGENTS.md +4 -5
- package/docs/piagent-core-reasoning-research-2026-09-06.md +0 -225
- package/docs/piagent-core-research-sources-2026-09-06.json +0 -416
- package/packages/piagent-webui/dist/client/assets/index-Cui9AAV_.js +0 -176
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>Step by step for new team members · Pi Agent Platform Docs</title>
|
|
7
|
-
<meta name="description" content="Install with two commands, open a repository,
|
|
7
|
+
<meta name="description" content="Install with two commands, open a repository, choose its profile and permissions, then ask in plain language; the guard checks every tool call." />
|
|
8
8
|
<meta name="theme-color" content="#050505" />
|
|
9
9
|
<link rel="canonical" href="https://piagent.io.vn/en/quickstart" />
|
|
10
10
|
<link rel="alternate" hreflang="vi" href="https://piagent.io.vn/quickstart" />
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/quickstart" />
|
|
13
13
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
14
14
|
<meta property="og:title" content="Step by step for new team members · Pi Agent Platform Docs" />
|
|
15
|
-
<meta property="og:description" content="Install with two commands, open a repository,
|
|
15
|
+
<meta property="og:description" content="Install with two commands, open a repository, choose its profile and permissions, then ask in plain language; the guard checks every tool call." />
|
|
16
16
|
<meta property="og:url" content="https://piagent.io.vn/en/quickstart" />
|
|
17
17
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
18
18
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<span>Pi Agent Platform</span>
|
|
31
31
|
</a>
|
|
32
32
|
<div class="top-actions">
|
|
33
|
-
<span class="pill"><span class="pill-dot"></span>v1.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.9.0 docs · EN</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Language">
|
|
35
35
|
<a class="language-option" href="/quickstart" hreflang="vi" lang="vi">VI</a>
|
|
36
36
|
<a class="language-option current" href="/en/quickstart" hreflang="en" lang="en" aria-current="true">EN</a>
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
<div class="nav-group">
|
|
60
60
|
<p class="nav-title">Get started</p>
|
|
61
61
|
<a class="nav-link" href="/en/">Overview</a>
|
|
62
|
+
<a class="nav-link" href="/en/ecosystem">Ecosystem</a>
|
|
62
63
|
<a class="nav-link current" href="/en/quickstart" aria-current="page">Quickstart</a>
|
|
63
64
|
<a class="nav-link" href="/en/whats-new">What’s new</a>
|
|
64
65
|
<a class="nav-link" href="/en/scope">Platform scope</a>
|
|
@@ -100,7 +101,7 @@
|
|
|
100
101
|
</nav>
|
|
101
102
|
<div class="page-head">
|
|
102
103
|
<h1>Step by step for new team members</h1>
|
|
103
|
-
<p>Install with two commands, open a repository,
|
|
104
|
+
<p>Install with two commands, open a repository, choose its profile and permissions, then ask in plain language; the guard checks every tool call.</p>
|
|
104
105
|
</div>
|
|
105
106
|
<section class="section">
|
|
106
107
|
<div class="steps">
|
|
@@ -151,12 +152,11 @@ pi</code></pre>
|
|
|
151
152
|
|
|
152
153
|
<article class="step">
|
|
153
154
|
<div>
|
|
154
|
-
<h3 id="onboard-context">
|
|
155
|
-
<p>
|
|
155
|
+
<h3 id="onboard-context">Let the agent read the project</h3>
|
|
156
|
+
<p>In a new repository, ask the agent to read the project (read-only) and record its project context under <span class="inline-code">.pi/</span>. No separate command: plain language is enough.</p>
|
|
156
157
|
<div class="command-card">
|
|
157
|
-
<header><span>
|
|
158
|
-
<pre><code
|
|
159
|
-
/onboard run</code></pre>
|
|
158
|
+
<header><span>Read the project</span><button class="clip-btn" data-clip="Inspect this project read-only and record its project context.">Copy</button></header>
|
|
159
|
+
<pre><code>Inspect this project read-only and record its project context.</code></pre>
|
|
160
160
|
</div>
|
|
161
161
|
</div>
|
|
162
162
|
</article>
|
|
@@ -188,20 +188,19 @@ pi</code></pre>
|
|
|
188
188
|
<article class="step">
|
|
189
189
|
<div>
|
|
190
190
|
<h3 id="run-workflow">Run a workflow</h3>
|
|
191
|
-
<p>
|
|
191
|
+
<p>State the work and the intent (edit, read-only, plan first) in plain language. Start a new session with <span class="inline-code">/new</span> for context-heavy work.</p>
|
|
192
192
|
<div class="command-card">
|
|
193
|
-
<header><span>
|
|
194
|
-
<pre><code
|
|
195
|
-
|
|
196
|
-
/fresh task Implement the requested bounded change.</code></pre>
|
|
193
|
+
<header><span>Assign work</span><button class="clip-btn" data-clip="Implement the requested change and run the project tests. Review the current diff. Read-only.">Copy</button></header>
|
|
194
|
+
<pre><code>Implement the requested change and run the project tests.
|
|
195
|
+
Review the current diff. Read-only.</code></pre>
|
|
197
196
|
</div>
|
|
198
197
|
</div>
|
|
199
198
|
</article>
|
|
200
199
|
|
|
201
200
|
<article class="step">
|
|
202
201
|
<div>
|
|
203
|
-
<h3 id="verify-before-handoff">
|
|
204
|
-
<p>
|
|
202
|
+
<h3 id="verify-before-handoff">Check before you hand over</h3>
|
|
203
|
+
<p>Ask the agent to run the project's checks (tests, type check, build) and read the real output; in company mode the Harness asks for this itself. After pinning or upgrading a version, run doctor in the project:</p>
|
|
205
204
|
<div class="command-card">
|
|
206
205
|
<header><span>Doctor</span><button class="clip-btn" data-clip="piagent-doctor">Copy</button></header>
|
|
207
206
|
<pre><code>piagent-doctor</code></pre>
|
|
@@ -229,9 +228,9 @@ piagent-uninstall --apply</code></pre>
|
|
|
229
228
|
</div>
|
|
230
229
|
</section>
|
|
231
230
|
<nav class="pager" aria-label="Adjacent pages">
|
|
232
|
-
<a class="pager-prev" href="/en/">
|
|
231
|
+
<a class="pager-prev" href="/en/ecosystem">
|
|
233
232
|
<span class="pager-label">Previous</span>
|
|
234
|
-
<span class="pager-title">
|
|
233
|
+
<span class="pager-title">Ecosystem</span>
|
|
235
234
|
</a>
|
|
236
235
|
<a class="pager-next" href="/en/whats-new">
|
|
237
236
|
<span class="pager-label">Next</span>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<span>Pi Agent Platform</span>
|
|
31
31
|
</a>
|
|
32
32
|
<div class="top-actions">
|
|
33
|
-
<span class="pill"><span class="pill-dot"></span>v1.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.9.0 docs · EN</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Language">
|
|
35
35
|
<a class="language-option" href="/runtime" hreflang="vi" lang="vi">VI</a>
|
|
36
36
|
<a class="language-option current" href="/en/runtime" hreflang="en" lang="en" aria-current="true">EN</a>
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
<div class="nav-group">
|
|
60
60
|
<p class="nav-title">Get started</p>
|
|
61
61
|
<a class="nav-link" href="/en/">Overview</a>
|
|
62
|
+
<a class="nav-link" href="/en/ecosystem">Ecosystem</a>
|
|
62
63
|
<a class="nav-link" href="/en/quickstart">Quickstart</a>
|
|
63
64
|
<a class="nav-link" href="/en/whats-new">What’s new</a>
|
|
64
65
|
<a class="nav-link" href="/en/scope">Platform scope</a>
|
package/docs-site/en/scope.html
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<span>Pi Agent Platform</span>
|
|
31
31
|
</a>
|
|
32
32
|
<div class="top-actions">
|
|
33
|
-
<span class="pill"><span class="pill-dot"></span>v1.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.9.0 docs · EN</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Language">
|
|
35
35
|
<a class="language-option" href="/scope" hreflang="vi" lang="vi">VI</a>
|
|
36
36
|
<a class="language-option current" href="/en/scope" hreflang="en" lang="en" aria-current="true">EN</a>
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
<div class="nav-group">
|
|
60
60
|
<p class="nav-title">Get started</p>
|
|
61
61
|
<a class="nav-link" href="/en/">Overview</a>
|
|
62
|
+
<a class="nav-link" href="/en/ecosystem">Ecosystem</a>
|
|
62
63
|
<a class="nav-link" href="/en/quickstart">Quickstart</a>
|
|
63
64
|
<a class="nav-link" href="/en/whats-new">What’s new</a>
|
|
64
65
|
<a class="nav-link current" href="/en/scope" aria-current="page">Platform scope</a>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>Policy enforcement, not an OS sandbox · Pi Agent Platform Docs</title>
|
|
7
|
-
<meta name="description" content="Controlled tool surfaces fail closed when profiles, integrity locks
|
|
7
|
+
<meta name="description" content="Controlled tool surfaces fail closed when profiles, integrity locks or permissions are invalid." />
|
|
8
8
|
<meta name="theme-color" content="#050505" />
|
|
9
9
|
<link rel="canonical" href="https://piagent.io.vn/en/security" />
|
|
10
10
|
<link rel="alternate" hreflang="vi" href="https://piagent.io.vn/security" />
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/security" />
|
|
13
13
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
14
14
|
<meta property="og:title" content="Policy enforcement, not an OS sandbox · Pi Agent Platform Docs" />
|
|
15
|
-
<meta property="og:description" content="Controlled tool surfaces fail closed when profiles, integrity locks
|
|
15
|
+
<meta property="og:description" content="Controlled tool surfaces fail closed when profiles, integrity locks or permissions are invalid." />
|
|
16
16
|
<meta property="og:url" content="https://piagent.io.vn/en/security" />
|
|
17
17
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
18
18
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<span>Pi Agent Platform</span>
|
|
31
31
|
</a>
|
|
32
32
|
<div class="top-actions">
|
|
33
|
-
<span class="pill"><span class="pill-dot"></span>v1.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.9.0 docs · EN</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Language">
|
|
35
35
|
<a class="language-option" href="/security" hreflang="vi" lang="vi">VI</a>
|
|
36
36
|
<a class="language-option current" href="/en/security" hreflang="en" lang="en" aria-current="true">EN</a>
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
<div class="nav-group">
|
|
60
60
|
<p class="nav-title">Get started</p>
|
|
61
61
|
<a class="nav-link" href="/en/">Overview</a>
|
|
62
|
+
<a class="nav-link" href="/en/ecosystem">Ecosystem</a>
|
|
62
63
|
<a class="nav-link" href="/en/quickstart">Quickstart</a>
|
|
63
64
|
<a class="nav-link" href="/en/whats-new">What’s new</a>
|
|
64
65
|
<a class="nav-link" href="/en/scope">Platform scope</a>
|
|
@@ -100,7 +101,7 @@
|
|
|
100
101
|
</nav>
|
|
101
102
|
<div class="page-head">
|
|
102
103
|
<h1>Policy enforcement, not an OS sandbox</h1>
|
|
103
|
-
<p>Controlled tool surfaces fail closed when profiles, integrity locks
|
|
104
|
+
<p>Controlled tool surfaces fail closed when profiles, integrity locks or permissions are invalid.</p>
|
|
104
105
|
</div>
|
|
105
106
|
<section class="section">
|
|
106
107
|
<div class="grid cols-2">
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
<article class="card"><h3 id="secret-redaction">Secret redaction</h3><p>Text tool output passes through a redactor for provider tokens, secret keyword patterns, and common sensitive values. Current benchmarks are synthetic and internal; the model continues to evolve.</p></article>
|
|
110
111
|
<article class="card"><h3 id="capability-lock">Capability lock</h3><p>Capability packs have digests and tamper detection. An invalid lock fails closed and never expands permissions automatically.</p></article>
|
|
111
112
|
<article class="card"><h3 id="human-action-gate">Human-action gate</h3><p>Destructive or external-provider actions require explicit operator confirmation even in full-access mode. The gate covers direct tools, decoded MCP proxy calls, GitHub CLI writes, and non-GET HTTP shell forms.</p></article>
|
|
112
|
-
<article class="card"><h3 id="verify-evidence">
|
|
113
|
+
<article class="card"><h3 id="verify-evidence">Real checks</h3><p>In company mode the Harness only counts a check that actually ran and passed on the final code; saying “tested” is not enough.</p></article>
|
|
113
114
|
</div>
|
|
114
115
|
|
|
115
116
|
<div class="callout">
|
package/docs-site/en/team.html
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<span>Pi Agent Platform</span>
|
|
31
31
|
</a>
|
|
32
32
|
<div class="top-actions">
|
|
33
|
-
<span class="pill"><span class="pill-dot"></span>v1.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.9.0 docs · EN</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Language">
|
|
35
35
|
<a class="language-option" href="/team" hreflang="vi" lang="vi">VI</a>
|
|
36
36
|
<a class="language-option current" href="/en/team" hreflang="en" lang="en" aria-current="true">EN</a>
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
<div class="nav-group">
|
|
60
60
|
<p class="nav-title">Get started</p>
|
|
61
61
|
<a class="nav-link" href="/en/">Overview</a>
|
|
62
|
+
<a class="nav-link" href="/en/ecosystem">Ecosystem</a>
|
|
62
63
|
<a class="nav-link" href="/en/quickstart">Quickstart</a>
|
|
63
64
|
<a class="nav-link" href="/en/whats-new">What’s new</a>
|
|
64
65
|
<a class="nav-link" href="/en/scope">Platform scope</a>
|
|
@@ -104,11 +105,11 @@
|
|
|
104
105
|
</div>
|
|
105
106
|
<section class="section">
|
|
106
107
|
<div class="split">
|
|
107
|
-
<article class="card"><h3 id="do">Do</h3><p>
|
|
108
|
+
<article class="card"><h3 id="do">Do</h3><p>Ask the agent to read the project and record its context, apply <span class="inline-code">/profile auto</span>, assign work in plain language, run real checks, and state blockers clearly.</p></article>
|
|
108
109
|
<article class="card"><h3 id="avoid">Avoid</h3><p>Do not place tokens, authentication files, caches, sessions, private examples, or project-specific business logic in the public core package.</p></article>
|
|
109
110
|
</div>
|
|
110
111
|
<div class="callout ok-callout">
|
|
111
|
-
<strong>
|
|
112
|
+
<strong>The final answer</strong>
|
|
112
113
|
<p>A final response should briefly state what changed, which verification ran, whether subagents were used, and which risks or next steps require review.</p>
|
|
113
114
|
</div>
|
|
114
115
|
<div class="callout">
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<title>
|
|
7
|
-
<meta name="description" content="
|
|
6
|
+
<title>1.9.0: ask in plain language, the team's Harness checks · Pi Agent Platform Docs</title>
|
|
7
|
+
<meta name="description" content="The task contract and workflow commands are gone. Company mode asks for checks and a review on its own; Stop, network commands on approval and clearer approval cards." />
|
|
8
8
|
<meta name="theme-color" content="#050505" />
|
|
9
9
|
<link rel="canonical" href="https://piagent.io.vn/en/whats-new" />
|
|
10
10
|
<link rel="alternate" hreflang="vi" href="https://piagent.io.vn/whats-new" />
|
|
11
11
|
<link rel="alternate" hreflang="en" href="https://piagent.io.vn/en/whats-new" />
|
|
12
12
|
<link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/whats-new" />
|
|
13
13
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
14
|
-
<meta property="og:title" content="
|
|
15
|
-
<meta property="og:description" content="
|
|
14
|
+
<meta property="og:title" content="1.9.0: ask in plain language, the team's Harness checks · Pi Agent Platform Docs" />
|
|
15
|
+
<meta property="og:description" content="The task contract and workflow commands are gone. Company mode asks for checks and a review on its own; Stop, network commands on approval and clearer approval cards." />
|
|
16
16
|
<meta property="og:url" content="https://piagent.io.vn/en/whats-new" />
|
|
17
17
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
18
18
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<span>Pi Agent Platform</span>
|
|
31
31
|
</a>
|
|
32
32
|
<div class="top-actions">
|
|
33
|
-
<span class="pill"><span class="pill-dot"></span>v1.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.9.0 docs · EN</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Language">
|
|
35
35
|
<a class="language-option" href="/whats-new" hreflang="vi" lang="vi">VI</a>
|
|
36
36
|
<a class="language-option current" href="/en/whats-new" hreflang="en" lang="en" aria-current="true">EN</a>
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
<div class="nav-group">
|
|
60
60
|
<p class="nav-title">Get started</p>
|
|
61
61
|
<a class="nav-link" href="/en/">Overview</a>
|
|
62
|
+
<a class="nav-link" href="/en/ecosystem">Ecosystem</a>
|
|
62
63
|
<a class="nav-link" href="/en/quickstart">Quickstart</a>
|
|
63
64
|
<a class="nav-link current" href="/en/whats-new" aria-current="page">What’s new</a>
|
|
64
65
|
<a class="nav-link" href="/en/scope">Platform scope</a>
|
|
@@ -99,9 +100,85 @@
|
|
|
99
100
|
<span>What’s new</span>
|
|
100
101
|
</nav>
|
|
101
102
|
<div class="page-head">
|
|
102
|
-
<h1>
|
|
103
|
-
<p>
|
|
103
|
+
<h1>1.9.0: ask in plain language, the team's Harness checks</h1>
|
|
104
|
+
<p>The task contract and workflow commands are gone. Company mode asks for checks and a review on its own; Stop, network commands on approval and clearer approval cards.</p>
|
|
104
105
|
</div>
|
|
106
|
+
<section class="section">
|
|
107
|
+
<p class="section-kicker">v1.9.0 · 2026-10-02</p>
|
|
108
|
+
<h2 id="v1-9-0">Ask in plain language; the team's Harness does the checking</h2>
|
|
109
|
+
<p class="section-lead">The task contract and the workflow commands are gone: you ask as you would ask a colleague, and the guard still checks every tool call. Company mode runs through Agent Studio and Agent Watch; its Harness asks for checks, has a subagent review the change and sends blocking findings back to the agent. See <a href="/en/ecosystem">Ecosystem</a>.</p>
|
|
110
|
+
|
|
111
|
+
<div class="benchmark-metrics" aria-label="Release 1.9.0 verification figures">
|
|
112
|
+
<div class="benchmark-metric"><span>Live scenarios</span><strong>13/13</strong><small>9 personal, 4 company, on the final install</small></div>
|
|
113
|
+
<div class="benchmark-metric"><span>Automated tests</span><strong>5,800+</strong><small>unit, integration and security; 0 failures</small></div>
|
|
114
|
+
<div class="benchmark-metric"><span>Browser tests</span><strong>27/27</strong><small>dashboard and WebUI on Chromium</small></div>
|
|
115
|
+
<div class="benchmark-metric"><span>Smaller guard</span><strong>−854 lines</strong><small>code that only served the task contract (4993 → 4139)</small></div>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<figure class="shot">
|
|
119
|
+
<img src="/assets/shots/company-run-done.jpg" alt="A company-mode turn: the agent changes code and runs the tests; A check passed and Review found no blocking issue are written under the answer" loading="lazy" width="1600" height="1000">
|
|
120
|
+
<figcaption>A company-mode turn: the agent changes code and runs the tests, a subagent reviews the change, and the outcome is written right under the answer.</figcaption>
|
|
121
|
+
</figure>
|
|
122
|
+
|
|
123
|
+
<div class="grid cols-3">
|
|
124
|
+
<article class="card"><h3 id="freeform">Plain-language requests</h3><p>No more <span class="inline-code">/workflow</span>, <span class="inline-code">/fresh</span>, <span class="inline-code">/onboard</span> or task contract. The guard still blocks protected files and checks permission profiles, oversized files and stale edits, and asks you before a push or publish.</p></article>
|
|
125
|
+
<article class="card"><h3 id="harness">The team's Harness</h3><p>Studio decides whether each turn suggests or requires a plan, checks and a review. A separate subagent reviews; blocking findings go back to the agent within the team's fix rounds.</p></article>
|
|
126
|
+
<article class="card"><h3 id="network">Network on approval</h3><p>Company-mode commands run without network. To install a package the agent asks to run that one command with network; the card shows the exact command and you allow it once.</p></article>
|
|
127
|
+
<article class="card"><h3 id="stop">Stop and continue</h3><p>Stop works for the whole turn, including while the review runs. A stopped turn says it was stopped, not that the model failed; Continue picks up from the steps kept.</p></article>
|
|
128
|
+
<article class="card"><h3 id="reconnect">Reconnect company mode</h3><p>If the company runtime is not running (after a restart or an update), the conversation says so and offers Reconnect in place.</p></article>
|
|
129
|
+
<article class="card"><h3 id="local-state">Out of git</h3><p><span class="inline-code">.pi/piagent-state</span> gets its own <span class="inline-code">.gitignore</span>; run state no longer shows up in the project's <span class="inline-code">git status</span>.</p></article>
|
|
130
|
+
<article class="card"><h3 id="queue">Waiting in line when the company is busy</h3><p>When every company model account is busy, a request waits its turn (up to 20 minutes) instead of failing. The running turn shows a “Wait for a free company account” step; Stop still works.</p></article>
|
|
131
|
+
<article class="card"><h3 id="many-conversations">Many conversations at once</h3><p>Creating or sending in one conversation is no longer refused because another one just changed. Two folders with the same name (two clones) also show where each one is.</p></article>
|
|
132
|
+
<article class="card"><h3 id="model-scope">Clean up models that are gone</h3><p><span class="inline-code">piagent-doctor</span> lists configured models Pi no longer knows; <span class="inline-code">piagent-model-scope --prune</span> removes only those lines.</p></article>
|
|
133
|
+
</div>
|
|
134
|
+
</section>
|
|
135
|
+
|
|
136
|
+
<section class="section">
|
|
137
|
+
<p class="section-kicker">From the dashboard</p>
|
|
138
|
+
<h2 id="v1-9-0-shots">What a member sees while working</h2>
|
|
139
|
+
<div class="shot-grid">
|
|
140
|
+
<figure class="shot">
|
|
141
|
+
<img src="/assets/shots/network-approval.jpg" alt="Approval card for one network command, showing the exact npm install command" loading="lazy" width="1600" height="1000">
|
|
142
|
+
<figcaption>Approving one network command: the card shows the exact command and what allow or deny does.</figcaption>
|
|
143
|
+
</figure>
|
|
144
|
+
<figure class="shot">
|
|
145
|
+
<img src="/assets/shots/new-chat-models.jpg" alt="Choosing a model for a new conversation: Company and Personal groups" loading="lazy" width="1600" height="1000">
|
|
146
|
+
<figcaption>New conversation: a company model or a personal one, in the same dashboard.</figcaption>
|
|
147
|
+
</figure>
|
|
148
|
+
<figure class="shot">
|
|
149
|
+
<img src="/assets/shots/company-review-running.jpg" alt="Review running: the header shows Subagent 1/2 and Stop is still available" loading="lazy" width="1600" height="1000">
|
|
150
|
+
<figcaption>Review running: the header shows Subagent 1/2 and Stop still works.</figcaption>
|
|
151
|
+
</figure>
|
|
152
|
+
<figure class="shot">
|
|
153
|
+
<img src="/assets/shots/personal-edit-test.jpg" alt="A personal turn that edits code, with the diff inside the Edit card" loading="lazy" width="1600" height="1000">
|
|
154
|
+
<figcaption>Personal mode: every read, edit and command is a card, with the diff right there.</figcaption>
|
|
155
|
+
</figure>
|
|
156
|
+
</div>
|
|
157
|
+
</section>
|
|
158
|
+
|
|
159
|
+
<section class="section">
|
|
160
|
+
<p class="section-kicker">Verification</p>
|
|
161
|
+
<h2 id="v1-9-0-verification">Run for real, the way a member works</h2>
|
|
162
|
+
<p class="section-lead">Each scenario drives a real browser against the installed release, sends messages as a member would and checks the result on disk. Every experience bug found was fixed with a test and the scenario run again.</p>
|
|
163
|
+
<div class="table-wrap"><table>
|
|
164
|
+
<thead><tr><th>Scenario</th><th>Result</th></tr></thead>
|
|
165
|
+
<tbody>
|
|
166
|
+
<tr><td>Company · strip Vietnamese accents from slugs, add tests</td><td>2 files changed, tests pass, "A check passed on the final code · Review found no blocking issue"</td></tr>
|
|
167
|
+
<tr><td>Company · press Stop while the review runs</td><td>"The turn stopped before its checks finished", no error shown</td></tr>
|
|
168
|
+
<tr><td>Company · install a package that needs network</td><td>The approval card shows the exact command; once allowed, the package is in <span class="inline-code">package.json</span></td></tr>
|
|
169
|
+
<tr><td>Company · send another message during a turn</td><td>Held, sent when the turn ends, and answered</td></tr>
|
|
170
|
+
<tr><td>Personal · edit, test, commit and push</td><td>Push waits for approval in the browser; stopping a long command leaves no process behind</td></tr>
|
|
171
|
+
<tr><td>Personal · read <span class="inline-code">.env</span></td><td>Blocked without revealing values; the agent explains how to open it yourself</td></tr>
|
|
172
|
+
</tbody>
|
|
173
|
+
</table></div>
|
|
174
|
+
<p>Benchmark and journey results of earlier releases were measured with task contracts; they are historical, and 1.9.0 has not been measured again.</p>
|
|
175
|
+
</section>
|
|
176
|
+
|
|
177
|
+
<div class="callout">
|
|
178
|
+
<strong>Earlier releases</strong>
|
|
179
|
+
<p>The notes below describe earlier releases as they shipped. Since 1.9.0 the task contract, trajectories, completion receipts and workflow commands mentioned below are gone.</p>
|
|
180
|
+
</div>
|
|
181
|
+
|
|
105
182
|
<section class="section">
|
|
106
183
|
<p class="section-kicker">v1.8.0</p>
|
|
107
184
|
<h2 id="v1-8-0">Astra, Sol, and Luna in Piagent</h2>
|
|
@@ -172,7 +249,7 @@
|
|
|
172
249
|
<p class="section-kicker">Daily flow</p>
|
|
173
250
|
<h2 id="usage-flow">The daily workflow does not break</h2>
|
|
174
251
|
<div class="steps">
|
|
175
|
-
<article class="step"><div><h3>Assign work as before</h3><p>Use a natural-language request
|
|
252
|
+
<article class="step"><div><h3>Assign work as before</h3><p>Use a natural-language request (<span class="inline-code">/workflow</span> was retired in 1.9.0). Manual preflight is optional.</p></div></article>
|
|
176
253
|
<article class="step"><div><h3>The runtime records truth</h3><p>Task Contracts, context, changed files, trajectories, and checkpoints are updated from hooks and tool results rather than model memory.</p></div></article>
|
|
177
254
|
<article class="step"><div><h3>Verify the exact working tree</h3><p>Only observed exact commands that exit successfully and match the current-tree digest count as passing evidence.</p></div></article>
|
|
178
255
|
<article class="step"><div><h3>Bounded recovery or handoff</h3><p>Source repair and transient retries have ceilings. Unsafe cases return to handoff or the operator instead of continuing by guesswork.</p></div></article>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>How workflows change after the update · Pi Agent Platform Docs</title>
|
|
7
|
-
<meta name="description" content="
|
|
7
|
+
<meta name="description" content="Since 1.9.0 there are no workflow launchers: say what you need in plain language. The optional inspection commands only observe and never start a model turn." />
|
|
8
8
|
<meta name="theme-color" content="#050505" />
|
|
9
9
|
<link rel="canonical" href="https://piagent.io.vn/en/workflows" />
|
|
10
10
|
<link rel="alternate" hreflang="vi" href="https://piagent.io.vn/workflows" />
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<link rel="alternate" hreflang="x-default" href="https://piagent.io.vn/workflows" />
|
|
13
13
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
14
14
|
<meta property="og:title" content="How workflows change after the update · Pi Agent Platform Docs" />
|
|
15
|
-
<meta property="og:description" content="
|
|
15
|
+
<meta property="og:description" content="Since 1.9.0 there are no workflow launchers: say what you need in plain language. The optional inspection commands only observe and never start a model turn." />
|
|
16
16
|
<meta property="og:url" content="https://piagent.io.vn/en/workflows" />
|
|
17
17
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
18
18
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<span>Pi Agent Platform</span>
|
|
31
31
|
</a>
|
|
32
32
|
<div class="top-actions">
|
|
33
|
-
<span class="pill"><span class="pill-dot"></span>v1.
|
|
33
|
+
<span class="pill"><span class="pill-dot"></span>v1.9.0 docs · EN</span>
|
|
34
34
|
<nav class="language-switch" aria-label="Language">
|
|
35
35
|
<a class="language-option" href="/workflows" hreflang="vi" lang="vi">VI</a>
|
|
36
36
|
<a class="language-option current" href="/en/workflows" hreflang="en" lang="en" aria-current="true">EN</a>
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
<div class="nav-group">
|
|
60
60
|
<p class="nav-title">Get started</p>
|
|
61
61
|
<a class="nav-link" href="/en/">Overview</a>
|
|
62
|
+
<a class="nav-link" href="/en/ecosystem">Ecosystem</a>
|
|
62
63
|
<a class="nav-link" href="/en/quickstart">Quickstart</a>
|
|
63
64
|
<a class="nav-link" href="/en/whats-new">What’s new</a>
|
|
64
65
|
<a class="nav-link" href="/en/scope">Platform scope</a>
|
|
@@ -100,25 +101,24 @@
|
|
|
100
101
|
</nav>
|
|
101
102
|
<div class="page-head">
|
|
102
103
|
<h1>How workflows change after the update</h1>
|
|
103
|
-
<p>
|
|
104
|
+
<p>Since 1.9.0 there are no workflow launchers: say what you need in plain language. The optional inspection commands only observe and never start a model turn.</p>
|
|
104
105
|
</div>
|
|
105
106
|
<section class="section">
|
|
106
107
|
<p class="section-kicker">Workflow impact</p>
|
|
107
108
|
<h2 id="conclusion">No new command is mandatory in the daily flow</h2>
|
|
108
|
-
<p class="section-lead">
|
|
109
|
+
<p class="section-lead">Since 1.9.0 work is assigned with a plain-language request and nothing else. <span class="inline-code">/workflow</span>, <span class="inline-code">/task</span>, <span class="inline-code">/fresh</span> and <span class="inline-code">/onboard</span> were retired together with the task contract: a session no longer records a contract, work plan, completion gate or receipt. The guard still checks every tool call.</p>
|
|
109
110
|
<div class="callout ok-callout">
|
|
110
111
|
<strong>Short answer</strong>
|
|
111
|
-
<p>
|
|
112
|
+
<p>Say what you want, including whether the agent may edit ("read-only, do not edit", "plan first", "implement and run the tests"). The inspection commands below are optional and never start a model turn.</p>
|
|
112
113
|
</div>
|
|
113
114
|
<div class="table-wrap">
|
|
114
115
|
<table>
|
|
115
|
-
<thead><tr><th>Moment</th><th>
|
|
116
|
+
<thead><tr><th>Moment</th><th>What the user does</th><th>What the runtime does</th><th>Optional inspection command</th></tr></thead>
|
|
116
117
|
<tbody>
|
|
117
|
-
<tr><td>Before
|
|
118
|
-
<tr><td>During work</td><td>
|
|
119
|
-
<tr><td>Verify and review</td><td>
|
|
120
|
-
<tr><td>
|
|
121
|
-
<tr><td>After a task</td><td>No new required step.</td><td>Keeps sourced telemetry without inferring quality.</td><td><span class="inline-code">/usage efficiency</span></td></tr>
|
|
118
|
+
<tr><td>Before the work</td><td>Send the request in plain language.</td><td>Loads the profile and project context.</td><td><span class="inline-code">/task-preflight [--json] <intent></span></td></tr>
|
|
119
|
+
<tr><td>During the work</td><td>Follow along or answer a confirmation.</td><td>Checks each tool call: protected and read-only paths, permission profile, context budget for large files, edits against a stale read, and confirmation for destructive or external actions. The inspector updates below the footer.</td><td><span class="inline-code">/piagent-inspector</span> or <span class="inline-code">/piagent-status</span></td></tr>
|
|
120
|
+
<tr><td>Verify and review</td><td>Ask for the project's checks, or for a review of the current diff.</td><td>Runs the commands like any other tool call.</td><td><span class="inline-code">/piagent-inspector commands</span></td></tr>
|
|
121
|
+
<tr><td>After the work</td><td>No required step.</td><td>Keeps sourced telemetry without inferring quality.</td><td><span class="inline-code">/usage efficiency</span></td></tr>
|
|
122
122
|
</tbody>
|
|
123
123
|
</table>
|
|
124
124
|
</div>
|
|
@@ -126,22 +126,22 @@
|
|
|
126
126
|
|
|
127
127
|
<section class="section">
|
|
128
128
|
<p class="section-kicker">Command semantics</p>
|
|
129
|
-
<h2 id="command-effects">How far the
|
|
129
|
+
<h2 id="command-effects">How far the inspection commands affect a workflow</h2>
|
|
130
130
|
<div class="table-wrap">
|
|
131
131
|
<table>
|
|
132
132
|
<thead><tr><th>Command</th><th>Reads or displays</th><th>Does not perform</th></tr></thead>
|
|
133
133
|
<tbody>
|
|
134
|
-
<tr><td><span class="inline-code">/task-preflight</span></td><td>
|
|
135
|
-
<tr><td><span class="inline-code">/piagent-status</span></td><td>
|
|
136
|
-
<tr><td><span class="inline-code">/piagent-inspector</span></td><td>
|
|
137
|
-
<tr><td><span class="inline-code">/usage efficiency</span></td><td>Sourced context telemetry
|
|
138
|
-
<tr><td><span class="inline-code">/piagent-orchestration</span></td><td>Current mode, helper mode,
|
|
134
|
+
<tr><td><span class="inline-code">/task-preflight</span></td><td>Context and the deterministic shadow route for an intent.</td><td>Does not create anything, call a model, or grant implementation authority.</td></tr>
|
|
135
|
+
<tr><td><span class="inline-code">/piagent-status</span></td><td>Profile, guard, runtime and authenticated model state.</td><td>Does not edit files, rerun verification or retry work.</td></tr>
|
|
136
|
+
<tr><td><span class="inline-code">/piagent-inspector</span></td><td>Changed files in the four-row footer panel, current tool, command failures and blocks, safety warnings, and context budget. No argument opens the menu.</td><td>Does not edit files, execute commands, or estimate tokens for each built-in tool.</td></tr>
|
|
137
|
+
<tr><td><span class="inline-code">/usage efficiency</span></td><td>Sourced context telemetry; unavailable facts remain <span class="inline-code">null</span> or unavailable.</td><td>Does not grade a person or model.</td></tr>
|
|
138
|
+
<tr><td><span class="inline-code">/piagent-orchestration</span></td><td>Current mode, helper mode, helper limit, review lenses, Field Guide, and writer policy.</td><td>Does not change mode, spawn a helper, or enable parallel writers.</td></tr>
|
|
139
139
|
</tbody>
|
|
140
140
|
</table>
|
|
141
141
|
</div>
|
|
142
142
|
<div class="callout">
|
|
143
143
|
<strong>Only explicit opt-in changes behavior.</strong>
|
|
144
|
-
<p>These five commands are read-only. Behavior changes only when an operator deliberately enables a
|
|
144
|
+
<p>These five commands are read-only. Behavior changes only when an operator deliberately enables a setting such as helper mode; parent routing, automatic workers, and multiple writers do not turn on automatically.</p>
|
|
145
145
|
</div>
|
|
146
146
|
</section>
|
|
147
147
|
|
|
@@ -150,14 +150,13 @@
|
|
|
150
150
|
<h2 id="example-flow">A complete flow can look like this</h2>
|
|
151
151
|
<div class="command-grid">
|
|
152
152
|
<article class="command-card">
|
|
153
|
-
<header><span>Inspect → implement → review
|
|
153
|
+
<header><span>Inspect → implement → review</span><button class="clip-btn" data-clip="/task-preflight --json Fix the failing checkout test Fix the failing checkout test and run the project tests. /piagent-inspector Review the current diff: correctness, missing tests, scope drift. Read-only. /usage efficiency">Copy</button></header>
|
|
154
154
|
<pre><code>/task-preflight --json Fix the failing checkout test
|
|
155
|
-
|
|
155
|
+
Fix the failing checkout test and run the project tests.
|
|
156
156
|
/piagent-inspector
|
|
157
|
-
|
|
158
|
-
/piagent-status
|
|
157
|
+
Review the current diff: correctness, missing tests, scope drift. Read-only.
|
|
159
158
|
/usage efficiency</code></pre>
|
|
160
|
-
<p>Only
|
|
159
|
+
<p>Only the plain-language lines start model work. Preflight, inspector and efficiency are optional views.</p>
|
|
161
160
|
</article>
|
|
162
161
|
</div>
|
|
163
162
|
</section>
|
|
@@ -165,22 +164,22 @@
|
|
|
165
164
|
<section class="section">
|
|
166
165
|
<div class="callout ok-callout">
|
|
167
166
|
<strong>Git in Pi Agent</strong>
|
|
168
|
-
<p>There is no
|
|
167
|
+
<p>There is no <span class="inline-code">/git</span> namespace and no workflow command. Ask for a commit or a pull request in plain language. <span class="inline-code">git push</span>, GitHub writes and broad staging such as <span class="inline-code">git add -A</span> still require operator confirmation.</p>
|
|
169
168
|
</div>
|
|
170
169
|
<div class="callout">
|
|
171
170
|
<strong>Parent-direct orchestration</strong>
|
|
172
|
-
<p>Use <span class="inline-code">/piagent-orchestration</span> to inspect the
|
|
171
|
+
<p>Use <span class="inline-code">/piagent-orchestration</span> to inspect the helper ceiling, dispatch/skip reason, review lenses, Field Guide, and writer policy. Helpers default to off. With explicit opt-in the parent may use up to two fresh read-only helpers; token-saving estimates are telemetry, not a gate. Workers and retries stay disabled.</p>
|
|
173
172
|
</div>
|
|
174
173
|
<div class="command-grid">
|
|
175
|
-
<article class="command-card"><header><span>
|
|
176
|
-
<article class="command-card"><header><span>Read-only scout</span><button class="clip-btn" data-clip="
|
|
177
|
-
<article class="command-card"><header><span>Plan before coding</span><button class="clip-btn" data-clip="
|
|
178
|
-
<article class="command-card"><header><span>Review a diff</span><button class="clip-btn" data-clip="
|
|
179
|
-
<article class="command-card"><header><span>
|
|
180
|
-
<article class="command-card"><header><span>
|
|
181
|
-
<article class="command-card"><header><span>Backend spec to frontend</span><button class="clip-btn" data-clip="/profile be-readonly-fe

|
|
182
|
-
|
|
183
|
-
<article class="command-card"><header><span>
|
|
174
|
+
<article class="command-card"><header><span>Implementation</span><button class="clip-btn" data-clip="Fix the failing checkout test and run the project tests.">Copy</button></header><pre><code>Fix the failing checkout test and run the project tests.</code></pre></article>
|
|
175
|
+
<article class="command-card"><header><span>Read-only scout</span><button class="clip-btn" data-clip="Map the auth flow and risk areas. Read-only, do not edit.">Copy</button></header><pre><code>Map the auth flow and risk areas. Read-only, do not edit.</code></pre></article>
|
|
176
|
+
<article class="command-card"><header><span>Plan before coding</span><button class="clip-btn" data-clip="Plan multi-tenant billing support. Do not edit code yet.">Copy</button></header><pre><code>Plan multi-tenant billing support. Do not edit code yet.</code></pre></article>
|
|
177
|
+
<article class="command-card"><header><span>Review a diff</span><button class="clip-btn" data-clip="Review the current diff: correctness, missing tests, scope drift. Read-only.">Copy</button></header><pre><code>Review the current diff: correctness, missing tests, scope drift. Read-only.</code></pre></article>
|
|
178
|
+
<article class="command-card"><header><span>Local commit</span><button class="clip-btn" data-clip="Commit the two docs files with message "docs: update onboarding notes". Do not push.">Copy</button></header><pre><code>Commit the two docs files with message "docs: update onboarding notes". Do not push.</code></pre></article>
|
|
179
|
+
<article class="command-card"><header><span>Pull request</span><button class="clip-btn" data-clip="Open a draft pull request for this branch titled "Harden command docs".">Copy</button></header><pre><code>Open a draft pull request for this branch titled "Harden command docs".</code></pre></article>
|
|
180
|
+
<article class="command-card"><header><span>Backend spec to frontend</span><button class="clip-btn" data-clip="/profile be-readonly-fe Implement frontend support for the new user status endpoint. Backend is read-only.">Copy</button></header><pre><code>/profile be-readonly-fe
|
|
181
|
+
Implement frontend support for the new user status endpoint. Backend is read-only.</code></pre></article>
|
|
182
|
+
<article class="command-card"><header><span>Onboard a project</span><button class="clip-btn" data-clip="Inspect this project read-only and record its project context.">Copy</button></header><pre><code>Inspect this project read-only and record its project context.</code></pre></article>
|
|
184
183
|
</div>
|
|
185
184
|
</section>
|
|
186
185
|
<nav class="pager" aria-label="Adjacent pages">
|