Commit c4f14a3
fix(codex): guard path-only bootstrap files [AI-assisted] (#84736)
Summary:
- The PR updates Codex app-server system-prompt reporting to tolerate bootstrap files with `path` and `content` but no `name`, adds a focused regression test, and records the fix in the changelog.
- Reproducibility: yes. The PR body supplies current-main before output with the `undefined.trim()` stack, and source inspection confirms hook-supplied path-only bootstrap files can reach the Codex report helper.
Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(codex): guard path-only bootstrap files [AI-assisted]
Validation:
- ClawSweeper review passed for head 4667110.
- Required merge gates passed before the squash merge.
Prepared head SHA: 4667110
Review: #84736 (comment)
Co-authored-by: JARVIS-Glasses <whatsskilll@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>1 parent 9cdf8a1 commit c4f14a3
3 files changed
Lines changed: 66 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
646 | 648 | | |
647 | 649 | | |
648 | 650 | | |
| 651 | + | |
649 | 652 | | |
650 | 653 | | |
651 | 654 | | |
| |||
663 | 666 | | |
664 | 667 | | |
665 | 668 | | |
| 669 | + | |
666 | 670 | | |
667 | 671 | | |
668 | 672 | | |
| |||
4825 | 4829 | | |
4826 | 4830 | | |
4827 | 4831 | | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
| 4835 | + | |
| 4836 | + | |
| 4837 | + | |
| 4838 | + | |
| 4839 | + | |
| 4840 | + | |
| 4841 | + | |
| 4842 | + | |
| 4843 | + | |
| 4844 | + | |
| 4845 | + | |
| 4846 | + | |
| 4847 | + | |
| 4848 | + | |
| 4849 | + | |
| 4850 | + | |
| 4851 | + | |
| 4852 | + | |
| 4853 | + | |
| 4854 | + | |
| 4855 | + | |
| 4856 | + | |
| 4857 | + | |
| 4858 | + | |
| 4859 | + | |
| 4860 | + | |
| 4861 | + | |
| 4862 | + | |
| 4863 | + | |
| 4864 | + | |
| 4865 | + | |
| 4866 | + | |
| 4867 | + | |
| 4868 | + | |
4828 | 4869 | | |
4829 | 4870 | | |
4830 | 4871 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4440 | 4440 | | |
4441 | 4441 | | |
4442 | 4442 | | |
4443 | | - | |
4444 | | - | |
| 4443 | + | |
| 4444 | + | |
| 4445 | + | |
| 4446 | + | |
4445 | 4447 | | |
4446 | 4448 | | |
4447 | | - | |
4448 | | - | |
| 4449 | + | |
| 4450 | + | |
4449 | 4451 | | |
4450 | 4452 | | |
4451 | 4453 | | |
| |||
4458 | 4460 | | |
4459 | 4461 | | |
4460 | 4462 | | |
4461 | | - | |
| 4463 | + | |
4462 | 4464 | | |
4463 | 4465 | | |
4464 | 4466 | | |
| |||
4493 | 4495 | | |
4494 | 4496 | | |
4495 | 4497 | | |
4496 | | - | |
| 4498 | + | |
4497 | 4499 | | |
4498 | | - | |
4499 | | - | |
4500 | | - | |
4501 | | - | |
4502 | | - | |
| 4500 | + | |
| 4501 | + | |
| 4502 | + | |
| 4503 | + | |
| 4504 | + | |
| 4505 | + | |
| 4506 | + | |
| 4507 | + | |
| 4508 | + | |
| 4509 | + | |
| 4510 | + | |
| 4511 | + | |
4503 | 4512 | | |
4504 | 4513 | | |
4505 | 4514 | | |
| |||
4705 | 4714 | | |
4706 | 4715 | | |
4707 | 4716 | | |
| 4717 | + | |
| 4718 | + | |
| 4719 | + | |
| 4720 | + | |
4708 | 4721 | | |
4709 | 4722 | | |
4710 | 4723 | | |
| |||
0 commit comments