Repository navigation
RE bundle 3 (2026-11-20): file-system Request action, heal outcome logging, reset-script lint - #1124
Merged
Merged
Conversation
A person presses "Request action" on a finding row of Curate's publish table
(publish-table.js, rows from publish_table.build_rows); once per finding, it
becomes one RequestForActionAnnotation on that step run's SurveyReport.
- fs_findings.FS_RFA_FINDINGS is the one allowlist (fs_permissions
world_readable_sensitive and world_writable, fs_duplicates, fs_activity cold);
offered and accepted only when the stored result is measured and > 0. The
server re-reads the stored result (409 when absent, stale, not measured, 0).
- POST /api/filesystems/{slug}/findings/request-action: publish permission,
allowlist 400, re-read 409, fs-in-Egeria 409, Egeria write, then the local
row (log_rfa, deduped by finding key). Caller identity throughout.
- EgeriaFileSystemSurveyor.request_action_for_finding: report per step run
found by name and reused, stable annotation name, _held_annotation_names,
nothing_new; an empty GUID from the shared publisher is a failure.
- The press is its own button and endpoint; it never reads or writes the
Publish / Keep in RE choice, and a "Keep in RE only" row still offers it.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
clear_egeria_pointers_after_reset.apply_plan read `exc` inside a lambda in its except block; ruff reports F821 because Python unbinds `exc` when the block ends. The type name is now a plain local before the lambda; the row's wording is unchanged. A source-level test (ruff is not installed in CI) pins it. Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
check_and_heal logged only 'missing — healing (N file(s))'. It now logs one line per batch heal: 'healed · N files · checks: <post-heal words>' or 'heal failed · <why>' (a warning). A post-heal check that exits 0 reports its own verdict (its last output line, e.g. '10 declared · 10 ok · drift 0') instead of just 'reconciled'. Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…s:' label The Architect's read-back: 'checks:' labelled the whole heal answer (and a bare 'ok'), and 'healed' was logged before the canary re-check. One line per heal, after the re-check: verified healed · N files[ · words] · canary verified still absent heal ran but the canary is still missing[ · words] (warning) unreadable healed · N files · not verified (could not reach Egeria)[ · words] failed heal failed · why (warning) A bare 'ok' answer is not logged as words. Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
check_and_heal answered action 'healed' even when the canary re-check said the
canary is still missing. Now:
heal failed failed (reason: the heal's words)
re-check True healed
re-check False failed 'heal ran but the canary is still
missing[ · words]'
re-check None (Egeria unreachable) healed 'not verified (could not reach
Egeria)' in the reason
Tests that assumed 'healed' with a canary that never came back now fake
missing-then-present.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…roof) The report was created with additionalProperties annotation_count '1'; after a second finding on the same step run it held two. The count is dropped rather than kept in step: nothing reads it, and a stale count is worse than none. Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…2026-11-20 bundle 3 Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 2026-11-20 RE bundle 3. Four read-back items, merged with merge commits; TR-111 is stacked on TR-103. Rocky built them with qwen3-coder-next in the improved tool loop (tests written first, diff guard on). TR-87 was rewritten by hand after the model failed it.
TR-87: "Request action" on a file-system finding (manual first). A person presses it on one of four allowlisted findings:
The button shows only when the finding is measured with a count above 0. The press re-reads the stored result and files one RequestForActionAnnotation on RE's own SurveyReport for that step run, keyed
<step>::<finding>::<step_run_id>. A second press says "nothing new". The local RFA row is written only after Egeria succeeds; a failed create returns 502 and writes no row. It's a separate button from the publish choice and never changes it. Running a step files nothing on its own.TR-101:
clear_egeria_pointers_after_reset.pybinds the exception's type name before the lambda (lint hygiene; no change in behaviour).TR-103: RE's bootstrap logs one outcome line per batch heal, after the canary re-check:
TR-111: the bootstrap result map agrees with the log. A heal whose canary is still missing is "failed", not "healed".
Gate b476, on tree c599e6c0 (identical to this branch's tree):
Every commit is signed, with
Signed-off-byonly.Owner proofs after the 8813 deploy:
Signed-off-by: Dan Wolfson dan.wolfson@pdr-associates.com
🤖 Generated with Claude Code