Files
gstack/changelog.d/declared-content-folders-keep-code.md
T
Garry Tanandcapy-ai[bot] ed267248d3 A folder marked as published data can no longer hide source code or agent files from /ship's review (GST-3158) (#4516)
In a folder a repo marks as published data (`review_content_patterns`),
source code in any language, agent instruction files, config and data
that kept code names by full path now stay in /ship's review.

Why: #4511 let a `.java` file, a binary `AGENTS.md` or a file named by a
kept script leave review there, and reviewers must see every line of
code a PR changes.

Nothing to do: no base policy sets the key yet.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/specialist-batched#1 reader=specialist-batched
2026-11-19 11:15:51 +00:00

5 lines
679 B
Markdown

---
important: blocker
---
- **A folder marked as published data can no longer hide source code or agent files from /ship's review.** In a folder listed under `review_content_patterns`, source code in any language and letter case (`.java`, `.c`, `.ps1`, `Makefile` and the like, binary or not) still gets reviewed, and so do agent instruction files, config, executables and any data file that kept code names by its full path. Before this, only nine source extensions were kept, a binary `AGENTS.md` was left out, and a file named by a kept script could leave review. No base policy sets the key yet, so nothing was exposed. Details: docs/ship-policy.md#review-content-patterns.