From d10f89d55e982640159b3cfae6a0d67b70d5b63e Mon Sep 17 00:00:00 2001 From: ciagent Date: Wed, 3 Jun 2026 20:20:17 +0000 Subject: [PATCH] =?UTF-8?q?chore(config):=20add=20workflow=20block=20?= =?UTF-8?q?=E2=80=94=204=20standing=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a top-level workflow block to .ciagent/config.json with the four standing rules for v0.2+ and all future milestones: 1. no_hitl: true — full automation, no human-in-the-loop 2. merge_strategy — fast-forward or rebase-then-fast-forward only; no merge-commit-no-ff, no squash 3. release_flow_per_phase: true — every phase tag produces a Gitea release (already in .ciagent/RELEASE_POLICY.md, now also enforced in config.json) 4. branching — main < milestone/ < phase/- phase branches FF into milestone; milestone rebases onto main then FF. ---ci--- project: orca phase: 0 milestone: v0.1 status: execute ---/ci--- --- .ciagent/config.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.ciagent/config.json b/.ciagent/config.json index a1ca6d3..765edd1 100644 --- a/.ciagent/config.json +++ b/.ciagent/config.json @@ -31,6 +31,22 @@ "max_verification_retries": 2, "escalation_hooks": ["delete", "drop", "force", "reset --hard"] }, + "workflow": { + "no_hitl": true, + "release_flow_per_phase": true, + "merge_strategy": { + "allowed": ["fast-forward", "rebase-then-fast-forward"], + "forbidden": ["merge-commit-no-ff", "squash"], + "phase_to_milestone": "fast-forward", + "milestone_to_main": "rebase-then-fast-forward" + }, + "branching": { + "hierarchy": "main < milestone/ < phase/-", + "phase_branches": "phase/NN- merges into milestone/ via fast-forward", + "milestone_branches": "milestone/ rebases onto main, then fast-forwards main", + "default_branch": "main" + } + }, "personas": { "enabled": true, "territory_enforcement": "warn",