@piagent/platform 1.7.1 → 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 +113 -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 +69 -91
- package/docs/context-window-policy.md +5 -5
- package/docs/distribution-standard.md +16 -19
- 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 +22 -17
- package/docs/oauth-providers.md +1 -1
- package/docs/operator-manual-vietnamese.md +85 -130
- 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 +3 -1
- package/docs/quality-benchmark.md +2 -0
- package/docs/quickstart-vietnamese.md +24 -25
- package/docs/release-install-policy.md +16 -11
- 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 +33 -64
- 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/runtime.html +1 -1
- 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 +89 -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/runtime.html +2 -2
- package/docs-site/content/security.html +2 -2
- package/docs-site/content/team.html +2 -2
- package/docs-site/content/whats-new.html +89 -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 +3 -2
- 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 +97 -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 +4 -3
- 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 +97 -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 +10 -9
- 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 +3 -6
- 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/inspection/same-process-bridge-proof.ts +1 -1
- package/packages/piagent-core/runtime/inspection/webui-snapshot.ts +1 -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/model/model-route-policy.ts +33 -13
- package/packages/piagent-core/runtime/model/model-route-types.ts +10 -6
- 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-DGk34zJT.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 +42 -12
- 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 +36 -8
- package/scripts/configure-subagents.sh +1 -1
- package/scripts/explain-command.mjs +5 -6
- package/scripts/install-global.sh +2 -2
- package/scripts/model-route-evaluation-core.ts +1 -0
- package/scripts/model-scope-prune.mjs +75 -0
- package/scripts/phase-tools-evaluation.mjs +9 -4
- package/scripts/pi-model-route.mjs +1 -1
- 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/setup.sh +2 -2
- package/scripts/team-doctor.sh +20 -1
- package/scripts/typescript-loader.mjs +6 -0
- package/scripts/verify-local.sh +5 -5
- package/scripts/verify-release-identity.mjs +1 -1
- package/templates/global/settings.json +8 -2
- 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-DiKRmCEP.js +0 -176
|
@@ -47,12 +47,11 @@ pi</code></pre>
|
|
|
47
47
|
|
|
48
48
|
<article class="step">
|
|
49
49
|
<div>
|
|
50
|
-
<h3 id="onboard-context">
|
|
51
|
-
<p>
|
|
50
|
+
<h3 id="onboard-context">Let the agent read the project</h3>
|
|
51
|
+
<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>
|
|
52
52
|
<div class="command-card">
|
|
53
|
-
<header><span>
|
|
54
|
-
<pre><code
|
|
55
|
-
/onboard run</code></pre>
|
|
53
|
+
<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>
|
|
54
|
+
<pre><code>Inspect this project read-only and record its project context.</code></pre>
|
|
56
55
|
</div>
|
|
57
56
|
</div>
|
|
58
57
|
</article>
|
|
@@ -84,20 +83,19 @@ pi</code></pre>
|
|
|
84
83
|
<article class="step">
|
|
85
84
|
<div>
|
|
86
85
|
<h3 id="run-workflow">Run a workflow</h3>
|
|
87
|
-
<p>
|
|
86
|
+
<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>
|
|
88
87
|
<div class="command-card">
|
|
89
|
-
<header><span>
|
|
90
|
-
<pre><code
|
|
91
|
-
|
|
92
|
-
/fresh task Implement the requested bounded change.</code></pre>
|
|
88
|
+
<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>
|
|
89
|
+
<pre><code>Implement the requested change and run the project tests.
|
|
90
|
+
Review the current diff. Read-only.</code></pre>
|
|
93
91
|
</div>
|
|
94
92
|
</div>
|
|
95
93
|
</article>
|
|
96
94
|
|
|
97
95
|
<article class="step">
|
|
98
96
|
<div>
|
|
99
|
-
<h3 id="verify-before-handoff">
|
|
100
|
-
<p>
|
|
97
|
+
<h3 id="verify-before-handoff">Check before you hand over</h3>
|
|
98
|
+
<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>
|
|
101
99
|
<div class="command-card">
|
|
102
100
|
<header><span>Doctor</span><button class="clip-btn" data-clip="piagent-doctor">Copy</button></header>
|
|
103
101
|
<pre><code>piagent-doctor</code></pre>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<section class="section">
|
|
2
2
|
<div class="command-grid">
|
|
3
3
|
<article class="command-card"><header><span>Global setup</span><button class="clip-btn" data-clip="piagent-setup --mcp-preset core --subagents-preset safe">Copy</button></header><pre><code>piagent-setup --mcp-preset core --subagents-preset safe</code></pre></article>
|
|
4
|
-
<article class="command-card"><header><span>Full update</span><button class="clip-btn" data-clip="npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.
|
|
4
|
+
<article class="command-card"><header><span>Full update</span><button class="clip-btn" data-clip="npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1 npm install -g --ignore-scripts @piagent/platform@X.Y.Z piagent-install --stable --dry-run piagent-install --stable">Copy</button></header><pre><code>npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1
|
|
5
5
|
npm install -g --ignore-scripts @piagent/platform@X.Y.Z
|
|
6
6
|
piagent-install --stable --dry-run
|
|
7
7
|
piagent-install --stable</code></pre></article>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<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>
|
|
6
6
|
<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>
|
|
7
7
|
<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>
|
|
8
|
-
<article class="card"><h3 id="verify-evidence">
|
|
8
|
+
<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>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div class="callout">
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<section class="section">
|
|
2
2
|
<div class="split">
|
|
3
|
-
<article class="card"><h3 id="do">Do</h3><p>
|
|
3
|
+
<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>
|
|
4
4
|
<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>
|
|
5
5
|
</div>
|
|
6
6
|
<div class="callout ok-callout">
|
|
7
|
-
<strong>
|
|
7
|
+
<strong>The final answer</strong>
|
|
8
8
|
<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>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="callout">
|
|
@@ -1,3 +1,91 @@
|
|
|
1
|
+
<section class="section">
|
|
2
|
+
<p class="section-kicker">v1.9.0 · 2026-10-02</p>
|
|
3
|
+
<h2 id="v1-9-0">Ask in plain language; the team's Harness does the checking</h2>
|
|
4
|
+
<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>
|
|
5
|
+
|
|
6
|
+
<div class="benchmark-metrics" aria-label="Release 1.9.0 verification figures">
|
|
7
|
+
<div class="benchmark-metric"><span>Live scenarios</span><strong>13/13</strong><small>9 personal, 4 company, on the final install</small></div>
|
|
8
|
+
<div class="benchmark-metric"><span>Automated tests</span><strong>5,800+</strong><small>unit, integration and security; 0 failures</small></div>
|
|
9
|
+
<div class="benchmark-metric"><span>Browser tests</span><strong>27/27</strong><small>dashboard and WebUI on Chromium</small></div>
|
|
10
|
+
<div class="benchmark-metric"><span>Smaller guard</span><strong>−854 lines</strong><small>code that only served the task contract (4993 → 4139)</small></div>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<figure class="shot">
|
|
14
|
+
<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">
|
|
15
|
+
<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>
|
|
16
|
+
</figure>
|
|
17
|
+
|
|
18
|
+
<div class="grid cols-3">
|
|
19
|
+
<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>
|
|
20
|
+
<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>
|
|
21
|
+
<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>
|
|
22
|
+
<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>
|
|
23
|
+
<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>
|
|
24
|
+
<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>
|
|
25
|
+
<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>
|
|
26
|
+
<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>
|
|
27
|
+
<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>
|
|
28
|
+
</div>
|
|
29
|
+
</section>
|
|
30
|
+
|
|
31
|
+
<section class="section">
|
|
32
|
+
<p class="section-kicker">From the dashboard</p>
|
|
33
|
+
<h2 id="v1-9-0-shots">What a member sees while working</h2>
|
|
34
|
+
<div class="shot-grid">
|
|
35
|
+
<figure class="shot">
|
|
36
|
+
<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">
|
|
37
|
+
<figcaption>Approving one network command: the card shows the exact command and what allow or deny does.</figcaption>
|
|
38
|
+
</figure>
|
|
39
|
+
<figure class="shot">
|
|
40
|
+
<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">
|
|
41
|
+
<figcaption>New conversation: a company model or a personal one, in the same dashboard.</figcaption>
|
|
42
|
+
</figure>
|
|
43
|
+
<figure class="shot">
|
|
44
|
+
<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">
|
|
45
|
+
<figcaption>Review running: the header shows Subagent 1/2 and Stop still works.</figcaption>
|
|
46
|
+
</figure>
|
|
47
|
+
<figure class="shot">
|
|
48
|
+
<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">
|
|
49
|
+
<figcaption>Personal mode: every read, edit and command is a card, with the diff right there.</figcaption>
|
|
50
|
+
</figure>
|
|
51
|
+
</div>
|
|
52
|
+
</section>
|
|
53
|
+
|
|
54
|
+
<section class="section">
|
|
55
|
+
<p class="section-kicker">Verification</p>
|
|
56
|
+
<h2 id="v1-9-0-verification">Run for real, the way a member works</h2>
|
|
57
|
+
<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>
|
|
58
|
+
<div class="table-wrap"><table>
|
|
59
|
+
<thead><tr><th>Scenario</th><th>Result</th></tr></thead>
|
|
60
|
+
<tbody>
|
|
61
|
+
<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>
|
|
62
|
+
<tr><td>Company · press Stop while the review runs</td><td>"The turn stopped before its checks finished", no error shown</td></tr>
|
|
63
|
+
<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>
|
|
64
|
+
<tr><td>Company · send another message during a turn</td><td>Held, sent when the turn ends, and answered</td></tr>
|
|
65
|
+
<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>
|
|
66
|
+
<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>
|
|
67
|
+
</tbody>
|
|
68
|
+
</table></div>
|
|
69
|
+
<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>
|
|
70
|
+
</section>
|
|
71
|
+
|
|
72
|
+
<div class="callout">
|
|
73
|
+
<strong>Earlier releases</strong>
|
|
74
|
+
<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>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<section class="section">
|
|
78
|
+
<p class="section-kicker">v1.8.0</p>
|
|
79
|
+
<h2 id="v1-8-0">Astra, Sol, and Luna in Piagent</h2>
|
|
80
|
+
<p class="section-lead">Pi 0.87.1 exposes all three GPT-6 models through the authenticated catalog. New sessions prefer Sol High; parent routing remains opt-in.</p>
|
|
81
|
+
<div class="grid cols-3">
|
|
82
|
+
<article class="card"><h3>Luna</h3><p>Focused, verifiable tasks: the low tier at Medium effort.</p></article>
|
|
83
|
+
<article class="card"><h3>Sol</h3><p>Everyday coding: the medium and high tiers; the new-session default is High when available.</p></article>
|
|
84
|
+
<article class="card"><h3>Astra</h3><p>Broad or ambiguous work: the ultra tier at Extra High. Explicit pins and existing sessions stay intact.</p></article>
|
|
85
|
+
</div>
|
|
86
|
+
<p>The router selects only authenticated models and records a legacy 5.6 fallback. The old 108-session result does not measure GPT-6 performance or token savings.</p>
|
|
87
|
+
</section>
|
|
88
|
+
|
|
1
89
|
<section class="section">
|
|
2
90
|
<p class="section-kicker">v1.7.1</p>
|
|
3
91
|
<h2 id="v1-7-0">Long sessions with clearer context and accounting</h2>
|
|
@@ -56,7 +144,7 @@
|
|
|
56
144
|
<p class="section-kicker">Daily flow</p>
|
|
57
145
|
<h2 id="usage-flow">The daily workflow does not break</h2>
|
|
58
146
|
<div class="steps">
|
|
59
|
-
<article class="step"><div><h3>Assign work as before</h3><p>Use a natural-language request
|
|
147
|
+
<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>
|
|
60
148
|
<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>
|
|
61
149
|
<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>
|
|
62
150
|
<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>
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
<section class="section">
|
|
2
2
|
<p class="section-kicker">Workflow impact</p>
|
|
3
3
|
<h2 id="conclusion">No new command is mandatory in the daily flow</h2>
|
|
4
|
-
<p class="section-lead">
|
|
4
|
+
<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>
|
|
5
5
|
<div class="callout ok-callout">
|
|
6
6
|
<strong>Short answer</strong>
|
|
7
|
-
<p>
|
|
7
|
+
<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>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="table-wrap">
|
|
10
10
|
<table>
|
|
11
|
-
<thead><tr><th>Moment</th><th>
|
|
11
|
+
<thead><tr><th>Moment</th><th>What the user does</th><th>What the runtime does</th><th>Optional inspection command</th></tr></thead>
|
|
12
12
|
<tbody>
|
|
13
|
-
<tr><td>Before
|
|
14
|
-
<tr><td>During work</td><td>
|
|
15
|
-
<tr><td>Verify and review</td><td>
|
|
16
|
-
<tr><td>
|
|
17
|
-
<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>
|
|
13
|
+
<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>
|
|
14
|
+
<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>
|
|
15
|
+
<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>
|
|
16
|
+
<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>
|
|
18
17
|
</tbody>
|
|
19
18
|
</table>
|
|
20
19
|
</div>
|
|
@@ -22,22 +21,22 @@
|
|
|
22
21
|
|
|
23
22
|
<section class="section">
|
|
24
23
|
<p class="section-kicker">Command semantics</p>
|
|
25
|
-
<h2 id="command-effects">How far the
|
|
24
|
+
<h2 id="command-effects">How far the inspection commands affect a workflow</h2>
|
|
26
25
|
<div class="table-wrap">
|
|
27
26
|
<table>
|
|
28
27
|
<thead><tr><th>Command</th><th>Reads or displays</th><th>Does not perform</th></tr></thead>
|
|
29
28
|
<tbody>
|
|
30
|
-
<tr><td><span class="inline-code">/task-preflight</span></td><td>
|
|
31
|
-
<tr><td><span class="inline-code">/piagent-status</span></td><td>
|
|
32
|
-
<tr><td><span class="inline-code">/piagent-inspector</span></td><td>
|
|
33
|
-
<tr><td><span class="inline-code">/usage efficiency</span></td><td>Sourced context telemetry
|
|
34
|
-
<tr><td><span class="inline-code">/piagent-orchestration</span></td><td>Current mode, helper mode,
|
|
29
|
+
<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>
|
|
30
|
+
<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>
|
|
31
|
+
<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>
|
|
32
|
+
<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>
|
|
33
|
+
<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>
|
|
35
34
|
</tbody>
|
|
36
35
|
</table>
|
|
37
36
|
</div>
|
|
38
37
|
<div class="callout">
|
|
39
38
|
<strong>Only explicit opt-in changes behavior.</strong>
|
|
40
|
-
<p>These five commands are read-only. Behavior changes only when an operator deliberately enables a
|
|
39
|
+
<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>
|
|
41
40
|
</div>
|
|
42
41
|
</section>
|
|
43
42
|
|
|
@@ -46,14 +45,13 @@
|
|
|
46
45
|
<h2 id="example-flow">A complete flow can look like this</h2>
|
|
47
46
|
<div class="command-grid">
|
|
48
47
|
<article class="command-card">
|
|
49
|
-
<header><span>Inspect → implement → review
|
|
48
|
+
<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>
|
|
50
49
|
<pre><code>/task-preflight --json Fix the failing checkout test
|
|
51
|
-
|
|
50
|
+
Fix the failing checkout test and run the project tests.
|
|
52
51
|
/piagent-inspector
|
|
53
|
-
|
|
54
|
-
/piagent-status
|
|
52
|
+
Review the current diff: correctness, missing tests, scope drift. Read-only.
|
|
55
53
|
/usage efficiency</code></pre>
|
|
56
|
-
<p>Only
|
|
54
|
+
<p>Only the plain-language lines start model work. Preflight, inspector and efficiency are optional views.</p>
|
|
57
55
|
</article>
|
|
58
56
|
</div>
|
|
59
57
|
</section>
|
|
@@ -61,21 +59,21 @@
|
|
|
61
59
|
<section class="section">
|
|
62
60
|
<div class="callout ok-callout">
|
|
63
61
|
<strong>Git in Pi Agent</strong>
|
|
64
|
-
<p>There is no
|
|
62
|
+
<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>
|
|
65
63
|
</div>
|
|
66
64
|
<div class="callout">
|
|
67
65
|
<strong>Parent-direct orchestration</strong>
|
|
68
|
-
<p>Use <span class="inline-code">/piagent-orchestration</span> to inspect the
|
|
66
|
+
<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>
|
|
69
67
|
</div>
|
|
70
68
|
<div class="command-grid">
|
|
71
|
-
<article class="command-card"><header><span>
|
|
72
|
-
<article class="command-card"><header><span>Read-only scout</span><button class="clip-btn" data-clip="
|
|
73
|
-
<article class="command-card"><header><span>Plan before coding</span><button class="clip-btn" data-clip="
|
|
74
|
-
<article class="command-card"><header><span>Review a diff</span><button class="clip-btn" data-clip="
|
|
75
|
-
<article class="command-card"><header><span>
|
|
76
|
-
<article class="command-card"><header><span>
|
|
77
|
-
<article class="command-card"><header><span>Backend spec to frontend</span><button class="clip-btn" data-clip="/profile be-readonly-fe

|
|
78
|
-
|
|
79
|
-
<article class="command-card"><header><span>
|
|
69
|
+
<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>
|
|
70
|
+
<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>
|
|
71
|
+
<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>
|
|
72
|
+
<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>
|
|
73
|
+
<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>
|
|
74
|
+
<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>
|
|
75
|
+
<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
|
|
76
|
+
Implement frontend support for the new user status endpoint. Backend is read-only.</code></pre></article>
|
|
77
|
+
<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>
|
|
80
78
|
</div>
|
|
81
79
|
</section>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<section class="hero">
|
|
2
|
-
<p class="eyebrow">
|
|
3
|
-
<h1>
|
|
2
|
+
<p class="eyebrow">Piagent 1.9.0</p>
|
|
3
|
+
<h1>Coding agent cho cả team, kiểm tra từng bước.</h1>
|
|
4
4
|
<p>
|
|
5
|
-
|
|
5
|
+
Một dashboard cho Terminal và trình duyệt. Dùng model bằng tài khoản của bạn, hoặc model của công ty qua Agent Watch và Agent Studio. Guard kiểm tra từng tool call; ở chế độ công ty, Harness của team tự yêu cầu chạy check, cho subagent review và báo kết quả ngay dưới câu trả lời.
|
|
6
6
|
</p>
|
|
7
7
|
<div class="owner-strip" aria-label="Thông tin dự án">
|
|
8
8
|
<span class="owner-label">Project links</span>
|
|
@@ -12,14 +12,24 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
<div class="hero-actions">
|
|
14
14
|
<a class="button primary" href="/quickstart">Bắt đầu</a>
|
|
15
|
-
<a class="button" href="/
|
|
15
|
+
<a class="button" href="/ecosystem">Hệ sinh thái</a>
|
|
16
|
+
<a class="button" href="/whats-new">Có gì mới trong 1.9.0</a>
|
|
16
17
|
<a class="button" href="/commands">Xem command</a>
|
|
17
|
-
<a class="button" href="/mcp">MCP</a>
|
|
18
18
|
</div>
|
|
19
19
|
</section>
|
|
20
20
|
|
|
21
21
|
<section class="section">
|
|
22
|
-
<p class="section-kicker">
|
|
22
|
+
<p class="section-kicker">Bản 1.9.0</p>
|
|
23
|
+
<h2 id="ban-1-9-0">Một lượt làm việc ở chế độ công ty</h2>
|
|
24
|
+
<p class="section-lead">Bạn nhắn việc cần làm. Agent đọc, sửa và chạy test trong sandbox; một subagent review bản sửa; dòng cuối ghi kết quả. Đã chạy thật 13/13 kịch bản trên bản cài cuối, 27/27 test trình duyệt.</p>
|
|
25
|
+
<figure class="shot">
|
|
26
|
+
<img src="/assets/shots/company-run-done.jpg" alt="Dashboard Piagent: một lượt ở chế độ công ty với các bước đọc, sửa, chạy test và dòng Check đã qua trên code cuối, Review không có lỗi chặn" width="1600" height="1000">
|
|
27
|
+
<figcaption>Dashboard Piagent ở chế độ công ty. Xem toàn cảnh ở <a href="/ecosystem">Hệ sinh thái</a> và mọi thay đổi ở <a href="/whats-new">Có gì mới</a>.</figcaption>
|
|
28
|
+
</figure>
|
|
29
|
+
</section>
|
|
30
|
+
|
|
31
|
+
<section class="section">
|
|
32
|
+
<p class="section-kicker">Production V1 · bằng chứng lịch sử của v1.6.0</p>
|
|
23
33
|
<h2 id="bang-chung">Đo được, không phải nói suông</h2>
|
|
24
34
|
<p class="section-lead">Run gắn với release <code>production-v1-20260824T040017Z-05b7cf</code> đã đo 108 session bằng GPT-5.6 Luna Medium tại tag <code>v1.6.0</code>, đúng commit <code>3bba8f0b3ff521bc2a355e1f6bef6d1bbdc09511</code>, với Piagent so với <code>codex-cli</code>.</p>
|
|
25
35
|
|
|
@@ -79,14 +89,19 @@ piagent-setup</code></pre>
|
|
|
79
89
|
<h2 id="bat-dau-tu-dau">Bắt đầu từ đâu</h2>
|
|
80
90
|
<div class="card-grid">
|
|
81
91
|
<a class="doc-card" href="/whats-new">
|
|
82
|
-
<span class="card-kicker">
|
|
92
|
+
<span class="card-kicker">Bản 1.9.0</span>
|
|
83
93
|
<h3>Có gì mới</h3>
|
|
84
|
-
<p>
|
|
94
|
+
<p>Giao việc bằng lời thường, Harness của team, lệnh có mạng theo lần duyệt, nút Dừng suốt lượt và thẻ duyệt dễ đọc.</p>
|
|
95
|
+
</a>
|
|
96
|
+
<a class="doc-card" href="/ecosystem">
|
|
97
|
+
<span class="card-kicker">Get started</span>
|
|
98
|
+
<h3>Hệ sinh thái</h3>
|
|
99
|
+
<p>Piagent, Agent Watch và Agent Studio: phần nào chạy ở đâu, khi nào dùng chế độ cá nhân hay công ty.</p>
|
|
85
100
|
</a>
|
|
86
101
|
<a class="doc-card" href="/quickstart">
|
|
87
102
|
<span class="card-kicker">Get started</span>
|
|
88
103
|
<h3>Quickstart</h3>
|
|
89
|
-
<p>Cài, mở repo,
|
|
104
|
+
<p>Cài, mở repo, chọn profile và quyền, rồi giao việc đầu tiên bằng lời thường.</p>
|
|
90
105
|
</a>
|
|
91
106
|
<a class="doc-card" href="/scope">
|
|
92
107
|
<span class="card-kicker">Get started</span>
|
|
@@ -65,12 +65,11 @@ pi</code></pre>
|
|
|
65
65
|
|
|
66
66
|
<article class="step">
|
|
67
67
|
<div>
|
|
68
|
-
<h3 id="onboard-context">
|
|
69
|
-
<p
|
|
68
|
+
<h3 id="onboard-context">Cho agent đọc project</h3>
|
|
69
|
+
<p>Ở repo mới, nhờ agent đọc project (chỉ đọc) và ghi lại project context vào <span class="inline-code">.pi/</span>. Không cần lệnh riêng: nói bằng lời thường.</p>
|
|
70
70
|
<div class="command-card">
|
|
71
|
-
<header><span
|
|
72
|
-
<pre><code
|
|
73
|
-
/onboard run</code></pre>
|
|
71
|
+
<header><span>Đọc project</span><button class="clip-btn" data-clip="Đọc project này (chỉ đọc) và ghi lại project context.">Lấy lệnh</button></header>
|
|
72
|
+
<pre><code>Đọc project này (chỉ đọc) và ghi lại project context.</code></pre>
|
|
74
73
|
</div>
|
|
75
74
|
</div>
|
|
76
75
|
</article>
|
|
@@ -102,20 +101,19 @@ pi</code></pre>
|
|
|
102
101
|
<article class="step">
|
|
103
102
|
<div>
|
|
104
103
|
<h3 id="chay-workflow">Chạy workflow</h3>
|
|
105
|
-
<p>
|
|
104
|
+
<p>Nói rõ việc và ý định (sửa, chỉ đọc, lập plan) bằng lời thường. Việc nào nặng context thì mở session mới bằng <span class="inline-code">/new</span>.</p>
|
|
106
105
|
<div class="command-card">
|
|
107
|
-
<header><span>
|
|
108
|
-
<pre><code
|
|
109
|
-
|
|
110
|
-
/fresh task Implement the requested bounded change.</code></pre>
|
|
106
|
+
<header><span>Giao việc</span><button class="clip-btn" data-clip="Implement thay đổi được yêu cầu rồi chạy test của project. Review diff hiện tại. Chỉ đọc.">Lấy lệnh</button></header>
|
|
107
|
+
<pre><code>Implement thay đổi được yêu cầu rồi chạy test của project.
|
|
108
|
+
Review diff hiện tại. Chỉ đọc.</code></pre>
|
|
111
109
|
</div>
|
|
112
110
|
</div>
|
|
113
111
|
</article>
|
|
114
112
|
|
|
115
113
|
<article class="step">
|
|
116
114
|
<div>
|
|
117
|
-
<h3 id="verify-truoc-khi-handoff">
|
|
118
|
-
<p>
|
|
115
|
+
<h3 id="verify-truoc-khi-handoff">Kiểm tra trước khi giao</h3>
|
|
116
|
+
<p>Nhờ agent chạy check của project (test, type check, build) và đọc kết quả thật; ở chế độ công ty, Harness tự yêu cầu việc này. Sau khi pin hoặc nâng version, chạy doctor trên project:</p>
|
|
119
117
|
<div class="command-card">
|
|
120
118
|
<header><span>Doctor</span><button class="clip-btn" data-clip="piagent-doctor">Lấy lệnh</button></header>
|
|
121
119
|
<pre><code>piagent-doctor</code></pre>
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<pre><code>piagent-setup --mcp-preset core --subagents-preset safe</code></pre>
|
|
7
7
|
</article>
|
|
8
8
|
<article class="command-card">
|
|
9
|
-
<header><span>Full update</span><button class="clip-btn" data-clip="npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.
|
|
10
|
-
<pre><code>npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.
|
|
9
|
+
<header><span>Full update</span><button class="clip-btn" data-clip="npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1 npm install -g --ignore-scripts @piagent/platform@X.Y.Z piagent-install --stable --dry-run piagent-install --stable">Lấy lệnh</button></header>
|
|
10
|
+
<pre><code>npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.87.1
|
|
11
11
|
npm install -g --ignore-scripts @piagent/platform@X.Y.Z
|
|
12
12
|
piagent-install --stable --dry-run
|
|
13
13
|
piagent-install --stable</code></pre>
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
<p>Destructive hoặc external-provider action vẫn cần operator xác nhận rõ, kể cả khi full-access đang bật. Gate áp dụng cho direct tool, MCP proxy đã decode và các shell form như GitHub CLI write hoặc HTTP non-GET.</p>
|
|
23
23
|
</article>
|
|
24
24
|
<article class="card">
|
|
25
|
-
<h3 id="verify-evidence">
|
|
26
|
-
<p
|
|
25
|
+
<h3 id="verify-evidence">Check thật</h3>
|
|
26
|
+
<p>Ở chế độ công ty, Harness chỉ tính một check đã chạy thật và qua trên code cuối; câu “đã test” suông không đủ.</p>
|
|
27
27
|
</article>
|
|
28
28
|
</div>
|
|
29
29
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="split">
|
|
4
4
|
<article class="card">
|
|
5
5
|
<h3 id="viec-nen-lam">Việc nên làm</h3>
|
|
6
|
-
<p>
|
|
6
|
+
<p>Nhờ agent đọc project và ghi project context, áp <span class="inline-code">/profile auto</span>, giao việc bằng lời thường, chạy check thật và nói rõ việc còn vướng.</p>
|
|
7
7
|
</article>
|
|
8
8
|
<article class="card">
|
|
9
9
|
<h3 id="viec-nen-tranh">Việc nên tránh</h3>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
14
|
<div class="callout ok-callout">
|
|
15
|
-
<strong>
|
|
15
|
+
<strong>Câu trả lời cuối</strong>
|
|
16
16
|
<p>Final response nên nói ngắn: đã đổi gì, verify nào đã chạy, có dùng subagent không, và còn rủi ro hoặc next step nào cần người review.</p>
|
|
17
17
|
</div>
|
|
18
18
|
|