Skip to content

Add opt-in Operator OS identity-resolution audit#133

Merged
saagpatel merged 2 commits into
mainfrom
codex/ghra-alias-map-check4
Jul 3, 2026
Merged

Add opt-in Operator OS identity-resolution audit#133
saagpatel merged 2 commits into
mainfrom
codex/ghra-alias-map-check4

Conversation

@saagpatel

Copy link
Copy Markdown
Owner

What

  • Adds an explicit identity-resolution audit mode to the Operator OS seam linter.
  • Keeps the default seam-linter focused on the v0 truth/markdown contract.
  • Surfaces bridge-db, notification-hub, session-cost, and Notion identity drift only when --identity-resolution is requested.

Why

  • The identity audit is valuable, but current local history produces hundreds of known drift findings.
  • Default Truth Drift verification should stay stable and enforceable.

Verification

  • PYTHONDONTWRITEBYTECODE=1 uv run pytest -q tests/test_operator_os_seam_linter.py -p no:cacheprovider
  • uv run ruff check src/operator_os_seam_linter.py tests/test_operator_os_seam_linter.py src/project_registry.py
  • uv run python -m src.operator_os_seam_linter --truth output/portfolio-truth-latest.json --json | jq '{state, findings_count:(.findings|length)}'
  • uv run python -m src.operator_os_seam_linter --identity-resolution --truth output/portfolio-truth-latest.json --json > /tmp/ghra-identity-resolution.json

- Add census-seeded repo_full_name alias map with migration deprecation date
- Wire operator seam-linter check #4 across bridge, notification, session cost, and Notion identity emitters
- Cover known alias, minted dialect, hex fragment, explicit home-adhoc, and bridge canonical_key disagreement cases

Tests: uv run ruff check .; uv run pytest -q (2652 passed, 2 skipped)

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ef98c90bc6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/operator_os_seam_linter.py Outdated
Comment thread src/project_registry.py Outdated
Comment thread src/operator_os_seam_linter.py Fixed
Comment thread src/project_registry.py Fixed
Comment thread tests/test_operator_os_seam_linter.py Fixed
@saagpatel
saagpatel merged commit 34ff216 into main Jul 3, 2026
4 checks passed
@saagpatel
saagpatel deleted the codex/ghra-alias-map-check4 branch July 3, 2026 12:54
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