audit(2026-05-31): add AGENTS.md + fix broken uvicorn module path#100
Merged
Conversation
- Add AGENTS.md, incl. the FROZEN audit-chain contract strings (jws_issuer /
sha256("ainfera-os:genesis") / OpenAPI title) that must NOT be renamed, and
the deliberate ainfera-mithril/auto alias layer.
- README: fix run command ainfera_os.main:app -> ainfera_api.main:app
(package was renamed ainfera_os -> ainfera_api 2026-05-15; old path is broken).
Refs AIN-328.
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.
Changes
jws_issuer="ainfera-os",sha256("ainfera-os:genesis"), OpenAPItitle) that must never be renamed (renaming breaks verification of every historical receipt — they are correct, not stale), and the deliberateainfera-mithril/ainfera-autosilent-alias layer.ainfera_os.main:app→ainfera_api.main:app(the package was renamedainfera_os→ainfera_apion 2026-05-15; the old module path does not exist).Verified
lsconfirms package dir isainfera_api(noainfera_osdir) — old command was broken.tests/smoke/test_ats_aamc_retired.py) untouched.NOT changed (flagged for founder — public copy / contract)
ainfera-ai/ainfera-os") — public narrative + a link to the internalvalinorrepo (going private, AIN-329). Rewriting public copy is the founder's call; the link will 404 post-privatization.ainfera-oscontract strings above (must stay).🤖 Aulë · audit branch
audit/2026-05-31· not merged.Note
Low Risk
Documentation-only plus a README run-command fix; no runtime, auth, or data-path code changes.
Overview
Adds
AGENTS.md, an operating contract for humans and agents on this repo: L2 routing runtime identity (ainfera_api), Naming law v1.3 (canonicalainfera-inference, legacy model aliases, retired ATS/AAMC), frozen audit-chain literals that must not be renamed (ainfera-osissuer/genesis/OpenAPI title), mandatory premise checks, definition-of-done commands, and secrets/Supabase guidance.Updates README local quickstart so
uvicorntargetsainfera_api.main:appinstead of the removedainfera_osmodule path.Reviewed by Cursor Bugbot for commit ccdff7c. Bugbot is set up for automated code reviews on this repo. Configure here.