docs/aram-master-control-plan-20261111
Repository Agent Instructions
These instructions apply to every AI coding agent working in this repository, including Jules, Copilot, and Codex.
Source of truth
GitHub remote state is authoritative. Before editing:
- Fetch the remote.
- Read
PROJECT_STATUS.md,docs/ACCEPTANCE_POLICY.md, anddocs/PROJECT_LOG.md. - Read the mandatory Aram Master Project Control Plan and latest handoff.
- Verify the requested base branch and full base SHA.
- If the actual SHA or repository state differs from the task, stop without changes and report the mismatch.
The master control plan is the operational control register for phase ordering, worktree preservation, known exceptions, acceptance gates, and handoff. Live GitHub state and exact SHAs remain authoritative for whether any branch, PR, CI run, artifact, tag, or release actually exists. If records disagree, document and reconcile the discrepancy; never silently choose one.
Never treat a local file, task summary, or agent report as proof that a branch, PR, CI run, artifact, tag, or release exists.
Work rules
- Use one dedicated branch and one focused PR per task.
- Modify only explicitly allowed paths.
- Do not merge your own PR.
- Do not incorporate work from closed PR #7 except when a task explicitly identifies the exact feature and files to recover.
- Do not modify canonical XLSX/PDF,
data/, databases, or financial source values unless the task is an approved data-change task with hashes and recovery steps. - Do not commit ZIP, EXE, build output, secrets, credentials, caches, or local databases unless explicitly required by an approved artifact task.
- Do not invent financial values, mapping rules, tests, CI outcomes, URLs, or acceptance status.
- Preserve dirty local worktrees; no reset, clean, destructive checkout, force push, or worktree deletion without verified recovery and explicit authorization.
Verification
- Run the exact tests required by the task.
- Run
git diff --check. - Inspect the complete diff against the approved base SHA.
- Confirm the exact changed-file list.
- Push the branch and open a real PR into the requested base branch.
- Provide real commit, PR, CI, artifact, and release URLs when applicable.
- If GitHub publication fails, the task is not complete.
Project records
Every meaningful PR must:
- update
PROJECT_STATUS.mdwhen current state changes; - append a complete entry to
docs/PROJECT_LOG.md; - add a new ADR instead of silently rewriting an accepted decision;
- satisfy
docs/ACCEPTANCE_POLICY.md; - use
.github/pull_request_template.md; - update
docs/handoff/LATEST_HANDOFF.mdafter every meaningful completed or rejected step so a successor can resume without chat history; - keep
docs/handoff/MASTER_RECOVERY_PROMPT.mdstable unless the governance process itself changes; - keep
docs/handoff/CHATGPT_BOOTSTRAP_PROMPT.txtas the saveable entry point for a successor chat; - update
docs/ARAM_MASTER_CONTROL_PLAN.mdwhen phase status, blockers, evidence, or next action changes.
An agent's written success report is not acceptance evidence.
Required final response
Return the verified base SHA, remote branch, full head SHA, PR number and URL, exact changed files, test commands/results, GitHub Actions URLs/results, artifact/release evidence or NONE, protected-data confirmation, and remaining risks.
End with: Ready for independent GitHub review; not merged.