fix(verfahrensablauf): m/paliad#58 — UPC CCR roadmap (EN label + spawn-as-standalone) #68
Open
mAi
wants to merge 1 commits from
mai/darwin/roadmap-ccr-en into main
pull from: mai/darwin/roadmap-ccr-en
merge into: m:main
m:main
m:mai/jason/issue-158-service-address
m:mai/brunel/views-eventkind-flake
m:mai/cronus/issue-148-trigger-picker
m:mai/hades/issue-155-followup
m:mai/knuth/issue-139-letterhead-vars
m:mai/hades/issue-155-naming
m:mai/brunel/escalation-visibility-flag
m:mai/jason/alles-overrides-horizon
m:mai/knuth/m-paliad-150-part-b-m
m:mai/hades/issue-161-zustandigkeit
m:mai/cronus/m-paliad-160-per-user
m:mai/jason/issue-163-parties-role
m:mai/ares/issue-162-one-convention
m:mai/brunel/m-paliad-115-the-sweep-s
m:mai/goodall/for-every-check-in-this
m:mai/knuth/land-darwin-s-follow-up
m:mai/diesel/guard-report-lib
m:mai/diesel/issue-139-slice-b
m:mai/diesel/issue-139-letterhead-vars
m:mai/darwin/148-crossparty-ui
m:mai/diesel/m-paliad-158-a-stale
m:mai/darwin/vacation-doc-warnings
m:mai/darwin/upc-vacation-findings
m:mai/darwin/rop-citation-fix
m:mai/darwin/issue-150-holidays
m:mai/ritchie/build-the-block-editor
m:mai/darwin/swallowed-cleanup-errors
m:mai/darwin/formalities-refusal-schema4
m:mai/darwin/drift-caveat-shape
m:mai/darwin/http-smoke-enforcing
m:mai/darwin/s6-round-3
m:mai/darwin/loops-acting-user
m:mai/darwin/s6-rehearsal-round-2
m:mai/darwin/close-the-s6-blockers
m:mai/darwin/rehearse-the-s6-flip
m:mai/knuth/drilling-the-scheduled
m:mai/brunel/21-test-files-under-pkg
m:mai/atlas/design-hlc-com-as
m:mai/hopper3/a-hand-run-can-advance
m:mai/grace4/re-vendor-mai
m:mai/grace3/vendor-the-nine-german
m:mai/head/slug-rule-contract
m:mai/head/vendor-contract-note
m:mai/grace2/wiki-generator-language
m:mai/marco/verify-the-outlook-add
m:mai/pike2/an-explicit-begin-commit
m:mai/noether5/remove-the-paris-p3-and
m:mai/lexy2/r2-backfill-procedural
m:mai/kepler/issue-502-hl-to-hlc
m:mai/hertz2/r4-litigationplanner
m:mai/shannon2/docker-compose-yml-never
m:mai/linus2/r3-finish-the-b-5
m:mai/zeus2/guard-no-live-sql-string
m:mai/galileo2/the-embedded-upc-planner
m:mai/kepler2/slice-b-procedural
m:mai/diesel2/mig044-erwiderung-repair
m:mai/diesel2/fresh-db-replay-past-mig
m:mai/head/gen-upc-snapshot-dead-table
m:mai/noether4/offices-export-regen-201
m:mai/noether4/base-p1-genericize-m
m:mai/hopper/finish-the-half-built
m:mai/pike/dead-migration-tests
m:mai/linus/audit-comment-fix
m:mai/linus/fristensuche-82-search
m:mai/linus/b7-checklists
m:mai/linus/b8-frontend-pure-logic
m:mai/pike/b5-auth-path-coverage
m:mai/diesel/rule-test-resync
m:mai/diesel/regression-m-confirmed
m:mai/patton/b1-make-the-dormant-test
m:mai/athena/test-gap-audit-map
m:mai/diesel/kostenrechner-bug-upc
m:mai/hopper/patentsstyle-styleguide
m:mai/pike/re-render-patentsstyle
m:mai/linus/firm-footer-officelanguag
m:mai/carmack/re-render-deploy
m:mai/diesel/fresh-db-bootstrap
m:mai/pike/follow-up-gen-template
m:mai/turing/docforge-flip
m:mai/cronus/bighand-delimiter-constant
m:mai/ritchie/composer-delete-all
m:mai/atlas/inventor-followup-rules
m:mai/knuth/coder-conditional-rule
m:mai/cronus/inventor-ci-cd-pre
m:mai/demeter/gitster-submission
m:mai/atlas/inventor-per-event-card
m:mai/cronus/inventor-procedural
m:mai/cronus/inventor-backup-mode
m:mai/icarus/inventor-inbox-overhaul
m:mai/atlas/inventor-symmetric-date
m:mai/gauss/inventorcoder-team-admin
m:mai/kepler/inventorcoder-project
m:mai/euler/coder-small-ux-polish
m:mai/darwin/fristenrechner-cleanup
m:mai/darwin/fixercoder-priority-bug
m:mai/leibniz/inventor-caldav-multi
m:mai/hertz/inventor-unified-modal
m:mai/archimedes/inventor-excel-data
m:mai/boltzmann/inventor-gap-tolerant
m:mai/copernicus/submission-slice-1
m:mai/fermi/interactive-session
m:mai/hertz/inventor-suggest-changes
m:mai/copernicus/inventor-submission
m:mai/mendel/test-strategy-slice-1
m:mai/ampere/custom-views-improvements
m:mai/planck/paliadin-per-user-rls
m:mai/ritchie/phase-h-ai-deadline
1 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 13fc8fb2f2 |
fix(verfahrensablauf): m/paliad#58 — UPC CCR roadmap (EN label + spawn-as-standalone)
m's 2026-05-20 14:08 reports on /tools/verfahrensablauf:
1. "There seems to be a lacking english term here" — picking
UPC CCR shows "Trigger event: Widerklage auf Nichtigkeit" on EN.
2. "Nothing shows in the roadmap" — the timeline is empty because
upc.ccr.cfi has no native rules (it's an illustrative peer that
normally runs as a sub-track of upc.inf.cfi with with_ccr).
Root cause for (1): UIResponse.proceedingName was DE-only. When a
proceeding had no root rule the frontend fell back to that field, so
EN users saw the DE label. The DB already has bilingual names; this
was pure plumbing.
Root cause for (2): the upc.ccr.cfi proceeding-type row exists for
the picker (mig 096) but ResolveCounterclaimRouting — the helper
that maps it to upc.inf.cfi with the with_ccr flag — was defined
but never called. Calculate queried rules directly off upc.ccr.cfi
and got an empty list.
Fix:
* Add ProceedingNameEN, ContextualNote, ContextualNoteEN to
UIResponse. Frontend triggerEventLabelFor now consults the EN
name on EN, falling back to DE only if the EN field is empty.
* New SubTrackRouting registry in proceeding_mapping.go and a
LookupSubTrackRouting lookup — single source of truth for the
"this proceeding has no native rules, route to a parent with
flags + show a contextual note" pattern. Today's only entry is
upc.ccr.cfi → upc.inf.cfi + with_ccr; the pattern generalises
to other sub-tracks via data-only additions.
* Calculate consults the registry at the top: when a hit, the
proceeding type is re-resolved to the parent for rule lookup, the
default flags are merged into the user's flag set (user flags win
on conflict), and the response identity (Code/Name/NameEN) stays
on the user-picked proceeding so the page header still reads
"Counterclaim for Revocation". The bilingual note surfaces in
ContextualNote{,EN}.
* Frontend renderResults paints a lime-accent banner above the
timeline body when the response carries a note
(.timeline-context-note). escHtml already exported from
views/verfahrensablauf-core — imported here for the banner.
No DB migration: SELECTs against paliad.proceeding_types,
paliad.deadline_rules, and paliad.trigger_events confirm every
active row already has a non-empty name_en / name. The bug was
the API + frontend never reading the EN columns through the
proceedingName fallback path.
Tests: TestSubTrackRoutings pins the registry shape (every entry
has matching key/value, non-empty parent+flags, bilingual notes;
CCR's exact shape is asserted; non-sub-tracks miss). The existing
TestResolveCounterclaimRouting continues to pass because the
helper now consults the registry but the CCR semantics are
unchanged.
|