The Windows bootstrap is the recommended way to create a Signal Rail instance on Windows. RunningDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/XxYouDeaDPunKxX/Signal-Rail/llms.txt
Use this file to discover all available pages before exploring further.
init_signal_rail.bat launches a short interactive session: you provide a target directory and an optional project name, and the paired PowerShell script copies all 17 canonical files, auto-patches the date and project name into the right canonicals, reports what was created or skipped, and prints the recommended entry steps — all without manual file handling. The scripts can also be called directly from PowerShell if you prefer to bypass the BAT launcher.
Prerequisites
Before running the bootstrap, confirm:- Windows OS — the BAT launcher is Windows-only; on other platforms use manual copy.
- PowerShell — the BAT calls
powershell -ExecutionPolicy Bypass. PowerShell must be available on the system path. - Both scripts in the same folder —
init_signal_rail.batandinit_signal_rail.ps1must exist in the same directory (the Signal Rail source folder). The BAT checks forinit_signal_rail.ps1at launch and exits with an error if it is missing.
Running the bootstrap
Launch init_signal_rail.bat
Double-click The console window opens and prints:
init_signal_rail.bat in Windows Explorer, or run it from a Command Prompt:Enter the target directory
The script prompts:Enter the full path to the folder where you want the instance to be created. Paste or type the path and press Enter. If you leave this blank, the operation is cancelled immediately:
Enter the host project name (optional)
The script prompts:If you provide a name, the PowerShell script will patch it into the
- project name: field in both 01_orientation.txt and 03_master_working.txt. If you leave it blank, those fields remain at their template defaults for you to fill in by hand.PowerShell script runs
The BAT delegates all logic to the PowerShell script using:The script runs, copies files, applies patches, and prints a summary. See What the PowerShell script does below for the full detail.
Calling the PowerShell script directly
You do not have to use the BAT. You can callinit_signal_rail.ps1 directly from a PowerShell prompt:
-TargetPath is mandatory. -ProjectName is optional. The script behavior is identical whether launched via the BAT or called directly.
What the PowerShell script does
1. Path normalization and safety check
The script resolves both the source folder (the location ofinit_signal_rail.ps1) and the target path to fully-qualified paths using [System.IO.Path]::GetFullPath(), then strips trailing backslashes. Before doing anything else, it compares the two resolved paths. If they match, it throws an error and stops:
2. Canonical file list
The script maintains the exact list of 17 files to copy:3. Target directory creation
If the target directory does not exist, the script creates it withNew-Item -ItemType Directory before copying any files.
4. Overwrite check
The script scans the target directory for any of the 17 canonical files that already exist. If it finds any, it asks:yes or no. Answering yes allows the script to overwrite existing files. Answering no causes existing files to be skipped while new files are still copied.
5. File copy
For each of the 17 canonical files, the script:- Checks that the source file exists in the Signal Rail source folder.
- Checks whether the target file already exists.
- Copies the file (creating new or overwriting, based on the overwrite decision; skips if the file exists and overwrite was declined).
- Records each file as created, overwritten, or skipped.
6. Auto-patching
After copying, the script applies two automatic patches to the copied files: Date patch (03_master_working.txt): The script reads today’s date in yyyy-MM-dd format and replaces the bare - date: line with - date: <today>. This happens whenever 03_master_working.txt was just created or overwritten.
Project name patch (01_orientation.txt and 03_master_working.txt): If a project name was provided, the script replaces the bare - project name: line in each file with - project name: <name>. This applies only to files that were created or overwritten in the current run.
7. Summary output
The script prints a completion summary:Exit codes
| Code | Meaning |
|---|---|
0 | Bootstrap completed successfully |
| non-zero | Bootstrap not completed; reason printed to console |
After bootstrap
Read 00_runtime_entry.txt first
This governs valid entry and correct system reading. It must be read before the system is used operationally.
Read 06_ai_to_ai.txt after entry is valid
The lateral kernel activates Signal Rail protocol. It governs how the agent reads, stops, asks, routes, and writes inside the instance.
Close host project, working object, and mode
Reading does not authorize writing. Understanding does not authorize promotion. Close the frame before substantive action.
Fill 01_orientation.txt and 03_master_working.txt
The bootstrap script patches the date and project name automatically. Fill the rest: project identity, perimeter, current live state, dominant blocker, and next sensible move. Describe the host project — not Signal Rail — in
01_orientation.txt.Continue from the textual system using canonicals by level
Use each file for its own purpose. Do not route material by convenience — route by nature, stability, and authority.
AI_TO_AI__DEPLOYED_INSTANCE_SIGNAL_RAIL.txt is copied into your instance folder. It marks this folder as the deployed Signal Rail tool surface, not the host project itself. An AI agent that reads this marker must still close the host project, working object, and authority independently before substantive action.