Skip to content

Commit 0455ebc

Browse files
authored
Merge pull request #1204 from BitterSecurity/experiment/agent-parity-functional-20261116
test: qualify agent parity and separate Python/Rust runtime costs
2 parents 309a9b5 + 1ccf352 commit 0455ebc

26 files changed

Lines changed: 8043 additions & 0 deletions

‎AGENTS.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,7 @@ follow [RELEASE.md](RELEASE.md): classify by compatibility/user impact, verify
3636
actual WSL product and candidate artifacts, preserve immutable versions and user
3737
data, and record the actual publication date. A merged PR does not authorize a
3838
release or require a version bump. SaaS identifiers remain independent.
39+
40+
# Rust HTTP servers
41+
42+
Use Axum when adding or porting Rust HTTP server code.

‎CHAGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ Keep proposed and unmerged changes out of released sections.
1515

1616
## [Unreleased]
1717

18+
- Review correction in [#1204](https://github.com/BitterSecurity/Decepticon/pull/1204), unreleased: reject invalid or empty benchmark replay captures before Docker/provider work and keep replay mode explicit so missing trajectories cannot fall back to paid live calls. Six regressions reproduce the old behavior and pass after the fix;43root cases and five complete provider-disabled replay runs pass. Preserve all original measurement hashes and record separate [review evidence](tests/agent_parity/README.md#review-correction--fail-closed-replay-input). No product runtime, API, version or deployment change.
19+
1820
- Proposed, unreleased [local-first Rust design and research #1202](https://github.com/BitterSecurity/Decepticon/pull/1202): define native and Docker deployment options, file/DB ownership, framework maturity gates and a bounded custom-engine fallback, with migration/rollback constraints and local baseline evidence. Design only; no runtime, dependency, version or deployment change. [Design](docs/design/2026-11-16-local-first-rust.md), [research](docs/research/2026-11-16-agent-storage-frameworks.md).
1921

2022
- Proposed, unreleased [minimal agent runtime experiment #1203](https://github.com/BitterSecurity/Decepticon/pull/1203): compare a handwritten Rust loop, Rig 0.46.0 and Deep Agents 0.7.32 using the same live model, prompt and echo tool. Nine final cases and 18 live requests pass; record CPU, post-exec peak RSS, PSS snapshots, threads, descriptors, I/O and raw evidence in [the experiment report](benchmark/agent-runtime/README.md). Exact-head review independently reproduces all nine sample outcomes, 18 successful request records and seven source hashes. Integrate the merged design #1202 without changing executable benchmark behavior or measurements. Explain the expected child-exit sampling race flagged by CodeQL, preserving pipe EOF/deadline failures; the sampler AST is unchanged and the original measurement commit/hashes remain explicitly recorded. Isolated benchmark dependencies only; no production, deployment, public API or version change.
2123

24+
- Proposed, unreleased [agent-parity experiment #1204](https://github.com/BitterSecurity/Decepticon/pull/1204): add a shared five-feature task and separate framework comparisons from a corresponding Python/Rust state-machine control pair. Preserve live model/tool traces, actual Docker execution, SIGKILL/restart evidence and local CPU/memory/OS measurements: 50 qualified runs, 180 real model calls, five deliberately rejected request mismatches, and matching 23-checkpoint histories in ten Python/Rust pairs. [Results and limits](tests/agent_parity/RESULTS.md). Record Axum as the choice for future Rust HTTP server code. This adds an isolated test harness, not a production engine or deployment change.
25+
2226
- Proposed, unreleased [#1201](https://github.com/BitterSecurity/Decepticon/pull/1201): calculate the agent step budget from the latest operator message so follow-up requests can use tools after a long checkpointed conversation. Tool/interrupt continuations keep their current-turn cap. Twelve focused cases, including real offline LangChain/LangGraph checkpoint and interrupt execution, pass; the wider middleware/agent suite passes1,111cases with one explicitly skipped optional Transformers test. No version or package publication is performed.
2327

2428
- Root-published RoE bootstrap compatibility ([PR #1200](https://github.com/BitterSecurity/Decepticon/pull/1200)), not released: preserve an identical root-owned read-only scope context instead of failing its replacement under an unprivileged workload UID. Keep ownership/mode and exact bytes, bracket file/path identity, and retain ordinary atomic scope restoration. Real root/UID1500 baseline fails2cases; candidate passes7 with no skips. Full local suite6,323passed/16skipped (seven root cases separately qualified), required Ruff/format/type gate0errors. No policy bypass, version bump or deployment. [Evidence and limits](docs/verification/root-published-roe-bootstrap-20261116.md).

‎tests/agent_parity/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/rust/target/

‎tests/agent_parity/NOTICE.md‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Upstream prompt and schema attribution
2+
3+
`profile.json` contains the compiled public system prompts and tool schemas from
4+
Deep Agents 0.7.32 and LangChain 1.4.7. These are preserved for exact request
5+
comparison. `layers.py` follows the selected Deep Agents factory composition.
6+
Their upstream MIT license is reproduced below. Framework dependencies retain
7+
their respective licenses; this fixture is not an official LangChain or Rig port.
8+
9+
MIT License
10+
11+
Copyright (c) LangChain, Inc.
12+
13+
Permission is hereby granted, free of charge, to any person obtaining a copy
14+
of this software and associated documentation files (the "Software"), to deal
15+
in the Software without restriction, including without limitation the rights
16+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17+
copies of the Software, and to permit persons to whom the Software is
18+
furnished to do so, subject to the following conditions:
19+
20+
The above copyright notice and this permission notice shall be included in all
21+
copies or substantial portions of the Software.
22+
23+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29+
SOFTWARE.

0 commit comments

Comments
 (0)