Skip to content

test(browser): record controlled Agent Task resource evidence - #72

Draft
seonghobae wants to merge 6 commits into
test/agent-task-semantic-role-name-evidencefrom
test/agent-task-resource-evidence
Draft

test(browser): record controlled Agent Task resource evidence#72
seonghobae wants to merge 6 commits into
test/agent-task-semantic-role-name-evidencefrom
test/agent-task-resource-evidence

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Partial implementation of #28, stacked on PR #71.

Buyer-visible gap

Issue #28 requires real browser/task RSS, observation bytes, action latency and task duration. PR #70/#71 prove real pinned-Chromium task execution plus browser-computed role/name evidence, but the runtime evidence previously lacked measured resource fields.

Dependency / current stack

This Draft now targets exact current PR #71 head f82a3b27243adbb14c28af22d408a25cb3c296e9; current exact #72 head is e0b5d43c3a869605aaefa2e4752de7b1b641ddbd. The branch has already been aligned to the moved prerequisite and GitHub reports it mergeable against that exact base. Keep Draft while #71/#70/#65 remain active. No prerequisite check, review, status, or mergeability evidence transfers.

TDD / implemented boundary

  1. Exact test-only head a9402a13c9ed429b8f3be2c623b994a0dfda3bb4 required strict Linux /proc/<pid>/status RSS parsing/sampling, ChromeDriver-issued goog:processID, and bounded browser_process_rss_bytes, semantic_observation_bytes, action_latency_ms, and task_duration_ms evidence.
  2. CI run 31454745237, Rust contracts job 93666110420, checked out that exact test-only head and failed at the intended repository contract because _parse_linux_proc_status_rss_bytes did not exist. This is the observed RED boundary.
  3. The implemented boundary provides strict positive single-VmRSS parsing with unit/shape/u64 overflow rejection; bounded /proc/<pid>/status reads for the ChromeDriver-issued browser PID; exact UTF-8 JSON byte size for the two controlled role/name observations; monotonic clear/type/click action latency; and end-to-end task duration. Invalid/missing process identity or malformed resource evidence fails closed.
  4. Current stack-alignment head e0b5d43c3a869605aaefa2e4752de7b1b641ddbd preserves that evidence behavior while descending from exact current test(browser): verify semantic role and name before controlled action #71 head f82a3b27243adbb14c28af22d408a25cb3c296e9.

Exact-head proof

On unchanged exact head e0b5d43c3a869605aaefa2e4752de7b1b641ddbd against exact current prerequisite #71 head f82a3b27243adbb14c28af22d408a25cb3c296e9:

  • CI run 31549872719: success;
  • Manifest V3 Compatibility run 31549872700: success;
  • GitHub reports the Draft mergeable against its exact prerequisite base;
  • no formal reviews are currently returned; and
  • no inline review threads are currently returned.

No predecessor-head result is transferred.

Truth boundary

This lane is execution evidence only. browser_process_rss_bytes is intentionally narrower than task RSS: a single ChromeDriver-reported browser PID does not attribute Chromium renderer/GPU/utility descendants and must not be presented as whole-browser or whole-task RSS. Full multi-process attribution belongs to the separately stacked process-tree evidence lane and later trusted adapter/process-set composition with #51/#66. semantic_observation_bytes measures only the bounded controlled role/name evidence serialized by this runner; it is not raw DOM size, model-context cost, source-node/network provenance, or product SemanticNodeObservation composition. No GPU/VRAM/local-AI evidence, production browser adapter, policy dispatch, or real-site compatibility is claimed.

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a7646fc4-9d8d-416c-8cd4-14590c43e7c6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant