Skip to content

Point shipped Markdown at this repository, and check that it stays there - #224

Merged
jimhoyd merged 1 commit into
mainfrom
claude/monorepo-drift-200
Sep 20, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
claude/monorepo-drift-200

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Closes #200.

Leftover drift from the monorepo migration. ui, auth and admin are workspace packages under packages/ now; their former repositories are retired, so every github.com/jimhoyd-com/urlcode-{ui,auth,admin} URL 404s.

Re-verified against main first

Two items had already moved since the issue was written:

  • The AGENTS.md routing tables were already fixed. All four rows in packages/{auth,admin,ui}/AGENTS.md already pointed at this repository's issues. Four identical rows are not a table, so they collapse into one sentence; no routing changed.
  • The version numbers in the issue are stale. It says core alpha.2, auth alpha.5, admin alpha.4, UI alpha.6. All four manifests are 0.4.0-alpha.3 — unified versioning landed with the fold-in. docs/FRAMEWORK.md was staler still, advertising core alpha.1, auth/admin alpha.2 and UI alpha.4.

Everything else held up.

What changed

  • docs/FRAMEWORK.md names the workspace directories instead of the three retired repositories, links the local status files and READMEs, and no longer carries a version inventory. The manifests and docs/VERSION-ALIGNMENT.md are the authority — which VERSION-ALIGNMENT.md already said in as many words. The same duplicated inventories come out of the three IMPLEMENTATION-STATUS.md files and the auth/ui README prose.
  • packages/admin/README.md:16,137 linked .github/workflows/release.yml relative to the package. Neither half was right: there is no .github/ in the package, and the active workflow is the root release-admin.yml. Both now link it, and the attestation command names --repo jimhoyd-com/urlcode.
  • packages/auth/IMPLEMENTATION-STATUS.md pointed its acceptance record at the retired repository's ACCEPTANCE.md instead of the one sitting beside it. Status prose about private cross-repository CI credentials and peer pins that workspace linking supersedes is rewritten in auth, admin and ui.
  • Auth and admin hook comments, READMEs and the thrown error blamed a missing core sandbox primitive. Core exports SandboxPool from @jimhoyd/urlcode/sandbox; what is missing is these packages routing a hook invocation through it. Only the reason changed — sandbox: true on a hook is still refused at activation, and hooks still run trusted and in-process, as documented. The error text also cited urlcode-auth#35 and urlcode-admin#32, issues that went with their repositories; it cites docs/EXTENSIONS.md instead. Carries a changeset.

The guard

scripts/check-local-links.ts, wired into npm run check and check:docs, follows the established shape of check-guidance-claims.ts and check-trust-model-prose.ts: one script, a header explaining the defect it exists for, and an opt-out marker. Two rules:

  1. retired-repository — a link to jimhoyd-com/urlcode-<name> where packages/<name>/ exists. Derived from the directory listing, not a hand-kept list, so the next folded-in package is covered the day it lands.
  2. dead-relative-link — a relative Markdown link target that does not exist on disk.

It found both admin README defects plus 49 more across 191 Markdown files.

Genuinely historical evidence is labelled, not rewritten: <!-- local-links: historical --> on the pre-migration CI runs in the auth and admin ACCEPTANCE.md files, on the changelog entries recording the move, and on the archived spikes. An acceptance record that names the run which actually gated a baseline keeps naming it, in the repository where that run happened.

Verified

npm run lint, npm run typecheck, npm run check and the full suites pass: core 531 passed / 1 intentional HTTPS skip, ui 57, auth 209, admin 69, workspace scaffold integration 1. llms-full.txt regenerated.

Not verified: nothing was published or installed from the registry, and no live provider or deployment check was run.

Deliberately left alone

  • The UI primitive fallback, the opt-in sandbox machinery, provider refusal paths, license files and regression fixtures — all preserved, as the issue requires.
  • Both optional cleanups the issue floats: consolidating auth/admin's duplicate SQLite preflight predicate (it touches runtime enforcement and deserves its own reviewed change), and trimming issue-history narration beyond the hook comments already being edited here.
  • docs/CODEBASE-AUDIT-2026-09-20.md, which records these findings as of its date and should keep doing so.

One thing worth a decision: jimhoyd-com/urlcode-admin#32 tracked lifecycle points that still have no hook (registration rejection, session revocation, impersonation start/end, bulk actions), and it did not survive the repository's retirement. The README now says so and points at this repository's issues; I did not file a replacement.

🤖 Generated with Claude Code

Leftover drift from the monorepo migration (#200). ui, auth and admin are
workspace packages under packages/ now; their former repositories are retired,
so every github.com/jimhoyd-com/urlcode-{ui,auth,admin} URL 404s.

- docs/FRAMEWORK.md advertised the three former repositories as the packages'
  source homes and listed their npm versions in prose. The versions were wrong
  in a way nobody could see: it claimed core alpha.1, auth/admin alpha.2 and UI
  alpha.4, while all four manifests are 0.4.0-alpha.3. The table now names the
  workspace directories, the status and README links are local, and the version
  inventory is gone -- the manifests and docs/VERSION-ALIGNMENT.md are the
  authority, which VERSION-ALIGNMENT.md already said. Same removal in the three
  packages' IMPLEMENTATION-STATUS.md files and in auth/admin/ui README prose.
- packages/admin/README.md:16,137 linked .github/workflows/release.yml relative
  to the package. Neither half was right: there is no .github/ in the package,
  and the active workflow is the root release-admin.yml. Both now link it, and
  the attestation command names --repo jimhoyd-com/urlcode.
- packages/auth/IMPLEMENTATION-STATUS.md pointed its acceptance record at the
  retired repository's ACCEPTANCE.md instead of the one beside it. Status prose
  about private cross-repository CI credentials and peer pins that workspace
  linking supersedes is rewritten in auth, admin and ui.
- The auth/admin/ui AGENTS.md routing tables already routed every row to this
  repository -- that part of the issue had been fixed -- but four identical rows
  are not a table, so they collapse into one sentence.
- Auth and admin hook comments, READMEs and the thrown error blamed a missing
  core sandbox primitive. Core exports SandboxPool from @jimhoyd/urlcode/sandbox;
  what is missing is these packages routing a hook invocation through it. Only
  the reason changed: sandbox: true on a hook is still refused at activation and
  hooks still run trusted and in-process, as documented. The error text also
  cited urlcode-auth#35 and urlcode-admin#32, issues that went with their
  repositories; it cites docs/EXTENSIONS.md instead. Carries a changeset.

scripts/check-local-links.ts is the guard, wired into npm run check and
check:docs, following check-guidance-claims.ts and check-trust-model-prose.ts:
one script, a header explaining the defect it exists for, and an opt-out marker.
It fails on a link to jimhoyd-com/urlcode-<name> where packages/<name>/ exists
(derived from the directory listing, so the next folded-in package is covered)
and on a relative Markdown link target that does not exist on disk. It found
both README defects above plus 49 more. Genuinely historical evidence -- the
pre-migration CI runs in auth/admin ACCEPTANCE.md, the changelog entries
recording the move, the archived spikes -- is labelled
<!-- local-links: historical --> rather than rewritten, so the record still says
which run gated which baseline.

Verified: npm run lint, npm run typecheck, npm run check and the full suites
pass -- core 531 passed / 1 intentional HTTPS skip, ui 57, auth 209, admin 69,
workspace scaffold integration 1. Not verified: no package was published or
installed from the registry, no live provider or deployment check was run, and
the two optional cleanups the issue floats -- consolidating auth/admin's
duplicate SQLite preflight predicate, and trimming issue-history narration
beyond the hook comments touched here -- are deliberately left alone.

Co-Authored-By: Claude Opus 5 <[email protected]>
@jimhoyd
jimhoyd force-pushed the claude/monorepo-drift-200 branch from ca7e86a to 1e8f8c7 Compare September 20, 2026 04:02
@jimhoyd
jimhoyd merged commit b0bc92d into main Sep 20, 2026
20 checks passed
@jimhoyd
jimhoyd deleted the claude/monorepo-drift-200 branch September 20, 2026 04:08
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.

[Request]: Remove remaining monorepo ownership, release and documentation drift

1 participant