Repository navigation
Expand file tree
/
Copy pathhawk.toml
More file actions
231 lines (197 loc) · 5.91 KB
/
Copy pathhawk.toml
File metadata and controls
231 lines (197 loc) · 5.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
[[production]]
package = "vtcode"
bin = "vtcode"
reason = "shipped terminal coding agent binary"
[[production]]
package = "vtcode-desktop"
bin = "vtcode-desktop"
reason = "shipped macOS desktop application"
[[feature-profile]]
name = "all"
all-features = true
[[feature-profile]]
name = "default"
[[feature-profile]]
name = "minimal"
no-default-features = true
[[doctest]]
package = "vtcode-exec-events"
[[doctest]]
package = "vtcode-commons"
# Published event contract crate — public API is intentional for downstream consumers
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "json"
level = "allow"
reason = "published serde-json helpers for downstream consumers"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "schema"
level = "allow"
reason = "published JSON Schema export for downstream consumers"
# Published passive schema crate — public API is intentional for downstream consumers
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_utility_tool_specs"
item = "close_agent_parameters"
level = "allow"
reason = "published tool schema for external ACP consumers"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_utility_tool_specs"
item = "resume_agent_parameters"
level = "allow"
reason = "published tool schema for external ACP consumers"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_utility_tool_specs"
item = "cron_create_parameters"
level = "allow"
reason = "published tool schema for external scheduler consumers"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_utility_tool_specs"
item = "cron_list_parameters"
level = "allow"
reason = "published tool schema for external scheduler consumers"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_utility_tool_specs"
item = "cron_delete_parameters"
level = "allow"
reason = "published tool schema for external scheduler consumers"
# vtcode-exec-events trace module — public API for ATIF compliance
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::TraceRecord::add_file"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::TraceRecord::new"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::ToolInfo::new"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::TraceConversation::ai"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::TraceConversation::with_session_url"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::RelatedResource::prompt"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::TraceRange::single_line"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::Contributor::unknown"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::TraceContext::normalized_model_id"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "trace::VcsInfo::jj"
level = "allow"
reason = "public ATIF builder API"
# vtcode-exec-events log/tracing/otel emitters — feature-gated public API
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "log_support::LogEmitter::new"
level = "allow"
reason = "feature-gated public emitter"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "tracing_support::TracingEmitter::new"
level = "allow"
reason = "feature-gated public emitter"
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "otel_support::OtelEmitter::<T>::new"
level = "allow"
reason = "feature-gated public emitter"
# vtcode-exec-events atif module — public ATIF types
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_exec_events"
item = "atif::AtifTrajectoryBuilder::set_session_id"
level = "allow"
reason = "public ATIF builder API"
[[override]]
lint = "hawk::unnecessary_public"
crate = "vtcode_commons"
item = "slug::create"
level = "allow"
reason = "used in doctest: use vtcode_commons::slug; slug::create()"
[[override]]
lint = "hawk::unnecessary_public"
crate = "vtcode_commons"
item = "slug::create_with_prefix"
level = "allow"
reason = "used in doctest: slug::create_with_prefix(prefix)"
[[override]]
lint = "hawk::unnecessary_public"
crate = "vtcode_commons"
item = "thread_safety::RelaxedAtomic::<T>::new"
level = "allow"
reason = "used in doctest: RelaxedAtomic::new(val)"
[[override]]
lint = "hawk::unnecessary_public"
crate = "vtcode_commons"
item = "thread_safety::RelaxedAtomic::<T>::load"
level = "allow"
reason = "used in doctest: counter.load()"
[[override]]
lint = "hawk::unnecessary_public"
crate = "vtcode_commons"
item = "validation::NonEmptyString::as_str"
level = "allow"
reason = "used in doctest: name.as_str()"
[[override]]
lint = "hawk::unnecessary_public"
crate = "vtcode_commons"
item = "validation::NonEmptyString::into_inner"
level = "allow"
reason = "used in doctest: name.into_inner()"
# Planned CLI permission handler: `PermissionPromptHandler`/`set_permission_handler`
# already exist in `tool_policy`, and docs/development/tui_only_refactoring.md
# documents this prompt as the CLI implementation of that trait. The item moved
# from vtcode-core to vtcode-tui-runtime in the 2026-11-17 UI extraction.
[[override]]
lint = "hawk::dead_public"
crate = "vtcode_tui_runtime"
item = "ui::user_confirmation::UserConfirmation::confirm_tool_usage"
level = "allow"
reason = "CLI PermissionPromptHandler implementation planned in docs/development/tui_only_refactoring.md"