Skip to content

Correct AGENTIC_REPO semantics in the dotnet recipe docs#109

Merged
lsfera merged 1 commit into
mainfrom
docs/dotnet-recipe-agentic-repo-clarification
Jul 6, 2026
Merged

Correct AGENTIC_REPO semantics in the dotnet recipe docs#109
lsfera merged 1 commit into
mainfrom
docs/dotnet-recipe-agentic-repo-clarification

Conversation

@lsfera

@lsfera lsfera commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • AGENTIC_REPO only scopes gh API calls (issues/PRs) — it does not redirect git push, which always runs with the orchestrator process's own cwd checkout (main.ts:590, repoRoot = process.cwd(); main.ts:1095, git push -u origin ... with cwd: repoRoot).
  • The examples/dotnet-project/ docs I wrote in PR Package dotnet Dockerfile recipe as examples/dotnet-project/ #107 implied you could run the orchestrator from agentic-dev's own checkout while AGENTIC_REPO pointed at an unrelated external repo. Following that literally would push a branch to the wrong repo.
  • Discovered while actually running the live end-to-end validation (issue HITL mode (/hitl) #4 in .scratch/dotnet-afk-support/) — I had to launch tsx directly with cwd inside the target repo's own checkout to make it work at all.
  • Corrects README.md and orchestrator.env's comments to state the real constraint, with the tested working command.

Test plan

  • Docs-only change, no code affected
  • The corrected instructions match the command that was actually used and succeeded in the live validation run

Discovered during the live end-to-end validation (issue #4 in
.scratch/dotnet-afk-support/): AGENTIC_REPO only scopes gh API calls
(issues/PRs) — it does not redirect git push, which always uses the
orchestrator process's own cwd checkout (main.ts: repoRoot =
process.cwd()). The original docs implied you could run from
agentic-dev's own checkout while AGENTIC_REPO pointed at an unrelated
external repo; following them literally would push branches to the
wrong repo. Corrected to state the orchestrator must be launched with
cwd inside the target project's own checkout, with a tested command
for doing so directly via tsx.
@lsfera lsfera merged commit 2dfb2b6 into main Jul 6, 2026
3 checks passed
@lsfera lsfera deleted the docs/dotnet-recipe-agentic-repo-clarification branch July 6, 2026 16:51
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