Skip to content

Commit e9fccf8

Browse files
fix: last 3 PromptModel violations — ai.prompt.model_required should be 0, fixes.
1 parent d18f300 commit e9fccf8

6 files changed

Lines changed: 9 additions & 36 deletions

File tree

reports/audit/latest_audit.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"audit_id": "e0985eff-9204-4ee9-b9a1-ae0070de4869",
3-
"timestamp": "2026-03-10T13:17:04Z",
4-
"passed": false,
5-
"findings_count": 140,
2+
"audit_id": "d076089f-09c8-4461-ada2-ae8defb5181b",
3+
"timestamp": "2026-03-10T13:59:31Z",
4+
"passed": true,
5+
"findings_count": 137,
66
"executed_rules": [
77
"ai.prompt.artifact.no_provider_leak",
88
"ai.prompt.artifact.required_fields",
@@ -98,5 +98,5 @@
9898
"quality.test_integrity",
9999
"quality.type_safety"
100100
],
101-
"verdict": "FAIL"
101+
"verdict": "PASS"
102102
}

reports/audit_auto_ignored.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"generated_at": "2026-03-10T13:17:04Z",
2+
"generated_at": "2026-03-10T13:59:31Z",
33
"items": []
44
}

reports/audit_auto_ignored.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Audit Auto-Ignored Symbols
22

3-
- Generated: `2026-03-10T13:17:04Z`
3+
- Generated: `2026-03-10T13:59:31Z`
44
- Total auto-ignored: **0**

reports/audit_findings.json

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,4 @@
11
[
2-
{
3-
"check_id": "ai.prompt.model_required",
4-
"severity": "error",
5-
"message": "Line 67: direct call to 'make_request_async()' detected. Use PromptModel.invoke() instead. [ai.prompt.model_required]",
6-
"file_path": "src/cli/logic/body_contracts_fixer.py",
7-
"line_number": null,
8-
"context": {},
9-
"details": {}
10-
},
11-
{
12-
"check_id": "ai.prompt.model_required",
13-
"severity": "error",
14-
"message": "Line 92: direct call to 'make_request_async()' detected. Use PromptModel.invoke() instead. [ai.prompt.model_required]",
15-
"file_path": "src/will/self_healing/test_generation/llm_correction.py",
16-
"line_number": null,
17-
"context": {},
18-
"details": {}
19-
},
20-
{
21-
"check_id": "ai.prompt.model_required",
22-
"severity": "error",
23-
"message": "Line 55: direct call to 'make_request_async()' detected. Use PromptModel.invoke() instead. [ai.prompt.model_required]",
24-
"file_path": "src/will/self_healing/test_generation/single_test_fixer.py",
25-
"line_number": null,
26-
"context": {},
27-
"details": {}
28-
},
292
{
303
"check_id": "logic.logging.standard_only",
314
"severity": "warning",

reports/pytest-report.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
</head>
329329
<body>
330330
<h1 id="title">pytest-report.html</h1>
331-
<p>Report generated on 10-Mar-2026 at 14:16:58 by <a href="https://pypi.python.org/pypi/pytest-html">pytest-html</a>
331+
<p>Report generated on 10-Mar-2026 at 14:59:25 by <a href="https://pypi.python.org/pypi/pytest-html">pytest-html</a>
332332
v4.1.1</p>
333333
<div id="environment-header">
334334
<h2>Environment</h2>

src/will/agents/strategic_auditor/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ async def _execute_autonomous_tasks(
315315
write=True,
316316
session=session,
317317
)
318-
logger.info(" ? %s %s", "?" if success else "?", message)
318+
logger.info(" ? %s %s", "" if success else "", message)
319319

320320
# ID: sa-log-summary
321321
def _log_summary(self, campaign: StrategicCampaign) -> None:

0 commit comments

Comments
 (0)