mirror of
https://github.com/morluto/rea.git
synced 2026-11-17 04:04:25 +00:00
refactor(domain): charge seven remaining hand-written allowances through Budget (#11419)
* refactor(domain): charge seven remaining hand-written allowances through Budget Projection work, Kuna run slots, HTTP dispatch slots, marshal object counts, kept deleted environment entities, MCP operation output and route-scan facts and work now charge Budget instead of adjusting a field and comparing it with a limit. The budget-arithmetic baseline drops from 11 to 4; the four left are a scan cursor, a token string and two output tallies that admit then trim, which are not allowances. * fix(process): omit the verifier transport's operation byte limit instead of passing Infinity
This commit is contained in:
1 parent
62d6cfac92
commit
80486e2d34
9 files changed
+78
-64
No files matched your search
@@ -16,8 +16,8 @@ export async function createOwnedMcpStdioTransport(options) {
|
||||
// Match the SDK's default maximum buffered stdio message size.
|
||||
maxFrameBytes: 10 * 1024 * 1024,
|
||||
// Unlike the JADX adapter, artifact verifiers do not impose a cumulative
|
||||
// per-connection output limit; the SDK bounds each buffered message.
|
||||
maxOperationBytes: Infinity,
|
||||
// per-connection output limit, so maxOperationBytes is omitted; the SDK
|
||||
// bounds each buffered message.
|
||||
gracefulInputCloseMs: 2000,
|
||||
maxDiagnosticBytes: 64 * 1024,
|
||||
});
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
{
|
||||
"src/application/environment/environmentStateStore.ts": 1,
|
||||
"src/artifacts/AsarHeader.ts": 1,
|
||||
"src/domain/javascript/javascriptRouteScan.ts": 1,
|
||||
"src/domain/python/marshalReader.ts": 1,
|
||||
"src/kuna/KunaJsonStream.ts": 1,
|
||||
"src/kuna/KunaRunSlots.ts": 1,
|
||||
"src/process/BoundedOutputExcerpt.ts": 1,
|
||||
"src/process/OwnedMcpStdioTransport.ts": 1,
|
||||
"src/process/ProviderProcess.ts": 1,
|
||||
"src/process/capture/ProcessSensitiveOutput.ts": 1,
|
||||
"src/server/http/NodeHttpRequestOwner.ts": 1
|
||||
"src/process/ProviderProcess.ts": 1
|
||||
}
|
||||
Reference in new issue
Block a user