Repository navigation
Point shipped Markdown at this repository, and check that it stays there - #224
Merged
Merged
Conversation
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
force-pushed
the
claude/monorepo-drift-200
branch
from
September 20, 2026 04:02
ca7e86a to
1e8f8c7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #200.
Leftover drift from the monorepo migration.
ui,authandadminare workspace packages underpackages/now; their former repositories are retired, so everygithub.com/jimhoyd-com/urlcode-{ui,auth,admin}URL 404s.Re-verified against
mainfirstTwo items had already moved since the issue was written:
packages/{auth,admin,ui}/AGENTS.mdalready pointed at this repository's issues. Four identical rows are not a table, so they collapse into one sentence; no routing changed.0.4.0-alpha.3— unified versioning landed with the fold-in.docs/FRAMEWORK.mdwas staler still, advertising core alpha.1, auth/admin alpha.2 and UI alpha.4.Everything else held up.
What changed
docs/FRAMEWORK.mdnames 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 anddocs/VERSION-ALIGNMENT.mdare the authority — whichVERSION-ALIGNMENT.mdalready said in as many words. The same duplicated inventories come out of the threeIMPLEMENTATION-STATUS.mdfiles and the auth/ui README prose.packages/admin/README.md:16,137linked.github/workflows/release.ymlrelative to the package. Neither half was right: there is no.github/in the package, and the active workflow is the rootrelease-admin.yml. Both now link it, and the attestation command names--repo jimhoyd-com/urlcode.packages/auth/IMPLEMENTATION-STATUS.mdpointed its acceptance record at the retired repository'sACCEPTANCE.mdinstead 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.SandboxPoolfrom@jimhoyd/urlcode/sandbox; what is missing is these packages routing a hook invocation through it. Only the reason changed —sandbox: trueon a hook is still refused at activation, and hooks still run trusted and in-process, as documented. The error text also citedurlcode-auth#35andurlcode-admin#32, issues that went with their repositories; it citesdocs/EXTENSIONS.mdinstead. Carries a changeset.The guard
scripts/check-local-links.ts, wired intonpm run checkandcheck:docs, follows the established shape ofcheck-guidance-claims.tsandcheck-trust-model-prose.ts: one script, a header explaining the defect it exists for, and an opt-out marker. Two rules:retired-repository— a link tojimhoyd-com/urlcode-<name>wherepackages/<name>/exists. Derived from the directory listing, not a hand-kept list, so the next folded-in package is covered the day it lands.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 adminACCEPTANCE.mdfiles, 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 checkand the full suites pass: core 531 passed / 1 intentional HTTPS skip, ui 57, auth 209, admin 69, workspace scaffold integration 1.llms-full.txtregenerated.Not verified: nothing was published or installed from the registry, and no live provider or deployment check was run.
Deliberately left alone
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#32tracked 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