Skip to content

fix: try.sh — repo-local demo identity for zero-config git - #42

Merged
zheng-weihao merged 1 commit into
orbcli:mainfrom
zheng-weihao:fix/try-demo-git-identity
Aug 17, 2026
Merged

fix: try.sh — repo-local demo identity for zero-config git#42
zheng-weihao merged 1 commit into
orbcli:mainfrom
zheng-weihao:fix/try-demo-git-identity

Conversation

@zheng-weihao

@zheng-weihao zheng-weihao commented Aug 17, 2026

Copy link
Copy Markdown
Member

What changed

  • try.sh now writes a repo-local git identity (Pilot <pilot@localhost>) into each demo pool clone's config right after orbit clone. Worktrees read the repo's common config, so the agent's commits inside the mission workspace inherit it automatically.
  • Scope is confined to the disposable demo directory (~/orbit-try); user repos are never touched. The seed commits' identity moved to pilot@localhost for consistency.

Checklist

  • shellcheck orbit.sh install.sh passes (try.sh checked too)
  • bats tests/ passes (targeted: bats tests/25_try_demo.bats — 6/6; mock updated to materialize pool clones on orbit clone, matching real behavior)

- 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
zheng-weihao merged commit 6e5200a into orbcli:main Aug 17, 2026
2 checks passed
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>
@zheng-weihao
zheng-weihao deleted the fix/try-demo-git-identity branch August 24, 2026 11:07
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.

1 participant