返回 CodeWhale
work_graph_session_v1_reader.json
根目录 / crates / tui / tests / fixtures / work_graph_session_v1_reader.json
1 {
2 "schema_version": 1,
3 "metadata": {
4 "id": "11111111-2222-4333-8444-555555555555",
5 "title": "Work Graph old-reader fixture",
6 "created_at": "2026-07-18T00:00:00Z",
7 "updated_at": "2026-07-18T00:00:00Z",
8 "message_count": 0,
9 "total_tokens": 0,
10 "model": "fixture-model",
11 "model_provider": "deepseek",
12 "workspace": "/tmp/codewhale-wg2-old-reader",
13 "mode": "plan"
14 },
15 "messages": [],
16 "system_prompt": null,
17 "work_state": {
18 "graph": {
19 "schema": 1,
20 "revision": 0,
21 "nodes": [
22 {
23 "id": "wn:111111111111",
24 "kind": "objective",
25 "title": "Fixture objective",
26 "state": "ready",
27 "acceptance": [],
28 "binding": null,
29 "evidence": null,
30 "provenance": {
31 "import": {
32 "source_digest": "fixture-digest",
33 "ordinal": null
34 }
35 },
36 "created_at": 0,
37 "updated_at": 0
38 },
39 {
40 "id": "wn:222222222222",
41 "kind": "plan_step",
42 "title": "Visible fixture step",
43 "state": "active",
44 "acceptance": [],
45 "binding": null,
46 "evidence": null,
47 "provenance": {
48 "import": {
49 "source_digest": "fixture-digest",
50 "ordinal": 0
51 }
52 },
53 "created_at": 0,
54 "updated_at": 0
55 }
56 ],
57 "edges": [
58 {
59 "id": "we:111111111111",
60 "kind": "contains",
61 "from": "wn:111111111111",
62 "to": "wn:222222222222"
63 }
64 ],
65 "history": [],
66 "import_digest": "fixture-digest",
67 "seen_keys": [],
68 "proposals": [],
69 "compat": {
70 "plan": {
71 "objective": "Fixture objective"
72 },
73 "plan_order": ["wn:222222222222"],
74 "todos": [
75 {
76 "legacy_id": 7,
77 "node": "wn:222222222222",
78 "plan_index": 0
79 }
80 ]
81 }
82 },
83 "todos": {
84 "items": [
85 {
86 "id": 7,
87 "content": "Visible fixture step",
88 "status": "in_progress"
89 }
90 ],
91 "completion_pct": 0,
92 "in_progress_id": 7
93 },
94 "plan": {
95 "objective": "Fixture objective",
96 "items": [
97 {
98 "step": "Visible fixture step",
99 "status": "in_progress"
100 }
101 ]
102 }
103 }
104 }
105
105 lines JSON