Skip to content

Audit: can an agent build a behavior from what osapi tells it? #1948

Backlog
0 of 1 issue completed
Backlog

Description

@retr0h

The audit of 5 December 2026 (#1912) read the rules from the source tree. Nobody has checked that a developer or an agent can learn the rules by doing the work. Thus this audit builds something, and it records each guess.

Two agents run, each in a scratch worktree. Neither one changes osapi. Each one builds a small behavior that needs root (a declared call, a privileged step, Writes, UsesSteps), plus an endpoint and a command. Each one reports every point where it had to guess, with the command it ran.

  1. With source: only the osapi checkout, its skills, CONTRIBUTING.md and AGENTS.md.
  2. Without source: only a binary built from main, osapi dsl behavior|endpoint|command spec get, --help, the generated docs site and the SDK. This run also builds a gohai extension end to end, and records where osapi has no extension path (Extensions: register behaviors and endpoints from outside osapi, private or published, with no recompile #1064, spec and dev docs: extensions are not supported yet #1928, Use gohai extension facts in the osapi agent #1930).

Each guess becomes a sub-issue of #1912, with its evidence. A rule that an agent had to guess is a rule that osapi does not show.

Blocked by #1943: it changes the rules for root work. Run this right after #1943 merges, and before cherry-pick round 1.

🤖 Generated with Claude Code

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    chore
    blocked
    on Dec 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedchore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions