Skip to content

Define local steer endpoint contract stub#36

Merged
mdheller merged 1 commit into
mainfrom
work/steer-endpoint-32
May 20, 2026
Merged

Define local steer endpoint contract stub#36
mdheller merged 1 commit into
mainfrom
work/steer-endpoint-32

Conversation

@mdheller
Copy link
Copy Markdown
Contributor

@mdheller mdheller commented May 20, 2026

Closes #32.

Summary

Defines a local Noetica-compatible /steer contract and adds a non-activating stub surface so Noetica can exercise the endpoint shape without real local SAE steering.

What changed

  • Added docs/local-steer-endpoint.md.
  • Linked the endpoint contract from docs/index.md.
  • Added src/agent_machine/steering_stub.py.
  • Added Python CLI commands:
    • agent-machine-py steer stub-response <request.json>
    • agent-machine-py steer serve-stub --host 127.0.0.1 --port 8080
  • Added bootstrap CLI delegation:
    • agent-machine steer stub-response <request.json>
    • agent-machine steer serve-stub ...
  • Updated make validate to exercise the non-server stub-response path.

Boundary discipline

This PR does not:

  • load model weights
  • fetch SAE artifacts
  • register sourcesets
  • implement activation injection
  • start providers during validation
  • claim production readiness

The stub returns Noetica-compatible SteeringResult JSON with status: not_configured or status: noop only.

Validation

Native CI passed on this PR head:

The validate path exercised the new steer stub-response command through both the Python CLI and bootstrap CLI paths.

@mdheller mdheller merged commit 0147fda into main May 20, 2026
2 checks passed
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.

Define Neuronpedia-compatible local /steer endpoint contract

1 participant