Skip to content

Codex follow-ups on #27 (1.5.11): reconcile version-2 homes, keep consent when nothing was pruned, full legacy schema check, encoded SQLite URIs - #28

Merged
CompleteDotTech merged 3 commits into
mainfrom
fix/audit-followups-4
Sep 10, 2026
Merged

CompleteDotTech merged 3 commits into
mainfrom
fix/audit-followups-4

Conversation

@CompleteDotTech

Copy link
Copy Markdown
Contributor

Summary

Codex reviewed #27 after it merged; all four points fixed.

Finding Fix
P1 Homes already saved at version 2 by 1.5.9 kept WSL hosts in a scheduled manifest Config version 3: on load, when WSL discovery is off the manifest is pruned of WSL hosts regardless of the version that wrote the home
P1 Consent was withdrawn even when no WSL host was in the manifest Consent is set aside only when the pruning actually changed the manifest
P2 Legacy schema check accepted incomplete files / runs tables Both complete column sets are required before a markerless directory is accepted
P2 Index path interpolated into a SQLite URI (?, #) Path percent-encoded before building the URI, in the archive and in the query layer

Test plan

  • check_followups_1_5_9 extended: version-2 home reconciled (WSL hosts pruned, consent set aside, version 3), consent kept when the manifest had no WSL host, partial schema refused
  • python scripts/validate_quality.py --skip-mermaid passes
  • CI green

🤖 Generated with Claude Code

https://claude.ai/code/session_01WUhGzUwi8pXjngqs22ghZ3

…sent when nothing was pruned, full legacy schema check, encoded SQLite URIs

- ledger: CONFIG_VERSION 3; on load, when WSL discovery is off the manifest is pruned of WSL hosts
  whatever version wrote the home, and a scheduled consent is set aside only when that pruning
  actually changed the scanned scope.
- ledger_archive: a legacy archive is accepted only with the complete files and runs schemas;
  the index path is percent-encoded before it becomes a SQLite URI (also in ledger_query).
- tests: version-2 home reconciled, consent kept when no WSL host existed, partial schema refused.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WUhGzUwi8pXjngqs22ghZ3
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 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-09-10T05:23:44.223516Z 78bfe54 New commits
🔒 Security Review Completed 2026-09-10T05:07:35.142321Z 0dedd30 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: 0dedd306cb

ℹ️ 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 scripts/ledger_archive.py
Comment thread scripts/ledger.py
…liation is retried

- _is_legacy_archive checks sqlite_master for `files` and `runs` being tables, not views
- when the manifest cannot be inspected during reconciliation the home stays at version 2 so the next load retries
- tests: runs-view refused, failed reconcile retried after the manifest is repaired

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WUhGzUwi8pXjngqs22ghZ3

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

ℹ️ 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 scripts/ledger.py Outdated
…tion pending

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WUhGzUwi8pXjngqs22ghZ3
@CompleteDotTech
CompleteDotTech merged commit 356e43c into main Sep 10, 2026
2 checks passed
@CompleteDotTech
CompleteDotTech deleted the fix/audit-followups-4 branch September 10, 2026 05:23
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