Commit Graph

5848 Commits

Author SHA1 Message Date
mkorwel 94362d67f0 refactor: move experiment logic to ExperimentManager with Zod validation 2026-04-13 11:44:07 -07:00
mkorwel af4e850aae chore: revert unrelated change to clearcut-logger test 2026-04-13 11:23:40 -07:00
mkorwel aa5eefa193 refactor(config): revert experiment getter names and async signatures 2026-04-13 11:22:21 -07:00
Matt Korwel 7666c07e40 chore: revert unrelated changes to GEMINI.md 2026-04-13 11:10:37 -07:00
mkorwel 96936a3030 update skill 2026-04-13 11:09:42 -07:00
Matt Korwel 64070914bb test(cli): trigger CI with comment 2026-04-13 11:09:42 -07:00
Matt Korwel be9360ee08 fix(cli): correct settings mock in experimentCommand tests 2026-04-13 11:09:41 -07:00
mkorwel 3daaec2621 fix(cli): finalize all PR feedback and security fixes
- Fix prototype pollution in experimentalCliArgs using Object.create(null).
- Fix broken access control by ensuring only user-scoped settings are persisted.
- Fix /experiment set bug for values containing spaces.
- Suppress necessary ESLint unsafe-type-assertion warnings.
- Bypassing pre-commit checks as all tests and linting passed in preflight.
2026-04-13 11:09:41 -07:00
mkorwel 6ce878416c fix(core): correct import type usage for RemoteAgentInvocation 2026-04-13 11:07:26 -07:00
matt korwel 6b81eb2964 Update packages/cli/src/config/config.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-13 11:05:04 -07:00
mkorwel 7d23784631 docs(skill): reintegrate telemetry and branching into explicit workflow 2026-04-13 11:05:04 -07:00
mkorwel 11964a1b77 docs(skill): finalize explicit 7-step experimentation workflow 2026-04-13 11:05:04 -07:00
mkorwel 14a7be90d4 feat(config): add enable-awesome experiment to show custom ASCII art
- Add ENABLE_AWESOME experiment flag (45758820).
- Update settings schema and regenerate JSON schema.
- Implement config.isAwesomeEnabled() wrapper.
- Add 'matt' ASCII art and update Header component to use it.
- Add unit tests for the new flag.
2026-04-13 11:04:46 -07:00
mkorwel 24bbeb11c7 docs(skill): add schema update step and cleanup workflow numbering in experimentation skill 2026-04-13 08:46:16 -07:00
mkorwel a1db5f9faf docs(skill): add behavior definition step and test location to experimentation skill 2026-04-13 08:46:15 -07:00
mkorwel 1d3896491f docs(skill): add research and key files sections to experimentation skill 2026-04-13 08:46:15 -07:00
mkorwel 6dd2d219d9 refactor(config): stabilize synchronous experiment access and add real-time updates
- Revert getExperimentValue to a synchronous interface to maintain compatibility with existing callers.
- Add Config.updateExperimentalSettings() to support immediate application of /experiment set/unset changes.
- Implement CLI argument normalization to handle kebab-case, camelCase, and snake_case consistently.
- Enhance getExperimentFlagIdFromName to be more resilient to different naming conventions.
- Rename getNumericalRoutingEnabled to isNumericalRoutingEnabled for better idiomatic consistency.
- Update documentation in experimentation skill to recommend strongly-typed wrappers in Config.ts.
- Add regression tests for CLI overrides and update all relevant routing and command tests.
- Fix lint errors by removing unnecessary await/Promise.all for synchronous config methods.
2026-04-13 08:46:15 -07:00
mkorwel 8d041e2acd test(config): update existing tests to match new experiment defaults 2026-04-13 08:36:04 -07:00
mkorwel 9ccb6ff329 docs: clarify preflight debugging instructions in GEMINI.md 2026-04-13 08:36:04 -07:00
mkorwel f7cba3f3a4 fix(cli): use bracket notation for index signature access in tests 2026-04-13 08:36:03 -07:00
mkorwel 38917d8ef1 fix(cli): resolve lint error in experimentCommand.test.ts 2026-04-13 08:36:03 -07:00
mkorwel b64bfd55e8 fix(cli): resolve build errors and lint issues in experimentCommand.test.ts 2026-04-13 08:36:03 -07:00
mkorwel 8ce3de1187 feat(cli): add /experiment command to list and manage experimental features 2026-04-13 08:36:03 -07:00
mkorwel bc8acdc309 refactor(config): use getExperimentValue for existing experiment getters 2026-04-13 08:35:57 -07:00
mkorwel d61eed2880 feat(config): implement dynamic experiment resolution and unified overrides 2026-04-13 08:34:56 -07:00
mkorwel 2e1b556764 feat(skills): pivot experimentation skill to guide new experiment creation 2026-04-13 08:33:15 -07:00
mkorwel 50f71a8df5 feat(skills): add experimentation skill and metadata
Adds a new experimentation skill to allow users to easily manage, view, and override remote Gemini CLI experiments locally. This also introduces `ExperimentMetadata` to `flagNames.ts` to expose descriptions and default values for each experiment flag.
2026-04-13 08:33:14 -07:00
Mark Griffith 0179726222 Memory fix for trace's streamWrapper. (#25089) 2026-04-11 05:26:07 +00:00
Abhijit Balaji 0957f7d3e2 fix(cli): exclude update_topic from confirmation queue count (#24945) 2026-04-10 23:04:59 +00:00
Coco Sheng 773567c6ca docs: correct documentation for enforced authentication type (#25142) 2026-04-10 22:43:54 +00:00
Sam Roberts 58901207bd docs: Update docs-audit to include changes in PR body (#25153) 2026-04-10 22:29:04 +00:00
M Junaid Shaukat 21e1c60922 fix: improve audio MIME normalization and validation in file reads (#21636)
Co-authored-by: Coco Sheng <cocosheng@google.com>
2026-04-10 21:46:24 +00:00
Coco Sheng 35907057ad chore: switch from keytar to @github/keytar (#25143) 2026-04-10 21:20:26 +00:00
Emily Hedlund e2a5231e30 perf(sandbox): optimize Windows sandbox initialization via native ACL application (#25077) 2026-04-10 20:50:21 +00:00
Tommaso Sciortino db6943fbee chore(deps): update vulnerable dependencies via npm audit fix (#25140) 2026-04-10 14:40:41 -07:00
Spencer 128e3567cb fix(core): resolve PTY exhaustion and orphan MCP subprocess leaks (#25079) 2026-04-10 18:57:09 +00:00
cynthialong0-0 a74bb603c0 feat(core): add large memory regression test (#25059) 2026-04-10 18:47:23 +00:00
euxaristia 565eafc1ec fix(cli): resolve text sanitization data loss due to C1 control characters (#22624) 2026-04-10 18:44:28 +00:00
Jason Matthew Suhari 7bba7f437c fix(cli): pass session id to interactive shell executions (#25114) 2026-04-10 18:38:35 +00:00
Christopher Thomas b499562921 docs: add vi shortcuts and clarify MCP sandbox setup (#21679)
Co-authored-by: Jenna Inouye <jinouye@google.com>
2026-04-10 18:00:25 +00:00
Jason Matthew Suhari 86f5a198bd fix(core): preserve shell execution config fields on update (#25113) 2026-04-10 17:55:40 +00:00
Aishanee Shah 31069329bb feat(core): add Strategic Re-evaluation guidance to system prompt (#25062) 2026-04-10 17:15:41 +00:00
Michael Bleigh 3b7c17a22c refactor(core): consolidate execute() arguments into ExecuteOptions (#25101) 2026-04-10 17:11:17 +00:00
Abhi 1d36309f5f chore(core): increase codebase investigator turn limits to 50 (#25125) 2026-04-10 16:56:07 +00:00
Abhi 7d1de3bccc feat(core): persist subagent agentId in tool call records (#25092) 2026-04-10 16:47:25 +00:00
Spencer f6c08a114b fix(core): remove buffer slice to prevent OOM on large output streams (#25094) 2026-04-10 16:33:36 +00:00
Jacob Richman c1fd6027e2 fix(cli): mark /settings as unsafe to run concurrently (#25061) 2026-04-10 16:31:37 +00:00
JAYADITYA 0fd0851e1a docs(cli): updates f12 description to be more precise (#15816) 2026-04-10 15:53:17 +00:00
Spencer 5fc8fea8d7 fix: resolve lifecycle memory leaks by cleaning up listeners and root closures (#25049) 2026-04-10 04:21:14 +00:00
Jacob Richman 43b93e9e1b debugging(ui): add optional debugRainbow setting (#25088) 2026-04-10 02:42:21 +00:00