Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/PUBLIC_CONSISTENCY_0_1_24_AUDIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Immutable npm 0.1.24 tarball already includes Natural Placement but carries the

Validation: site generator check and surface guard pass; website funnel 4/4; SDK typecheck and ESM/CommonJS build pass; wrapTool/MCP 17/17; browser acceptance passes at 360/390/768/1440 including clipboard, replay/conflict/UNKNOWN/reconciliation, accessibility and no-JS. Browser harness now uses platform path separator and normalizes CRLF for browser code parity. Full SDK release gate and PR CI are required before merge.

## Production follow-up

PR #286 merged as 927c5bfd7fa6f0e1500cd57cdea5767e1c44dc3d after 23/23 green checks. Main Cloudflare Pages deployment succeeded. Playground guarded deployment succeeded with Worker version 78a3af5f-0ecc-47f6-b886-3d7555bb5aba. Direct reads of all 26 sitemap/onboarding/machine pages were HTTP 200 and exposed current metadata; 24 matched source exactly. Homepage and quickstart differed only because Cloudflare mistook sdk@0.1.24 for an email address, inserting email-protection markup. The follow-up wraps those two pinned code blocks in Cloudflare documented email_off comments and guards their presence; commands and clipboard text remain unchanged.

## Every tracked version hit at base

| Location | Classification | Baseline excerpt | Disposition |
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ <h2>Install is the beginning.<br />Verification is the goal.</h2>
<button type="button" data-copy-target="home-install" data-copy-label="Copy install command" data-copy-event="install_copied">
Copy install command
</button>
<pre><code id="home-install">npm install @once-agent/sdk@0.1.24</code></pre>
<!--email_off--><pre><code id="home-install">npm install @once-agent/sdk@0.1.24</code></pre><!--/email_off-->
</div>
<p>Natural Placement in SDK 0.1.24: <code>wrapTool(callback, semantics)</code> wraps a host-owned tool callback with stable logical identity, complete effect binding and authoritative reconciliation. <code>UNKNOWN</code> blocks redispatch.</p>
<p class="small">Node.js 24.15+ · Durable state on one machine · No Once API key · Opaque internal retries and connector-only model access are outside the boundary.</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ <h2>1. Check Node and install</h2>
<button type="button" data-copy-target="install" data-copy-label="Copy setup commands" data-copy-event="install_copied">
Copy setup commands
</button>
<pre><code id="install">node --version
<!--email_off--><pre><code id="install">node --version
mkdir once-first-action
cd once-first-action
npm init -y
npm install @once-agent/sdk@0.1.24</code></pre>
npm install @once-agent/sdk@0.1.24</code></pre><!--/email_off-->
</div>
<p>
If Node is older than 24.15, update it before running local protection. The general hosted SDK has a different requirement; this
Expand Down
1 change: 1 addition & 0 deletions scripts/check-site-surface.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ assert.doesNotMatch(homepage, /once-network|Open live proof|Test Once at your sc
const schema = JSON.parse(homepage.match(/<script type="application\/ld\+json">([\s\S]*?)<\/script>/)[1]);
assert.equal(schema.softwareVersion, published.ts, "static structured metadata must match published SDK");
for (const file of ["docs/index.html", "docs/quickstart/index.html"]) {
assert.match(read(file), /<!--email_off-->[\s\S]*npm install @once-agent\/sdk@[\s\S]*<!--\/email_off-->/, `${file}: pinned SDK install must opt out of CDN email rewriting`);
const pins = [...read(file).matchAll(/npm install @once-agent\/sdk@(\d+\.\d+\.\d+)/g)];
assert.ok(pins.length, `${file}: first-action install must pin a published SDK version`);
for (const [, version] of pins) {
Expand Down
Loading