-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathvulture_whitelist.py
More file actions
181 lines (165 loc) · 5.16 KB
/
Copy pathvulture_whitelist.py
File metadata and controls
181 lines (165 loc) · 5.16 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
"""Vulture whitelist — false positives from framework/protocol methods.
Vulture cannot trace dynamic dispatch (getattr), protocol-style dispatch
(`forward`, HTTP `do_GET`), or sqlite3 attributes (`row_factory`). List them here
so CI passes cleanly.
"""
# Module protocol method — invoked by runtime dispatch
forward # noqa
# HTTP handler methods — called by BaseHTTPRequestHandler dispatch
do_GET # noqa
do_POST # noqa
do_PUT # noqa
do_PATCH # noqa
do_DELETE # noqa
log_message # noqa
server_version # noqa
# sqlite3 cursor attribute — set, not called
row_factory # noqa
# loguru config attributes
_rotation # noqa
_retention # noqa
handlers # noqa
# Pydantic model fields — populated at validation time
artifacts # noqa
# Lazy import pattern
__getattr__ # noqa
# Called via getattr() dynamic dispatch in CLI (_dead_letter_action)
retry_project_jobs # noqa
skip_project_jobs # noqa
# Public dataclass/Pydantic fields used by serialization, validation, or callers
git_branch # noqa
model_config # noqa
current_utc # noqa
rationale # noqa
retrieval_json # noqa
brief # noqa
records_json # noqa
target_json # noqa
files_json # noqa
batch_id # noqa
source_record_id # noqa
target_record_id # noqa
candidate_pairs_json # noqa
existing_edges_json # noqa
proposed_links_json # noqa
candidate_profile_json # noqa
candidate_records_json # noqa
project_json # noqa
recent_changes_json # noqa
current_records_json # noqa
replacements_json # noqa
workspace_snapshot_json # noqa
generation_context_json # noqa
last_context_tokens # noqa
metrics_version # noqa
trace_total_lines # noqa
current_window # noqa
episode_updates # noqa
durable_findings # noqa
implementation_findings # noqa
discarded_noise # noqa
filtered_durable_findings # noqa
rejected_durable_findings # noqa
signal_filter_summary # noqa
filtering_summary # noqa
kept_durable_findings # noqa
rejected_findings # noqa
clustered_record_ids # noqa
active_record_count # noqa
cluster_count # noqa
records_changed_since_generation # noqa
records_missing_since_generation # noqa
latest_run_folder # noqa
suggested_action # noqa
sessions_considered # noqa
records_changed_since_previous # noqa
recent_versions_considered # noqa
episode_update_refs # noqa
skip_reason # noqa
silent_change_feedback_record # noqa
model_size_priority_record # noqa
provider_cost_record # noqa
user_strategy_records # noqa
role_split_record # noqa
upstream_bug_report_record # noqa
project_identity_fact # noqa
model_setting_fact # noqa
prompt_structure_decision # noqa
fixture_constraint # noqa
deferred_design_fact # noqa
record_index # noqa
keep # noqa
save_any # noqa
session_reason # noqa
allowed_update_surfaces # noqa
high_risk_surfaces # noqa
diff_text # noqa
pattern_type # noqa
severity # noqa
why_it_matters # noqa
priority # noqa
headline # noqa
readiness_score # noqa
recommended_actions # noqa
questions # noqa
metrics_json # noqa
versions_json # noqa
sessions_json # noqa
# Pydantic validators registered by decorators
validate_level # noqa
# Public configuration/provider APIs
get_config_sources # noqa
get_project_env_path # noqa
# Lazy module protocol and enum members used through import/attribute access
__dir__ # noqa
ACTIVE # noqa
ARCHIVED # noqa
CREATE # noqa
UPDATE # noqa
ARCHIVE # noqa
SUPERSEDE # noqa
# TrajectoryErrorCode mirrors the upstream bridge's complete error-code set, so
# a code arriving over the protocol resolves to a named member instead of a bare
# string. Members are matched by value at runtime rather than referenced by name,
# which vulture cannot see. Mirroring the whole set is the point: a code Lerim
# never branches on today must still be reportable when the bridge returns it.
SUPPORTED_SOURCES # noqa
INVALID_INPUT # noqa
UNKNOWN_SOURCE # noqa
PYTHON_UNAVAILABLE # noqa
PYTHON_DEPENDENCY_MISSING # noqa
CHECKPOINT_DATABASE_NOT_FOUND # noqa
CHECKPOINT_DATABASE_UNREADABLE # noqa
CHECKPOINT_READ_FAILED # noqa
CHECKPOINT_NOT_FOUND # noqa
CHECKPOINT_MESSAGES_MISSING # noqa
INVALID_CHECKPOINT_STATE # noqa
LISTING_UNAVAILABLE # noqa
MISSING_USER_RECORDS # noqa
INVALID_NORMALIZED_TRANSCRIPT # noqa
SOURCE_GROUP_REQUIRED # noqa
SOURCE_GROUP_CONFLICT # noqa
INTERNAL_ERROR # noqa
# No production caller: reachable only from tests. Pre-dates this branch — on
# main it was re-exported from `lerim.sessions.__init__`, which satisfied vulture
# without anything actually calling it. Emptying that module to break an import
# cycle removed the export and exposed it. Listed rather than deleted to keep an
# unrelated removal out of the release; decide whether to wire it up or drop it.
update_session_extract_fields # noqa
# Third-party runtime attributes and public health/diagnostic helpers
graph_optimization_level # noqa
index_health # noqa
_prepare_search_indexes # noqa
_upsert_embedding # noqa
to_span_attrs # noqa
is_server_healthy # noqa
_mlflow_run_span # noqa
# MCP tool functions registered by FastMCP decorators
lerim_context_brief # noqa
lerim_working_memory # noqa
lerim_context_answer # noqa
lerim_context_search # noqa
lerim_context_feedback # noqa
lerim_records_list # noqa
lerim_trace_submit # noqa
lerim_ingest_status # noqa