Skip to content

docs(auto-sync): align instructions with strict offline sandbox - #426

Merged
thxCode merged 1 commit into
mainfrom
debug-autosync-run-44715327575
Nov 20, 2026
Merged

thxCode merged 1 commit into
mainfrom
debug-autosync-run-44715327575

Conversation

@thxCode

@thxCode thxCode commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Align .auto-sync/instructions.md and docs/release-automation.md with Loopwright Taskpack 2.0 strict execution semantics and refresh .auto-sync/digests.lock.json:

  • Workspace & offline bash boundaries: document that read, write, edit, and delete take repository-relative paths only, while bash runs in an isolated, offline scratch directory with the read-only candidate snapshot at ./candidate ($CANDIDATE_DIR, without .git in Turnkey mode).
  • Turn-efficient MCP research: instruct turn-1 batched baseline reads over $CANDIDATE_DIR, skip redundant upstream lookups for up_to_date subscriptions unaffected by shared companion pins, and route all upstream/commit research through mcp__github__* and mcp__deepwiki__* instead of probing blocked network tools (crane, curl, remote git) inside bash.
  • Offline patch checks & pacing: add pack/cann/patches/sglang to the patch review list, clarify staging mcp__github__get_file_contents files under $TMPDIR for git apply --check, and instruct turn pacing so candidate writes and submission.v1 complete cleanly (settling inconclusive items as blocked).
  • Digest lockfile parity: refresh .auto-sync/digests.lock.json via loopwright digest sync --taskpack .auto-sync/taskpack.yaml --repo ..

Verification

  • loopwright digest sync --taskpack .auto-sync/taskpack.yaml --repo . --check --json
  • uv run bash .auto-sync/checks/validate_candidate.sh
  • uv run python -B .auto-sync/checks/lint_workflows.py .github/workflows/auto-sync.yml .github/workflows/pack.yml .github/workflows/ci.yml
  • uv run pytest
  • uv run mkdocs build --strict
  • uv run pre-commit run --all-files

- Document repository-relative tool paths and read-only offline candidate bash sandbox rules.
- Replace blocked runner crane/curl guidance with parallel MCP research and turn-1 batch reads.
- Clarify offline patch verification under TMPDIR and turn pacing before submission.
- Sync .auto-sync/digests.lock.json and align docs/release-automation.md with strict sandbox behavior.

Signed-off-by: thxCode <thxcode0824@gmail.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the synchronization instructions and release automation documentation to align with Taskpack 2.0 strict execution rules. Specifically, it details workspace and tool path rules, offline bash scratch directory constraints, read-only MCP research methods, and updated patch verification procedures. One review comment was provided suggesting that during offline patch verification, fetched files should be staged in the current working directory rather than $TMPDIR to ensure git apply can locate them correctly.

Comment thread .auto-sync/instructions.md Resolved
@thxCode

thxCode commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

Review Feedback Summary

Comment Location Verdict Outcome
4641627083 (PRRT_kwDOPb01xM658-gO) .auto-sync/instructions.md:110 Engineering issue Fixed — stage fetched upstream files at their patch-relative paths in the current working directory rather than $TMPDIR so git apply --check "$CANDIDATE_DIR/<patch-path>" resolves targets directly, and refresh .auto-sync/digests.lock.json (verified with loopwright digest sync --check, validate_candidate.sh, pytest, and mkdocs build --strict).

@thxCode
thxCode merged commit e7166b1 into main Nov 20, 2026
7 checks passed
@thxCode
thxCode deleted the debug-autosync-run-44715327575 branch November 20, 2026 11:14
@thxCode

thxCode commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

Note: #426 merged (e7166b1) just before the review round above was pushed; the current working directory staging update and refreshed .auto-sync/digests.lock.json have been submitted in follow-up PR #427 (fe045de).

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