Skip to content

Integrate Godaudits 2.0 canonical state#64

Merged
hannsxpeter merged 1 commit into
mainfrom
codex/godaudits-2-integration
Jul 13, 2026
Merged

Integrate Godaudits 2.0 canonical state#64
hannsxpeter merged 1 commit into
mainfrom
codex/godaudits-2-integration

Conversation

@hannsxpeter

Copy link
Copy Markdown
Owner

Summary

  • consume canonical .godaudits/AUDIT.json with generated MDX and legacy Markdown fallbacks
  • preserve Godaudits 2.0 checks, evidence metadata, findings, risks, scores, coverage, and typed remediation tasks
  • synchronize open GA tasks into an idempotent managed Godpowers todo section
  • fail closed on malformed or unsafe inputs, avoid symlink traversal, and make staleness follow canonical JSON
  • update skills, routes, workflows, agents, templates, architecture, migration guidance, and release notes

Verification

  • npm run release:check
  • node scripts/test-sibling-artifacts.js (49 passed)
  • live Godaudits 2.0 compiler and renderer compatibility probe
  • git diff --check

@hannsxpeter hannsxpeter merged commit 49035d7 into main Jul 13, 2026
4 checks passed
@hannsxpeter hannsxpeter deleted the codex/godaudits-2-integration branch July 13, 2026 07:02

@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: 37289f5951

ℹ️ 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 lib/sibling-artifacts.js
Comment on lines +823 to 826
const canonical = entry.id === 'godplans' ? PLAN_PATH : resolveAuditSource(projectRoot);
const files = Array.isArray(entry.files) && entry.files.length > 0
? entry.files
: [resolveArtifact(projectRoot, canonical)];

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 Rehash the active godaudits source for staleness

When a project imported a legacy .godaudits/AUDIT.mdx (so state.json records that path in source-systems[].files) and later receives canonical .godaudits/AUDIT.json, this code reports the active path as JSON but still hashes the old recorded MDX file because entry.files wins. As a result state.detectDrift and /god-status do not flag the new canonical audit as stale, so /god-migrate is not prompted and the harden seed plus managed GA todos can remain based on the old audit.

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