Stufe 4c (#764): Bezeichner auf Englisch - Typen, Methoden, Felder, Parameter, Locals, Testnamen
Mit Roslyn umbenannt (Verweise folgen, Zeichenketten bleiben unberuehrt). Nicht umbenannt, weil gespeichert oder ueber die API gebunden (Stufe 4e): Properties, Record-Parameter, Enum-Member sowie die Parameter der Endpunkt-Handler (Routen-/Query-Bindung ueber den Namen). Die JSON-Felder anonymer Objekte bleiben ausdruecklich benannt (JsonFilter: pfad). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
837a634a22
commit
77062facc9
@@ -83,7 +83,7 @@ public sealed class SpotCheckTests : IDisposable
|
||||
[Fact]
|
||||
public void Failed_runs_errors_refusals_and_unfinished_calls_are_found()
|
||||
{
|
||||
var findings = RunInspector.Analyse(
|
||||
var findings = RunInspector.Analyze(
|
||||
Receipt("r", status: "LoopLimitExceeded"),
|
||||
[
|
||||
Call("FileRW", "write", AuditStatus.Error, "c1", "disk full"),
|
||||
@@ -102,7 +102,7 @@ public sealed class SpotCheckTests : IDisposable
|
||||
// The 2026-09-14 pattern: a findings file full of "tool answers" from a run that only appended to a file.
|
||||
var said = "AgentEditor read_soul answered 'User confirmation needed'. send_message was intercepted. I will remember this in Memory.";
|
||||
|
||||
var findings = RunInspector.Analyse(Receipt("r"), [Call("FileRW", "append")], said, Vocabulary, null);
|
||||
var findings = RunInspector.Analyze(Receipt("r"), [Call("FileRW", "append")], said, Vocabulary, null);
|
||||
|
||||
var claim = findings.Single(f => f.Kind == FindingKind.UnsupportedClaim).Text;
|
||||
claim.ShouldContain("AgentEditor");
|
||||
@@ -115,7 +115,7 @@ public sealed class SpotCheckTests : IDisposable
|
||||
[Fact]
|
||||
public void A_refused_call_is_a_call()
|
||||
{
|
||||
var findings = RunInspector.Analyse(Receipt("r"), [Call("AgentEditor", "update_soul", AuditStatus.Denied)],
|
||||
var findings = RunInspector.Analyze(Receipt("r"), [Call("AgentEditor", "update_soul", AuditStatus.Denied)],
|
||||
"AgentEditor update_soul was refused, as expected.", Vocabulary, null);
|
||||
|
||||
findings.ShouldNotContain(f => f.Kind == FindingKind.UnsupportedClaim);
|
||||
@@ -126,9 +126,9 @@ public sealed class SpotCheckTests : IDisposable
|
||||
{
|
||||
var task = new TaskItem { Id = "t1", Title = "Order paper" };
|
||||
|
||||
RunInspector.Analyse(Receipt("r"), [Call("Taskboard", "complete")], "", Vocabulary, task)
|
||||
RunInspector.Analyze(Receipt("r"), [Call("Taskboard", "complete")], "", Vocabulary, task)
|
||||
.ShouldContain(f => f.Kind == FindingKind.NoWork);
|
||||
RunInspector.Analyse(Receipt("r"), [Call("FileRW", "write"), Call("Taskboard", "complete")], "", Vocabulary, task)
|
||||
RunInspector.Analyze(Receipt("r"), [Call("FileRW", "write"), Call("Taskboard", "complete")], "", Vocabulary, task)
|
||||
.ShouldNotContain(f => f.Kind == FindingKind.NoWork);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user