Gate the CEO reconsider REVISE re-file with the code-check gate (follow-up to #287) #290

Closed
opened 2026-06-30 03:10:41 +00:00 by igor · 0 comments
Collaborator

Follow-up to #287 (the code-check gate). The gate vets proposals against the real code before filing, but only on the paths through _ceo_file_outputs (the weekly digest + the answer-path). The reconsider-path REVISE branch in do_ceo_tick re-files a revised proposal by calling ceo_file_proposal directly, so it bypasses the gate -- a revised proposal could still be already-done.

Scope: in do_ceo_tick (the Path-1b reconsider branch, the REVISE) case), run ceo_codecheck_proposal on the revised title/body before ceo_file_proposal. KEEP -> re-file as today; DROP -> skip the re-file and post a brief reply noting the revision is already covered in the code (the old proposal is already closed in the REVISE flow, so nothing is left in limbo). Mirror the existing gate exactly: fail-open to KEEP on any error, drop-reason logged locally only, never posted.

Acceptance:

  • The REVISE re-file runs ceo_codecheck_proposal first; KEEP re-files, DROP skips with a one-line reply.
  • A bin/test-ceo.sh check covers the gated REVISE (KEEP re-files, DROP skips).
  • bash bin/test-ceo.sh and bash bin/check-sync.sh stay green.

Small and contained -- touches bin/tick.sh (the REVISE case) and bin/test-ceo.sh. Reference: PR #287 and ceo_codecheck_proposal in lib/ceo.sh.

Follow-up to #287 (the code-check gate). The gate vets proposals against the real code before filing, but only on the paths through `_ceo_file_outputs` (the weekly digest + the answer-path). The reconsider-path REVISE branch in `do_ceo_tick` re-files a revised proposal by calling `ceo_file_proposal` directly, so it bypasses the gate -- a revised proposal could still be already-done. **Scope:** in `do_ceo_tick` (the Path-1b reconsider branch, the `REVISE)` case), run `ceo_codecheck_proposal` on the revised title/body before `ceo_file_proposal`. KEEP -> re-file as today; DROP -> skip the re-file and post a brief reply noting the revision is already covered in the code (the old proposal is already closed in the REVISE flow, so nothing is left in limbo). Mirror the existing gate exactly: fail-open to KEEP on any error, drop-reason logged locally only, never posted. **Acceptance:** - The REVISE re-file runs `ceo_codecheck_proposal` first; KEEP re-files, DROP skips with a one-line reply. - A `bin/test-ceo.sh` check covers the gated REVISE (KEEP re-files, DROP skips). - `bash bin/test-ceo.sh` and `bash bin/check-sync.sh` stay green. Small and contained -- touches `bin/tick.sh` (the REVISE case) and `bin/test-ceo.sh`. Reference: PR #287 and `ceo_codecheck_proposal` in `lib/ceo.sh`.
igor self-assigned this 2026-06-30 03:23:24 +00:00
igor added spent time 2026-06-30 03:27:25 +00:00
3 minutes 43 seconds
igor removed their assignment 2026-06-30 03:27:26 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Total time spent: 3 minutes 43 seconds
igor
3 minutes 43 seconds
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
joshtronic/igor#290
No description provided.