docs(agents): sync shared working rules from ai-rules
Updates this repository's copies of Josh's shared working rules to the current reviewed public projection from BigSimmo/ai-rules (generated by repository_rule_targets.py, the same logic as sync.sh --repos).
Changed: only the managed shared-cloud-working-rules block in AGENTS.md and the shared prefix of docs/agents/shared-context-and-memory.md. Any project-owned addendum is preserved byte-for-byte; the generator refuses to overwrite unreviewed edits.
Main additions: authorized browser/device testing preference (Chrome, then Edge), reporting missing capability precisely, leaner process guidance, the parallel dev server memory check, and condensed memory-budget wording. No product, clinical or runtime behaviour changes.
Checks: generated from a clean worktree of origin/main. Local docs-link and inventory checks pass; the full docs-maintenance check could not run locally (a formatting dependency was missing in the temporary worktree; it fails identically without this change), so CI is the authority.
Note for local checkouts: the main checkout carries an older uncommitted copy of these two files from an earlier sync. Once this merges, those two local changes are superseded and can be discarded before pulling.
Summary by cubic
Syncs this repo's shared agent working rules from BigSimmo/ai-rules, touching only the managed shared-cloud-working-rules block in AGENTS.md and the shared prefix of docs/agents/shared-context-and-memory.md. The project-owned addendum is preserved byte-for-byte; the generator refuses to overwrite unreviewed edits.
Main additions: authorized browser/device testing preference (Chrome, then Edge), precise reporting of missing capability, leaner process guidance, a parallel dev server memory check, and condensed memory-budget wording. No product, clinical, or runtime behavior changes.
Verification and local checkouts: generated from a clean worktree of origin/main; local docs-link and inventory checks pass, and the full docs-maintenance check could not run locally (missing formatting dependency, fails identically without this change), so CI is the authority. The main checkout still carries an older uncommitted copy of these two files; once this merges, discard those local changes before pulling.
Summary by Gitar
- Spending approval:
- Replaced the per-run billable gate with one approval per bounded task or batch, covering retries within a stated maximum
- PR repair workflow:
- Added guidance for authorized PR repairs covering check triage, remote head verification and retained merge/deploy authority
- Skills and handoffs:
- Added rules for loading only relevant skills and carrying task approvals through trusted handoffs
This will update automatically on new commits.