feat(doctrine): end-of-run sites restate the merge-reuse clause
a11y, guardrails, ship-feature and init-project cite lib/effort-shift.md without loading it; their end step now says a later merge proposal reuses the answer and names code commits made after it. loops-light locks it.
This commit is contained in:
1 parent
9d4d10b1fc
commit
af846d6dbe
5 files changed
+21
-4
No files matched your search
@@ -19,6 +19,8 @@ ASK="$REPO/skills/a11y/SKILL.md"
|
||||
HSKL="$REPO/skills/hotfix/SKILL.md"
|
||||
AUD="$REPO/agents/security-auditor.md"
|
||||
EFF="$REPO/lib/effort-shift.md"
|
||||
SFK="$REPO/skills/ship-feature/SKILL.md"
|
||||
ISK="$REPO/skills/init-project/SKILL.md"
|
||||
PASS=0; FAIL=0
|
||||
|
||||
tf() { # tf <label> <file> <fixed-string>
|
||||
@@ -129,6 +131,15 @@ for f in "$INC" "$AUD" "$HSKL"; do
|
||||
tn "$n DEGRADED no branch" "$f" "DEGRADED (semgrep absent) →"
|
||||
done
|
||||
|
||||
echo "── end-of-run merge reuse at the site (TODO:14, LRN-297) ──"
|
||||
tf "effort-shift merge reuse" "$EFF" "reuses the last run's answer, or its skip, and names any code commit"
|
||||
for f in "$ASK" "$GSK" "$SFK" "$ISK"; do
|
||||
n=$(basename "$(dirname "$f")")
|
||||
tf "$n merge reuses answer" "$f" "the gates. A later merge proposal reuses this"
|
||||
tf "$n names later commits" "$f" "names any code commit made after it"
|
||||
tf "$n doc/memory excepted" "$f" "commits excepted)."
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo "loops-light structure locks: $PASS pass, $FAIL fail"
|
||||
[ "$FAIL" -eq 0 ]
|
||||
@@ -200,7 +200,8 @@ open and say so plainly. Never report a fix the re-pass did not prove.
|
||||
Before the reply, the main loop prints the run's diff stat, then makes its
|
||||
end-of-run advisor call (`lib/effort-shift.md` § Advisor); its answer
|
||||
goes into the reply as an `Advisor:` line, and a fix it drives goes
|
||||
back through the gates.
|
||||
back through the gates. A later merge proposal reuses this answer and
|
||||
names any code commit made after it (doc and memory commits excepted).
|
||||
2. `mcp__model-router__route(phase="apply")` for the tail. Reply with: fixed
|
||||
and proven (proposal, rule, file), still open and why, the walk's result,
|
||||
the branch name. Merge waits for the user's explicit signal.
|
||||
|
||||
@@ -277,7 +277,8 @@ open and say so plainly. Never report a fix the re-pass did not prove.
|
||||
Before the reply, the main loop prints the run's diff stat, then makes its
|
||||
end-of-run advisor call (`lib/effort-shift.md` § Advisor); its answer
|
||||
goes into the reply as an `Advisor:` line, and a fix it drives goes
|
||||
back through the gates.
|
||||
back through the gates. A later merge proposal reuses this answer and
|
||||
names any code commit made after it (doc and memory commits excepted).
|
||||
2. `mcp__model-router__route(phase="apply")` for the tail. Reply with: fixed
|
||||
and proven (proposal, rule, file), still open and why, MANUAL steps left
|
||||
for the user, the branch name. Merge waits for the user's explicit signal.
|
||||
|
||||
@@ -360,7 +360,9 @@ patched. Report per its rc table — rc 4 = a LOUD upstream BDR-022 anomaly, not
|
||||
Before proposing the finish, the main loop prints the run's diff stat,
|
||||
then makes its end-of-run advisor call (`lib/effort-shift.md` § Advisor);
|
||||
its answer goes with the proposal as an `Advisor:` line, and a fix it
|
||||
drives goes back through the gates.
|
||||
drives goes back through the gates. A later merge proposal reuses this
|
||||
answer and names any code commit made after it (doc and memory
|
||||
commits excepted).
|
||||
|
||||
Tests pass, build clean, no placeholders. Integrate the MVP feature into develop
|
||||
— **only on the user's explicit go** (the `gitflow` finish gate):
|
||||
|
||||
@@ -324,7 +324,9 @@ on the branch FINISH integrates.
|
||||
Before proposing the finish, the main loop prints the run's diff stat,
|
||||
then makes its end-of-run advisor call (`lib/effort-shift.md` § Advisor);
|
||||
its answer goes with the proposal as an `Advisor:` line, and a fix it
|
||||
drives goes back through the gates.
|
||||
drives goes back through the gates. A later merge proposal reuses this
|
||||
answer and names any code commit made after it (doc and memory
|
||||
commits excepted).
|
||||
|
||||
Tests pass, build clean. Integrate the feature into develop — **only on the
|
||||
user's explicit go** (the `gitflow` finish gate):
|
||||
|
||||
Reference in new issue
Block a user