fix: try.sh — repo-local demo identity for zero-config git - #42
Merged
Merged
Conversation
- The demo's later commits (made by the agent inside workspace worktrees) inherited no identity on a fresh machine with no global git config, failing with "Author identity unknown" (exit 128) - try.sh now writes Pilot <pilot@localhost> into each demo pool clone's config right after orbit clone; worktrees read the repo's common config, and everything stays under the disposable demo dir - Also switch the seed commits' identity to pilot@localhost for consistency (the orbit.dev domain is not ours) Signed-off-by: Zheng Weihao <zheng-weihao@outlook.com>
zheng-weihao
added a commit
that referenced
this pull request
Aug 23, 2026
…p sync, discovery strings (#43) - Bump ORBIT_VERSION and the four plugin manifests to 0.2.0 - CHANGELOG: finalize 0.2.0 (urgent upgrade notes + changes by kind; 26 PRs #16-#42 linked) - RELEASE_NOTES: MaxQ section — highlights, breaking-changes block, date anchor - ROADMAP: sync to post-0.2.0 shape - Unify marketplace/package descriptions (7 slots); document the auto-approve jq dependency Signed-off-by: Zheng Weihao <zheng-weihao@outlook.com>
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.
What changed
try.shnow writes a repo-local git identity (Pilot <pilot@localhost>) into each demo pool clone's config right afterorbit clone. Worktrees read the repo's common config, so the agent's commits inside the mission workspace inherit it automatically.~/orbit-try); user repos are never touched. The seed commits' identity moved topilot@localhostfor consistency.Checklist
shellcheck orbit.sh install.shpasses (try.sh checked too)bats tests/passes (targeted:bats tests/25_try_demo.bats— 6/6; mock updated to materialize pool clones onorbit clone, matching real behavior)