Skip to content

[codex] Add self-modifying harness edge-case docs#336

Open
MagMueller wants to merge 1 commit into
mainfrom
codex/self-modifying-edge-benchmark
Open

[codex] Add self-modifying harness edge-case docs#336
MagMueller wants to merge 1 commit into
mainfrom
codex/self-modifying-edge-benchmark

Conversation

@MagMueller
Copy link
Copy Markdown
Contributor

@MagMueller MagMueller commented May 10, 2026

Summary

  • Add a docs page explaining the self-modifying harness loop: try existing primitives, patch helpers/domain skills, retry, and preserve reusable knowledge
  • Cover four concrete edge cases: file upload, drag/drop, signature canvas, and coordinate-only controls
  • Add a self-contained edge-case benchmark HTML page and link the docs from README/SKILL

Validation

  • Ran Browser Harness against the benchmark page by loading the HTML into about:blank and exercising all four mechanics
  • Benchmark results: file=true, drag=true, signature=true, coordinate=true, passed=true
  • Ran env -u BU_CDP_URL -u BU_CDP_WS uv run --with pytest pytest tests: 94 passed

Notes

  • First benchmark run found the signature canvas only handled pointer events; patched the page to accept mouse events too, which matches the CDP mouse path used by Browser Harness.

Summary by cubic

Adds a self‑modifying harness guide and a local edge‑case benchmark to help solve uploads, drag/drop, canvas signatures, and coordinate‑only controls. Linked from README and SKILL to make the loop easy to find and reuse.

  • New Features
    • Added docs at docs/self-modifying-harness.md covering the loop and four edge cases.
    • Added local benchmark at docs/edge-case-benchmark.html with file, drag/drop, signature, and coordinate tasks (exposes window.bhBenchmarkResults()).
    • Linked from README.md and SKILL.md; benchmark updated to handle both pointer and mouse events for signatures.

Written for commit 7deecc9. Summary will update on new commits.

@browser-harness-review
Copy link
Copy Markdown

✅ Skill review passed

Reviewed 1 file(s) — no findings.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

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