Repository navigation
review: a screen for the watch list and the event descriptions - #107
Open
PipFoweraker wants to merge 1 commit into
Open
PipFoweraker wants to merge 1 commit into
PipFoweraker wants to merge 1 commit into
Conversation
Pip, 2026-11-22: "a screen based html tool for me to render decisions on those monthly events", and for the descriptions, "I want to read each one, at least to scan it with human eyes. Let's make that tool." scripts/review/serve_review.py, a local server bound to 127.0.0.1, with three tabs: - Watch triage: all 110 atoms, with sources, retrieval status, scan flags and duplicate hints in view before the decision. Keys a/b/x/?. - Month end: accept / reject (a reason is required) / keep watching. The producer's own gate is asked before an accept is recorded. - Descriptions: what is served now beside the arXiv abstract, exactly as it would be served, plus how pdoom1 shows the record today. An optional EDITORIAL condensation is stored as attributed opinion beside the abstract and never served as the description (ADR-001 ignore-a-field). One implementation of every decision: the mutation logic in triage_watch.py and review_descriptions.py is extracted into apply_triage / apply_decide / apply_note / build_decision, and both front ends call those functions. The keyboard tools behave as before. Refuses a foreign Origin, and refuses to start a second instance: during testing a buffered first start looked dead, and the second one took the next port with its own in-memory copy of the watch list. tests/test_serve_review.py runs the real server against temp copies (16 cases) and is wired into check_all and CI. Also: a fresh arXiv fetch of all 1,129 records (152 titles differ, 0 lose characters). _metadata.json is tracked; data.jsonl is ignored, as for every dump of this adapter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Asked for by Pip on 2026-11-22. This PR adds the screen review tool for the watch list (
pdoom-data#91) and the event descriptions (pdoom-data#88).Use
This opens
http://127.0.0.1:8741/, which only this machine can reach. Every click is saved to disk before the page updates.a/bput the atom on Watch,xrejects,?leaves it unsure. Optional note. Same mapping astriage_watch.py.yaccept the abstract,nkeep the current text,?undecided. An optional editorial box takes your own condensation.Boundaries
editorial: {text, by, kind: "editorialised -- not the source's words"}beside the abstract. The build overlay serves onlydescription, which is always the abstract. pdoom1 can use the editorial text or ignore it, which passes ADR-001's fork-or-ignore test. The test checks this.apply_*/build_decisionfunctions, extracted in this PR, so their behaviour can't drift apart.Origin. Any web page can send requests to localhost, so this blocks other sites from making decisions through it.Found while building
pdoom1 shows these 1,129 arXiv events as
FEED | <id> -- <title>on the flavour channel, which is filtered out of the default view (pdoom1godot/scripts/game_manager.gd:809). The description is never shown in-game on that path. Showing descriptions in the game would be new pdoom1 work.Data
A fresh arXiv fetch covers all 1,129 of 1,129 records. 152 have a differing title, and the tool flags those. 0 would lose characters. As with every dump from this adapter,
_metadata.jsonis tracked anddata.jsonlis not.Verified
tests/test_serve_review.pypasses all 16 cases against temporary copies; the real watch list was byte-identical afterwards.node --check.check_all.pypasses every gating check.🤖 Generated with Claude Code