docs(incident): retroactive audit for direct-to-master commit 2fa97c26 (#670) #915

Merged
sysadmin merged 1 commits from fix/issue-670-direct-master-incident into master 2026-07-25 17:40:24 -05:00
Owner

Closes #670 (audit/documentation portion; controller retains final disposition).

What

Adds docs/incidents/670-direct-master-commit-2fa97c26.md: a durable retroactive audit of the bare direct-to-master commit 2fa97c26fbda555a1a83930ca5fdcea9d8e47b50 (fix(mcp): load dotenv relative to project root), discovered during the PR #654 post-merge audit.

Acceptance-criteria coverage

  • AC1 — Verified 2fa97c26 is an ancestor of prgs/master (git merge-base --is-ancestor).
  • AC2 — Confirmed no PR wrapper and no review record: single-parent non-merge commit sitting on first-parent master between the #629 merge (5ab5fe85) and the #654 merge (ec903b0d); controller audit at issue-create also found none.
  • AC3 — Diff confirmed: gitea_auth.py | 5 +++-- (+3/−2), single parent 5ab5fe85.
  • AC4 — Documents why no immediate revert: the dotenv fix is intentional and required for runtime .env resolution; revert would re-introduce a real bug to remove a provenance defect. Controller keeps final disposition; a separate revert issue is the path if later judged unsafe.
  • AC5 — Links the landed hardening: issue #671 (closed), commit 5933d87647656643a67a50331c4c7b06ea751dad, shipping gitea_record_stable_branch_push_attempt + reconciler-only gitea_audit_stable_branch_contamination.
  • AC6 — Durable audit trail that PR #654 was not the source: 2fa97c26 is the first parent of merge ec903b0d and predates it; #654 merged reviewed #603 content only.

Non-actions (unchanged)

No revert, no force-push/history rewrite, no master mutation.

Validation

Docs-only change. Evidence commands and outputs are recorded in the audit document itself (executed in the issue worktree against prgs/master).

Closes #670 (audit/documentation portion; controller retains final disposition). ## What Adds `docs/incidents/670-direct-master-commit-2fa97c26.md`: a durable retroactive audit of the bare direct-to-master commit `2fa97c26fbda555a1a83930ca5fdcea9d8e47b50` (`fix(mcp): load dotenv relative to project root`), discovered during the PR #654 post-merge audit. ## Acceptance-criteria coverage - **AC1** — Verified `2fa97c26` is an ancestor of `prgs/master` (`git merge-base --is-ancestor`). - **AC2** — Confirmed no PR wrapper and no review record: single-parent non-merge commit sitting on first-parent master between the #629 merge (`5ab5fe85`) and the #654 merge (`ec903b0d`); controller audit at issue-create also found none. - **AC3** — Diff confirmed: `gitea_auth.py | 5 +++--` (+3/−2), single parent `5ab5fe85`. - **AC4** — Documents why no immediate revert: the dotenv fix is intentional and required for runtime `.env` resolution; revert would re-introduce a real bug to remove a provenance defect. Controller keeps final disposition; a separate revert issue is the path if later judged unsafe. - **AC5** — Links the landed hardening: issue **#671** (closed), commit `5933d87647656643a67a50331c4c7b06ea751dad`, shipping `gitea_record_stable_branch_push_attempt` + reconciler-only `gitea_audit_stable_branch_contamination`. - **AC6** — Durable audit trail that PR #654 was not the source: `2fa97c26` is the first parent of merge `ec903b0d` and predates it; #654 merged reviewed #603 content only. ## Non-actions (unchanged) No revert, no force-push/history rewrite, no master mutation. ## Validation Docs-only change. Evidence commands and outputs are recorded in the audit document itself (executed in the issue worktree against `prgs/master`).
jcwalker3 added 1 commit 2026-07-25 17:30:30 -05:00
Owner

repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #915
issue: none
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 43456-4a3dcc2ef094
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/fix-issue-670-direct-master-incident
phase: claimed
candidate_head: e43ddd3cbe
target_branch: master
target_branch_sha: none
last_activity: 2026-07-25T22:37:57Z
expires_at: 2026-07-25T22:47:57Z
blocker: none

<!-- mcp-review-lease:v1 --> repo: Scaled-Tech-Consulting/Gitea-Tools pr: #915 issue: none reviewer_identity: sysadmin profile: prgs-reviewer session_id: 43456-4a3dcc2ef094 worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/fix-issue-670-direct-master-incident phase: claimed candidate_head: e43ddd3cbeb03ec4164f96626ede5b41e1972957 target_branch: master target_branch_sha: none last_activity: 2026-07-25T22:37:57Z expires_at: 2026-07-25T22:47:57Z blocker: none
sysadmin approved these changes 2026-07-25 17:39:21 -05:00
Owner

repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #915
issue: none
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 43456-4a3dcc2ef094
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/fix-issue-670-direct-master-incident
phase: released
candidate_head: e43ddd3cbe
target_branch: master
target_branch_sha: none
last_activity: 2026-07-25T22:39:54Z
expires_at: 2026-07-25T22:49:54Z
blocker: manual-release

<!-- mcp-review-lease:v1 --> repo: Scaled-Tech-Consulting/Gitea-Tools pr: #915 issue: none reviewer_identity: sysadmin profile: prgs-reviewer session_id: 43456-4a3dcc2ef094 worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/fix-issue-670-direct-master-incident phase: released candidate_head: e43ddd3cbeb03ec4164f96626ede5b41e1972957 target_branch: master target_branch_sha: none last_activity: 2026-07-25T22:39:54Z expires_at: 2026-07-25T22:49:54Z blocker: manual-release
Owner

repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #915
issue: none
reviewer_identity: sysadmin
profile: prgs-merger
session_id: 43290-4b052efe55b5
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/fix-issue-670-direct-master-incident
phase: claimed
candidate_head: e43ddd3cbe
target_branch: master
target_branch_sha: none
last_activity: 2026-07-25T22:40:01Z
expires_at: 2026-07-25T22:50:01Z
blocker: none

<!-- mcp-review-lease:v1 --> repo: Scaled-Tech-Consulting/Gitea-Tools pr: #915 issue: none reviewer_identity: sysadmin profile: prgs-merger session_id: 43290-4b052efe55b5 worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/fix-issue-670-direct-master-incident phase: claimed candidate_head: e43ddd3cbeb03ec4164f96626ede5b41e1972957 target_branch: master target_branch_sha: none last_activity: 2026-07-25T22:40:01Z expires_at: 2026-07-25T22:50:01Z blocker: none
sysadmin merged commit d7ad2838ec into master 2026-07-25 17:40:24 -05:00
Owner

Stale #332 review-decision lock cleanup (#594)

Status: APPLIED

Manual deletion of session-state files is not the workflow.
This path only clears a lock when the referenced PR is merged/closed.

## Stale #332 review-decision lock cleanup (#594) Status: **APPLIED** - actor: `sysadmin` - profile: `prgs-merger` - timestamp: `2026-07-25T22:40:25.989744+00:00` - last terminal: `approve` on PR #915 - PR state: `closed` (merged=True) - merge_commit_sha: `d7ad2838ec6f13a4a8009a800be9b715882e308e` - prior live_mutations_count: `3` - prior profile_identity: `prgs-reviewer` Manual deletion of session-state files is **not** the workflow. This path only clears a lock when the referenced PR is merged/closed.
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#915