From 96833d3a6327a9e7df0df9434f8de9eab2c8cf16 Mon Sep 17 00:00:00 2001 From: que01 Date: Thu, 3 Sep 2026 11:13:45 +0800 Subject: [PATCH] chore(task): archive 09-02-junction-detection-hotspot --- .../check.jsonl | 1 + .../design.md | 3 +++ .../implement.jsonl | 1 + .../implement.md | 0 .../09-02-junction-detection-hotspot/prd.md | 20 ++++++++++++++ .../task.json | 26 +++++++++++++++++++ 6 files changed, 51 insertions(+) create mode 100644 .trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/check.jsonl create mode 100644 .trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/design.md create mode 100644 .trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/implement.jsonl rename .trellis/tasks/{ => archive/2026-09}/09-02-junction-detection-hotspot/implement.md (100%) create mode 100644 .trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/prd.md create mode 100644 .trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/task.json diff --git a/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/check.jsonl b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/check.jsonl new file mode 100644 index 0000000..9dd3234 --- /dev/null +++ b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/check.jsonl @@ -0,0 +1 @@ +{"_example": "Fill with {\"file\": \"\", \"reason\": \"\"}. Put spec/research files only — no code paths. Run `python3 .trellis/scripts/get_context.py --mode packages` to list available specs. Delete this line once real entries are added."} diff --git a/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/design.md b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/design.md new file mode 100644 index 0000000..796b446 --- /dev/null +++ b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/design.md @@ -0,0 +1,3 @@ +# Design + +新增纯逻辑 descriptor/状态模型和独立热点图层 adapter;输入只读编译状态,输出 `JunctionRef`,不写 active document。 diff --git a/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/implement.jsonl b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/implement.jsonl new file mode 100644 index 0000000..9dd3234 --- /dev/null +++ b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/implement.jsonl @@ -0,0 +1 @@ +{"_example": "Fill with {\"file\": \"\", \"reason\": \"\"}. Put spec/research files only — no code paths. Run `python3 .trellis/scripts/get_context.py --mode packages` to list available specs. Delete this line once real entries are added."} diff --git a/.trellis/tasks/09-02-junction-detection-hotspot/implement.md b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/implement.md similarity index 100% rename from .trellis/tasks/09-02-junction-detection-hotspot/implement.md rename to .trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/implement.md diff --git a/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/prd.md b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/prd.md new file mode 100644 index 0000000..49a0c99 --- /dev/null +++ b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/prd.md @@ -0,0 +1,20 @@ +# 路口识别与热区模型 + +## Goal + +从编译模型派生普通 node、已确认 cluster 和 candidate cluster 的路口描述与可点击热区。 + +## Requirements + +- 热区不新增持久化几何事实;来源必须是 junction plan、cluster 配置和诊断。 +- 普通 node 可进入编辑;已确认 cluster 显示 cluster 级热区;candidate 明确显示待确认状态。 +- 热区点击必须返回稳定 `JunctionRef` 和地图位置,不与道路/设施选择竞争。 +- 热区范围覆盖路口核心及必要的进口上下文,并可解释其来源。 +- 普通 node 热区可进入编辑;已确认 cluster 热区只读;candidate cluster 热区只展示状态、组成道路和诊断。 +- 本任务不得提供 candidate 确认或 cluster 持久化创建动作。 + +## Acceptance Criteria + +- [ ] 同一编译状态下热区与 junction descriptor 一致且稳定。 +- [ ] node、cluster、candidate 的状态和点击行为有纯逻辑测试。 +- [ ] 热区图层开关、选中态和空白点击行为不破坏现有地图。 diff --git a/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/task.json b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/task.json new file mode 100644 index 0000000..5e60fc4 --- /dev/null +++ b/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/task.json @@ -0,0 +1,26 @@ +{ + "id": "junction-detection-hotspot", + "name": "junction-detection-hotspot", + "title": "路口识别与热区模型", + "description": "", + "status": "completed", + "dev_type": null, + "scope": null, + "package": null, + "priority": "P2", + "creator": "dingkang", + "assignee": "dingkang", + "createdAt": "2026-09-02", + "completedAt": "2026-09-03", + "branch": null, + "base_branch": "main", + "worktree_path": null, + "commit": null, + "pr_url": null, + "subtasks": [], + "children": [], + "parent": "08-26-direct-edit-junction-tools", + "relatedFiles": [], + "notes": "", + "meta": {} +} \ No newline at end of file