Repository navigation
Add caos push-git - #251
Merged
nishu-builder merged 1 commit intoSep 18, 2026
Merged
nishu-builder merged 1 commit into
nishu-builder merged 1 commit into
Conversation
This was referenced Sep 17, 2026
nishu-builder
added this pull request to stack #255
September 17, 2026 23:43
nishu-builder
force-pushed
the
codex/publish-cli-20260917-911f8bae
branch
from
September 17, 2026 23:48
4386bb8 to
43f4e86
Compare
nishu-builder
force-pushed
the
codex/publish-cli-20260917-911f8bae
branch
from
September 17, 2026 23:54
43f4e86 to
0dea08e
Compare
nishu-builder
commented
Sep 17, 2026
nishu-builder
left a comment
Contributor
Author
There was a problem hiding this comment.
Layer 4/8. Small and does what it says: shared send, strict argument parsing, absent spelled explicitly, response shape validated before it is echoed, and the CLI cases in the fixture. Timeout raised to 960s while the server's own git call is capped at 300s, which is fine as long as that ordering is deliberate.
One inline comment: mapping every 422 to a single validation-rejected diagnostic throws away the distinction the server already makes (reserved .caos, markers, conversation commit, not-a-fast-forward, E not stored), and the agent's next action differs for each. A marked JSON body from the server would let the CLI surface the reason without trusting arbitrary proxy text.
Generated by Claude Code
nishu-builder
force-pushed
the
codex/publish-cli-20260917-911f8bae
branch
from
September 18, 2026 00:03
0dea08e to
b9f22d0
Compare
nishu-builder
force-pushed
the
codex/publish-cli-20260917-911f8bae
branch
from
September 18, 2026 00:48
b9f22d0 to
1ee9da7
Compare
nishu-builder
force-pushed
the
codex/publish-cli-20260917-911f8bae
branch
from
September 18, 2026 01:12
1ee9da7 to
2265467
Compare
nishu-builder
removed this pull request from stack #255
September 18, 2026 07:50
nishu-builder
added this pull request to stack #257
September 18, 2026 07:51
nishu-builder
force-pushed
the
codex/publish-cli-20260917-911f8bae
branch
from
September 18, 2026 10:52
2265467 to
0e0c278
Compare
nishu-builder
removed this pull request from stack #257
September 18, 2026 10:52
nishu-builder
added this pull request to stack #257
September 18, 2026 10:52
nishu-builder
removed this pull request from stack #257
September 18, 2026 10:53
nishu-builder
added this pull request to stack #261
September 18, 2026 10:53
nishu-builder
force-pushed
the
codex/publish-cli-20260917-911f8bae
branch
from
September 18, 2026 19:52
0e0c278 to
57ee442
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.
Add caos push-git --expected=<hash|absent>. Reuse import credentials and HTTP transport; preserve the pinned commit and destination in every receipt.
Render known server error codes instead of arbitrary response text. Local preparation failures exit before dispatch; after dispatch, a missing, malformed or unconfirmed response produces an uncertain receipt. The fixture covers publication, receiver/validation rejection and invalid local inputs.
Validation on EC2: Nix build passed. The salted suite passed 46/47 checks in 395s; its Clippy findings were fixed, and Clippy passed on all affected crates with --all-targets -- -D warnings. Formatting passed after those lint-only fixes. HTTPS import/push, shallow-locator/offline-cache, and focused unit checks also passed. The functional suite was not repeated for the lint-only changes.