Continuous commissioning of a large particle accelerator involves multiple tasks with physical dependencies, and execution conditions change with beam and equipment states. We present COMPASS (Cooperative Multi-agent Physics-aware Accelerator Smart System), a commissioning framework that decouples expert operational knowledge, physical observations, specialized tools, and LLM-independent deterministic guardrails. It organizes continuous commissioning through adaptive task planning and performs an independent deterministic check before tool execution. On the AVAS virtual accelerator and the real HIAF superconducting linac, the system completed continuous radio-frequency phase commissioning with per-cavity energy inheritance; the real ten-cavity task took 59 min 58 s without human intervention. Across 360 controlled knowledge-ablation episodes on two open-weight language models, adding operational rules on top of facility-structure knowledge raised task completion from 55.6% and 31.1% to 88.9% and 86.7%, and reduced operator escalations from 42.2% and 51.1% to 11.1% and 6.7%. Paired McNemar tests support the difference (p = 6.1e-5 and 1.6e-6). In fault-injection experiments, no hazardous actions were executed, and the full system stopped and handed off correctly in all 15 persistent no-beam scenarios. In a three-cavity task on the real machine with a beam interruption and an equipment signal fault, the system rechecked the beam state after operator recovery, restored the phase-scan preconditions, and completed the original goal. Task-level safe autonomy depends on both the decision basis supplied by operational-rule knowledge and the LLM-independent deterministic