Skip to content

Add durable setup drafts and a checked save receipt - #1731

Merged
frahlg merged 6 commits into
masterfrom
codex/mcp-onboarding
Oct 18, 2026
Merged

frahlg merged 6 commits into
masterfrom
codex/mcp-onboarding

Conversation

@frahlg

@frahlg frahlg commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

An assistant can keep an unfinished home setup on the box without changing live settings after each answer. Add the complete typed configuration schema, durable drafts, revision and checksum checks, validation, and a save receipt committed in the same SQLite transaction as Settings.

Validation returns normalized fields under a new revision and checksum for the user to review. The final save compares the exact portable configuration after Settings normalization, before writing settings or its receipt. Drafts, Settings saves, reloads and recovery exports retain exact integer driver identifiers; an unrepresentable number fails with its field path.

Masked list edits preserve credentials through renamed and reordered drivers. The box assigns credential identities; clients cannot substitute their own. Replies distinguish saved settings, applied settings, pending restart and hardware verification. House-password changes retain their own action.

ADR 0011 plans passive first-run claiming, the setup conversation, sharing, optional forecast priors and public client entry. This foundation alone does not enable MCP writes, fresh-box pairing, sharing or forecast priors. Typed MCP setup follows in #1732 and sharing in #1735.

Validation: complete config/onboarding/API race suites, normalization and secret/path regressions, exact-number save/reload/export tests, and full make verify pass. An independent source and UX reviewer checked the fixes. No physical site setup was tested.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 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-10-18T15:28:44.502495Z b49e6f1 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: b49e6f109e

ℹ️ 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 go/internal/onboarding/draft.go Outdated
Comment thread go/internal/onboarding/draft.go
@frahlg
frahlg force-pushed the codex/mcp-onboarding branch from b041b26 to 1e904d9 Compare October 18, 2026 17:02
@frahlg
frahlg changed the base branch from codex/persistent-lan-login-20261018 to master October 18, 2026 17:02
@frahlg
frahlg force-pushed the codex/mcp-onboarding branch from 1e904d9 to 682a230 Compare October 18, 2026 17:30
@frahlg
frahlg force-pushed the codex/mcp-onboarding branch from 9c0cd9e to 00fba88 Compare October 18, 2026 18:05
@frahlg
frahlg merged commit 2a3eec4 into master Oct 18, 2026
22 checks passed
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