instar 1.3.2016 → 1.3.2018

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/core/CodexCliIntelligenceProvider.d.ts.map +1 -1
  2. package/dist/core/CodexCliIntelligenceProvider.js +3 -1
  3. package/dist/core/CodexCliIntelligenceProvider.js.map +1 -1
  4. package/dist/core/codexToolFreeProfile.d.ts +30 -0
  5. package/dist/core/codexToolFreeProfile.d.ts.map +1 -0
  6. package/dist/core/codexToolFreeProfile.js +60 -0
  7. package/dist/core/codexToolFreeProfile.js.map +1 -0
  8. package/dist/data/stageBCertifiedSet.d.ts +3 -0
  9. package/dist/data/stageBCertifiedSet.d.ts.map +1 -1
  10. package/dist/data/stageBCertifiedSet.js +4 -0
  11. package/dist/data/stageBCertifiedSet.js.map +1 -1
  12. package/dist/data/standards-guard-index.json +1 -1
  13. package/dist/data/standards-guard-index.meta.json +2 -2
  14. package/dist/data/standards-registry.meta.json +1 -1
  15. package/dist/messaging/MessageRouter.d.ts +11 -0
  16. package/dist/messaging/MessageRouter.d.ts.map +1 -1
  17. package/dist/messaging/MessageRouter.js +94 -17
  18. package/dist/messaging/MessageRouter.js.map +1 -1
  19. package/dist/messaging/types.d.ts +10 -0
  20. package/dist/messaging/types.d.ts.map +1 -1
  21. package/dist/messaging/types.js.map +1 -1
  22. package/dist/native/InstarWedgeCanary.app/Contents/MacOS/InstarWedgeCanary +0 -0
  23. package/dist/native/instar-desktop-host +0 -0
  24. package/dist/server/routes.d.ts.map +1 -1
  25. package/dist/server/routes.js +7 -0
  26. package/dist/server/routes.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/data/awareness/cross-machine-send-honest.md +4 -0
  29. package/src/data/builtin-manifest.json +46 -46
  30. package/src/data/stageBCertifiedSet.ts +4 -0
  31. package/src/data/standards-guard-index.json +1 -1
  32. package/src/data/standards-guard-index.meta.json +2 -2
  33. package/src/data/standards-registry.meta.json +1 -1
  34. package/upgrades/1.3.2017.md +23 -0
  35. package/upgrades/1.3.2018.md +24 -0
  36. package/upgrades/side-effects/messages-send-cross-machine-honest.md +106 -0
  37. package/upgrades/side-effects/sec175-codex-tool-free-profile.md +36 -0
@@ -0,0 +1,36 @@
1
+ # Side effects: explicit Codex tool-free profile (SEC-175)
2
+
3
+ In plain words: a Codex call that reads outside text now also turns off web search, image viewing, image generation, sub-agents and plugins. Nothing else changes.
4
+
5
+ Tier 1 by size, security-sensitive: an independent second-pass review is recorded below. Size: one new module `src/core/codexToolFreeProfile.ts`, a one-line change plus an import in `src/core/CodexCliIntelligenceProvider.ts`, one new unit test file, and one excluded entry (with its reason) for the new module in `src/data/stageBCertifiedSet.ts`, beside its excluded caller.
6
+
7
+ ## What changes for running agents
8
+ - **Who is affected.** Only calls with `noLocalTools: true`. Today that is the ecosystem idea review's Codex caller (`src/ecosystem/buildEcosystemIdeas.ts`). Every other Codex call produces the same argv as before (pinned by a test).
9
+ - **The argv.** The five `--disable` names are unchanged and in the same order. Added: `-c web_search="disabled"`, `-c features.view_image=false`, `-c features.image_generation=false`, `-c features.multi_agent=false`, `-c features.multi_agent_v2=false`, `-c features.plugins=false`, `-c features.standalone_web_search=false`, `-c tools.web_search=false` (older spelling), and `-c features.goals/skill_search/tool_suggest/remote_plugin=false` at the reviewer's suggestion. `-c mcp_servers={}` stays.
10
+ - **Older Codex versions.** Codex refuses an unknown `--disable` name but ignores an unknown `-c` key or feature (checked on codex-cli 0.171.0). So the new switches are all `-c`, and a test freezes the `--disable` list.
11
+ - **Review quality.** The idea review judges the text it is given. It never needed search, images or helpers, so its answers should not change.
12
+
13
+ ## Signal vs authority
14
+ Not applicable as a new judgment: this hardens a deterministic launch profile, an invariant by design ("a call holding outside text gets no tools").
15
+
16
+ ## Second-pass review
17
+ **Reviewer:** independent Claude Sonnet subagent (fresh context, read-only, given the finding and the diff), 2026-11-22. Verdict: CONCUR, no blocking items. It confirmed:
18
+ - both spawn sites (exec-json and plain) get the full profile, and the ecosystem idea review is the only `noLocalTools` caller;
19
+ - with the profile's flags, `codex features list` on 0.171.0 shows image viewing, image generation, sub-agents, plugins, apps, browser and shell off;
20
+ - existing tests and ordinary-call argv are unchanged, and the new test fails on the old code.
21
+
22
+ Its suggestions, all applied: reword the ELI16 sentence about what the coverage test reads; add the older `tools.web_search=false` spelling; turn off goals, skill search, tool suggestions and remote plugins too.
23
+
24
+ Known limits, not fixed here:
25
+ - `unified_exec` still lists as on even with `--disable unified_exec` on 0.171.0, while `shell_tool` flips off. This predates the change and probably does not matter, because `shell_tool=false` closes the command tool. It cannot be confirmed without a model call.
26
+ - A user's own Codex profile in `~/.codex/config.toml` that sets web search may outrank a top-level `-c` value. The scratch-dir launch selects no profile, and this machine's config has none.
27
+
28
+ ## Rollback
29
+ Revert the commit. No stored state changes.
30
+
31
+ ## Tests
32
+ - `tests/unit/sec175-codex-tool-free-profile.test.ts` (new).
33
+ - Existing Codex provider tests pass unchanged: `codex-cli-provider-execjson`, `CodexCliIntelligenceProvider`.
34
+
35
+ ## Class-Closure Declaration
36
+ - `unbounded-self-action`: closure n/a. No loop or spawn added.