Skip to content

docs(plans): record post-v0.1.6 tool audit and plan T18–T20 - #280

Merged
lg2m merged 11 commits into
mainfrom
docs/tool-layer-d10-audit
Oct 13, 2026
Merged

lg2m merged 11 commits into
mainfrom
docs/tool-layer-d10-audit

Conversation

@lg2m

@lg2m lg2m commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Records the post-v0.1.6 tool-use audit and the tightened D10 slices in docs/plans/tool-layer.md.

The October8–11 audit found shell approval holds, edit freshness failures, and a built-in hint that rarely fired after leading cd. The checked-in plan reflects subsequent independent review:

  • T18: closed launcher grammars, stream redirects, Git read classification, and escape regressions. Globs stay dynamic; every git fetch and git -C remains held.
  • T19: a unique exact old can prove the replaced region without a fresh read. Fuzzy/ambiguous/anchor edits and overwrites retain freshness guards; refusals do not reveal the current hash. ADR-0058 reserves the decision.
  • T20: hint past one lexical relative unquoted cd DIR &&; preserve oversized search/ranges corrections; correct zero spill handles before lookup. No clamp or recent-handle query.

The private session replay is advisory. Durable acceptance uses sanitized checked-in classifier shapes and focused regressions. D9 observation and D10's week after landing remain open.

Docs-only validation: independent review threads resolved; GitHub CI run38410875806 succeeded on96b119a3. No code, schema, protocol, or runtime performance change.

D10 audits 2026-10-08..11 sessions. The read side is about 1 % after
T15–T17, while under auto 63 % of shell calls were held for approval and
15 % of edits failed not_read/stale_file. A replay through the current
classifier finds 40 of 143 holds to be false prompts.

Opens T18 (classifier false prompts, git fetch allowed under auto),
T19 (edit freshness by unique exact match; ADR-0057 reserved), and T20
(nudge over the command list, clamps, placeholder spill handle), ordered
ahead of T13.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 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-13T13:46:43.795747Z 84e6f7e New commits
ℹ️ 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: 9bcb60a673

ℹ️ 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/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
T18: launchers are a closed set with their own option grammars and an
inner command (no ionice); git fetch is allowlisted, so force/prune/tags/
refspecs keep GitRemote; globs stay dynamic because a filename can be
program syntax; acceptance is a checked-in sanitized table. The replay
estimate falls from 40 to 26 of 143.

T19: only the old form qualifies, and refusals do not hand back h:.
The if_hash weakness is decisions-needed row 12.

T20: a placeholder spill handle is a parse-time correction with no store
query.

@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: 3f36c9476e

ℹ️ 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/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
@lg2m
lg2m added this pull request to stack #284 October 12, 2026 21:59
lg2m added a commit that referenced this pull request Oct 13, 2026
T19 (ENG-1030). The plan amended after PR #280 review (3f36c94): a
refusal that returns h: would let the next call pass it as if_hash and
apply the refused fuzzy edit or overwrite blind. Refusals now name the
fix (extend old, or read the lines around the edit) instead, write_file
messages are back to their original text, and every refusal regression
asserts the current hash is absent. Prompt, ADR-0057, and tools.md
follow.
PR #277 (workflow packs WP0) proposed ADR-0057 on 2026-10-09, before the
T19 reservation. Record its row and move T19 to 0058; next free is 0059.

@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: 56bc75798e

ℹ️ 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/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Configured refspecs (remote.<name>.fetch) can update local branches and
are invisible to the classifier, so plain fetch keeps GitRemote (lead
decision 2026-10-12). Records the review hardening (path-qualified
programs, -C into /tmp, GIT_DIR) and the as-built replay (28 of 143).

@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: 1101668a9d

ℹ️ 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/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
- T18 spec: -C never allows (symlinks, no root); only real descriptor
  duplication keeps a list flat
- T20 narrowed: nudge past a leading cd only, 9-range reads stay a
  correction, read_tool_result dispatch owned, focused regressions listed
- T13 takes T18–T20 as inputs; T18/T19 integrate as a stack
- final replay receipt (28 of 143) supersedes the 26/25 figures
- AGENTS.md: review rules so settled threads are not re-raised

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

ℹ️ 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/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
…ecision

- a leading cd is skipped only when its operand is one plain word; a
  quoted operand gets no hint or refusal (listed regression)
- state why a unique exact match is accepted for auto (lead decision,
  ADR-0058) so the design is not re-litigated

@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: 93bf36fa90

ℹ️ 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/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
…n; T18 launcher text current

- cd DIR; is conditional shell semantics, so it is not skipped
- a max_per_file clamp would lose matches with no next= cursor
- --foreground excluded; path-qualified launcher tails are judged

@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: 3782c68897

ℹ️ 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/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
…GIT_* rationale

- a cd-prefixed read hints but is never refused under strict (DIR may be
  a symlink or outside the workspace)
- only standard-descriptor duplication writes nothing
- record why every GIT_* assignment prompts

@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: 9b39d3ed37

ℹ️ 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/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
…ommand rules by construction

- T19 row owns specs.rs and prompt.rs (both already changed in #281)
- T18: assignment allowlist; unknowable command starts judge every suffix

@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: 2640ddd0d6

ℹ️ 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/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
Comment thread docs/plans/tool-layer.md Resolved
…n, env NAME=, ENG-1032; T19 overlap case

- sed -n on /tmp or .. operands only hints under strict
- past the depth cap a clean launcher chain reaches its program
  (no false Forbidden); env NAME=VALUE carries assignments
- timeout process-group cancellation is ENG-1032 (pre-existing)
- T19 lists the overlapping-repeat regression (already in #281)

@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: 84e6f7e4c5

ℹ️ 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/tool-layer.md Resolved
@lg2m
lg2m merged commit e225370 into main Oct 13, 2026
4 checks passed
@lg2m
lg2m deleted the docs/tool-layer-d10-audit branch October 13, 2026 16:07
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