Repository navigation
Remove plan compile --github - #69
Merged
Merged
Conversation
First Draft is dropping GitHub publication (firstdraft/firstdraft has gh to create and push a repository, so publication only kept the GitHub App on Administration, Contents, and Workflows write and the service on a publication ledger, executor, and recovery job. The service removes its github-publication routes in the same release, inside API contract 0.9.0, as the owner decided on 2026-11-24. The CLI drops the --github flag, the Publication client, its seven error values and the "publication" phase of request_outcome_unknown, and the GitHub progress lines. --github now fails like any unknown option. The push and analysis tests that ran through --github now run through --output, and the exact plan compile help and rejected argument checks move over from the deleted Publication suite, so the shared guarantees keep their coverage. The changelog tells a --github caller to compile into an absent --output directory, which works on every platform and holds only the application, then push it with git and gh. Review also corrected where the update line appears among compile's progress lines.
raghubetina
force-pushed
the
remove-github-publication
branch
from
November 24, 2026 15:38
6dfff80 to
0cab54f
Compare
raghubetina
marked this pull request as ready for review
November 24, 2026 15:40
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.
Summary
Removes
plan compile --github, the CLI side of firstdraft/firstdraft#1297 (the owner decided on 2026-11-17 to remove GitHub publication). Local output is already the default, and the person's agent creates and pushes a repository withgh. The service side is the draft firstdraft/firstdraft#1340, which removes thegithub-publicationroutes; the Skills side is the draft firstdraft/skills#197.src/commands/plan-publish.js,compilePlanToGitHub, the--githubflag and help text, the Publication progress lines, and the twogithub-publicationentries inSERVICE_ROUTES.--githubnow fails withinvalid_arguments(exit 2), like any unknown option.errorvalues (publication_start_rejected,publication_status_unavailable,invalid_publication_status,publication_changed,publication_wait_timed_out,publication_failed,publication_cancelled) and the"publication"phase ofrequest_outcome_unknown.test/plan-compile.test.jsthat ran through--githubnow run through--output application, so the shared guarantees (exact bytes,If-None-Match: *, stale graph versions, diagnostics, ambiguity) keep their coverage. The exactplan compilehelp checks (--help,-h, repeated--help) and the rejected-argument check move over fromtest/plan-publish.test.js; the rest of that file covered only Publication and is deleted. The packed smoke no longer runs--github.0.10.0CHANGELOG entry, with what a caller does instead: compile into an absent--outputdirectory, then push it withgitandgh.Kept on purpose:
test/documentation.test.jskeeps the fixture sentence "Scripts written for the 0.7 line keep--github.", which tests the version lint, not the flag.Release
This has to ship in the same coordinated release as firstdraft/firstdraft#1340. The released service (Production, contract
0.8.1) still serves publication, and this branch's CLI is0.10.0, unpublished, so nothing here changes what users run until that release. What the release needs:github_publicationsandgithub_publication_attempts), soshipneeds--approved-change migrationand the backup and fence.0.9.0, which covers this removal. This CLI already accepts>= 0.9.0, < 0.10.0, so this PR changes no version, range, or release record.--cli 0.10.0from amainthat includes this change, and a Skills plugin whose bundled CLI pin and package file list move to that revision (the list dropssrc/commands/plan-publish.js).Docs: updated docs/commands.md (command map, compile section, Publish through GitHub removed, Cancel, Service endpoints), docs/errors.md (Publication recovery and index rows removed), README.md, AGENTS.md, docs/README.md, and CHANGELOG.md.
Review: Codex (gpt-6.2-astra, xhigh), approve (2 rounds, 3 findings fixed)
Validation
npm audit: 0 vulnerabilitiesnpm run check: passes (360 tests, pack check, packed smoke)