mirror of
https://github.com/openai/codex.git
synced 2026-05-03 04:42:20 +03:00
## Summary 1. Add a Security Boundaries section to `SECURITY.md`. 2. Point readers to the Codex Agent approvals and security documentation for sandboxing, approvals, and network controls. ## Validation 1. Reviewed the `SECURITY.md` diff in a clean worktree. 2. No tests run. Docs only change.
47 lines
1.4 KiB
Python
47 lines
1.4 KiB
Python
load("//:defs.bzl", "MACOS_WEBRTC_RUSTC_LINK_FLAGS", "codex_rust_crate", "workspace_root_test")
|
|
|
|
codex_rust_crate(
|
|
name = "tui",
|
|
crate_name = "codex_tui",
|
|
compile_data = glob(
|
|
include = ["**"],
|
|
exclude = [
|
|
"**/* *",
|
|
"BUILD.bazel",
|
|
"Cargo.toml",
|
|
],
|
|
allow_empty = True,
|
|
) + [
|
|
"//codex-rs/collaboration-mode-templates:templates/default.md",
|
|
"//codex-rs/collaboration-mode-templates:templates/plan.md",
|
|
],
|
|
test_data_extra = glob([
|
|
"src/**/*.rs",
|
|
"src/**/snapshots/**",
|
|
]) + ["//codex-rs/core:model_availability_nux_fixtures"],
|
|
integration_compile_data_extra = ["src/test_backend.rs"],
|
|
unit_test_args = [
|
|
"--skip",
|
|
"app::tests::update_memory_settings_updates_current_thread_memory_mode",
|
|
],
|
|
extra_binaries = [
|
|
"//codex-rs/cli:codex",
|
|
],
|
|
rustc_flags_extra = MACOS_WEBRTC_RUSTC_LINK_FLAGS,
|
|
)
|
|
|
|
workspace_root_test(
|
|
name = "tui-update-memory-settings-flaky-test",
|
|
env = {
|
|
"INSTA_WORKSPACE_ROOT": ".",
|
|
"INSTA_SNAPSHOT_PATH": "src",
|
|
},
|
|
test_bin = ":tui-unit-tests-bin",
|
|
workspace_root_marker = "//codex-rs/utils/cargo-bin:repo_root.marker",
|
|
args = [
|
|
"--exact",
|
|
"app::tests::update_memory_settings_updates_current_thread_memory_mode",
|
|
],
|
|
tags = ["flaky"],
|
|
)
|