Skip to content

Add Artifact Inspector interaction model - #49

Open
mikeylong wants to merge 2 commits into
mainfrom
codex/artifact-inspector
Open

Add Artifact Inspector interaction model#49
mikeylong wants to merge 2 commits into
mainfrom
codex/artifact-inspector

Conversation

@mikeylong

Copy link
Copy Markdown
Owner

Summary

  • add the proposed artifact_inspector surface, versioned profiles, and mandatory activity-evidence routing
  • validate and propagate the canonical artifact_centered topology, semantic targets, work units, recovery, and active state groups
  • enforce scoped JudgmentKit chrome and overlay authority while preserving the primary artifact as external_not_reviewed
  • add contract, MCP, site, documentation, and regression coverage without changing legacy surface outputs

Validation

  • npm test
  • 8/8 evals passed
  • git diff --check

Intentional gap

Trusted rendered/browser authority proof is not implemented in this PR. Candidate-authored receipts cannot satisfy the gate, so Artifact Inspector implementation review remains review_required until trusted runtime evidence exists.

@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
judgmentkit-ai Ready Ready Preview Aug 29, 2026 7:50am

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-29T05:09:31.176031Z a0caed6 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: a0caed6f82

ℹ️ 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/index.mjs
Comment on lines +16668 to +16670
trustedRuntimeEvidence:
getTrustedVisualCompositionEvidence(candidate)
?.artifact_inspector_authority ?? null,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Attach authority evidence during browser review

When an Artifact Inspector candidate is reviewed through reviewUiImplementationCandidateWithBrowserRuntime, the trusted WeakMap entry contains only manifest and receipt, so this lookup always resolves .artifact_inspector_authority to null. The authority gate therefore remains review_required even after the trusted browser path runs, making passed_with_external_artifact_authority unreachable through the implementation-review API; the browser runtime needs to measure and attach the separate scope, preservation, and boundary receipt.

Useful? React with 👍 / 👎.

Comment thread src/index.mjs
Comment on lines +10070 to +10073
if (
/\b(?:consequential|commit|approve|reject|publish|external effect|outcome pending|committing|commit succeeded|known failure|unknown result|receipt reconciliation|immutable receipt|concurrent result|superseding action)\b/.test(
activityText,
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Ignore negated conditional-state keywords

When a brief explicitly says the inspection is non-consequential, “does not approve,” or otherwise negates one of these terms, this raw regex still matches the keyword and activates the consequential state group. A valid core-only workflow is then rejected and its handoff is forced to require commitment and receipt states that the activity explicitly excludes; use the existing affirmed/negation-aware matching logic when deriving conditional groups.

Useful? React with 👍 / 👎.

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.

1 participant