Skip to content

chore: restore the cz-cli README and drop upstream's CI workflows - #80

Merged
suibianwanwank merged 1 commit into
mainfrom
chore/cz-readme-and-ci-cleanup
Aug 25, 2026
Merged

chore: restore the cz-cli README and drop upstream's CI workflows#80
suibianwanwank merged 1 commit into
mainfrom
chore/cz-readme-and-ci-cleanup

Conversation

@suibianwanwank

Copy link
Copy Markdown
Collaborator

Two independent cleanups, both consequences of the re-baseline onto pristine upstream.

1. The cz-cli README is back at the root

The root README.md was upstream's ("The open source AI coding agent", linking to opencode.ai), plus 21 translations of it. Our own README survived only in orphaned history — commit 0127bc4358, before the re-baseline, when the root was cz's.

Restored from that commit and rewritten against the current command surface. The old copy was ~4 months stale: it documented cz-cli setup (now [deprecated: use 'cz-cli login']), a --format a2a that no longer exists, and none of auth, ai-gateway, analytics-agent, dqc, mcp init|serve, agent llm, datasource, workspace-param or attempts. Added: the output contract (--format values, --field, the ERROR <code>: <message> row form, exit codes) and the runtime CZ_* variables, which is what makes cz-cli usable in CI without a profiles.toml.

Every command and flag in the new README was checked against --help on this branch.

The 21 README.<lang>.md files are deleted: they translate upstream's README, and the language nav that linked them is gone with it.

2. Upstream's CI workflows are gone

25 workflow files deleted; the three cz-owned ones stay (cz-test.yml, claude-review.yml, release-cos.yml).

Measured over the last 30 days: the deleted set ran 728 times, the three kept ran 101. compliance-close alone ran 387 times (every 30 minutes) and beta 245 (hourly), neither with a repo guard.

Two of them were acting on this repository's data, not just burning minutes:

The rest are upstream's publish/release/docs/nix/storybook/vscode-marketplace machinery pointed at upstream's artifacts and secrets. test and typecheck request blacksmith-* runners that do not exist in this fork, so their jobs queue for 24 hours and then fail — that is where the permanently-pending unit (linux) / e2e (windows) checks on every cz PR came from. cz-test.yml is the replacement that actually runs.

script/github/*.ts and the other upstream scripts are left in place; they are inert without a workflow to call them.

b40281f02e already removed pr-management.yml and pr-standards.yml for the same reason, so this follows an established precedent.

Ledger

Both changes edit or delete upstream files, so packages/cz-cli/UPSTREAM-PATCHES.md gains INTRUSIVE entries 10 and 11, each with what to re-apply on the next re-baseline.

Verified

Docs and CI only — no source or test file is touched. The three remaining workflow YAMLs parse, none of them referenced a deleted file, and nothing in the tree links to the deleted READMEs.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@suibianwanwank
suibianwanwank merged commit 5400a24 into main Aug 25, 2026
1 check passed
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.

2 participants