Handle pasted memo identifiers and explain invalid review input

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a09cbb-87c6-7900-a145-4ce53ba9f1a6
This commit is contained in:
tegwick 2026-09-16 01:25:12 +02:00
parent 2692fa6f13
commit c70d63abf9
5 changed files with 46 additions and 5 deletions

View file

@ -0,0 +1,9 @@
{
"task": "SECRETS-WP-0010-T03",
"reported_error": "Invalid request when opening apply memo",
"finding": "No version-2 policy observation or presentation reached the store. Exact ID passes the route regex; surrounding whitespace fails it. The original browser URL was requested but is not yet available, so whitespace is a reproduced failure mode, not a confirmed cause.",
"change": "Trim surrounding whitespace on GET memo lookup; explain invalid IDs; retain exact ID validation and duplicate/extra-parameter refusal.",
"validation": "119 passed: test_review_controller.py and test_browser_auth.py, INFD_APPROVAL_ENGINE_SOURCE=/home/worsch/approval-engine. Covers opening version 2, pasted whitespace, malformed and duplicate inputs, no approval entry during lookup.",
"image": "forgejo.coulomb.social/coulomb/informed-decision@sha256:ef6fdd61209863654be3adba070661645a2714e86cb4b7f4e847540291b55f07",
"human_approval_recorded": false
}