Skip to content

feat(screen-time): add runtime understanding settings - #22

Merged
CubePlus1 merged 5 commits into
mainfrom
codex/screen-understanding-plan
Aug 11, 2026
Merged

feat(screen-time): add runtime understanding settings#22
CubePlus1 merged 5 commits into
mainfrom
codex/screen-understanding-plan

Conversation

@CubePlus1

@CubePlus1 CubePlus1 commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • add versioned, runtime-reloadable screen-understanding settings under the screen-time plugin
  • enforce HTTPS or loopback-only HTTP consent origins and safe provider profile identifiers
  • add atomic PostgreSQL settings persistence and canonical settings APIs
  • add isolated PostgreSQL migration, concurrency, restart, and Fastify HTTP integration coverage
  • add the product roadmap/Trellis traceability required for this capability
  • document the complete settings API contract in docs/API.md

Traceability

Scope boundary

This PR implements settings persistence and the GET/PUT contract only. It does not implement screenshot capture, image storage, model/provider calls, queueing, retry workers, or later understanding subtasks.

Verification

  • pnpm typecheck
  • pnpm test ✅ (47/47)
  • pnpm build
  • git diff --check
  • ECHOLOG_TEST_DATABASE_URL=postgres://… pnpm test:integration ✅ (2/2, isolated PostgreSQL schema)

@CubePlus1

Copy link
Copy Markdown
Owner Author

@codex

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

ℹ️ 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 plugins/screen-time/src/index.ts
Comment thread plugins/screen-time/src/routes.ts

Copy link
Copy Markdown
Owner Author

@codex review

@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: 6ce0ee32d9

ℹ️ 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 plugins/screen-time/src/store.ts

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 7034f3c37a

ℹ️ 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".

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: e6580a5991

ℹ️ 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".

@CubePlus1
CubePlus1 merged commit 8862cf0 into main Aug 11, 2026
1 check passed
@CubePlus1
CubePlus1 deleted the codex/screen-understanding-plan branch August 11, 2026 11:20
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