Skip to content

feat(gate): port origin-base dismissal into t3code factory gate - #240

Merged
adamfgr merged 1 commit into
mainfrom
wizzo/t3-origin-base-dismissal
Jul 29, 2026
Merged

feat(gate): port origin-base dismissal into t3code factory gate#240
adamfgr merged 1 commit into
mainfrom
wizzo/t3-origin-base-dismissal

Conversation

@wizzoapp

@wizzoapp wizzoapp Bot commented Jul 29, 2026

Copy link
Copy Markdown

Summary

  • Port factory2's origin-base dismissal path into t3code's live factory gate.
  • Add FACTORY_ORIGIN_REF defaults/config, dismissal schema docs, validation case arm, unknown-reason text, and refusal guidance.
  • Configure t3code's deployed fork base as origin/main.

References factory2 #18: https://github.com/agriffiths-bots/factory2/pull/18.
Unblocks #239's de-stale by allowing audited inherited fork-base findings from origin/main.
ADA-205 tracks the shared P2 around non-string origin-base notes; this port keeps the logic byte-aligned with factory2 pending that fix.

Verification

  • bash -n scripts/factory/precommit-gate.sh
  • git diff --check -- scripts/factory/precommit-gate.sh scripts/factory/factory.conf
  • scripts/factory/precommit-gate.sh --prepare (passed with audited ADA-205 dismissal under the HEAD gate)
  • git commit hook passed (cached factory gate)

@wizzoapp
wizzoapp Bot marked this pull request as ready for review July 29, 2026 17:58

@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: 66a32e7a4d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread scripts/factory/precommit-gate.sh

@adamfgr adamfgr 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.

Auto-approved by wizzo-approve: all policy conditions verified against HEAD 66a32e7.

@adamfgr
adamfgr merged commit 72363e7 into main Jul 29, 2026
13 checks passed
@adamfgr
adamfgr deleted the wizzo/t3-origin-base-dismissal branch July 29, 2026 19:16
wizzoapp Bot added a commit that referenced this pull request Jul 30, 2026
Ports scripts/factory/{factory.conf,precommit-gate.sh} to the origin/main
version (landed via t3code #240) so the subsequent de-stale merge commit is
judged by an origin-base-capable gate. Byte-identical to origin/main.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
adamfgr pushed a commit that referenced this pull request Jul 30, 2026
* Sidebar v2 beta: flat thread list with a server-backed settled lifecycle (pingdotgg#4026)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>

* feat(sidebar): reconcile settle inbox with subthreads

* codex: address PR review feedback (#238)

* codex: address second PR review (#238)

* style(sidebar): keep light surface white

* style(sidebar): match classic light surface

* codex: address final PR review (#238)

* fix(sidebar): cover split views and settled PR state

* fix(orchestration): negotiate settlement replays

* fix(threads): address 3 P2 review findings on settle sidebar v2

- mobile v2 list: build from the parent/child tree before splitting
  settled groups so mixed subthread trees stay grouped through settlement
  (matches web v2 inbox behaviour)
- mobile v2 list: thread selectedThreadKey through the builder so a
  selected settled row beyond the first page stays visible on iPad/split
- orchestration: reject settle when latestTurn.state === "running", not
  just an active session; mirror the guard in client canSettle/effectiveSettled

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* Fix settlement attention blockers

* Fix settle sidebar guard parity

* Centralize thread attention settle blockers

* Align sidebar v2 attention handling

* chore(factory): adopt origin-base gate ahead of origin/main de-stale

Ports scripts/factory/{factory.conf,precommit-gate.sh} to the origin/main
version (landed via t3code #240) so the subsequent de-stale merge commit is
judged by an origin-base-capable gate. Byte-identical to origin/main.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: wizzoapp[bot] <254688279+wizzoapp[bot]@users.noreply.github.com>
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