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 the managed shared working rules from BigSimmo/ai-rules into AGENTS.md and docs/agents/shared-context-and-memory.md. Only the managed shared blocks change; project-owned content is preserved byte-for-byte. This is documentation-only — no product, clinical, or runtime behavior changes.
Key changes
- Authorized browser/device testing now prefers Chrome then Edge and requires reporting exact missing capability.
- Spending approval moves from per-run gates to one bounded-task approval covering reasonable iterations and retries.
- Adds the parallel dev-server memory check for multi-agent browser work and condenses the memory-budget wording.
Local checkouts may carry stale uncommitted copies of these two files from an earlier sync; discard them before pulling once this merges. The full docs-maintenance check could not run locally (missing formatting dependency; it fails identically without this change), so CI is authoritative.
Summary by Gitar
- PR repair workflow:
- Adds guidance for authorized PR repairs: inspect head, threads, checks and mergeability, then fix the first failing layer
- Requires verifying the remote head and checks after an authorized push, without weakening checks to go green
- Trusted approvals and skills:
- Requires exact task approvals to pass through the host's trusted handoff, not agent summaries
- Limits skill use to relevant references and avoids duplicate plans or approvals
This will update automatically on new commits.
Summary by CodeRabbit
- Documentation
- Updated guidance for browser and device verification, including resource considerations for running isolated browser sessions.
- Clarified task approval and spending limits, including approval scope, estimated costs, and when additional approval is needed.
- Revised guidance for delegation, task checkpoints, review and repair steps, access boundaries, and saving project information.