oliver-zehentleitner / maity
clean-up: G5 ticker: `type=jour_fixe` is refused by the listing, and the type lists disagree with §17 (bug)
tsk-qdkpsstj9xsn Done An agent
From the clean-up audit tsk-hgnbapyw7hnh (uncovered files, G5 Jour fixe, ticker, swarm, Keep the Why and memory), read at 9dfd4b65. Line numbers are at that SHA. Paths are under hub/src/maity_hub/.
1. A jour_fixe item cannot be filtered, followed or muted (bug)
- Kind: bug.
- Files:
ticker.py:29(TYPES) and:31(FILTER_TYPES); the listing's filter check atroutes/ticker.py:264, the subscription's at:375. The items are written byjourfixe/triage.py:461(_ticker,kind="jour_fixe"). - What is wrong: §17.1 (docs/api.md:21948) lists
jour_fixeas an item type, and §17.9 makestypea comma list of types.FILTER_TYPEShas nojour_fixe, soGET …/ticker?type=jour_fixeanswersinvalid, and aPATCH …/ticker/subscriptionwithtypes: ["jour_fixe"]isinvalidtoo.TYPESlacks it as well (used fornot_for_typeatroutes/ticker.py:95). - Proposal: one list of item types that includes
jour_fixe, withFILTER_TYPESderived from it (pluscontract); a test for?type=jour_fixe. - Effort: S. Risk: low.
2. §17.8 names fewer subscription types than the code accepts (docs drift)
- Files: docs/api.md:22400 allows
merge,contract,decision,deploy,release,note;routes/ticker.py:375accepts all ofFILTER_TYPES, which hasrenameas well. - What is wrong: the contract and the code disagree on
rename, and after item 1 also onjour_fixe. - Proposal: decide which types may be followed and muted, then make §17.8 and the check say the same.
- Effort: S. Risk: none.
Open question
- May
renameandjour_fixeitems be followed and muted? Both go toallalone and wake nobody, so following adds nothing; muting would hide them fromfor=me.
Covered elsewhere
- Nothing found. Searched: FILTER_TYPES, ticker type jour_fixe.
Effort sum: 2S.