mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-26 22:51:47 +02:00
v1.89.0.0 feat: add shared-code extraction audit (#2925)
* feat: bind shared-code review advice to source and branch * feat: add shared-code extraction audit and scoped review checks * test: recognize complete source reads and explicit coverage legends * chore: bump version and changelog (v1.88.0.0) Co-Authored-By: OpenAI Codex <noreply@openai.com> * test: capture native review questions and retain public evidence Capture the actual first public native question with strict ownership and display matching. Preserve terminal failures and raw evidence, and retain SDK completion checks. * test: recognize verified review evidence and complete fixtures Recognize complete source and diagram evidence, concrete design and developer-experience decisions, and the complete planted scenario contracts. Preserve negative controls and grading thresholds. * fix: preserve decision brief structure in native questions Keep the required pros-and-cons heading and final Net field in native question text. Regenerate host outputs and document the release and evaluation repairs. Co-Authored-By: OpenAI Codex <noreply@openai.com> * docs: update project documentation for v1.88.0.0 Co-Authored-By: OpenAI Codex <noreply@openai.com> * fix: correct eval retry accounting and ship workflow gates * fix: capture native eval evidence and stabilize CI fixtures * fix: keep shared-code eval skips read-only Choose explicit no-change answers instead of mixed fix/preservation options. Reuse the bounded revalidation prompt for path fixtures so required review metadata is available without repeated discovery. Preserve source checks, retry limits, and failed native terminal outcomes. Add captured-question and callback regressions, plus evaluation selection coverage for the affected fixtures. --------- Co-authored-by: OpenAI Codex <noreply@openai.com>
This commit is contained in:
co-authored by
OpenAI Codex
parent
b9706f3635
commit
06ed920a97
@@ -28,11 +28,10 @@ If no findings: output `NO FINDINGS` and nothing else.
|
||||
- Docstrings with parameter lists that don't match the current function signature
|
||||
- ASCII diagrams in comments that no longer match the code flow
|
||||
|
||||
### DRY Violations
|
||||
- Similar code blocks (3+ lines) appearing multiple times within the diff
|
||||
- Copy-paste patterns where a shared helper would be cleaner
|
||||
- Configuration or setup logic duplicated across test files
|
||||
- Repeated conditional chains that could be a lookup table or map
|
||||
### Duplicated Behavior with Defects
|
||||
- Divergent copies that produce a demonstrated incorrect result, miss required error handling, or violate the same contract
|
||||
- Report the concrete defect and its evidence through normal Fix-First handling; matching syntax or repeated line counts alone are not findings
|
||||
- Optional shared-helper extractions belong to the core shared-code check. Do not duplicate its proposals or turn structural preferences into defects
|
||||
|
||||
### Conditional Side Effects
|
||||
- Code paths that branch on a condition but forget a side effect on one branch
|
||||
|
||||
Reference in New Issue
Block a user