Originally created by: Akarsh-Hegde
Tracking issue for the CodeRabbit / code-quality findings raised on #371 (the pre-main β main prod promotion).
Why these weren't fixed in [#371]: [#371] promotes code that already shipped to staging through individual feature PRs. CodeRabbit re-reviewed the full ~8.2k-line cumulative diff, so the findings below are pre-existing, not introduced by the promotion. To avoid destabilizing staging-tested code inside the merge that was urgently needed to fix broken prod worklogs (runtime-latest was stuck on a runtime missing the WORKLOG_SYSTEM re-export), they're tracked here as follow-ups instead.
A few are worth prioritising β the π΄ idempotent ticket creation and the IST-hardcoded observability dashboards (which render wrong hours for any non-IST deployment after the local-time refactor).
Excluded (handled in [#371]): the pyproject.toml version (resolved to 1.67.0) and the worklog.py:11 "WORKLOG_SYSTEM unused" false positive (it's a re-export used by pipeline.py).
src/pm_worklog/post.rs:420 (comment)meridian-core/src/readers/proposed.rs:161 (comment)--exclude-coding doesn't match the server contract. β scripts/run-distill.sh:29 (comment)services/agents/observability.py:526 (comment)services/agents/routes/activity.py:60 (comment)services/agents/routes/activity.py:77 (comment)traceparent as the span parent. β services/agents/routes/activity.py:182 (comment)services/agents/time_utils.py:20 (comment)services/agents/worklog_pipeline/db.py:315 (comment)activity_report calls disappear. β services/observability/dashboards/activity-summary.json:23 (comment)services/observability/dashboards/activity-summary.json:350 (comment)services/observability/dashboards/pm-worklog-hour.json:161 (comment)services/observability/dashboards/session-distiller.json:344 (comment)services/observability/dashboards/session-distiller.json:357 (comment)/session-summary prompt in sync with this new contract. β services/skills/coding-agent/session-summary/SKILL.md:15 (comment)src/coding_agent_session_ingest/summariser/mod.rs:513 (comment)session_text with the same coding-agent predicate. β src/etl/extractor.rs:82 (comment)src/etl/runner.rs:115 (comment)src/etl/session_builder.rs:226 (comment)src/intelligence/ticket_update/mod.rs:335 (comment)src/pm_worklog/create.rs:127 (comment)src/pm_worklog/db.rs:329 (comment)src/pm_worklog/db.rs:348 (comment)src/pm_worklog/post.rs:342 (comment)src/worklog_pipeline.rs:130 (comment)tray/src-tauri/src/commands/daemon.rs:196 (comment)tray/src-tauri/src/lib.rs:845 (comment)tray/src-tauri/src/poll/mod.rs:290 (comment)ui/components/views/SettingsView.tsx:520 (comment)proposed_id for proposal mutations. β ui/components/views/WorklogsView.tsx:171 (comment)ui/components/views/WorklogsView.tsx:515 (comment)contents: write to the publish jobs only. β .github/workflows/build-mlx-runtime.yml:64 (comment).github/workflows/build-mlx-runtime.yml:79 (comment)meridian-core/src/readers/worklogs.rs:306 (comment)now. β meridian-core/src/util/date.rs:40 (comment)scripts/README.md:47 (comment)services/agents/session_distiller.py:412 (comment)reasoning truly required. β services/agents/worklog_pipeline/models.py:49 (comment)Utc::now() fallback in local_hour_to_utc. β src/pm_worklog/post.rs:98 (comment)tray/src/index.html:101 (comment)actions/checkout and disable credential persistence. β .github/workflows/runtime-gate-selftest.yml:32 (comment)actions/checkout and disable credential persistence. β .github/workflows/services-version-bump.yml:26 (comment)tray/src/pause-utils.js:26 (comment).cargo/config.toml:6 (comment)