Repository navigation
fix: plan-feature before init, packed core ships its pinned catalog, extensions add updates empty-project guidance (#1000, #1002, #1003) - #1011
Merged
Conversation
…extensions add updates empty-project guidance (#1000, #1002, #1003) - plan-feature with no --project, no --host-file and no project in the working directory plans from the catalogs alone: project is null and withoutProject names what was skipped and the `init --with` to run. A named --project that does not exist is still a no-project error. - pack-addons packs core from a staged copy carrying the addons.json it writes beside it, never the build's development manifest; it refuses an unpinned manifest and checks the tarball. The checkout's dist/ is not written. extensions add (and init --with) point a site that names core by bare version at the core tarball packed beside local add-on tarballs. - extensions add|remove swap the generated AGENTS.md audit paragraph and add/remove the workflow's allow-empty-project line when the route count crosses zero; edited text is left alone. The starter README no longer goes stale, and AGENTS.md no longer bakes the route count. Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # packages/core/src/agents-guide.ts # starters/default/AGENTS.md
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.
Three findings from the fourth agent trial (#1006).
Fixes #1000
Fixes #1002
Fixes #1003
#1000: plan-feature before init
planFeature(project | undefined, goal). The CLI plans without a project when all three hold: no--project, no--host-file, and nourlcode.yamlwhere it runs. In that case it reads only the recipe and extension catalogs.projectisnull.withoutProjectsays what was not read and namesurlcode init <directory> --with <needed extensions>. A--projectthat names nothing is still ano-projecterror. The help and docs/TOOLING.md say this. MCP always has a project, so it is unchanged.#1002: the packed core ships its pinned catalog
scripts/pack-addons.tspacks core from a staged copy of the files npm would pack. That copy carries theaddons.jsonwritten beside it, with sha512-pinned tarballs. The checkout's developmentdist/addons.jsonis never written, and the oldpinCoremutation is gone. It refuses to pack an unpinned manifest (shippedManifestProblems), and it checks that the tarball carries exactly that manifest.release-packuses the same path.extensions addandinit --withlook at the catalog. If it pins local add-on tarballs,jimhoyd-urlcode-<version>.tgzsits beside them, and the site names core by bare version, they point core at that tarball and say so in a note. That removes the version-skew round.prepareis dropped.packedCoreBesidehas a unit test. A new integration test installs the packed core on its own and runsinit site --with authwith noURLCODE_ADDONS. The site pinsfile:<core tgz>and the auth tarball. I ran it locally and it passes.#1003: extensions add/remove keep the empty-project guidance true
When the configured route count crosses zero,
extensions add|removemakes two changes:allow-empty-project: true # remove after adding the first active routeline.This works the same way as the
app/tests/audit.jsonmove (#955). Text that is no longer what init generated is left alone. Both files are in the rollback snapshot. AGENTS.md no longer bakes{"expectRoutes": 0}. The starter README now uses wording that stays true after an extension is added. docs/STARTERS.md is updated.Evidence
npm run verify: green before merging main. That includes the workspace verify, the package audit and the addons, proof, authjs, ecosystem and multiprocess suites.npm run test:package: green. Core is 1064498 packed bytes, 4199339 unpacked and 537 files, all within the budgets.npm run checkand the fullnpm testpass (1289 tests).Limitations: the release workflow was not run end to end. Windows was not exercised; PR CI is Linux-only.
🤖 Generated with Claude Code