Appearance
Agent Directive: External Dependencies Bootstrap
Objective
Use PowerShell automation to launch the exact Cloudflare and Azure DevOps configuration portals in the user's default browser, facilitating the manual generation of necessary API tokens. Validate the environment configuration once the user updates the file.
Execution Sequence
1. Launch Browser Portals
- Execute a PowerShell command to open the Azure DevOps Project portal:
Start-Process "https://dev.azure.com/synkronyx/" - Execute a PowerShell command to open the Azure DevOps PAT generation portal:
Start-Process "https://dev.azure.com/synkronyx/_usersSettings/tokens" - Execute a PowerShell command to open the Cloudflare API Tokens portal:
Start-Process "https://dash.cloudflare.com/profile/api-tokens"
2. Await User Action
- Output a clear message to the console instructing the user to:
- Create the ADO Project named
EventRouteOptimiser. - Generate the ADO PAT (Full Access or Code/Work Items).
- Generate the Cloudflare API Token (Edit permissions for Workers & D1).
- Paste these into
settings/.env.local.
- Create the ADO Project named
- Halt execution and await the user's confirmation in the chat before proceeding to step 3.
3. Validate Secrets
- Once the user confirms, read
settings/.env.local. - Verify that
SKNX_ERO_ADO_PATandCLOUDFLARE_API_TOKENcontain valid token strings (not empty, and not placeholder text like<INSERT_YOUR...). - If valid, confirm successful bootstrap.
4. Update System Builder
- Read
SYSTEM_BUILDER.md. - Add
docs/21-external-dependencies-bootstrap.mdto the Artefact Index. - Append to the end of Phase 0.