Skip to content

Measure URLCode's ownership after the #841 retirements (#883 slice 7) - #898

Merged
jimhoyd merged 1 commit into
mainfrom
claude/measure-ownership
Sep 29, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
claude/measure-ownership

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Closes #883 (slice 7) and records #841 order 5's measurement. Docs only, plus one comment.

New "Ownership" section in docs/FRAMEWORK.md

  • Compares the [Request]: Adopt ecosystem-compatible extensions, artifacts and upstream implementations #841 audit commit a996f0d with main after slice 6 (2f94bfab), with the method stated. Lines are wc -l of tracked files; exports are counted with the TypeScript checker over every package.json#exports entry.
  • Owned package source: 45,056 → 24,521 lines (−45.6%). Tests: 36,488 → 28,780. Package docs: 6,936 → 1,865.
  • Packages: 11 → 5. Workspaces: 12 → 6. Installed lockfile entries: 235 → 189.
  • Exports and commands: exported symbols 423 → 431. Authoring MCP tools 43 → 40 (canonical read tools 29 → 32). CLI commands 38 → 39.
  • Additions over the same span: Better Auth adapter 249 lines, SQLite store +891, OpenAPI 313, body schema profile +423, artifact inspection and staging 1,349, embedding 243, plus the proofs.
  • Against the estimate: owned source lands above [Request]: Adopt ecosystem-compatible extensions, artifacts and upstream implementations #841's 12–19k estimate. Core grew by 2.3k lines instead of shrinking, and the section says so.

Dead-item sweep

  • Removed: the stale UI browser-check prose in CI.md, an "admin screens" example in TOOLING, and an auth/admin comment.
  • No other references to deleted packages, Tailwind, SES, the ui/forms helpers or contributes remain.
  • Left in place: about 60 core exports used only inside their own file or by tests. They are live code, so only the export keyword is unneeded; they're listed for a later decision.

Alignment: the generators were already current. The frontend pointer to the proof client is added to the README and the starter README.

Evidence (macOS, Node 26)

  • npm run verify passes: 1161 tests, plus the workspaces, test:addons, test:proof, test:proof:authjs and test:ecosystem. npm run test:package passes.
  • Target tests (aws, vercel, cloudflare, static, provider verification): 34/34.
  • Sandbox and egress tests: 56/56.
  • test:examples:built passes; the cookbook audit is 138/138.
  • WORKERD_PARITY_REQUIRED=1 npm run test:workerd: all identical. A second, direct script run printed no comparison lines and was not investigated.

Not measured: #841's agent-workflow measure (task ratio, correction cycles).

🤖 Generated with Claude Code

…t frontends at the proof client (#841, #883)

- docs/FRAMEWORK.md gains an Ownership section: per-package source/test/doc
  lines, packages, lockfile entries, exports, MCP tools and CLI commands at
  a996f0d and 2f94bfa, with the method and what was added over the span.
- docs/CI.md no longer describes the deleted UI browser test or
  URLCODE_REQUIRE_BROWSER; docs/TOOLING.md no longer names admin screens.
- README and the packed starter README name the private-requests client as the
  reference frontend pattern.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jimhoyd
jimhoyd enabled auto-merge (squash) September 29, 2026 08:11
@jimhoyd
jimhoyd merged commit 0c3f010 into main Sep 29, 2026
24 checks passed
@jimhoyd
jimhoyd deleted the claude/measure-ownership branch September 29, 2026 08:17
jimhoyd added a commit that referenced this pull request Sep 29, 2026
…compared nothing (#899)

* fix(scripts): workerd parity never passes a run that compared nothing

A direct `node scripts/workerd-parity.ts` has no npm_execpath, so it
skipped before building anything and printed one terse SKIP line with
exit 0; that is why PR #898's second run showed no SAME lines. The skip
now says it compared 0 requests and why, and the comparison fails when it
compared zero requests or fewer than it declared. The verdict lives in
scripts/workerd-parity-verdict.ts so a test reaches it without the network.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* refactor(core): drop the export keyword from symbols used only in their own file

The TypeScript language service found 61 core exports that no other
module, test or script references and that no package.json#exports entry
reaches; they are now module-local. BodySchemaFormat had no reference at
all and is removed. Policy-module members (name, phases, compile, ...)
stay exported: the registry reads them through the PolicyModule contract.
Test-only and script-only exports are kept (they back unit tests and the
repository checks). No behavior changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Retire the ui kit, forms and form-records; frontends are ordinary builds over declared JSON routes (#841 order 4)

1 participant