SmartTimeline — 7-event lookahead + dependency display + enforced sequence (Slice 2 extension) #31
Open
opened 2026-05-09 10:04:22 +00:00 by mAi
·
2 comments
No Branch/Tag Specified
main
mai/fourier/follow-up-no-draft
mai/galois/tech-debt-reconcile
mai/riemann/tech-debt-backfill-role
mai/galileo/docforge-draft-editor
mai/bohr/coder-apply-m-s-caption
mai/faraday/coder-generated-document
mai/planck/coder-b5-b6-train-share
mai/archimedes/fixer-port-engine
mai/maxwell/coder-b4-akte-mode
mai/lorenz/coder-b3-event-triggered
mai/euler/fixer-builder-add
mai/brunel/fixer-prod-500s-after-b1
mai/galileo/coder-b1-b2-mvp-train
mai/pasteur/fixer-pkg-litigationplann
mai/newton/coder-b0-scenario-db
mai/edison/inventor-prd-columnar
mai/knuth/coder-workflow-tracker
mai/atlas/inventor-extend-tools
mai/cronus/inventor-unified
mai/atlas/inventor-deadline-system
mai/atlas/inventor-followup-rules
mai/athena/consultant-deadline
mai/brunel/fixer-dark-mode-support
mai/knuth/coder-cronus-fristenrechn
mai/ritchie/coder-mig-153-proceeding
mai/atlas/inventor-proceeding
mai/cronus/inventor-fristenrechner
mai/curie/coder-mig152-clone-dedupe
mai/darwin/researcher-lexy-draft
mai/knuth/coder-dedupe-null
mai/cronus/coder-composer-slice-f
mai/cronus/coder-composer-slice-e
mai/cronus/coder-composer-slice-d
mai/curie/coder-slice-b6-url-rename
mai/curie/coder-slice-b5-go-rename
mai/cronus/coder-composer-slice-c
mai/curie/coder-slice-b4-destructive-drop
mai/cronus/coder-composer-slice-b
mai/cronus/coder-composer-slice-a
mai/cronus/inventor-prd-for
mai/knuth/coder-verfahrensablauf
mai/ritchie/coder-make-backup
mai/diesel/fixer-dark-mode-css
mai/curie/coder-slice-b3-read-cutover
mai/diesel/fixer-verfahrensablauf
mai/curie/coder-slice-b2-dual-write
mai/cronus/coder-slice-d-scenarios
mai/knuth/coder-backfill-applies
mai/hermes/gitster-verfahrensablauf
mai/cronus/coder-berufung-labels-refactor
mai/diesel/hotfix-2-mig-134-missing
mai/curie/coder-slice-b1-procedural-events
mai/cronus/coder-slice-c-upc-snapshot
mai/brunel/hotfix-rename-upc-apl
mai/cronus/coder-slice-b3-primary-party
mai/cronus/coder-slice-b2-catalog-query
mai/cronus/inventor-litigation-slice-b
mai/curie/researcher-slice-b-zero
mai/cronus/inventor-litigation
mai/artemis/gitster-remove-admin
mai/ritchie/coder-sort-post-trigger
mai/knuth/coder-conditional-label
mai/hermes/coder-verfahrensablauf
mai/brunel/rebase-121-conditional
mai/knuth/coder-conditional-rule
mai/hermes/gitster-dark-mode-fix
mai/ritchie/coder-submission-form
mai/artemis/gitster-re-surface
mai/brunel/fixer-views-any-filters
mai/cronus/coder-cicd-slice-a
mai/knuth/coder-wave-1-tier-1-rule
mai/ritchie/coder-upc-damages-add
mai/cronus/inventor-ci-cd-pre
mai/brunel/rebase-108-language
mai/hermes/gitster-admin-rules-list
mai/artemis/gitster-submission
mai/icarus/gitster-verfahrensablauf
mai/orpheus/gitster-search-input
mai/atlas/coder-event-card-choices-slice-ab
mai/hermes/gitster-date-range
mai/demeter/gitster-submission
mai/knuth/coder-hl-patents-style
mai/hermes/gitster-draft-editor
mai/atlas/inventor-per-event-card
mai/knuth/coder-deadline-rule-tier
mai/cronus/coder-procedural-events-slice-a
mai/hermes/gitster-deadline-form
mai/artemis/gitster-add-missing-i18n
mai/demeter/gitster-paliadin-chat
mai/brunel/wave0-tier0-deadline-fixes
mai/artemis/coder-docker-compose-yml
mai/icarus/coder-inbox-overhaul-slice-a
mai/atlas/coder-date-range-picker-slice-a
mai/brunel/fixer-de-inf-lg-cfi
mai/cronus/inventor-procedural
mai/hermes/gitster-event-type-modal
mai/cronus/coder-backup-mode
mai/curie/researcher-bulletproof
mai/hermes/gitster-draft-editor-focus-jump
mai/cronus/inventor-backup-mode
mai/hermes/gitster-submissions
mai/artemis/gitster-deadline-form
mai/brunel/fixer-submission-preview
mai/brunel/fixer-test-data-reset
mai/artemis/gitster-approval-withdraw
mai/demeter/gitster-events
mai/hermes/gitster-sidebar-loses
mai/hermes/gitster-browse-a
mai/brunel/fixer-submissions-demo
mai/icarus/inventor-inbox-overhaul
mai/atlas/inventor-symmetric-date
mai/artemis/gitster-demote-daten
mai/hermes/gitster-team-view-mailto
mai/knuth/coder-global-schriftsatze
mai/knuth/coder-schriftsatze
mai/ritchie/coder-author-demo-docx
mai/knuth/coder-add-schriftsatze
mai/knuth/coder-add-checklist
mai/knuth/coder-anchor-lookup-must
mai/tesla/dashboard-resize-clamp
mai/knuth/coder-demote-projekt
mai/knuth/coder-paliadin-chat
mai/knuth/coder-print-views
mai/knuth/coder-add-proceeding
mai/knuth/coder-submission
mai/ritchie/coder-extend-team-email
mai/knuth/coder-changelog-catch-up
mai/tesla/dashboard-overlap
mai/pasteur/fixercoder-dashboard
mai/newton/inventor-configurable
mai/dirac/inventorcoder-user
mai/gauss/inventorcoder-team-admin
mai/kepler/inventorcoder-project
mai/darwin/roadmap-ccr-en
mai/euler/coder-small-ux-polish
mai/darwin/fristenrechner-cleanup
mai/darwin/fixercoder-priority-bug
mai/leibniz/inventor-caldav-multi
mai/hertz/inventor-unified-modal
mai/archimedes/inventor-excel-data
mai/boltzmann/inventor-gap-tolerant
mai/copernicus/submission-slice-1
mai/fermi/interactive-session
mai/hertz/inventor-suggest-changes
mai/copernicus/inventor-submission
mai/mendel/test-strategy-slice-1
mai/mendel/inventor-test-strategy
mai/ampere/custom-views-improvements
mai/joule/mig-097-apply-huygens-s
mai/ohm/workstream-b-rename
mai/huygens/workstream-a-backfill
mai/kelvin/t-204-phase-2-proceeding
mai/bohr/ingest-t-paliad-203-rule
mai/curie/fristenrechner-gap
mai/maxwell/inbox-grey-out
mai/rutherford/slice-9-follow-up-b-re
mai/dirac/slice-9-follow-up-a
mai/bose/determinator-cascade-slice-3
mai/bose/determinator-cascade-slice-2
mai/bose/determinator-row-cascade
mai/lorenz/fristen-phase-3-slice-9
mai/curie/fristen-phase-3-slice-12
mai/planck/aichat-phase-b-paliad
mai/young/fristen-phase-3-slice-11b
mai/lorenz/fristen-phase-3-slice-11a
mai/lorenz/fristen-phase-3-slice-10
mai/lorenz/fristen-phase-3-slice-8
mai/lorenz/fristen-phase-3-slice-7
mai/lorenz/fristen-phase-3-slice-6
mai/lorenz/fristen-phase-3-slice-5
mai/lorenz/fristen-phase-3-slice-4
mai/lorenz/fristen-phase-3-slice-3
mai/lorenz/fristen-phase-3-slice-2
mai/lorenz/fristen-phase-3-slice-1
mai/pauli/fristen-phase2-design
mai/tesla/project-timeline-chart
mai/pauli/fristen-logic-audit
mai/pauli/determinator-b1-row-by
mai/noether/tools-cleanup-slice-1
mai/kelvin/inventor-tools-surface
mai/planck/paliadin-per-user-rls
mai/maxwell/bug-bundle-filterbar
mai/faraday/project-timeline-chart
mai/schroedinger/smarttimeline-slice-4
mai/bohr/smarttimeline-slice-3
mai/gauss/smarttimeline-slice-2
mai/riemann/filterbar-phase-2-slice
mai/lagrange/smarttimeline-design-the
mai/curie/researcher-determinator
mai/noether/collapse-regel-typ-on
mai/riemann/inventor-universal
mai/minkowski/project-level-our-side
mai/dirac/inventor-inline-paliadin
mai/feynman/fristenrechner
mai/minkowski/navbar-dashboard-reorg
mai/shannon/approval-rework
mai/einstein/consultant-deadline-data
mai/curie/researcher-upc-rop-audit
mai/noether/paliadin-real-claude
mai/noether/inventor-paliadin
mai/hilbert/inventor-approval-policy
mai/shannon/bug-frist-due-date
mai/fritz/bug-fristen-termine
mai/godel/inventor-projects-page
mai/fritz/bug-paliadin-chat
mai/kepler/inventor-profession-vs
mai/noether/inventor-paliadin-in-app
mai/fritz/bulk-team-email-send-to
mai/noether/inventor-local-chat-for
mai/noether/inventor-data-display
mai/fritz/bug-derived-team-members
mai/fritz/bug-sidebar-visibly
mai/noether/inventor-project
mai/shannon/bug-project-team-add
mai/cronus/inventor-dual-control
mai/fritz/bug-edit-mode-on
mai/cronus/inventor-holidays-per
mai/ritchie/phase-h-ai-deadline
No results found.
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: m/paliad#31
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: m @ 2026-05-09 12:02 verbatim:
Three layered requirements
1. 7-event lookahead window
The Verlauf tab on
/projects/<id>(Case-level only — see §5 of the design doc for higher-level aggregation) renders a forward-looking section showing the next ~7 likely upcoming events. "Likely" here = the projected rows fromFristenrechnerService.CalculateafterAnchorOverridesare applied (i.e. predictions conditioned on actuals already entered).Not 7 fixed-rule predictions — 7 active upcoming events: skip rules that don't apply because their
condition_flagis unsatisfied or because the proceeding has progressed past them. Numerically tunable; 7 is the default lookahead, not a hard cap. "Mehr anzeigen" expands the list.This is a UX layer over Slice 2's projection output — Slice 2 already needs
FristenrechnerService.Calculateintegration; the 7-cap is a render-side filter.2. Dependency display
Each projected (and actual) row should surface its provenance — which prior event it depends on for its date math. The data already exists: every
paliad.deadline_rulesrow has a parent rule it triggers from (the rule chain is what lagrange's design §6 calls the "AnchorOverrides reflow chain"). What's missing is the UI affordance.Proposed surface (open for refinement):
"folgt aus: <parent rule code/name> (<actual date | predicted date | datum offen>)".This is purely additive to lagrange's design; no schema change.
3. Enforced sequences ("can't have SoD before SoC")
The SoC→SoD pair is the canonical example. UPC RoP R.23 (Statement of Defence) is triggered by service of the Statement of Claim — without an SoC date, an SoD due-date prediction is meaningless. Two enforcement levels possible:
"voraussichtlich — abhängig von SoC (Datum offen)", dated cell empty, predicted-faded styling.POST /api/projects/{id}/timeline/anchor), reject{rule_code: 'sod', actual_date: ...}if the parent rule (soc) has no anchored actual yet. Return a 409 with a suggested-fix message ("SoC zuerst eintragen").Design call: probably both — soft default in the projection (Slice 2), hard block on write (Slice 2 anchor endpoint). Capture the parent-rule expectation as a structural property of
deadline_rules, not a code-side switch — the rule data already has the dependency edge; the API just needs to read it before allowing a write.Open question: are there cases where a successor's actual date legitimately precedes the predecessor's? E.g. a counterclaim filed before the main claim's response — but that's a different proceeding (CCR sub-project per §4) so its rule chain is independent. Inside a single proceeding's rule tree, sequence violations should always be errors. Confirm.
Mapping to the existing design
This extends Slice 2 of
docs/design-smart-timeline-2026-05-08.md(lagrange, merged @487fec2). Slice 2 already includes:FristenrechnerService.Calculateintegration → projected rows in the timelineappointments.deadline_rule_idFKpaliad.deadlines.source = 'anchor'This issue layers three additions on top:
None of these requires a Slice 2 redesign — they're additive. Slice 2's coder shift can absorb them, OR they can split into a Slice 2.5 if the original Slice 2 is already in flight when this lands. Tag whichever path m picks at greenlight time.
Open questions
soft_warning: trueand a UI confirm modal? Reject is cleaner; confirm-and-write lets the user override when the rule doesn't match reality (e.g. a procedural quirk we haven't modelled).Out of scope
Filed overnight per m's autonomy directive @ 2026-05-08 23:09. Review at m's pace; this is captured for Slice 2 planning.
SmartTimeline Slice 2 + the layered #31 features shipped on branch mai/gauss/smarttimeline-slice-2.
Commits:
85d7dd4feat(t-paliad-173): SmartTimeline Slice 2 backend — projection + anchor + skip + sequence guard331efc8feat(t-paliad-173): SmartTimeline Slice 2 frontend + #31 layered features#31 layer-by-layer:
, <Date|Datum offen>)" footer on every row with a deadline_rule_id whose rule has a parent. "[Pfad anzeigen]" expander.Migration 076 was applied live (tracker 75 → 76); deploy re-applies idempotently.
m/maria — ready for review.
SmartTimeline Slice 4 — SHIPPED on
mai/schroedinger/smarttimeline-slice-4This closes the 4-slice phasing of t-paliad-169 (design
docs/design-smart-timeline-2026-05-08.md).Commits:
7da8802backend —levelPolicy(projectType)+ lane aggregation +metadata.bubble_uphonoured + envelope wire shape{events, lanes}7e57507frontend — lane-grouped render inshape-timeline.ts, lane filter chip, Client-levelTimeline-Ansichttoggle, custom-milestone bubble-up checkbox, CSS + i18nLayered features (per §5.1):
Timeline-Ansichttoggle (state persists per project in localStorage)Bubble-up (Q5 lock-in):
metadata.bubble_up=trueoverrides the level policy filter at Patent/Litigation/Client.counterclaim_created(Slice 3 path) now setsbubble_up=trueon both parent and child audit rows.third_party_interventionandscope_changedefault-on by event_type (no current write path; ready for future routes).custom_milestonedefault-off; user opts in via the form checkbox.Wire shape changed:
GET /api/projects/{id}/timelinereturns{events, lanes}envelope (was[]TimelineEvent). Frontend has a defensive fallback for the rolling deploy window.X-Projection-Total / Lookahead / Tracksheaders preserved for Slice 1-3 affordances.Tests:
TestLevelPolicy(locks the (kinds, statuses, lane_axis) triple per type),TestRowSurvivesPolicy_BubbleUpOverridesFilter(override contract),TestExtractBubbleUp(12 cases covering per-event-type defaults + explicit overrides + malformed metadata),TestChildTypeForAxisTestProjectionService_LevelAggregation_Livewalks a Patent → Case-A + Case-B fixture, asserts bubbled-up milestone surfaces under Case-As lane, regular custom_milestone is filtered, deadlines surface at Patent levelBuild hygiene:
go build/go vet/go testclean (caches reused).bun run buildclean — i18n codegen 2171 keys.Branch ready for review + merge. Awaiting marias gate.