Repository navigation
gitany 2026.12.3.3: the write verbs, one order everywhere, the CI reads, and messages that say what to do - #10
Merged
Merged
Conversation
…ease states where its tag is made and which is latest, a dispatch carries its inputs - `pr merge --method merge|squash|rebase`: GitHub's `merge_method`; GitLab merges or squashes; Gitee and GitCode state one way. Which words a platform serves is its data (`option_values`, beside the support declarations): another word is refused before any request, by name, with the platform's reason. The `when` of a row can name a value (`"method=squash"`). - `pr merge --expect-head <sha>`: the pull request is read first; a head that is another commit is exit 8, and nothing is merged. - `issue labels N --labels a,b` on the four platforms, and `issue create --labels a,b` where the create takes them (GitHub's array, GitLab's one string); elsewhere the refusal names the option. A `body_arrays` member is left out when its option was not given. - `release create --target <commit|branch>` (GitHub's `target_commitish`, GitLab's `ref`) and `release edit --latest` (GitHub's `make_latest`). - `workflow start <id> --ref <branch> key=value…`: the inputs as an object (`body_pairs`); one without `=` is refused. - A platform file states all of it: `[[option_values]]`, `body_pairs`, and the value form of `when`; the round-trip test carries them. - Tests: the unit suite plans each row; the e2e sends them to the fake platform and reads its request log; the skills and the design state what each platform serves.
…ers with its own verbs; cmdline 0.0.7 - `schema::command_groups` is the one table: START HERE (auth, config), COMMON COMMANDS (the thirteen nouns), PLATFORMS AND AGENTS (api, mirror, platforms, schema), OTHER COMMANDS (alias, completion, history, version); by name inside a group. The help (cmdline 0.0.7's groups and epilogue), the bare run's message, the root skill's index and completion's candidates read it. The first suite listed the same 23 names in three orders. - A bare command answers with its own verbs, and a word that is not one of them is named; the first suite printed the root's commands for `gitany issue` and for `gitany issue view 743` alike. - cmdline 0.0.7; the lock's entry re-keyed by the gnu, musl and openkal builds, its target set carried from 0.0.6's.
…es and clang 23 only warns - The write verbs' first CI failed its gcc legs and its musl leg on seven rows that named `.headers` after `.when` or `.body_fields`; the clang legs took them (`-Wreorder-init-list` is a warning there, and a build that succeeds prints none). The rule now stands where the rows' type is declared.
…did not pass, a commit's checks; GitCode's actions and Gitee's header measured
- `run view` carries `jobs[]` and `run jobs` lists them: which job failed was the question a failed run asked, and the first suite answered at the run's grain. `run list --workflow --branch --sha` narrows where the platform takes them; a filter a platform ignores is refused by the row (gitcode ignores `head_sha`). `run retry --failed` runs the jobs that did not pass — one request on GitHub, job by job on GitLab, by the ids the flow reads first on GitCode — and sends nothing when every job passed. `commit checks` is one list in the run's words: GitHub's check runs, then its commit statuses.
- Primitives, all data: `{?key=name}` (an optional query parameter, sent only when the variable is given — the first list with a filter rendered `page=1branch=x`, which the unit test caught), a `//` path read from the host's root (GitCode's actions API is /api/v8 beside a /api/v5 base; `api //…` likewise), `epoch_ms`, `result_word`, and a status fold whatever the platform's case.
- Measured 2026-12-03 with credentials the task supplied: Gitee's header form (`Authorization: token` answers 200 on /user, Bearer as well, anonymous 401) — every built-in's form is verified now, and `--allow-query-auth` is a platform file's alone; GitCode's actions routes under v8 (runs, jobs, `workflow_name`/`branch`; no commit-check route: 404 Route Not Found on v5 and v8); GitLab's pipeline jobs and its `ref`/`sha` filters, its commit statuses answering 401 to an anonymous probe; GitHub's jobs, check-runs, combined status and filters.
- A living record: each item of the 2026-12-03 task as scenario → evidence → design → verification, with the commit of this pull request that lands it. - Measured with credentials: Gitee's header form (Authorization: token → 200 on /user, anonymous 401), GitCode's actions API under /api/v8, GitHub's jobs, check runs and filters, GitLab's pipeline jobs. The gaps that stay open (anonymous reads, a job's log behind a signed redirect, GitLab's commit statuses behind a credential) are written with their evidence.
…permission; a pasted token shows its shadow - Skills: 138 relative paths to sibling skills became `gitany <command> --agent-skill-doc`, which an agent with the binary alone can run. Two guards keep it so, and found two commands the root's index prints but which did not run: `gitany api --agent-skill-doc` (the parser wanted the endpoint first) and `gitany completion --agent-skill-doc` (the completion machinery read the arguments first). Both answer their sheet now. - A 403 says what to add: the registry's `permissions_header` is read on a refusal, `error.permissions` carries the platform's words and the remedy reads `the token lacks Issues (write)` — measured on a read-only token. `auth token <name>` takes the name as `auth test` does. - A token pasted at a terminal shows its shadow (`***`, then `***` and the last four from twelve characters) on a line of its own. An e2e drives a real pseudo-terminal (`tests/e2e/data/pty_run.py`): the token never reaches the terminal, Backspace takes the hint back, Ctrl-C restores the terminal's mode. The skills rehearsal's directories are removed when the program ends (68 were left after a run).
…'s self-review - Version 2026.12.3.3 in the three places that state it: mcpp.toml, the program's version constant, and the lock's two `mcpplibs.os` entries (keys renamed with the program's id; targets from real builds for gnu, musl and openkal, macOS and Windows carried as the previous release did). A second build leaves the lock unchanged; the three local binaries report 2026.12.3.3. - The release notes' package paragraph as the two published releases state it; `docs/release-notes/<version>.md` adds what changed (both languages here), read by the draft job (with a sparse checkout of that directory) instead of being hand-edited after the fact. - The plan's self-review: the link count measured on the pre-transform tree (177 sibling links and 3 to the root), the lock's legs, the notes mechanism, the unpaged Gitee label list (G23), and a quality section that names what is not verified yet.
…ead, and its child gets PATH
- The openkal leg of the first CI run failed this test with no useful words: a discarded document's fields were read (nlohmann's const operator[] asserts on a missing key, so the program aborted at the first scenario), and the child was given no PATH — an ok image is started by its loader, which PATH must name. The driver now reports the failures it can name as `{"error": …}`; the test checks the document's shape first, skips when python reports no pty, and prints python's own output with every failure.
…body sends nothing - `pr merge --subject/--body` name the landed commit: GitHub's `commit_title`/`commit_message`, GitLab's `squash_commit_message`/`merge_commit_message`; a platform that states neither refuses them by name. A merge with neither is still a body-less request. - A row whose body is wholly optional (`body_optional`) sends no body when nothing was given; every other row still refuses "was given nothing to write", so an edit with no changes never reaches the platform. GitHub's two merge rows are one row now.
…nd a machine without a pty asserts the pipe fallback - The pty driver execs the command it is given; an .oke is no kernel program and took SIGSEGV on the openkal legs. The case now resolves the loader the way mtest.e2e's run does (os::env::loader(), else okrun on PATH) and starts okrun <image>. - Where no terminal can be driven (no python, or no pty module: Windows), the case asserts the prompt's own fallback — --token-stdin through a pipe, the account stored, the hint shown — instead of skipping: a skipped case is a case nobody ran, and the CI gate refuses one. - The plan records the two-hop job-log fetch (credential only to api.github.com) and the pty loader/fallback rule.
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.
Fixes #9.
What | 内容
This pull request is the 2026.12.3.3 release: everything since 2026.12.3.2, in the commits below
(the supplementary plan,
.agents/docs/2026-12-03-gitany-supplementary-optimization-plan.md, recordseach item with its evidence and the commit that lands it).
pr merge --method merge|squash|rebaseand--expect-head <sha>(a head thatmoved is refused, nothing is merged);
issue labelsandissue create --labels;release create --target;release edit --latest;workflow start <id> --ref main key=value(a dispatch's inputs).pr merge --subject/--bodyname the commit the merge lands. Which words a platform serves is itsdata (
option_values): another is refused before any request, by name, with the platform's reason.run viewcarriesjobs[],run jobslists them,run list --workflow/--branch/--shanarrows where the platform takes them (a filter it ignores isrefused by the row),
run retry --failedruns only the jobs that did not pass (GitHub: one request;GitLab: job by job; GitCode: by the job ids the flow reads first), and
commit checks <sha>is onelist of a commit's checks. GitCode's actions are served from its
/api/v8; Gitee's header form ismeasured.
gitany --help(START HERE, COMMON COMMANDS, PLATFORMS ANDAGENTS, OTHER COMMANDS), by name inside a group — the order of the root skill's index and of
completion. A bare command answers with its own verbs and names the word that is not one.
cmdline 0.0.7carries the groups, the order and the epilogue; the lock is re-derived.(
error.permissions, fromX-Accepted-GitHub-Permissions); a skill points at another skill bycommand (
gitany <command> --agent-skill-doc), andgitany api --agent-skill-docandgitany completion --agent-skill-docanswer as the root's index spells them;auth token <name>;a token pasted at a terminal shows
***and its last four;gitany api //pathreads from the host'sroot.
package paragraph as the two published releases state it, and what changed read from
docs/release-notes/<version>.mdinstead of being hand-edited after the draft.Verification | 验证
mcpp test --since HEAD: 406 cases in 19 programs, green. New e2e: jobs, filters,retry --failedand
commit checkson three fake platforms (tests/e2e/replay.cpp); the help's groups and a barecommand's answer; the token prompt through a real pseudo-terminal (
tests/e2e/data/pty_run.py);every command a skill names answers with exit 0 (
tests/e2e/skills.cpp); every option of everyverb either changes its plan or is refused by name (table-driven over the catalog).
Authorization: token→ 200 on/user(anonymous 401); GitCode's actions under/api/v8(runs, jobs,workflow_name/branchfilters; no commit-check route: 404 on v5 and v8); GitHub's jobs, check-runs, combined status and
branch/head_shafilters; GitLab's pipeline jobs andref/shafilters (commit statuses answer401 anonymously).
mcpp build,--target x86_64-linux-musland--target x86_64-openkal: each binary reports2026.12.3.3, and a second build leaves
mcpp.lockunchanged.Authorship | 作者
Authorship: ai-and-human
Agent: omp
Model: glm-5.4