Skip to content

docs: clarify route-first product direction - #1

Merged
jimhoyd merged 1 commit into
mainfrom
docs/route-first-direction
Sep 16, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
docs/route-first-direction

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Clarify URLCode's product model as URL → behavior → response, with shortening as the first use case. Document planned page/static/download/proxy handlers and the boundary against general framework hosting, while keeping all capabilities explicitly pre-implementation.

Record Apache-2.0 as the intended license for public runtime/CLI/spec/templates. Ownership and license publication remain prerequisites before runtime contributions/releases; this PR does not apply a license.

Validation: all three relative documentation links resolve and diff checks pass. Documentation only; no runtime tooling exists yet.

@jimhoyd
jimhoyd merged commit 72322d7 into main Sep 16, 2026
@jimhoyd
jimhoyd deleted the docs/route-first-direction branch September 18, 2026 14:40
jimhoyd added a commit that referenced this pull request Sep 19, 2026
The spike was drafted against an inventory that has since moved. Three
repositories were deleted outright -- urlcode-dynamic-link, urlcode-short
and urlcode-docs -- so half its out-of-scope list and one of its migration
targets no longer exist. Acting on the document literally would have meant
chasing a deleted repository.

Corrected, with the replaced text kept as blockquotes where a claim is
reversed rather than merely dated:

- Scope is five repositories, not six. urlcode-dynamic-link was created,
  released and deleted within days; recorded as evidence for consolidation
  rather than as a lost migration target.
- The out-of-scope list is three live repositories. The urlcode-docs entry
  records the deletion that settled it.
- Mechanics #7 is a no-op: zero open issues across the four joining
  repositories. Middleware's #1 and #3, the only issues the step was written
  around, are both closed.
- Mechanics #0 is satisfied today -- zero open pull requests across all five
  -- with an explicit warning that the survey goes stale on the next merge.
- The layout diagram, mechanics preamble, trusted-publishing list, blast-radius
  count and sequencing steps drop dynamic-link.

Two substantive additions rather than corrections:

The drift the spike opened with has recurred. It recorded the stale core pins
in auth and admin as found and fixed; that fix held about a day. All three of
auth, admin and ui still pin d5e8601 and are now 21 commits behind main, a
span that includes the trusted-by-default propagation. The manual pass the
document predicted would repeat indefinitely repeated within twenty-four hours.

And a new section, "What consolidation would newly enforce." Since the spike
was written, check-trust-model-prose.ts and check-guidance-claims.ts both fail
CI rather than report, and the former now reaches code comments and example
YAML, not just Markdown. Both stop at this checkout. The exact failure the
spike opens with -- urlcode-auth/SECURITY.md describing guest code as sandboxed
after core inverted the default -- sits in a file no check can see, and cannot
see while auth is a separate repository. That is a stronger argument than the
toil-reduction case the document was built on, and it was not available when
the document was written.

Open decision #2 is restated for eight repositories and given a sharpened
recommendation: the no branch now owes a design for how the checks reach
downstream, because the pin drift shows the manual pass does not hold.

Sequencing step 6 keeps "archive, don't delete" and now explains why that
diverges from the September retirements: those withdrew code, whereas a
migrated repository's code continues at a new path and the clone redirect is
the point.

Documentation only. npm run verify passes: lint, typecheck, check, build and
510 tests.

Co-Authored-By: Claude Opus 5 <[email protected]>
jimhoyd added a commit that referenced this pull request Sep 19, 2026
The spike was drafted against an inventory that has since moved. Three
repositories were deleted outright -- urlcode-dynamic-link, urlcode-short
and urlcode-docs -- so half its out-of-scope list and one of its migration
targets no longer exist. Acting on the document literally would have meant
chasing a deleted repository.

Corrected, with the replaced text kept as blockquotes where a claim is
reversed rather than merely dated:

- Scope is five repositories, not six. urlcode-dynamic-link was created,
  released and deleted within days; recorded as evidence for consolidation
  rather than as a lost migration target.
- The out-of-scope list is three live repositories. The urlcode-docs entry
  records the deletion that settled it.
- Mechanics #7 is a no-op: zero open issues across the four joining
  repositories. Middleware's #1 and #3, the only issues the step was written
  around, are both closed.
- Mechanics #0 is satisfied today -- zero open pull requests across all five
  -- with an explicit warning that the survey goes stale on the next merge.
- The layout diagram, mechanics preamble, trusted-publishing list, blast-radius
  count and sequencing steps drop dynamic-link.

Two substantive additions rather than corrections:

The drift the spike opened with has recurred. It recorded the stale core pins
in auth and admin as found and fixed; that fix held about a day. All three of
auth, admin and ui still pin d5e8601 and are now 21 commits behind main, a
span that includes the trusted-by-default propagation. The manual pass the
document predicted would repeat indefinitely repeated within twenty-four hours.

And a new section, "What consolidation would newly enforce." Since the spike
was written, check-trust-model-prose.ts and check-guidance-claims.ts both fail
CI rather than report, and the former now reaches code comments and example
YAML, not just Markdown. Both stop at this checkout. The exact failure the
spike opens with -- urlcode-auth/SECURITY.md describing guest code as sandboxed
after core inverted the default -- sits in a file no check can see, and cannot
see while auth is a separate repository. That is a stronger argument than the
toil-reduction case the document was built on, and it was not available when
the document was written.

Open decision #2 is restated for eight repositories and given a sharpened
recommendation: the no branch now owes a design for how the checks reach
downstream, because the pin drift shows the manual pass does not hold.

Sequencing step 6 keeps "archive, don't delete" and now explains why that
diverges from the September retirements: those withdrew code, whereas a
migrated repository's code continues at a new path and the clone redirect is
the point.

Documentation only. npm run verify passes: lint, typecheck, check, build and
510 tests.

Co-authored-by: Claude Opus 5 <[email protected]>
jimhoyd added a commit that referenced this pull request Sep 19, 2026
Folds urlcode-ui, urlcode-auth and urlcode-admin into this repository as
packages/ui, packages/auth and packages/admin, and records urlcode-middleware
as deleted rather than as migration scope.

Merged as a squash: the repository allows no other method, and the Protect main
ruleset requires linear history. The ~130 imported commits and their blame do
not survive onto main, so mechanics #1 of docs/SPIKE-MONOREPO.md is not
satisfied here. That makes archiving rather than deleting the three source
repositories load-bearing: they are now the only copy of that history.

Three enforcing checks were added or extended, each because something broke
silently first:
- check-trust-model-prose.ts and check-guidance-claims.ts now discover
  workspace packages. Without that, consolidation bought Markdown coverage and
  nothing else, which was the plan's strongest claim.
- check-release-tags.ts enforces per-package release tags, since core and all
  three extensions previously triggered on overlapping v* tags.
- check-workspace-links.ts asserts each package resolves core to this
  repository. It had resolved from the registry once, and to packages/auth once.

Changesets is in pre mode with tag alpha: outside it, a patch changeset against
0.1.0-alpha.5 produces 0.1.0 and would publish under latest.

pack-sources.mjs is consolidated to one root script keyed on a single
--revision. peers.json and its tests are gone from all three packages.

Still outstanding: re-register the three npm trusted publishers against the new
release-<pkg>.yml filenames, then archive the source repositories.
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.

1 participant