Skip to content

Harden host-bot Codex and agent workflows - #26

Merged
simeonwarren merged 1 commit into
masterfrom
t3code/harden-codex-prompt-injection
Aug 29, 2026
Merged

Harden host-bot Codex and agent workflows#26
simeonwarren merged 1 commit into
masterfrom
t3code/harden-codex-prompt-injection

Conversation

@simeonwarrenbot

@simeonwarrenbot simeonwarrenbot commented Aug 29, 2026

Copy link
Copy Markdown
Member

Harden the disposable Fedora Silverblue host's managed Codex profile while
preserving public network access, unrestricted hosted search, the Blender MCP,
the low-privilege SSH agent, and full Bazel and Bazelisk cache access. Deny
local and private network targets, retain the pinned Android NDK path, and keep
task scratch and configurable temporary data under ignored out/<task>
directories excluded from both Git and Bazel package discovery.

Package Bazelisk v1.29.0 as a checksummed third-party tool, pin the Bazel 8.7.0
archive, and install Bazelisk before maintaining the host's bazel symlink.
Provision the Go bazel_agent runner through the host-bot role, give it an
atomic installer, inject batch mode and --config=agent while replacing itself
with the PATH-selected Bazel, migrate agent Bazel calls, and make the repository
hook fail closed with bootstrap guidance when the runner is unavailable.

Add repository skills for Bazel-agent usage, reproducible external
dependencies, and evidence-based question answering. Route every substantive
question through the question skill without treating it as authority to act.
Make delivery maintain one aggregate feature commit, rebase onto the freshly
fetched pull-request base before every push, use a race-safe explicit lease,
synchronize pull-request title and description from the commit with
type-specific disclaimers, and revalidate review after amendments.

Verification:

  • git diff --check
  • strict Codex configuration and effective app-server requirements checks
  • managed-sandbox network, cache, Bazelisk cold-start, and write-boundary probes
  • bazel_agent unit, full-repository-checker, Git-hook, and Buildifier tests
  • packaged builds for the changed skills and //projects/bazel_agent:all
  • installed-runner pass-through, query, and atomic installation checks
  • Bazelisk version and pinned Bazel archive checks
  • Bazel-ignore sentinel probe for out/
  • host-bot Ansible build, syntax, runfiles, and live-policy checks
  • schema validation and forward testing for the delivery and question skills

LLM-disclaimer: This pull request was generated by an LLM.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 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-08-29T13:59:16.057466Z 92831be 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.

@simeonwarrenbot

Copy link
Copy Markdown
Member 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: b1b1131f66

ℹ️ 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 users/simeonwarren/host_bot/ansible/files/codex_requirements.toml
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: b53d64ce7b

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

@simeonwarrenbot

Copy link
Copy Markdown
Member 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: 1b40c6ad20

ℹ️ 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 users/simeonwarren/host_bot/ansible/playbook_deploy.yaml
@simeonwarrenbot

Copy link
Copy Markdown
Member 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: a6e7bb961e

ℹ️ 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 tools/git_hooks/main/go/precommit.sh Outdated
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 9ccae00431

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

@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/harden-codex-prompt-injection branch from 9ccae00 to fd91c17 Compare August 29, 2026 13:33
@simeonwarrenbot simeonwarrenbot changed the title Harden host-bot Codex and Bazel configuration Harden host-bot Codex and agent workflows Aug 29, 2026
@simeonwarrenbot

simeonwarrenbot commented Aug 29, 2026

Copy link
Copy Markdown
Member Author

@codex review

LLM-disclaimer: This comment was generated by an LLM.

@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/harden-codex-prompt-injection branch from fd91c17 to fd4fe52 Compare August 29, 2026 13:41
@simeonwarrenbot

simeonwarrenbot commented Aug 29, 2026

Copy link
Copy Markdown
Member Author

@codex review

LLM-disclaimer: This comment was generated by an LLM.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: fd91c17c2f

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

@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/harden-codex-prompt-injection branch from fd4fe52 to cb42a38 Compare August 29, 2026 13:48
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

LLM-disclaimer: This comment was generated by an LLM.

Harden the disposable Fedora Silverblue host's managed Codex profile while
preserving public network access, unrestricted hosted search, the Blender MCP,
the low-privilege SSH agent, and full Bazel and Bazelisk cache access. Deny
local and private network targets, retain the pinned Android NDK path, and keep
task scratch and configurable temporary data under ignored `out/<task>`
directories excluded from both Git and Bazel package discovery.

Package Bazelisk v1.29.0 as a checksummed third-party tool, pin the Bazel 8.7.0
archive, and install Bazelisk before maintaining the host's `bazel` symlink.
Provision the Go `bazel_agent` runner through the host-bot role, give it an
atomic installer, inject batch mode and `--config=agent` while replacing itself
with the PATH-selected Bazel, migrate agent Bazel calls, and make the repository
hook fail closed with bootstrap guidance when the runner is unavailable.

Add repository skills for Bazel-agent usage, reproducible external
dependencies, and evidence-based question answering. Route every substantive
question through the question skill without treating it as authority to act.
Make delivery maintain one aggregate feature commit, rebase onto the freshly
fetched pull-request base before every push, use a race-safe explicit lease,
synchronize pull-request title and description from the commit with
type-specific disclaimers, and revalidate review after amendments.

Verification:

- `git diff --check`
- strict Codex configuration and effective app-server requirements checks
- managed-sandbox network, cache, Bazelisk cold-start, and write-boundary probes
- `bazel_agent` unit, full-repository-checker, Git-hook, and Buildifier tests
- packaged builds for the changed skills and `//projects/bazel_agent:all`
- installed-runner pass-through, query, and atomic installation checks
- Bazelisk version and pinned Bazel archive checks
- Bazel-ignore sentinel probe for `out/`
- host-bot Ansible build, syntax, runfiles, and live-policy checks
- schema validation and forward testing for the delivery and question skills

LLM-disclaimer: This commit was generated by an LLM.
@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/harden-codex-prompt-injection branch from cb42a38 to 92831be Compare August 29, 2026 13:54
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

LLM-disclaimer: This comment was generated by an LLM.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 92831be712

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

@simeonwarren
simeonwarren merged commit f071b60 into master Aug 29, 2026
@simeonwarren
simeonwarren deleted the t3code/harden-codex-prompt-injection branch August 29, 2026 14:03
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.

2 participants