# Phase 1: Zero-Pollution Pipeline Stabilization - Context

**Gathered:** 2026-03-30
**Status:** Ready for planning
**Source:** PRD Express Path (implementation_plan.md)

<domain>
## Phase Boundary
Fix the Master-Satellite synchronization pipeline to natively extract GSD skills, UI updates, and Python dependencies. This ensures that a zero-click `bootstrap.bat/.sh` works flawlessly across new workspaces without violating the Zero-Pollution architecture.
</domain>

<decisions>
## Implementation Decisions

### Zero-Click Python Dependencies
- Modify `bootstrap.bat` and `bootstrap.sh` to auto-detect and pip-install Python dependencies for MCP tools (`browser_use`, `claude-mem`, `mini-swe`).

### Master Sync Pipeline GSD Extraction
- Modify `sync_vendors.bat` and `sync_vendors.sh` to execute `npm update get-shit-done-cc uipro-cli`, `npx uipro update`, and `npx get-shit-done-cc --antigravity --local` inside `.agent/env`.
- Ensure output folders `.agent/get-shit-done/` and `.agent/skills/gsd-*/` are `git add`ed.

### Gitignore Rules for extracted skills
- Modify `.agent/scripts/extract_skills.js` to whitelist `!gsd-*/` in the generated `.gitignore` so Phase planning and GSD execution tools successfully persist to git.

### the agent's Discretion
- The method of Python virtual environment detection vs global python is left to the agent, though leveraging `AGENT_PYTHON_PATH` if specified is preferred.
</decisions>

<canonical_refs>
## Canonical References

**Downstream agents MUST read these before planning or implementing.**

### Zero Pollution Scripts
- `bootstrap.bat`
- `bootstrap.sh`
- `.agent/scripts/sync_vendors.bat`
- `.agent/scripts/sync_vendors.sh`
- `.agent/scripts/extract_skills.js`

</canonical_refs>

<specifics>
## Specific Ideas
- The `npx get-shit-done-cc --antigravity --local` command must be run relative to the project root or precisely routed, otherwise GSD commands won't appear sequentially.

</specifics>

<deferred>
## Deferred Ideas
None — PRD covers phase scope.
</deferred>

---

*Phase: 01-zero-pollution-pipeline-stabilization*
*Context gathered: 2026-03-30 via PRD Express Path*
