Files
Agent-Workbench/docs/reading-s-evidence/receipts/second-regressions.log
T

54 lines
5.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
✔ input that fits the engine window but exceeds remaining credit diagnoses the credit limit (0.535ms)
✔ window overflow and historical pauses retain distinct and honest diagnoses (0.0888ms)
✔ continuation reads advance through historical pages without a false pause while repeated current-Run pages still pause (1.8038ms)
✔ a new tool page replaces old latest-feedback space and still obeys its escaped protocol budget (0.4832ms)
✔ budgeted artifact pages count escaped protocol bytes and reconstruct original multilingual JSON without losing characters (9.1823ms)
✔ known artifact coverage detects semantic repeats despite changing limits, and advancing pages or direct evidence restore progress (0.3334ms)
✔ actual large artifact reads are present in the next bounded HTTP request and next_offset progresses without redoing tools (4129.8576ms)
✔ a real repeated artifact loop pauses the same Task after recorded results, survives reload and only resumes explicitly (5362.6169ms)
✔ actual HTTP continuation after reload sends distinct historically covered pages without false no_progress or replay (5206.011ms)
✖ a real two-reply failure replay reaches request three at 16K with complete goal, original sources and sealed tool evidence (5993.6039ms)
✔ request deduplication retains long original intent, extra requirements, constraints and acceptance without changing the stored contract (1589.1693ms)
✔ only the routine context avoids plan echoes; diagnostic API and requests without an included plan keep original observations (679.8253ms)
✔ small code and actual failed command stay visible when their original multi-tool group cannot fit (1387.0818ms)
✔ mixed group retains six distinct small file observations with exact multilingual text and bounded request bytes (2032.1802ms)
✔ working observations are bound to the current Task and stop treating a pre-application file revision as current evidence (1999.8056ms)
✔ a sealed observation rejects changed or missing original result artifacts instead of recreating evidence (1138.277ms)
✔ a real passed-check observation is excluded after a source edit invalidates the check, while its historical sent evidence remains valid (4194.534ms)
✔ budgeted file pages reconstruct UTF-8 text including long single lines and surrogate boundaries (4.459ms)
✔ actual HTTP multi-tool reads survive an oversized runtime snapshot and the sealed evidence survives reopening (6951.0423ms)
✔ actual HTTP file pagination advances over a long file with each returned page visible in the next request (2945.2815ms)
✔ later mixed history pages cannot displace the actual module sources and complete requirements (5498.3793ms)
✔ a later narrow page of the same file revision cannot evict the wider actual observation (3791.7287ms)
✔ six small source files stay complete across metadata turns even when mandatory evidence exceeds the soft target (3810.4139ms)
✔ historical read-artifact navigation points to the original artifact and next page, never its result wrapper (1603.3905ms)
✔ a 1.6.1 full-provenance sent view remains verifiable after introducing the compact view (1750.9376ms)
✔ actual HTTP requests keep four observed modules after a later large history read and preserve all source bytes (9951.4017ms)
ℹ tests 26
ℹ suites 0
ℹ pass 25
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 55749.0822
✖ failing tests:
test at tests\task-context.test.mjs:19:1
✖ a real two-reply failure replay reaches request three at 16K with complete goal, original sources and sealed tool evidence (5993.6039ms)
AssertionError [ERR_ASSERTION]: {"schema":1,"reason":"context_limit","createdAt":"2026-11-03T16:33:53.716Z","taskId":"9193bc79-2d4b-4ae0-a703-55de06afb596","runId":"258db7fe-f4cb-4117-ba2d-0862ad64c650","contextLimit":16000,"outputReservation":2048,"safetyTokens":1600,"inputBudget":12352,"targetInputTokens":12352,"runRemainingTokens":89664,"taskRemainingTokens":89664,"limitingReason":"context_limit","requiredInputTokens":12423,"imageReservationTokens":0,"imageEstimate":null,"breakdown":{"transportAndImageFramingTokens":36,"goalAndContextTextTokens":5053,"toolDefinitionTokens":4622,"historyAndEvidenceTokens":2712,"imageReservationTokens":0},"runUsage":{"requests":2,"inputTokens":246,"outputTokens":90,"totalTokens":336,"unknownRequests":0,"estimatedUnknownTokens":0},"taskUsage":{"requests":2,"inputTokens":246,"outputTokens":90,"totalTokens":336,"unknownRequests":0,"estimatedUnknownTokens":0},"tokenAccounting":{"schemaVersion":1,"singleInFlightResponseMayExceed":true,"run":{"maximumTokens":90000,"reportedTokens":336,"unknownRequests":0,"estimatedUnknownTokens":0,"accountedTokens":336,"remainingTokens":89664,"exceededTokens":0},"task":{"maximumTokens":90000,"reportedTokens":336,"unknownRequests":0,"estimatedUnknownTokens":0,"accountedTokens":336,"remainingTokens":89664,"exceededTokens":0}},"runBudget":{"maxSteps":8,"maxDurationMs":600000,"maxTokens":90000,"maxTaskTokens":90000},"taskBudget":{"maxTokens":90000},"note":"本地预留与上游报告用量分开记录。单个在途响应可能超过预估;超额后停止后续请求,未知用量保持未知。"}
2 !== 3
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/task-context.test.mjs:44:10)
at async Test.run (node:internal/test_runner/test:1409:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 2,
expected: 3,
operator: 'strictEqual',
diff: 'simple'
}