audit(2026-05-31): add AGENTS.md operating contract#2
Merged
Conversation
Adds the agents-as-users operating contract (template = valinor-gateway): identity, naming law v1.3, §0 premise probe, curl-proof done, secret rules. Refs AIN-328.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is ON. A cloud agent has been kicked off to fix the reported issue.
Reviewed by Cursor Bugbot for commit a6ed2a1. Configure here.
| ./curl-example.sh # no-deps path (where present) | ||
| # or the framework path in the README Quickstart | ||
| ``` | ||
| Done = a routed completion **and** an audit receipt the `verify` tool accepts. PR opened ≠ shipped. |
There was a problem hiding this comment.
Export skips audit verify step
Medium Severity
The Definition of done requires signup, routed inference, and audit verify, but the sample commands export AINFERA_API_KEY before ./curl-example.sh. With a key already set, that script reuses the key, skips signup, leaves AGENT_ID empty, and never runs the audit verify curl—so the documented sequence cannot satisfy the stated completion criteria.
Reviewed by Cursor Bugbot for commit a6ed2a1. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Part of the org-wide audit — Linear AIN-328. Do not merge without founder review.
Change
valinor-gateway/AGENTS.md): identity, naming law v1.3 (canonicalainfera-inference;mithril/auto= silent aliases), §0 premise probe, curl-proof definition-of-done, secret rules.Verified
ghdescription law-compliant.ainfera-os/valinor-mcp/ "Internal OS" in this repo's live surfaces.🤖 Aulë · audit branch
audit/2026-05-31· not merged.Note
Low Risk
Documentation-only; no application code, APIs, or auth logic changed.
Overview
Adds
AGENTS.md, an operating contract for agents working in this repo (org audit AIN-328, aligned with thevalinor-gatewaytemplate).It documents that this package is a public LangChain adapter (not Valinor or “Ainfera OS”), pins naming law v1.3 (canonical wire model
ainfera-inference, legacy aliases accepted), and sets process rules: §0 premise checks before edits, curl/quickstart + audit verify as definition of done, and hard secret handling forAINFERA_API_KEY. No runtime or README changes in the diff.Reviewed by Cursor Bugbot for commit a6ed2a1. Bugbot is set up for automated code reviews on this repo. Configure here.