Skip to content

docs(runtime): plan runs that produce results instead of reading - #295

Merged
lg2m merged 24 commits into
mainfrom
docs/eng-1037-action-bias-plan
Oct 14, 2026
Merged

lg2m merged 24 commits into
mainfrom
docs/eng-1037-action-bias-plan

Conversation

@lg2m

@lg2m lg2m commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

QQ's action-bias plan defines AB1–AB6 and their acceptance gates: recognize lexical shell reads, prefer focused built-in discovery and reads, state actual run authority, and give stalled roots a concrete next-step notice.

This is the plan/research parent for #301–#306. ENG-1037. The plan uses nearest-rank first-edit statistics, typed discovery scopes, immutable call-time alias evidence, and explicit unproven shell/exec/external mutation flags. Historical built-in discovery is diagnostic (108 roots / 1 scope / 1 start); 222 runs lack mutation-path evidence, so whole-cohort coverage remains unqualified. Shell measurement is explicitly lexical_read_share; actual nonmutation is unavailable without execution provenance.

Validation: executed empty/singleton/even/odd/duplicate percentile fixtures, malformed-root and post-edit discovery fixtures, shell-only/MCP-only mutation fixtures, read-only historical recounts, formatting and diff checks. The integrated immutable AB1 source 087b705 also passes 2,290 workspace tests, 0 failures, 14 ignored, fmt, Clippy and build. Independent source review approves.

No acceptance is inferred from review resolution: named performance, full H0/size and seven deployed UTC days remain open. No merge, deployment or paid evaluation performed.

lg2m added 2 commits October 13, 2026 15:36
Research from the live session store and the Codex, OpenCode, Pi and fx
sources shows why root runs explore instead of finishing. Shell reads
behind a leading `cd` count as work, so no root got a stall report in 30
days. The prompt has inspection-first rules and a per-directory
instruction walk. Reads come in small slices and are re-read, and direct
and read-only runs describe authority they do not have.

The action-bias plan turns this into slices AB1-AB6 with baselines,
owned paths and acceptance, and reserves ADR-0059 for AB4. Docs only.

Refs: ENG-1037
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 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-14T15:18:02.734043Z dce3262 Manual request
ℹ️ 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: d5fb2ee1a7

ℹ️ 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 docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
lg2m added 6 commits October 13, 2026 20:35
AB1–AB6: preserve analysis-only scope, declare executable direct tools, classify branch mutation aliases, search ignored instruction scopes, bound default reads honestly, keep root notices authority-neutral, and define reproducible qualification metrics and comparator prerequisites.
…bias-integrated

# Conflicts:
#	docs/plans/README.md

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Updated head f7b0457 incorporates all eight prior findings and current main. Independent read-only re-review approved the corrections. Integrated workspace verification: 2,272 passed, 0 failed, 14 ignored; fmt, all-target/all-feature Clippy -D warnings, and build pass. Test stores used task-owned tmpfs after reproducing disk-load deadline failures; this does not qualify persistence latency. Supplemental historical SQL was executed read-only. AB1–AB6 scope and the seven-day AB6 qualification remain open.

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

ℹ️ 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 docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Address second Codex review: output writers, scoped discovery, rendered-line bounds, declared authority, stable completion cutoff and actual-edit cohorts.

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Head ff3d3cc addresses all seven findings from the second review. Independent review approved the corrections; corrected qualification SQL and preview/late-completion fixtures executed, docs_truth23 passed. Source slice implementation and its performance gates remain separate work; this PR is the plan.

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

ℹ️ 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 docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Address third Codex review with exact instruction basenames, sed program-file exclusions, granted-external authority and unknown scan-cap counts.

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Head188b69ff addresses all five third-review findings. Independent source/spec review approved; docs_truth23 passed. Plan acceptance now includes exact basename rejection, unknown scan-cap counts and the execution gate's external-grant distinction.

@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: 188b69ff34

ℹ️ 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 docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Latest head 83d3d7b addresses all six findings with explicit regression acceptance and a concrete AB6.1 measurement prerequisite. Independent review approved; docs truth 23 passed, fmt/diff checks passed. Performance and paid evaluation gates remain open.

@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: 83d3d7b4db

ℹ️ 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 docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Head0283020b addresses all five latest plan findings with concrete acceptance and executable boolean-only preview queries. Independent review approved; docs truth23passed and fmt/diff checks passed. Source and performance qualification remain tracked separately.

@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: 0283020bda

ℹ️ 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 docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Head e12c231 addresses all seven latest plan findings. Exact typed-preview/pre-edit SQL fixtures and corrected historical queries pass; independent review approved; docs truth23passed and fmt/diff checks passed. Source readiness and performance qualification remain separate.

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

ℹ️ 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 docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review current head 6e0409e. The latest plan findings are reconciled with source behavior and regression evidence. Independent final plan review approves; 23 docs-truth tests and exact SQL fixtures pass. Canonical re-read recount, AB6.1 implementation, matched performance and the post-merge observation window remain explicitly open.

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

ℹ️ 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 docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review current head 6d6774b. The latest findings have concrete repairs, regressions/independent review and their qualification receipts above. Performance and the deployed observation window remain explicit open gates.

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

ℹ️ 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 docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Current head 1b8814b reconciles all ninth-round findings: exact anchored instruction discovery with typed regex, historical proxy separated from the revised one-start baseline, mandatory Git no-lazy-fetch, JJ operation writes excluded, and file timestamp restoration excluded. Docs truth: 23 passed. Performance, classifier recount, instruction coverage and deployed observation remain explicitly open.

@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: 1b8814b6b7

ℹ️ 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 docs/research/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Current head c09510f counts all matching discovery starts, including failed retries, while successful pre-edit coverage remains separate. The failed/retried two-root SQL fixture and fixed-window recount pass, docs truth passes 23 tests, and independent source review approves. The plan also records environment-aware nonread classification with preserved authority. Qualification and deployment gates remain open.

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

ℹ️ 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 docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Current head ec0a9d2 includes anchored typed-regex instruction discovery starts, failed/denied/interrupted starts, depth-based root cohort, and runtime-equivalent Unicode-trimmed first-page cursor placeholders. Executable fixtures, fixed historical baseline and 23 docs truth tests pass. Qualification remains open for non-placeholder cursor provenance, deployed seven-day window and final performance.

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

ℹ️ 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 docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved

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

ℹ️ 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 docs/plans/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review current head b047f6b. Whole-run discovery repetition now includes starts after edits, keeping pre-edit coverage separate. Exact execution/environment metadata and bounded pre-sort listing acceptance are explicit; current fetch omission is already tested/implemented. Executable SQL fixture and fixed baseline recount pass.

23 fresh docs-truth tests plus fmt/diff checks pass; no production source change. Independent query review agrees.

Matched performance remains open; AB6's pinned historical recount and deployed seven-day candidate cohort remain open. No merge/deployment/paid evaluation claimed.

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

ℹ️ 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 docs/research/action-bias.md Resolved
Comment thread docs/research/action-bias.md Resolved
Comment thread docs/plans/action-bias.md Resolved

@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: 19c503d055

ℹ️ 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 docs/plans/action-bias.md Resolved

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review current head dce3262. The latest reproduced fixes and qualification limits are published; please report concrete new defects against this head, respecting settled decisions and explicit unqualified gates.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: dce3262d35

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

@lg2m
lg2m added this pull request to stack #307 October 14, 2026 15:27
@lg2m
lg2m merged commit de71d69 into main Oct 14, 2026
4 checks passed
@lg2m
lg2m deleted the docs/eng-1037-action-bias-plan branch October 14, 2026 15:27
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