Remove run source tree from browser repo

This commit is contained in:
npc0-hue
2026-07-14 17:23:06 +08:00
parent 4f33f761a3
commit a57a5dbfcf
61 changed files with 118 additions and 5402 deletions
@@ -0,0 +1,19 @@
## ADDED Requirements
### Requirement: Browser repository uses external run implementation
The browser repository SHALL NOT store the machine-side run executor source tree. The run executor implementation SHALL live in the independent repository `git@git.npc0.com:admin343/run.git`.
#### Scenario: Browser root is inspected
- **WHEN** a contributor lists first-class implementation roots in the browser repository
- **THEN** the roots MUST be `platform/`, `platform_web/`, and `plugins/`
- **AND** `run/` MUST NOT be required as a browser-owned source directory
#### Scenario: Local debug needs a run worker
- **WHEN** a local debug or Docker workflow needs to start run
- **THEN** it MUST locate run through `RUN_REPO_DIR` or a documented sibling checkout
- **AND** it MUST fail with a clear setup message when the external checkout is missing
#### Scenario: Structure validation runs
- **WHEN** `scripts/check-structure.sh` runs in the browser repository
- **THEN** it MUST validate browser-owned platform, frontend, plugin, and governance paths
- **AND** it MUST NOT require files under `run/`