Skip to content

docs(agents): document the local dev stack and worktree workflow#6015

Merged
Yicong-Huang merged 1 commit into
apache:mainfrom
Yicong-Huang:docs/agents-local-dev
Jun 29, 2026
Merged

docs(agents): document the local dev stack and worktree workflow#6015
Yicong-Huang merged 1 commit into
apache:mainfrom
Yicong-Huang:docs/agents-local-dev

Conversation

@Yicong-Huang

@Yicong-Huang Yicong-Huang commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

AGENTS.md documents the single-node and k8s deploy paths but never tells an agent how to run the local dev stack. This PR:

  • adds a "Where Things Live" row routing to bin/local-dev.sh — the single entry point (infra in Docker; backend, frontend, and agent-service run natively);
  • expands the "Develop in a worktree" section to:
    • prefer bin/local-dev.sh while developing;
    • bounce the stack across worktree switches (down in the old worktree, up in the new one), since the native services bind fixed ports and share one PID/state dir, so only one worktree's stack runs at a time;
    • use the non-interactive CLI subcommands — the interactive TUI (-i) is for humans, not agents.
  • drops "Local" from the single-node / k8s deploy row — both can deploy anywhere, not only locally.

Only the wrapper is surfaced, never the internal bin/local-dev/main.sh.

Any related issues, documentation, discussions?

Closes #6014

How was this PR tested?

Docs-only change; no tests. Verified the linked bin/local-dev/README.md path resolves and that the described subcommands (up / down / status / logs / -i) match bin/local-dev.sh --help.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 4.8)

@github-actions github-actions Bot added the docs Changes related to documentations label Jun 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @Ma77Ball
    You can notify them by mentioning @Ma77Ball in a comment.

@Yicong-Huang Yicong-Huang force-pushed the docs/agents-local-dev branch from 034afe5 to d25729f Compare June 29, 2026 01:47
@Yicong-Huang Yicong-Huang changed the title docs(agents): point to bin/local-dev.sh for the local dev stack docs(agents): document the local dev stack and worktree workflow Jun 29, 2026
@bobbai00 bobbai00 added this pull request to the merge queue Jun 29, 2026
@Yicong-Huang Yicong-Huang removed this pull request from the merge queue due to a manual request Jun 29, 2026
Add a "Where Things Live" row routing agents to bin/local-dev.sh as the
single entry point for the local dev stack (infra in Docker; backend,
frontend, and agent-service run natively), and expand the worktree section:

- prefer bin/local-dev.sh while developing;
- bounce it across worktree switches (down in the old worktree, up in the
  new one) since the native services bind fixed ports and share one state dir;
- use the non-interactive CLI subcommands — the interactive TUI (-i) is for
  humans, not agents.

Also drop "Local" from the single-node / k8s deploy row — both can deploy
anywhere, not just locally.

Closes apache#6014
@Yicong-Huang Yicong-Huang force-pushed the docs/agents-local-dev branch from d25729f to ee46fa9 Compare June 29, 2026 01:52
@Yicong-Huang Yicong-Huang added this pull request to the merge queue Jun 29, 2026
Merged via the queue into apache:main with commit 16a3ddf Jun 29, 2026
20 checks passed
@Yicong-Huang Yicong-Huang deleted the docs/agents-local-dev branch June 29, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Changes related to documentations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the local dev stack and worktree workflow in AGENTS.md

2 participants