Repository navigation
Conversation
Both packages were unpublished from npm and their repositories deleted. Core never depended on either — every reference was documentation — but the docs described `urlcode-dynamic-link` as the place stored short links had moved to, and `urlcode-short` as a live showcase. Both claims are now false, and a reader following them would land on deleted repositories. Live guidance (README, SPECIFICATION, ROUTING, FRAMEWORK, OPERATIONS, RESILIENCE, BEST-PRACTICES, AI-AUTHORING, PROJECT-DIRECTION, OPERATIONAL-PROOF, EXTENSIONS, VERSION-ALIGNMENT, RELEASE-READINESS and both agent skills) now states what is true: core has no native `link` handler, no supported extension provides stored links, and a project needing them owns that storage itself. The spike and decision records (SPIKE-CORE-LAYERING, SPIKE-EXTENSIONS, SPIKE-BUSINESS-SUITE, SPIKE-MONOREPO, SPIKE-DEFAULT-TRUST-MODEL, OPEN-DECISIONS) keep their bodies: they are dated records of what was decided, and rewriting them would destroy the trail. Each gets a retirement note instead, and dead repository links become plain text. llms-full.txt and the plugin skill copies are regenerated; llms.txt is hand-written and edited directly. Co-Authored-By: Claude Opus 5 <[email protected]>
… left The rule that sent public documentation to urlcode-docs is reversed: docs/ here is the source of truth for every page, and urlcode-docs renders that content rather than authoring it. AGENTS.md, CONTRIBUTING.md, docs/README.md, README.md and the issue-template config said the opposite and are rewritten; OPEN-DECISIONS #6, which asked whether to finish the migration or describe the split, is marked decided. Comparing the two trees, 152 of urlcode-docs' 156 content files already exist here and core is the newer side, so core's copies stand. The line-count gap that looked like missing content was the opposite: core had split YAML-GUIDE.md into docs/yaml/*.md (501 lines across nine pages) while the site kept the older monolith, and the site's extra lines in MONITORING/OPERATIONS/OBSERVABILITY document the link store and linkEvents that were removed from core. Restoring either would have resurrected deleted features. Five pages existed only in urlcode-docs and are restored, fixing links that already dangled here: EXTENSION-IMPLEMENTATION, MANAGEMENT-SECURITY, SPIKE-ADMIN, SPIKE-AUTH and SPIKE-UI. MANAGEMENT-SECURITY documents the `urlcode links` CLI that no longer exists, so it carries a retirement banner rather than reading as current guidance. DYNAMIC-LINKS.md and the live-links example are deliberately not restored: both describe the removed `link` handler, and live-links would fail validation against the schema. Co-Authored-By: Claude Opus 5 <[email protected]>
A content-level audit of all 156 files in urlcode-docs/content — not just the path-existence check done earlier — found three things core was missing. The earlier check only asked whether a counterpart file existed, so divergence inside shared files went unseen. docs/FUNCTION-SECURITY.md gains two sections that existed only in the site copy. "Migrating to the trusted default" is the upgrade warning: every existing function and middleware route silently changes execution mode from sandboxed to trusted unless it declares `sandbox: true`, and the checklist says to opt routes back in before upgrading, not after. Losing that with the repository would have meant shipping a behavior change of that kind with no migration guidance anywhere. "Trusted code, not trusted requests" records that "trusted" describes authorship, not the request data, which nothing else in this repository stated. examples/prerender declared no `sandbox: true`, yet functions/page.mjs claimed it "runs in the QuickJS/WASM sandbox with no filesystem, network or host code". Under the trusted default that claim was false: the route ran in-process with full Node access. The site copy had the fix; this applies it, so the example is isolated as its own text describes. check-trust-model-prose.ts scans only Markdown, which is why the .mjs comment and the YAML went unflagged. docs/README.md now lists MANAGEMENT-SECURITY.md and EXTENSION-IMPLEMENTATION.md, which the previous commit restored without linking, and drops the row sending readers to the extension repositories for the auth/admin/UI spikes now that those pages are back here. Everything else the audit surfaced is accounted for: retired link-store material that is deliberately absent, or content core has reworded or restructured, including POLICIES.md split into docs/policies/ (9 files, 1087 lines against the site's 5) and the cookbook grown from 25 routes to 40. Co-Authored-By: Claude Opus 5 <[email protected]>
… claims they each caught (#166) * Bring urlcode-docs' content across before it is retired Takes the trusted-by-default corrections urlcode-docs carried and this repository did not, and rescues the two pages that existed only there. Co-Authored-By: Claude Opus 5 <[email protected]> * Record urlcode-dynamic-link and urlcode-short as retired, not pending Both packages were unpublished from npm and their repositories deleted. Core never depended on either, but live guidance still described stored short links as "moving to a future urlcode-dynamic-link extension package, not yet published", and README, docs/README.md and the spike banners still linked to repositories that now 404. Every such link is gone, and the guidance says what is true: core has no native `link` handler, no supported extension provides stored links, and a project needing them owns that storage itself. Dated records keep their bodies and get retirement notes; SPIKE-MONOREPO's note is reconciled with the urlcode-docs reversal already on main rather than reverting it, and now records that urlcode-docs is retiring too. Two trust-by-default corrections that were missing here: - docs/FUNCTION-SECURITY.md gains "Migrating to the trusted default", which warns that on upgrade every existing function/middleware route silently changes execution mode from sandboxed to trusted unless it declares `sandbox: true`, and says to opt routes back in before upgrading. The two-worker concurrency cap that motivated the change is the real default in src/functions.ts. It also gains "Trusted code, not trusted requests": trusted describes authorship, never the request data. - examples/prerender claimed its function "runs in the QuickJS/WASM sandbox with no filesystem, network or host code" while no route declared `sandbox: true`, so under the trusted default it ran in-process with full Node access. The three routes now declare `sandbox: true` deliberately and the prose says why. check-trust-model-prose.ts scans Markdown only, which is why a .mjs comment and YAML went unflagged. README also had two `## Documentation` and two `## Built with URLCode` sections; they are merged. docs/README.md linked to local SPIKE-AUTH/ADMIN/UI pages that do not exist here — they are owned by urlcode-auth, urlcode-admin and urlcode-ui, and the same table already said so two rows down. The links now point at the owning repositories rather than vendoring 1528 lines of copies, which is the duplication this cleanup exists to end. Verified: npm run verify — lint, typecheck, check, build and 512 tests (510 pass, 2 skipped, 0 fail). The prerender recipe was run end to end after the sandbox change: 7 fixtures pass, 3 pages render, audit passes 12 checks. Co-Authored-By: Claude Opus 5 <[email protected]> * Make the trust-model prose check see the files where the claim slipped through check-trust-model-prose.ts scanned Markdown only. That is why examples/prerender asserted, in a .mjs comment, that it "runs in the QuickJS/WASM sandbox with no filesystem, network or host code" while its urlcode.yaml declared no `sandbox: true` — under the trusted default it ran in-process with full Node access, and neither half of the contradiction was in a file the check read. Two additions: - Comments of runnable project material under examples/ and starters/ (`.mjs`/`.cjs`/`.js`/`.ts` and `urlcode.yaml`) are scanned. Only comment text is extracted, with line numbers preserved, so a rule never matches a string literal or a route path that happens to contain the word. - A new `unbacked-isolation-claim` rule cross-checks each project against its own YAML: prose claiming sandbox or QuickJS/WASM isolation must be backed by at least one route declaring `sandbox: true`. This is the rule that catches the original defect rather than its symptom — deleting the three `sandbox: true` lines from examples/prerender now fails the check with all three claims named. `llms.txt` and `llms-full.txt` are .txt, so they take the prose path, not the comment path; verified by planting a violation in llms.txt and seeing it reported. Scans 140 files → 185. Also drops the three `docs/README.md` rows linking SPIKE-AUTH/ADMIN/UI as local pages. They are owned by urlcode-auth, urlcode-admin and urlcode-ui, and the "Auth, admin and UI spikes" row below already points there. Verified: npm run verify — 512 tests, 510 pass, 2 skipped, 0 fail. Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: Claude Opus 5 <[email protected]>
|
Superseded by #166, merged as 10c2439. This branch predated #163, so merging it would have reverted #163's version-register corrections and its
Two things went differently. The Markdown-only gap your audit exposed is now fixed in the checker itself: |
@jimhoyd/urlcode-dynamic-linkand@jimhoyd/urlcode-shorthave been unpublished from npm and their repositories deleted. Core never depended on either — every reference was documentation — but the docs sent readers to them as live destinations, and those links now resolve to nothing.This also reverses the documentation split:
docs/here is the source of truth again, andurlcode-docsrenders it rather than authoring it.Retirement
Live guidance now states what is true: core has no native
linkhandler, no supported extension provides stored links, and a project needing them owns that storage itself. The spike and decision records keep their bodies — they are dated records, and rewriting them would destroy the trail — and get retirement notes instead.Documentation home
AGENTS.md,CONTRIBUTING.md,docs/README.md,README.mdand the issue-template config said public pages belong inurlcode-docs; they now say the opposite.OPEN-DECISIONS#6, which asked whether to finish that migration or describe the split, is marked decided.Of urlcode-docs' 156 content files, 152 already existed here and core was the newer side, so core's copies stand. The line-count gap that looked like missing content was the reverse: core had split
YAML-GUIDE.mdintodocs/yaml/*.mdandPOLICIES.mdintodocs/policies/(9 files, 1087 lines against the site's 5), while the site kept the older monoliths. The site's extra lines in MONITORING/OPERATIONS/OBSERVABILITY document the link store andlinkEventsremoved from core — restoring those would have resurrected deleted features.Five pages existed only in urlcode-docs and are restored, fixing links that already dangled here:
EXTENSION-IMPLEMENTATION,MANAGEMENT-SECURITY,SPIKE-ADMIN,SPIKE-AUTH,SPIKE-UI.MANAGEMENT-SECURITYdocuments theurlcode linksCLI that no longer exists, so it carries a retirement banner.DYNAMIC-LINKS.mdand thelive-linksexample are deliberately not restored — both describe the removedlinkhandler, andlive-linkswould fail schema validation.Two things recovered by a content-level audit
The first pass compared paths only, so divergence inside shared files went unseen. A line- and heading-level audit of all 156 files found:
FUNCTION-SECURITY.mdwas missing the upgrade migration guide. "Migrating to the trusted default" warns that every existingfunction/middlewareroute silently changes execution mode from sandboxed to trusted unless it declaressandbox: true, and says to opt routes back in before upgrading. Nothing in this repository stated that. "Trusted code, not trusted requests" — that "trusted" describes authorship, not request data — was also absent.examples/prerendermade a false isolation claim.functions/page.mjssaid it "runs in the QuickJS/WASM sandbox with no filesystem, network or host code", but no route declaredsandbox: true, so under the trusted default it ran in-process with full Node access. The site copy had the fix; it is applied here.check-trust-model-prose.tsscans only Markdown, which is why the.mjscomment and the YAML went unflagged.Verification
npm run verifygreen: 510 pass, 0 fail, 2 skipped, including the trust-model prose and guidance-claims checks.llms-full.txtand the plugin skill copies are regenerated;llms.txtis hand-written and edited directly.🤖 Generated with Claude Code