Skip to content

Herta closed-world mode: mandatory classify, declared op calls, composition checks and evaluation - #17

Open
arahe-dev wants to merge 8 commits into
mainfrom
devin/herta-closed-world
Open

arahe-dev wants to merge 8 commits into
mainfrom
devin/herta-closed-world

Conversation

@arahe-dev

@arahe-dev arahe-dev commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

What does this change?

Base of the Herta synthesis stack (#15 Lean study, then #16 synthesis). Lands the existing devin/herta-closed-world branch:

  • opt-in closed-world SDK policy: authoritative Policy.Classify and Closed/Calls nested-call enforcement (ErrUndeclaredCall, ErrKeyReacquired);
  • bounded composition contract checks in herta/lang (HC001–HC018) and herta build -closed;
  • frozen composition corpus, 30-agent pilot evaluation and closed-world evaluation under herta/eval/;
  • CI: herta check cases receive {args} so the -closed case runs in closed mode.

Why?

Closed-world mode caught 3 of 4 known agent bugs with 4 false flags (summary); the pilot showed no measurable Herta benefit. Both are inputs to #15 and #16.

Scope check

  • Runtime changes keep docs/contract.md true (or change it explicitly)
  • go test -race -count=1 . passes with 100% coverage; cd lab && go test -race -count=1 ./... passes
  • No adoption claims, benchmarks without methodology, or marketing language
  • Links valid; SVG renders in both GitHub light and dark mode (if touched)
  • Linked issue (if any): #

Herta opened this PR for Abdur
Implemented in session Build the Go, Bend and Lean synthesis into Herta
Review with Devin · Open in Devin Desktop


devin-ai-integration Bot and others added 7 commits November 19, 2026 15:34
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Copilot AI balanced review requested due to automatic review settings November 19, 2026 18:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
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.

2 participants