You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defect Pull Request #3526 was merged without adding guardrails or lessons to any declared hardening surface.
Declared Hardening Surfaces
docs/TESTING.md
ARCHITECTURE.md
SECURITY.md
CONTRIBUTING.md
src/devops_cli/ai/tasks/*.md
src/devops_cli/ai/knowledge_base/
.devops/review.toml
src/devops_cli/review/rules/
Per project invariants (AGENTS.md), defect fixes must codify root-cause guardrails into at least one declared surface to prevent recurrent regressions.
Proposed design
Problem statement
The defect fix of pull request 3526 (issue 3271) made a policy refusal of the implement step's shell a normal tool result that adds no tool retry, and added a limit of refusals to the step. The change adds the root-cause guardrail for that defect to a declared hardening surface, which the defect pull request did not do.
Acceptance criteria
Existing Tool Considered
pytest (open, maintained) already runs the regression test; the project needs no new library. The change adds one test to the existing test file of the behavior, and the guardrail already present in that file pins the root cause. Cost of the own code: about 15,000 tokens to write the test and its fixture, about 3,000 tokens per year to keep it, about 8,000 tokens to fix it after a behavior change, and about 2 hours elapsed.
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
Type: type/bug. The fix prefix of the title gives the type.
Scope: none. The title has the scope hardening, and .github/labels.yml declares no scope/hardening label. Add the label to the file to give the scope to this item.
Priority: P2-Medium. A process compliance gap that risks recurrent regressions but does not break user-facing behaviour.
Value: Medium. Adding guardrails to declared surfaces prevents the same class of regression from recurring.
Effort: Low. The change adds guardrail text to one or more existing documentation surfaces.
Refine cannot set this item to Ready at be8d18a until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
The proposal has no problem statement, no acceptance criterion with its requirement, scenario, WHEN and THEN, or no answer to the existing-tool question. State the problem, the requirements with their scenarios, and the open tool that covers the need or the cost of building it.
Closed as not planned. The check that filed this item passes now.
Command: uv run devops pr hardening-report --pr 3526
Result: is_hardened: true. The hardened surfaces are tests/ and openspec/specs/.
#3684 (merged 2026-11-05) counts tests and specs as hardening guardrails. Thus PR #3526 has the guardrail that the audit did not find. #3661 closes this family of items under the issue stewards plan #4780 (AGENTS.md rule 2). If the check fails again, reopen this item.
Activity
devops-cli-service commentedon Nov 4, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.hardening, and .github/labels.yml declares no scope/hardening label. Add the label to the file to give the scope to this item.A process compliance gap that risks recurrent regressions but does not break user-facing behaviour.Adding guardrails to declared surfaces prevents the same class of regression from recurring.The change adds guardrail text to one or more existing documentation surfaces.Both are hardening audit findings for a specific defect PR, but the candidate targets PR #3526 while #3525 targets PR #3521.devops-cli-service commentedon Nov 6, 2026
Refine cannot set this item to Ready at be8d18a until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
dan-petty commentedon Nov 11, 2026
Closed as not planned. The check that filed this item passes now.
uv run devops pr hardening-report --pr 3526is_hardened: true. The hardened surfaces aretests/andopenspec/specs/.#3684 (merged 2026-11-05) counts tests and specs as hardening guardrails. Thus PR #3526 has the guardrail that the audit did not find. #3661 closes this family of items under the issue stewards plan #4780 (AGENTS.md rule 2). If the check fails again, reopen this item.