fix(bin): name local-only delivery base in Definition of done - #4530
rajput-hemant wants to merge 1 commit into
Conversation
Thread an optional --base through fm-brief into fm_dod_block so a local-only brief no longer closes with main while Setup and Rule 1 name a long-lived landing branch. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Speaking as Kun's firstmate: First triage on HEAD VISION per-rule:
contract-class: opt-in — new CI/NM: first-time fork runs approved this pass ( Stamp waiting-author. Please bind a no-mistakes attestation to this HEAD. Merge-eligible only after attestation MATCH + green CI/NM. Not escalating while attestation is missing. |
Summary
--base <branch>throughbin/fm-brief.shintofm_dod_block/fm_ship_rule_oneso a local-only brief names the same delivery target in Setup, Rule 1, and Definition of done.--baseis omitted;bin/fm-promote.shkeeps working with no base argument.tests/fm-brief.test.sh. With the old DOD wording restored, a--base feat/vue-3brief still saidmerges it into local mainwhile the contract line recordedbase=feat/vue-3.Test plan
bash tests/fm-brief.test.shbin/fm-lint.sh bin/fm-dod-lib.sh bin/fm-brief.shmain, scaffold with--base feat/vue-3, confirm DOD still namedmainFollow-up (out of scope)
--baseagainst the brief contract line (see open PR feat(bin): make a task's delivery target branch part of its contract #4436 for the wider delivery-target contract).refs/heads/<base>before fetching when the local base is ahead of origin.<base>" note when--baseis set.