Skip to content

Phase 15: ground Lite Ring 2 surface#2

Merged
Riverbraid merged 2 commits intomainfrom
ring2-lite-phase15-verifier
May 4, 2026
Merged

Phase 15: ground Lite Ring 2 surface#2
Riverbraid merged 2 commits intomainfrom
ring2-lite-phase15-verifier

Conversation

@Riverbraid
Copy link
Copy Markdown
Owner

Establishes Phase 15 governance for Riverbraid-Lite (embedded-port). Includes .anchor, AUTHORITY.md, RING.md, CMakeLists.txt, and verifier.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: bed71e693e

ℹ️ 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 verify.mjs
required_files: [".anchor", "AUTHORITY.md", "RING.md", "package.json", "CMakeLists.txt", "verify.mjs"]
};

const observed_anchor = fs.readFileSync('.anchor', 'utf8').trim();
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 Guard .anchor read when file is absent

The verifier reads .anchor unconditionally before computing missing_files, so if .anchor is missing (one of the exact failure modes this script is meant to report), Node throws ENOENT and the script exits without producing verify-output.json. This turns a recoverable verification failure into a hard crash and prevents downstream tooling from getting the expected FILES_PRESENT_UNVERIFIED result.

Useful? React with 👍 / 👎.

Comment thread verify.mjs
status: isVerified ? "VERIFIED" : "FILES_PRESENT_UNVERIFIED",
observed_anchor,
anchor_matches: observed_anchor === spec.expected_anchor,
structural_artifact_present: true,
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 Compute structural_artifact_present from actual checks

structural_artifact_present is hardcoded to true, so the output can claim the structural artifact exists even when required files are missing (for example CMakeLists.txt is absent and listed in missing_files). This creates internally inconsistent verification output and can mislead any consumer that relies on this boolean rather than parsing the full missing-file list.

Useful? React with 👍 / 👎.

@Riverbraid Riverbraid merged commit e629b5e into main May 4, 2026
2 checks passed
@Riverbraid Riverbraid deleted the ring2-lite-phase15-verifier branch May 4, 2026 03:48
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