Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 2.34 KB

AGENTS.md

File metadata and controls

24 lines (19 loc) · 2.34 KB

AGENTS.md — PoPunkouterSoftware

Independent Po Blazor Web App (.NET 10). Owns all its code; only PoShared Azure resources are shared.

Hosts all RL/MuJoCo work. UNITE comes from this repo; all UNITE training starts and ends on its site (docs/training-rule.md); apps, PoRobotTrain included, only load brains. Only the Unreal apps and PoRobotTrain (virtual and real Unitree R1) use UNITE; Unity and other Po apps keep their own training. /global/queue offers UNITE jobs only (GlobalDataStore.UniteOnly). UNITE work follows docs/unite/docs/AGENTS-SECTION.md.

Docs

Build & Test

  • Never dotnet run; use pwsh ./scripts/run-dev.ps1 (stop it with -Stop) and check /health/live is 200.
  • Local gate: pwsh ./scripts/verify.ps1 (format, ruff, Python, build with 0 warnings, conventions, Unit, Integration, E2E). UI audit: pwsh ./scripts/audit-ui.ps1.
  • Every @page goes in tests/routes.json. Radzen controls take AriaLabel=, not aria-label.
  • Never test against live (F1 quota). Live checks: ≤6 page loads, /diag, X-Commit.

Rules

  • master only. git fetch origin && git rebase --autostash origin/master before commit. Push only when asked (pwsh ./scripts/sync.ps1). Never git stash; use your scratchpad.
  • One workflow: .github/workflows/deploy.yml. No dotnet user-secrets (use appsettings*.json or kv-poshared2).
  • Shell: .po-header (title left, email right), .po-version vYYMMDD bottom-right, in-flow on phones. Radzen-only controls (read-only tables excepted), FluentValidation by type, no alert()/confirm(), nav hidden when signed out.
  • Owner exceptions: Entra owner-only auth (f1c45f3, 3fb4b98, 15fd1bb, 5e3a052) on /azure, /users, /global (/ and /diag public; localhost exempt: ad1797d); UNITE live player (7424e1c, ed02827).
  • Iterate on changed tests; full suite before push. UI changes ship SCREENSHOTS/YYMMDD-<name>.html + .png via scripts/screenshots.ps1.