@telora/daemon 0.15.50 → 0.15.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-info.json +566 -2
- package/dist/assembly-resolvers.d.ts.map +1 -1
- package/dist/assembly-resolvers.js +25 -2
- package/dist/assembly-resolvers.js.map +1 -1
- package/dist/build-info.d.ts +17 -0
- package/dist/build-info.d.ts.map +1 -0
- package/dist/build-info.js +43 -0
- package/dist/build-info.js.map +1 -0
- package/dist/delivery-artifacts.d.ts +26 -0
- package/dist/delivery-artifacts.d.ts.map +1 -0
- package/dist/delivery-artifacts.js +55 -0
- package/dist/delivery-artifacts.js.map +1 -0
- package/dist/delivery-lifecycle.d.ts +10 -0
- package/dist/delivery-lifecycle.d.ts.map +1 -1
- package/dist/delivery-lifecycle.js +18 -2
- package/dist/delivery-lifecycle.js.map +1 -1
- package/dist/directive-executor.d.ts.map +1 -1
- package/dist/directive-executor.js +7 -8
- package/dist/directive-executor.js.map +1 -1
- package/dist/focus-completion-event.js +1 -1
- package/dist/focus-completion-event.js.map +1 -1
- package/dist/focus-completion.d.ts +25 -26
- package/dist/focus-completion.d.ts.map +1 -1
- package/dist/focus-completion.js +57 -66
- package/dist/focus-completion.js.map +1 -1
- package/dist/focus-engine.d.ts.map +1 -1
- package/dist/focus-engine.js +19 -1
- package/dist/focus-engine.js.map +1 -1
- package/dist/focus-executor.d.ts +3 -3
- package/dist/focus-executor.js +4 -4
- package/dist/focus-executor.js.map +1 -1
- package/dist/focus-loop.js +1 -1
- package/dist/focus-loop.js.map +1 -1
- package/dist/focus-phase.d.ts +4 -0
- package/dist/focus-phase.d.ts.map +1 -1
- package/dist/focus-phase.js +15 -8
- package/dist/focus-phase.js.map +1 -1
- package/dist/listener-auto-advance.d.ts +24 -1
- package/dist/listener-auto-advance.d.ts.map +1 -1
- package/dist/listener-auto-advance.js +147 -19
- package/dist/listener-auto-advance.js.map +1 -1
- package/dist/listener.d.ts +1 -1
- package/dist/listener.js +4 -4
- package/dist/listener.js.map +1 -1
- package/dist/merge-back-loop.js +1 -1
- package/dist/merge-back-loop.js.map +1 -1
- package/dist/queries/deliveries.d.ts +6 -1
- package/dist/queries/deliveries.d.ts.map +1 -1
- package/dist/queries/deliveries.js +8 -1
- package/dist/queries/deliveries.js.map +1 -1
- package/dist/queries/migrations.d.ts +11 -0
- package/dist/queries/migrations.d.ts.map +1 -0
- package/dist/queries/migrations.js +15 -0
- package/dist/queries/migrations.js.map +1 -0
- package/dist/schema-version-gate.d.ts +51 -0
- package/dist/schema-version-gate.d.ts.map +1 -0
- package/dist/schema-version-gate.js +82 -0
- package/dist/schema-version-gate.js.map +1 -0
- package/dist/security-auto-inject.d.ts +15 -4
- package/dist/security-auto-inject.d.ts.map +1 -1
- package/dist/security-auto-inject.js +12 -4
- package/dist/security-auto-inject.js.map +1 -1
- package/dist/security-scan-engine.d.ts +9 -1
- package/dist/security-scan-engine.d.ts.map +1 -1
- package/dist/security-scan-engine.js +31 -12
- package/dist/security-scan-engine.js.map +1 -1
- package/dist/stage-classifier.js +5 -5
- package/dist/stage-classifier.js.map +1 -1
- package/dist/state-cascade.d.ts +10 -11
- package/dist/state-cascade.d.ts.map +1 -1
- package/dist/state-cascade.js +12 -22
- package/dist/state-cascade.js.map +1 -1
- package/dist/supabase.d.ts +1 -0
- package/dist/supabase.d.ts.map +1 -1
- package/dist/supabase.js +2 -0
- package/dist/supabase.js.map +1 -1
- package/dist/team-prompt-base.js +1 -1
- package/dist/team-prompt-base.js.map +1 -1
- package/dist/types/focus.d.ts +1 -1
- package/package.json +3 -3
package/build-info.json
CHANGED
|
@@ -1,4 +1,568 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commitSha": "
|
|
3
|
-
"builtAt": "2026-05-
|
|
2
|
+
"commitSha": "42501dba",
|
|
3
|
+
"builtAt": "2026-05-22T02:55:29.444Z",
|
|
4
|
+
"expectedMigrations": [
|
|
5
|
+
"20250829113330_create_org_nodes_table.sql",
|
|
6
|
+
"20250829113402_fix_function_security_search_path.sql",
|
|
7
|
+
"20250829122635_create_organizations_table_initial.sql",
|
|
8
|
+
"20250829124104_migrate_org_node_type_enum.sql",
|
|
9
|
+
"20250829125316_update_validate_hierarchy_flexible_structure.sql",
|
|
10
|
+
"20250829133504_fix_validate_hierarchy_select_statements.sql",
|
|
11
|
+
"20250829213007_recreate_validate_hierarchy_function.sql",
|
|
12
|
+
"20250829213038_fix_validate_hierarchy_trigger_drops.sql",
|
|
13
|
+
"20250831115838_create_teams_table.sql",
|
|
14
|
+
"20250831235057_create_issues_table.sql",
|
|
15
|
+
"20250901000000_create_delivery_team_metrics_table.sql",
|
|
16
|
+
"20250901000002_add_throughput_to_delivery_team_metrics.sql",
|
|
17
|
+
"20250901000003_add_predicted_future_scope_to_delivery_team_metrics.sql",
|
|
18
|
+
"20250901000004_add_predicted_issues_fields.sql",
|
|
19
|
+
"20250901012855_create_profiles_table.sql",
|
|
20
|
+
"20250901012926_fix_update_updated_at_search_path.sql",
|
|
21
|
+
"20250901013154_add_issue_type_columns_to_profiles.sql",
|
|
22
|
+
"20250901020752_create_team_metrics_table.sql",
|
|
23
|
+
"20250901023625_create_import_progress_table.sql",
|
|
24
|
+
"20250901025322_add_unique_team_metrics_constraint.sql",
|
|
25
|
+
"20250901030000_add_throughput_to_team_metrics.sql",
|
|
26
|
+
"20250901030001_create_increment_progress_function.sql",
|
|
27
|
+
"20250901031302_create_import_chunks_table.sql",
|
|
28
|
+
"20250901032442_drop_import_chunks_table.sql",
|
|
29
|
+
"20250901033718_add_statistics_columns_to_import_progress.sql",
|
|
30
|
+
"20250901040001_create_batch_increment_progress_function.sql",
|
|
31
|
+
"20250901124513_add_epic_decomposition_metrics_to_team_metrics.sql",
|
|
32
|
+
"20250901131145_add_bug_ratio_to_epic_metrics.sql",
|
|
33
|
+
"20250901132226_add_techdebt_ratio_to_epic_metrics.sql",
|
|
34
|
+
"20250901153147_fix_increment_batch_function_parameter_conflicts.sql",
|
|
35
|
+
"20250901153245_recreate_increment_import_progress_batch_function.sql",
|
|
36
|
+
"20250901153326_fix_increment_batch_function_search_path.sql",
|
|
37
|
+
"20250901190641_create_delivery_teams_table.sql",
|
|
38
|
+
"20250901192043_add_delivery_teams_foreign_keys.sql",
|
|
39
|
+
"20250902000001_add_predicted_transitions_fields.sql",
|
|
40
|
+
"20250905135751_restrict_data_access_by_organization.sql",
|
|
41
|
+
"20250905140449_fix_validate_hierarchy_search_path.sql",
|
|
42
|
+
"20250906111346_create_organizations_and_rls.sql",
|
|
43
|
+
"20250906111452_create_organizations_table.sql",
|
|
44
|
+
"20250912091518_add_missing_constraints.sql",
|
|
45
|
+
"20250912093031_remove_import_progress_table.sql",
|
|
46
|
+
"20250912120000_add_delivery_teams_foreign_key.sql",
|
|
47
|
+
"20250912120001_add_delivery_team_metrics_foreign_keys.sql",
|
|
48
|
+
"20250912120002_add_issue_teams_foreign_key.sql",
|
|
49
|
+
"20250912120003_add_all_missing_foreign_keys.sql",
|
|
50
|
+
"20250912120004_add_delivery_team_metrics_unique_constraint.sql",
|
|
51
|
+
"20250912120005_add_issues_key_unique_constraint.sql",
|
|
52
|
+
"20250912130000_fix_issues_cascade_delete.sql",
|
|
53
|
+
"20250912140000_add_start_date_to_delivery_teams.sql",
|
|
54
|
+
"20250919000001_add_story_point_distribution.sql",
|
|
55
|
+
"20250919000002_add_working_rhythm_stddev.sql",
|
|
56
|
+
"20250919000003_add_missing_team_metrics_columns.sql",
|
|
57
|
+
"20250919000004_fix_local_rls_policies.sql",
|
|
58
|
+
"20250919173638_add_team_estimation_configs.sql",
|
|
59
|
+
"20250921000001_create_scenario_tables.sql",
|
|
60
|
+
"20250921000002_add_target_dates.sql",
|
|
61
|
+
"20250921000003_add_scenario_epic_adjustments.sql",
|
|
62
|
+
"20250922000001_add_scenario_throughput_adjustments.sql",
|
|
63
|
+
"20250923000001_add_epic_size_counts_to_scenario_adjustments.sql",
|
|
64
|
+
"20250924000001_add_scenario_approval_workflow.sql",
|
|
65
|
+
"20250925000001_create_team_health_assessments_table.sql",
|
|
66
|
+
"20250927123042_create_unit_heatmap_configs.sql",
|
|
67
|
+
"20250929153848_create_scenario_manual_teams.sql",
|
|
68
|
+
"20250929160000_fix_unit_teams_foreign_keys.sql",
|
|
69
|
+
"20250930000001_create_portfolio_plans.sql",
|
|
70
|
+
"20250930000002_add_unique_approved_scenario_constraint.sql",
|
|
71
|
+
"20250930144900_add_relative_weeks_to_scenario_team_offsets.sql",
|
|
72
|
+
"20250930153000_add_scenario_start_date.sql",
|
|
73
|
+
"20250930153001_make_new_start_date_nullable.sql",
|
|
74
|
+
"20251001000001_remove_fixed_date_columns.sql",
|
|
75
|
+
"20251003092228_allow_zero_throughput.sql",
|
|
76
|
+
"20251005121622_add_scenario_plan_locking.sql",
|
|
77
|
+
"20251006000001_simplify_epic_adjustments_add_snapshots.sql",
|
|
78
|
+
"20251010000001_create_delivery_dependencies.sql",
|
|
79
|
+
"20251011000001_add_linked_scenario_id_to_dependencies.sql",
|
|
80
|
+
"20251011000002_add_flex_deps_to_scenarios.sql",
|
|
81
|
+
"20251011154402_add_flow_deps_to_scenarios.sql",
|
|
82
|
+
"20251012000001_change_lag_days_to_weeks.sql",
|
|
83
|
+
"20251012224327_add_stream_id_to_org_nodes.sql",
|
|
84
|
+
"20251012230420_create_milestone_tables.sql",
|
|
85
|
+
"20251014121211_add_portfolio_plan_to_dependencies.sql",
|
|
86
|
+
"20251014131608_fix_dependency_cycle_trigger.sql",
|
|
87
|
+
"20251016121555_create_team_dependencies.sql",
|
|
88
|
+
"20251017174601_add_team_dependency_auto_resolution.sql",
|
|
89
|
+
"20251019115242_add_workload_optimization.sql",
|
|
90
|
+
"20251019133032_fix_invalid_target_dates.sql",
|
|
91
|
+
"20251019140504_fix_issues_rls_policy.sql",
|
|
92
|
+
"20251019141415_relax_issues_rls_for_local_dev.sql",
|
|
93
|
+
"20251019142600_enable_shared_data_access.sql",
|
|
94
|
+
"20251025153712_add_portfolio_plan_approval_workflow.sql",
|
|
95
|
+
"20251025163952_add_portfolio_plan_unit_references.sql",
|
|
96
|
+
"20251026023111_remove_portfolio_plan_unit_references.sql",
|
|
97
|
+
"20251026115207_add_portfolio_plan_unit_selections.sql",
|
|
98
|
+
"20251027211054_add_organization_simulation_engine.sql",
|
|
99
|
+
"20251028014556_add_simulation_engine_config.sql",
|
|
100
|
+
"20251028023803_add_decomposition_throughput_stddev.sql",
|
|
101
|
+
"20251101103945_add_team_planned_throughput.sql",
|
|
102
|
+
"20251101134656_add_scenario_supply_overrides.sql",
|
|
103
|
+
"20251101205026_add_relative_modifiers_and_demand_supply_tracking.sql",
|
|
104
|
+
"20251102121206_add_team_financial_cost_tracking.sql",
|
|
105
|
+
"20251102121834_add_cost_data_privacy_policies.sql",
|
|
106
|
+
"20251103032632_add_delivery_budget_tracking.sql",
|
|
107
|
+
"20251104181313_create_programs_table.sql",
|
|
108
|
+
"20251104181403_create_program_deliveries_table.sql",
|
|
109
|
+
"20251104181451_add_programs_rls_policies.sql",
|
|
110
|
+
"20251105130738_add_program_status.sql",
|
|
111
|
+
"20251105133540_add_program_color.sql",
|
|
112
|
+
"20251108124459_add_planned_action_workflow.sql",
|
|
113
|
+
"20251109001104_add_goal_framework_tables.sql",
|
|
114
|
+
"20251109001850_add_okr_tables.sql",
|
|
115
|
+
"20251109233851_add_fast_goals_framework.sql",
|
|
116
|
+
"20251111013524_add_key_result_deliveries_junction_table.sql",
|
|
117
|
+
"20251111215225_add_delivery_prioritization.sql",
|
|
118
|
+
"20251111223930_add_organization_entity_priorities.sql",
|
|
119
|
+
"20251111224753_add_program_delivery_priorities.sql",
|
|
120
|
+
"20251113011451_create_organization_milestones_table.sql",
|
|
121
|
+
"20251113011512_create_milestone_deliveries_table.sql",
|
|
122
|
+
"20251113011529_create_milestone_dependencies_table.sql",
|
|
123
|
+
"20251113011559_add_milestones_rls_policies.sql",
|
|
124
|
+
"20251114155100_add_llm_api_tables.sql",
|
|
125
|
+
"20251114163059_add_organization_llm_api_keys.sql",
|
|
126
|
+
"20251114170055_add_clear_llm_api_key_function.sql",
|
|
127
|
+
"20251114183313_add_llm_rate_limit_setting.sql",
|
|
128
|
+
"20251122154056_add_epic_throughput_metric.sql",
|
|
129
|
+
"20251122154543_add_epic_throughput_to_health_assessments.sql",
|
|
130
|
+
"20251128145128_encrypt_llm_api_keys_with_vault.sql",
|
|
131
|
+
"20251202160242_add_goal_sets.sql",
|
|
132
|
+
"20251202171634_add_removed_at_to_goal_set_instances.sql",
|
|
133
|
+
"20251202174244_add_team_entity_type_to_goal_sets.sql",
|
|
134
|
+
"20251209032321_add_cntrlapi_jira_settings.sql",
|
|
135
|
+
"20251212134241_create_integration_connections.sql",
|
|
136
|
+
"20251212145103_add_delivery_import_source.sql",
|
|
137
|
+
"20251220184845_rename_to_external_data_sources.sql",
|
|
138
|
+
"20251220185447_create_external_projects.sql",
|
|
139
|
+
"20251220222918_add_default_scenario_support.sql",
|
|
140
|
+
"20251223131130_fix_portfolio_plan_unit_selections_rls.sql",
|
|
141
|
+
"20251223141704_add_potential_futures.sql",
|
|
142
|
+
"20251223141923_drop_portfolio_plans.sql",
|
|
143
|
+
"20251223221448_fix_external_data_sources_rls.sql",
|
|
144
|
+
"20251223222059_fix_scenarios_status_constraint.sql",
|
|
145
|
+
"20251226151823_fix_organization_goal_frameworks_rls.sql",
|
|
146
|
+
"20260101144520_add_directives_table.sql",
|
|
147
|
+
"20260102142525_add_directive_acknowledgement.sql",
|
|
148
|
+
"20260102145737_add_scenario_to_directives.sql",
|
|
149
|
+
"20260102151141_add_directive_resolution.sql",
|
|
150
|
+
"20260103182629_fix_external_projects_rls.sql",
|
|
151
|
+
"20260104031246_fix_issues_unique_constraint_per_delivery.sql",
|
|
152
|
+
"20260106214309_add_organization_members.sql",
|
|
153
|
+
"20260106214347_add_unit_permissions.sql",
|
|
154
|
+
"20260106214419_add_permission_functions.sql",
|
|
155
|
+
"20260106214457_add_permissions_rls.sql",
|
|
156
|
+
"20260124030043_add_ai_trackers.sql",
|
|
157
|
+
"20260124030429_add_ai_work_summaries.sql",
|
|
158
|
+
"20260127172148_fix_okr_rls_policies.sql",
|
|
159
|
+
"20260127173809_fix_key_result_deliveries_rls.sql",
|
|
160
|
+
"20260202131456_create_products_table.sql",
|
|
161
|
+
"20260202232301_add_product_id_to_org_nodes.sql",
|
|
162
|
+
"20260203022806_add_description_to_org_nodes.sql",
|
|
163
|
+
"20260203030347_add_delivery_context_and_ai_team_fields.sql",
|
|
164
|
+
"20260203142339_auto_approve_product_delivery_scenarios.sql",
|
|
165
|
+
"20260203142354_add_delivery_execution_status.sql",
|
|
166
|
+
"20260204020743_add_tracker_id_to_profiles.sql",
|
|
167
|
+
"20260204023456_migrate_ai_trackers_to_profiles.sql",
|
|
168
|
+
"20260204025750_add_profile_creation_trigger.sql",
|
|
169
|
+
"20260204041632_add_ai_orchestration_schema.sql",
|
|
170
|
+
"20260204123217_delivery_level_agent_assignment.sql",
|
|
171
|
+
"20260204124714_deprecate_issue_level_assignment.sql",
|
|
172
|
+
"20260204130906_seed_default_agent_roles.sql",
|
|
173
|
+
"20260204161207_add_repo_url_to_products.sql",
|
|
174
|
+
"20260204201929_remove_unused_queued_session_status.sql",
|
|
175
|
+
"20260205180144_remove_agent_role_concurrency_limits.sql",
|
|
176
|
+
"20260206010931_create_daemon_connections.sql",
|
|
177
|
+
"20260206011604_cleanup_stale_daemon_connections.sql",
|
|
178
|
+
"20260206011912_cascade_epic_status_trigger.sql",
|
|
179
|
+
"20260206124331_add_agent_session_completion_report.sql",
|
|
180
|
+
"20260208054335_create_product_strategies_table.sql",
|
|
181
|
+
"20260208141430_auto_create_org_on_signup.sql",
|
|
182
|
+
"20260208143116_fix_create_default_agent_roles.sql",
|
|
183
|
+
"20260208144610_fix_organization_rls_member_only.sql",
|
|
184
|
+
"20260208151748_drop_products_repo_url.sql",
|
|
185
|
+
"20260208171004_drop_unused_enterprise_tables.sql",
|
|
186
|
+
"20260208215339_add_queued_execution_status.sql",
|
|
187
|
+
"20260208215940_drop_scenario_trigger.sql",
|
|
188
|
+
"20260209041450_rename_epic_to_context_group.sql",
|
|
189
|
+
"20260209212850_strategy_level_agent_assignment.sql",
|
|
190
|
+
"20260209223144_add_verify_execution_status.sql",
|
|
191
|
+
"20260210022523_auto_complete_strategy.sql",
|
|
192
|
+
"20260210180716_update_execution_status_state_machine.sql",
|
|
193
|
+
"20260210193144_auto_complete_strategy.sql",
|
|
194
|
+
"20260210214708_add_iteration_started_at_column.sql",
|
|
195
|
+
"20260210230120_add_enable_agent_teams_to_org_nodes.sql",
|
|
196
|
+
"20260211001010_rename_milestone_to_priority_in_issues.sql",
|
|
197
|
+
"20260211001145_drop_orphaned_cntrlapi_profile_fields.sql",
|
|
198
|
+
"20260211010049_rename_beads_to_external_issue.sql",
|
|
199
|
+
"20260211024959_drop_dead_enums.sql",
|
|
200
|
+
"20260211165121_populate_agent_role_system_prompts.sql",
|
|
201
|
+
"20260211231226_add_pipeline_config_to_product_strategies.sql",
|
|
202
|
+
"20260212012713_create_playbook_tables.sql",
|
|
203
|
+
"20260212013433_seed_security_audit_playbook.sql",
|
|
204
|
+
"20260212022959_remove_security_audit_playbook_params.sql",
|
|
205
|
+
"20260212025339_update_security_audit_playbook_remediation_output.sql",
|
|
206
|
+
"20260212025936_seed_wcag_accessibility_audit_playbook.sql",
|
|
207
|
+
"20260212025937_seed_performance_audit_playbook.sql",
|
|
208
|
+
"20260212025938_seed_test_coverage_audit_playbook.sql",
|
|
209
|
+
"20260212025939_seed_technical_debt_audit_playbook.sql",
|
|
210
|
+
"20260212030351_seed_wcag_accessibility_audit_playbook.sql",
|
|
211
|
+
"20260212030459_seed_performance_audit_playbook.sql",
|
|
212
|
+
"20260212030618_seed_test_coverage_audit_playbook.sql",
|
|
213
|
+
"20260212030720_seed_technical_debt_audit_playbook.sql",
|
|
214
|
+
"20260212033116_fix_audit_playbook_delivery_creation_instructions.sql",
|
|
215
|
+
"20260212055115_update_audit_playbooks_one_delivery_per_audit.sql",
|
|
216
|
+
"20260212061730_add_tracker_expires_at_to_profiles.sql",
|
|
217
|
+
"20260212062022_tighten_rls_org_scoping.sql",
|
|
218
|
+
"20260212115642_create_workflow_tables.sql",
|
|
219
|
+
"20260212121358_add_workflow_stage_to_sessions.sql",
|
|
220
|
+
"20260212122208_create_policy_tables.sql",
|
|
221
|
+
"20260212124435_create_policy_evaluation_tables.sql",
|
|
222
|
+
"20260212125922_create_policy_and_routing_tables.sql",
|
|
223
|
+
"20260212225651_add_api_rate_limits.sql",
|
|
224
|
+
"20260212231727_encrypt_external_data_source_credentials.sql",
|
|
225
|
+
"20260212231806_mask_credentials_in_data_source_queries.sql",
|
|
226
|
+
"20260212231951_hash_ai_tracker_access_tokens.sql",
|
|
227
|
+
"20260212232236_add_llm_secret_expiration_tracking.sql",
|
|
228
|
+
"20260212232458_scheduled_cleanup_expired_secrets.sql",
|
|
229
|
+
"20260213155127_seed_gdpr_compliance_audit_playbook.sql",
|
|
230
|
+
"20260213160527_seed_soc2_type_ii_readiness_playbook.sql",
|
|
231
|
+
"20260213162037_seed_api_design_documentation_audit_playbook.sql",
|
|
232
|
+
"20260214031602_create_objectives_table.sql",
|
|
233
|
+
"20260214031730_create_key_results_table.sql",
|
|
234
|
+
"20260214031753_create_strategy_key_results_table.sql",
|
|
235
|
+
"20260214031814_add_okr_rls_policies.sql",
|
|
236
|
+
"20260214113215_add_git_state_to_deliveries.sql",
|
|
237
|
+
"20260214144230_fix_audit_playbook_one_delivery_per_area.sql",
|
|
238
|
+
"20260214151324_seed_user_documentation_audit_playbook.sql",
|
|
239
|
+
"20260214171043_fix_policy_engine_schema_alignment.sql",
|
|
240
|
+
"20260214174718_fix_resolve_human_routing_use_policy_blocks.sql",
|
|
241
|
+
"20260214181535_get_product_issue_transitions_rpc.sql",
|
|
242
|
+
"20260214182420_add_idx_agent_sessions_delivery_active.sql",
|
|
243
|
+
"20260214204813_get_product_escalations_rpc.sql",
|
|
244
|
+
"20260214214738_add_product_id_to_objectives.sql",
|
|
245
|
+
"20260215120045_cascade_delete_product_deliveries.sql",
|
|
246
|
+
"20260215134249_daemon_connections_unique_per_host.sql",
|
|
247
|
+
"20260215184243_drop_strategy_unique_name.sql",
|
|
248
|
+
"20260215212006_extend_workflow_tables_for_unified_system.sql",
|
|
249
|
+
"20260215212044_create_unified_workflow_tables.sql",
|
|
250
|
+
"20260215212118_add_workflow_stage_tracking_to_entities.sql",
|
|
251
|
+
"20260215212158_seed_builtin_workflows.sql",
|
|
252
|
+
"20260215212322_unified_workflow_sql_functions.sql",
|
|
253
|
+
"20260215212430_unified_workflow_rls_policies.sql",
|
|
254
|
+
"20260215212511_migrate_policy_data_to_workflow_system.sql",
|
|
255
|
+
"20260215225036_deprecate_enable_agent_teams.sql",
|
|
256
|
+
"20260215235932_drop_deprecated_policy_tables.sql",
|
|
257
|
+
"20260216005223_add_workflow_sets.sql",
|
|
258
|
+
"20260216031349_auto_advance_delivery_on_issue_active.sql",
|
|
259
|
+
"20260216032854_add_done_to_verify_transition.sql",
|
|
260
|
+
"20260216101013_remove_running_delivery_stage.sql",
|
|
261
|
+
"20260216102043_add_strategy_id_to_agent_sessions.sql",
|
|
262
|
+
"20260216115022_fix_regressed_delivery_statuses.sql",
|
|
263
|
+
"20260216125717_sync_issue_stage_from_status.sql",
|
|
264
|
+
"20260216142050_sync_delivery_stage_from_execution_status.sql",
|
|
265
|
+
"20260216145913_auto_advance_fire_on_status_column.sql",
|
|
266
|
+
"20260217033821_product_context_documents.sql",
|
|
267
|
+
"20260217040759_add_activity_summary.sql",
|
|
268
|
+
"20260217115557_add_agent_telemetry_tables.sql",
|
|
269
|
+
"20260217210000_idea_cloud_tables.sql",
|
|
270
|
+
"20260217213000_fix_idea_created_by_fk.sql",
|
|
271
|
+
"20260218114400_add_merge_commit_sha_to_org_nodes.sql",
|
|
272
|
+
"20260218120000_add_qa_columns_to_product_strategies.sql",
|
|
273
|
+
"20260218140000_ai_idea_source_columns.sql",
|
|
274
|
+
"20260218150000_auto_assign_delivery_priority_rank.sql",
|
|
275
|
+
"20260219010000_add_qa_columns_to_products.sql",
|
|
276
|
+
"20260219120000_create_strategy_worktrees.sql",
|
|
277
|
+
"20260219130000_add_product_sessions_and_issues_rpc.sql",
|
|
278
|
+
"20260220100000_add_model_to_telemetry_metrics.sql",
|
|
279
|
+
"20260220120000_add_read_only_audit_support.sql",
|
|
280
|
+
"20260220130000_create_factory_blueprints_and_instances.sql",
|
|
281
|
+
"20260220130100_create_factory_work_units_gates_sessions.sql",
|
|
282
|
+
"20260220200000_remove_gating_instance_status.sql",
|
|
283
|
+
"20260220210000_add_completion_gate_iterations.sql",
|
|
284
|
+
"20260220210001_clear_agent_on_strategy_deactivation.sql",
|
|
285
|
+
"20260220220000_add_trace_checks_to_blueprints.sql",
|
|
286
|
+
"20260221025712_add_cycle_evaluations_and_iteration_columns.sql",
|
|
287
|
+
"20260221080917_add_audit_config_to_blueprints.sql",
|
|
288
|
+
"20260221134332_add_review_requested_at_to_strategies.sql",
|
|
289
|
+
"20260221163636_create_factory_spec_tables.sql",
|
|
290
|
+
"20260221164453_seed_factory_spec_templates.sql",
|
|
291
|
+
"20260221220753_fix_get_product_sessions_strategy_link.sql",
|
|
292
|
+
"20260222113110_seed_factory_workflows.sql",
|
|
293
|
+
"20260222114355_add_workflow_stage_to_factory_tables.sql",
|
|
294
|
+
"20260222132321_update_cycle_count_guards_dynamic_value.sql",
|
|
295
|
+
"20260222140942_add_designing_instance_status.sql",
|
|
296
|
+
"20260222140943_add_factory_instance_id_to_strategies.sql",
|
|
297
|
+
"20260222142157_add_contracts_and_depends_on_to_strategies.sql",
|
|
298
|
+
"20260222142850_add_strategy_id_to_work_units.sql",
|
|
299
|
+
"20260222143738_add_execution_status_to_strategies.sql",
|
|
300
|
+
"20260222154725_name_execution_status_check_constraint.sql",
|
|
301
|
+
"20260222162524_add_spec_type_to_factory_specs.sql",
|
|
302
|
+
"20260222162537_seed_spec_type_templates.sql",
|
|
303
|
+
"20260222163513_add_completion_report_to_factory_instances.sql",
|
|
304
|
+
"20260222173858_spec_type_explicit_default_null.sql",
|
|
305
|
+
"20260222184750_add_spec_type_to_factory_instances.sql",
|
|
306
|
+
"20260222190801_add_last_completion_summary_to_factory_specs.sql",
|
|
307
|
+
"20260222204500_create_factory_telemetry_views.sql",
|
|
308
|
+
"20260222204759_add_planner_session_type.sql",
|
|
309
|
+
"20260222205534_add_agent_session_narration.sql",
|
|
310
|
+
"20260223093506_fix_user_doc_audit_no_code_changes.sql",
|
|
311
|
+
"20260223161937_add_factory_session_observability_columns.sql",
|
|
312
|
+
"20260223171153_backfill_delivery_merge_commit_sha.sql",
|
|
313
|
+
"20260223212916_add_metadata_to_telemetry_metrics.sql",
|
|
314
|
+
"20260223231126_add_last_claude_session_id_to_strategies.sql",
|
|
315
|
+
"20260224004514_fix_factory_workflow_org_scope.sql",
|
|
316
|
+
"20260224005500_drop_stale_factory_instance_status_constraint.sql",
|
|
317
|
+
"20260224025440_add_tech_context_to_product_strategies.sql",
|
|
318
|
+
"20260224120440_add_claude_session_id_to_factory_sessions.sql",
|
|
319
|
+
"20260224164210_add_cost_used_to_factory_instances.sql",
|
|
320
|
+
"20260224172143_add_execution_model_to_factory_blueprints.sql",
|
|
321
|
+
"20260224174938_seed_ai_maintainability_audit_playbook.sql",
|
|
322
|
+
"20260224174944_default_execution_model_team.sql",
|
|
323
|
+
"20260224175037_add_execution_model_to_telemetry_views.sql",
|
|
324
|
+
"20260224190709_add_factory_instance_entity_type.sql",
|
|
325
|
+
"20260224203817_strategy_level_gating_schema.sql",
|
|
326
|
+
"20260224204904_remove_work_unit_gating_statuses.sql",
|
|
327
|
+
"20260225002235_flip_blueprints_to_team_execution.sql",
|
|
328
|
+
"20260225002442_rename_work_unit_building_stage.sql",
|
|
329
|
+
"20260225011213_add_gate_fix_pending_status.sql",
|
|
330
|
+
"20260225120341_create_factory_execution_units.sql",
|
|
331
|
+
"20260225135953_add_execution_unit_id_to_factory_sessions.sql",
|
|
332
|
+
"20260225135959_add_execution_unit_count_check.sql",
|
|
333
|
+
"20260225161621_add_iterating_to_verify_transition.sql",
|
|
334
|
+
"20260225191115_add_gate_iteration_limits_and_timeout.sql",
|
|
335
|
+
"20260225211701_add_assigned_at_to_execution_units.sql",
|
|
336
|
+
"20260225212928_backfill_session_execution_unit_id.sql",
|
|
337
|
+
"20260225213406_add_blueprint_timeout_columns.sql",
|
|
338
|
+
"20260225222445_add_execution_signal_mode_to_blueprints.sql",
|
|
339
|
+
"20260225223819_switch_default_signal_mode_to_mcp.sql",
|
|
340
|
+
"20260225224557_drop_execution_signal_mode_column.sql",
|
|
341
|
+
"20260226003125_add_max_cost_budget_to_blueprints.sql",
|
|
342
|
+
"20260226131203_add_selected_model_to_llm_secrets.sql",
|
|
343
|
+
"20260226134358_fix_vault_available_check.sql",
|
|
344
|
+
"20260226134735_fix_vault_function_ownership.sql",
|
|
345
|
+
"20260226135235_fix_vault_decrypt_fallback.sql",
|
|
346
|
+
"20260226151546_use_vault_create_secret.sql",
|
|
347
|
+
"20260227130415_add_unit_id_to_products.sql",
|
|
348
|
+
"20260227203738_add_depends_on_to_issues.sql",
|
|
349
|
+
"20260227221105_create_execution_unit_templates.sql",
|
|
350
|
+
"20260227221106_add_pipeline_graph_to_blueprints.sql",
|
|
351
|
+
"20260227221552_seed_system_execution_unit_templates.sql",
|
|
352
|
+
"20260227233020_fix_execution_unit_template_config_key_casing.sql",
|
|
353
|
+
"20260228001946_add_current_pipeline_node_id.sql",
|
|
354
|
+
"20260228011751_add_control_state_to_strategies.sql",
|
|
355
|
+
"20260228011752_add_control_state_to_factory_instances.sql",
|
|
356
|
+
"20260228112625_add_spec_constraints_to_blueprints.sql",
|
|
357
|
+
"20260228231512_add_infrastructure_owned_to_work_units.sql",
|
|
358
|
+
"20260301000248_exclude_infra_units_from_metrics_views.sql",
|
|
359
|
+
"20260301091319_add_template_type_to_spec_templates.sql",
|
|
360
|
+
"20260301133046_add_completion_gate_enabled_to_blueprints.sql",
|
|
361
|
+
"20260302115200_create_deployment_profiles.sql",
|
|
362
|
+
"20260302153014_create_product_reports.sql",
|
|
363
|
+
"20260303121151_add_product_id_to_daemon_connections.sql",
|
|
364
|
+
"20260305140355_set_automatic_transitions_on_delivery_workflow.sql",
|
|
365
|
+
"20260305155726_add_qa_worktree_path_to_products.sql",
|
|
366
|
+
"20260305194839_add_session_type_to_agent_sessions.sql",
|
|
367
|
+
"20260305200052_add_git_diff_stats_to_agent_sessions.sql",
|
|
368
|
+
"20260305205827_create_git_activity_snapshots.sql",
|
|
369
|
+
"20260306131045_add_qa_services_to_products.sql",
|
|
370
|
+
"20260307171911_create_infrastructure_asset_management.sql",
|
|
371
|
+
"20260307172224_create_infrastructure_vault_helpers.sql",
|
|
372
|
+
"20260307173500_auto_close_context_groups.sql",
|
|
373
|
+
"20260311112543_add_in_review_delivery_stage.sql",
|
|
374
|
+
"20260311114458_seed_delivery_stage_descriptions.sql",
|
|
375
|
+
"20260313173707_add_view_mode_to_profiles.sql",
|
|
376
|
+
"20260314031011_add_product_ids_to_daemon_connections.sql",
|
|
377
|
+
"20260315230054_restore_missing_foreign_keys.sql",
|
|
378
|
+
"20260316021102_enhance_get_product_issues_rpc.sql",
|
|
379
|
+
"20260316021732_add_get_product_active_sessions_rpc.sql",
|
|
380
|
+
"20260316174034_remove_tracker_expiry.sql",
|
|
381
|
+
"20260316184013_create_product_save_points.sql",
|
|
382
|
+
"20260316184840_add_save_point_worktree_qa_columns.sql",
|
|
383
|
+
"20260316193114_add_save_point_restore_columns.sql",
|
|
384
|
+
"20260317144047_add_playbook_summaries_function.sql",
|
|
385
|
+
"20260318183024_add_is_platform_admin_to_profiles.sql",
|
|
386
|
+
"20260318183025_create_invite_codes_table.sql",
|
|
387
|
+
"20260318183026_extend_handle_new_user_invite_code.sql",
|
|
388
|
+
"20260318184231_add_daemon_hostname_to_products.sql",
|
|
389
|
+
"20260318193912_set_jeremy_platform_admin.sql",
|
|
390
|
+
"20260318193913_add_authenticated_read_invite_codes.sql",
|
|
391
|
+
"20260318193914_fix_invite_code_admin_and_rls.sql",
|
|
392
|
+
"20260318195128_add_email_to_invite_codes.sql",
|
|
393
|
+
"20260318200742_simplify_invite_codes_used_at.sql",
|
|
394
|
+
"20260319132738_add_strategy_execution_enum_values.sql",
|
|
395
|
+
"20260319132739_strategy_execution_workflow_stages.sql",
|
|
396
|
+
"20260319134152_add_agent_directive_to_workflow_stages.sql",
|
|
397
|
+
"20260319135830_populate_default_strategy_directives.sql",
|
|
398
|
+
"20260319223418_create_strategy_merges.sql",
|
|
399
|
+
"20260319225259_create_strategy_retrospectives.sql",
|
|
400
|
+
"20260320125847_rename_default_org_to_my_organization.sql",
|
|
401
|
+
"20260320133720_deployment_profile_templates.sql",
|
|
402
|
+
"20260320135033_deployment_profile_template_content.sql",
|
|
403
|
+
"20260320144609_fix_review_stage_directives.sql",
|
|
404
|
+
"20260320180558_update_review_directive_exit_signal.sql",
|
|
405
|
+
"20260322201038_add_strategies_to_realtime.sql",
|
|
406
|
+
"20260322205648_create_pm_tables.sql",
|
|
407
|
+
"20260322210218_add_pm_email_address_to_products.sql",
|
|
408
|
+
"20260323123045_backfill_delivery_product_id.sql",
|
|
409
|
+
"20260323161317_update_ai_maintainability_audit_playbook.sql",
|
|
410
|
+
"20260323162353_update_technical_debt_audit_playbook.sql",
|
|
411
|
+
"20260323162948_allow_manual_done_to_iterating_transition.sql",
|
|
412
|
+
"20260323165852_update_ai_maintainability_audit_v3.sql",
|
|
413
|
+
"20260323165853_update_technical_debt_audit_v3.sql",
|
|
414
|
+
"20260324114001_create_risks_table.sql",
|
|
415
|
+
"20260324114002_create_risk_risk_links_table.sql",
|
|
416
|
+
"20260324114003_create_risk_strategy_links_table.sql",
|
|
417
|
+
"20260324114004_create_risk_dependencies_table.sql",
|
|
418
|
+
"20260324114005_register_risk_workflow_entity_type.sql",
|
|
419
|
+
"20260324120001_create_risk_communications_table.sql",
|
|
420
|
+
"20260324190022_fix_risks_created_by_fkey.sql",
|
|
421
|
+
"20260325143654_remove_in_review_delivery_status.sql",
|
|
422
|
+
"20260325164459_review_directive_spawn_mode.sql",
|
|
423
|
+
"20260325194237_workflow_driven_prompts.sql",
|
|
424
|
+
"20260325204425_create_loop_data_tables.sql",
|
|
425
|
+
"20260325210159_add_loop_sources_to_building_directive.sql",
|
|
426
|
+
"20260325215800_create_reality_metrics_views_and_projections.sql",
|
|
427
|
+
"20260325221836_create_loop_variance_snapshots.sql",
|
|
428
|
+
"20260325223814_add_git_metrics_to_reality_views.sql",
|
|
429
|
+
"20260325223921_add_previous_variance_data.sql",
|
|
430
|
+
"20260326171237_restore_in_review_delivery_status.sql",
|
|
431
|
+
"20260326180858_add_is_agent_actionable_to_workflow_stages.sql",
|
|
432
|
+
"20260327121817_add_main_branch_and_branch_monitors_to_products.sql",
|
|
433
|
+
"20260327130141_update_review_directive_issues_only.sql",
|
|
434
|
+
"20260328123345_add_risk_reopen_transition.sql",
|
|
435
|
+
"20260328125206_add_p_since_to_get_product_sessions.sql",
|
|
436
|
+
"20260328125207_add_p_since_to_get_product_issue_transitions.sql",
|
|
437
|
+
"20260328125208_add_p_since_to_get_product_escalations.sql",
|
|
438
|
+
"20260328125510_add_exclude_done_to_get_product_issues.sql",
|
|
439
|
+
"20260329122647_create_report_templates.sql",
|
|
440
|
+
"20260329122813_seed_default_report_templates.sql",
|
|
441
|
+
"20260330115934_add_cycle_log_context_type.sql",
|
|
442
|
+
"20260330211121_fix_handle_new_user_avatar_url.sql",
|
|
443
|
+
"20260401133331_add_health_status_to_daemon_connections.sql",
|
|
444
|
+
"20260401164215_add_dashboard_pinned_to_infrastructure_assets.sql",
|
|
445
|
+
"20260403124926_create_client_billing_tables.sql",
|
|
446
|
+
"20260403140527_add_exit_category_to_agent_sessions.sql",
|
|
447
|
+
"20260403161037_create_reality_tree_tables.sql",
|
|
448
|
+
"20260404141559_add_edge_metadata.sql",
|
|
449
|
+
"20260404180329_add_node_seq.sql",
|
|
450
|
+
"20260404180442_fix_node_seq_per_tree.sql",
|
|
451
|
+
"20260404194704_enable_realtime_reality_trees.sql",
|
|
452
|
+
"20260404203124_add_frt_overlay_and_view_scope.sql",
|
|
453
|
+
"20260404205225_fix_frt_existing_data.sql",
|
|
454
|
+
"20260404213835_fix_injection_edge_scopes.sql",
|
|
455
|
+
"20260405114407_create_reality_tree_groups.sql",
|
|
456
|
+
"20260405130219_create_reality_tree_node_history.sql",
|
|
457
|
+
"20260406001931_injection_wiring_metadata.sql",
|
|
458
|
+
"20260406014133_drop_wiring_metadata.sql",
|
|
459
|
+
"20260406014851_add_targets_edge_type.sql",
|
|
460
|
+
"20260406015548_add_source_injection_id.sql",
|
|
461
|
+
"20260406194123_add_injections_to_building_assembly.sql",
|
|
462
|
+
"20260407111809_add_injection_lifecycle_triggers.sql",
|
|
463
|
+
"20260407204554_create_contracts_tables.sql",
|
|
464
|
+
"20260407204946_create_prerequisite_tree_tables.sql",
|
|
465
|
+
"20260408215445_add_refresh_requested_to_product_qa_status.sql",
|
|
466
|
+
"20260409104159_drop_client_billing_and_contracts.sql",
|
|
467
|
+
"20260413160458_add_prerequisite_tree_id_to_factory_instances.sql",
|
|
468
|
+
"20260413162454_add_acceptance_criteria_gate_config.sql",
|
|
469
|
+
"20260413170140_add_execution_profile_to_blueprints.sql",
|
|
470
|
+
"20260414162533_add_invite_codes_org_and_used_by.sql",
|
|
471
|
+
"20260414180026_fix_invite_signup_own_org.sql",
|
|
472
|
+
"20260414181221_add_org_join_links.sql",
|
|
473
|
+
"20260414183723_fix_handle_new_user_no_hard_gate.sql",
|
|
474
|
+
"20260415134427_create_component_architecture.sql",
|
|
475
|
+
"20260416175300_add_protected_paths_to_deployment_profiles.sql",
|
|
476
|
+
"20260416175427_deployment_profile_two_mode_preamble.sql",
|
|
477
|
+
"20260425104122_add_connect_tokens.sql",
|
|
478
|
+
"20260425115447_add_redeem_connect_token_fn.sql",
|
|
479
|
+
"20260428120242_unbound_connect_tokens.sql",
|
|
480
|
+
"20260428120258_redeem_unbound_token_creates_product.sql",
|
|
481
|
+
"20260429212947_wiki_schema_foundation.sql",
|
|
482
|
+
"20260429213146_backfill_wiki_pages_from_context_documents.sql",
|
|
483
|
+
"20260429213418_drop_legacy_context_documents.sql",
|
|
484
|
+
"20260429215420_wiki_search_rpc.sql",
|
|
485
|
+
"20260429220335_wiki_editing_rpcs.sql",
|
|
486
|
+
"20260430021556_wiki_embedding_rpcs.sql",
|
|
487
|
+
"20260430022235_wiki_in_review_directive_example.sql",
|
|
488
|
+
"20260430022427_seed_wiki_audit_playbook.sql",
|
|
489
|
+
"20260430140518_wiki_hierarchy_schema.sql",
|
|
490
|
+
"20260430142848_wiki_audit_playbook_hierarchy.sql",
|
|
491
|
+
"20260430145259_wiki_hierarchy_telora_curation.sql",
|
|
492
|
+
"20260501112303_create_impersonation_sessions.sql",
|
|
493
|
+
"20260501203858_rename_strategy_to_focus.sql",
|
|
494
|
+
"20260501221417_bulk_queue_planning_deliveries_on_focus_activation.sql",
|
|
495
|
+
"20260501221858_enforce_delivery_scoping_mandate.sql",
|
|
496
|
+
"20260501222835_add_created_by_role_id_to_issues.sql",
|
|
497
|
+
"20260503132446_focus_workflow_execution_phases.sql",
|
|
498
|
+
"20260503140420_focus_phase_directives.sql",
|
|
499
|
+
"20260503143910_drop_legacy_focus_stage_triggers.sql",
|
|
500
|
+
"20260503144709_drop_dead_focus_status_values.sql",
|
|
501
|
+
"20260503154415_focus_workflow_phase_reshape_repair.sql",
|
|
502
|
+
"20260504003522_focus_workflow_phase_reshape_repair_fix.sql",
|
|
503
|
+
"20260507151700_create_admin_user_actions.sql",
|
|
504
|
+
"20260507170335_rename_strategy_workflow_to_focus_workflow.sql",
|
|
505
|
+
"20260507171325_focus_rename_residue_cleanup.sql",
|
|
506
|
+
"20260507210324_add_focus_phase_back_edge_transitions.sql",
|
|
507
|
+
"20260507214050_repair_focus_phase_back_edge_uuids.sql",
|
|
508
|
+
"20260508094135_drop_okr_tables.sql",
|
|
509
|
+
"20260508094924_drop_idea_tables.sql",
|
|
510
|
+
"20260508095538_drop_pm_tables.sql",
|
|
511
|
+
"20260508095957_drop_component_tables.sql",
|
|
512
|
+
"20260508102057_drop_qa_and_save_points.sql",
|
|
513
|
+
"20260508113100_focus_status_human_controlled.sql",
|
|
514
|
+
"20260508113458_rename_auto_complete_focus.sql",
|
|
515
|
+
"20260508143523_drop_orphan_enum_types.sql",
|
|
516
|
+
"20260510152106_add_focus_id_to_reality_trees.sql",
|
|
517
|
+
"20260510152110_add_injection_id_to_product_deliveries.sql",
|
|
518
|
+
"20260510152114_deprecate_factory_tables.sql",
|
|
519
|
+
"20260510155840_add_focus_iteration_loop_state.sql",
|
|
520
|
+
"20260510160500_add_prt_metadata_to_reality_tree_nodes.sql",
|
|
521
|
+
"20260510161700_add_delivery_verification_fields.sql",
|
|
522
|
+
"20260510162518_create_crt_drift_proposals.sql",
|
|
523
|
+
"20260510170342_injection_id_org_boundary_trigger.sql",
|
|
524
|
+
"20260510172500_drop_factory_tables.sql",
|
|
525
|
+
"20260511030838_verify_linked_injections_trigger.sql",
|
|
526
|
+
"20260511030946_append_loop_resolvers_to_default_directives.sql",
|
|
527
|
+
"20260511111336_set_iterating_agent_actionable.sql",
|
|
528
|
+
"20260511144511_add_escalation_kind_and_metadata.sql",
|
|
529
|
+
"20260511222959_create_audit_runs.sql",
|
|
530
|
+
"20260512194215_create_focus_reviews.sql",
|
|
531
|
+
"20260512195112_add_last_review_report_to_dev_stage_assembly.sql",
|
|
532
|
+
"20260512201146_focus_review_complete_atomic_trigger.sql",
|
|
533
|
+
"20260512211431_create_reality_tree_reassessments.sql",
|
|
534
|
+
"20260513002838_focus_debug_artifacts.sql",
|
|
535
|
+
"20260513152817_focus_workflow_lifecycle_and_tree_closure.sql",
|
|
536
|
+
"20260513153715_add_review_nonconvergent_escalation_kind.sql",
|
|
537
|
+
"20260513153910_add_close_loop_escalation_kinds.sql",
|
|
538
|
+
"20260513194858_append_focus_reality_tree_to_default_directives.sql",
|
|
539
|
+
"20260518093856_rename_iterating_to_awaiting_verify.sql",
|
|
540
|
+
"20260518094814_make_verify_gate_deterministic.sql",
|
|
541
|
+
"20260518095924_add_daemon_gate_stuck_escalation_kind.sql",
|
|
542
|
+
"20260518133611_done_work_artifact_drift.sql",
|
|
543
|
+
"20260518133711_create_promotions.sql",
|
|
544
|
+
"20260518155910_add_drift_eval_requested_at_to_focuses.sql",
|
|
545
|
+
"20260519134115_delete_legacy_product_scoped_reality_trees.sql",
|
|
546
|
+
"20260519134317_lock_reality_trees_focus_scoped.sql",
|
|
547
|
+
"20260519134341_add_focus_kind_to_product_focuses.sql",
|
|
548
|
+
"20260519134420_seed_security_workflow.sql",
|
|
549
|
+
"20260519134510_security_focus_trigger_and_backfill.sql",
|
|
550
|
+
"20260519135047_create_security_scan_tables.sql",
|
|
551
|
+
"20260519141700_create_security_finding_audit.sql",
|
|
552
|
+
"20260519164415_security_assignment_guard_and_scan_config_seed.sql",
|
|
553
|
+
"20260519202537_add_security_visible_to_members_to_organizations.sql",
|
|
554
|
+
"20260520102535_simplify_security_model.sql",
|
|
555
|
+
"20260520153952_security_findings_dashboard_counts.sql",
|
|
556
|
+
"20260520162656_drop_manually_remediated_audit_action.sql",
|
|
557
|
+
"20260520201015_unlink_security_finding_on_delivery_cancel.sql",
|
|
558
|
+
"20260521131204_seed_security_agent_role.sql",
|
|
559
|
+
"20260521133745_security_workflow_advisory_directive.sql",
|
|
560
|
+
"20260521134026_backfill_security_delivery_injection_ids.sql",
|
|
561
|
+
"20260521170707_seed_security_remediation_checklist_wiki_page.sql",
|
|
562
|
+
"20260521171014_security_coding_stage_persona_and_ac.sql",
|
|
563
|
+
"20260521173038_rename_awaiting_verify_to_verify_failed.sql",
|
|
564
|
+
"20260521233716_daemon_get_applied_migrations.sql",
|
|
565
|
+
"20260521233717_drop_product_rt_and_prt.sql",
|
|
566
|
+
"20260522000436_collapse_in_review_into_verify.sql"
|
|
567
|
+
]
|
|
4
568
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assembly-resolvers.d.ts","sourceRoot":"","sources":["../src/assembly-resolvers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA2LH,eAAO,MAAM,cAAc,QAAY,CAAC;AAYxC;;;GAGG;AACH,wBAAgB,UAAU,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAU3E;
|
|
1
|
+
{"version":3,"file":"assembly-resolvers.d.ts","sourceRoot":"","sources":["../src/assembly-resolvers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA2LH,eAAO,MAAM,cAAc,QAAY,CAAC;AAYxC;;;GAGG;AACH,wBAAgB,UAAU,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAU3E;AA+wCD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,QAAQ,GAAG,UAAU,CAAC;CAC/B;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,QAAQ,GAAG,kBAAkB,GAAG,gBAAgB,GAAG,WAAW,CAAC;IACzE,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;IAC5C,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B,eAAe,EAAE,UAAU,GAAG,aAAa,GAAG,UAAU,GAAG,UAAU,GAAG,IAAI,CAAC;IAC7E,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,YAAY,GAAG,KAAK,GAAG,cAAc,GAAG,SAAS,CAAC;CAC7D;AAED,MAAM,WAAW,gBAAgB;IAAG,KAAK,EAAE,cAAc,EAAE,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE;AACjF,MAAM,WAAW,gBAAgB;IAAG,KAAK,EAAE,cAAc,EAAE,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE;AAEjF,eAAO,MAAM,qBAAqB,QAAS,CAAC;AA2D5C,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,cAAc,EACpB,KAAK,EAAE,cAAc,EAAE,EACvB,KAAK,EAAE,cAAc,EAAE,EACvB,WAAW,EAAE,MAAM,GAClB,MAAM,CAsER;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,8BAA8B,QAG0C,CAAC"}
|
|
@@ -349,6 +349,8 @@ function pickString(payload, keys) {
|
|
|
349
349
|
return null;
|
|
350
350
|
}
|
|
351
351
|
const ADVISORY_EVIDENCE_BUDGET = 500;
|
|
352
|
+
const SECURITY_ADVISORY_SECTION_BUDGET_CHARS = 10_000;
|
|
353
|
+
const SECURITY_ADVISORY_TRUNCATION_FOOTER = '\n\n_[truncated: section budget reached]_';
|
|
352
354
|
function formatAdvisorySection(advisory) {
|
|
353
355
|
const payload = advisory.payload ?? {};
|
|
354
356
|
const lines = [];
|
|
@@ -388,13 +390,31 @@ function formatAdvisorySection(advisory) {
|
|
|
388
390
|
registerSourceResolver('security.advisory', async (context) => {
|
|
389
391
|
if (context.deliveryIds.length === 0)
|
|
390
392
|
return '';
|
|
393
|
+
const header = '## Security Advisory\n\n';
|
|
394
|
+
// Reserve the footer length so that even the worst-case truncated output
|
|
395
|
+
// (header + body filled to sectionsBudget + footer) stays within the 10k cap.
|
|
396
|
+
const sectionsBudget = SECURITY_ADVISORY_SECTION_BUDGET_CHARS - header.length - SECURITY_ADVISORY_TRUNCATION_FOOTER.length;
|
|
391
397
|
const sections = [];
|
|
398
|
+
let used = 0;
|
|
399
|
+
let truncated = false;
|
|
392
400
|
for (const deliveryId of context.deliveryIds) {
|
|
401
|
+
if (used >= sectionsBudget) {
|
|
402
|
+
truncated = true;
|
|
403
|
+
break;
|
|
404
|
+
}
|
|
393
405
|
try {
|
|
394
406
|
const result = await callApi('daemon_get_security_advisory_for_delivery', { deliveryId });
|
|
395
407
|
if (!result.advisory)
|
|
396
408
|
continue;
|
|
397
|
-
|
|
409
|
+
const formatted = formatAdvisorySection(result.advisory);
|
|
410
|
+
// Account for the inter-section separator that will be inserted.
|
|
411
|
+
const separator = sections.length > 0 ? 2 : 0;
|
|
412
|
+
if (used + separator + formatted.length > sectionsBudget) {
|
|
413
|
+
truncated = true;
|
|
414
|
+
break;
|
|
415
|
+
}
|
|
416
|
+
sections.push(formatted);
|
|
417
|
+
used += separator + formatted.length;
|
|
398
418
|
}
|
|
399
419
|
catch (err) {
|
|
400
420
|
console.warn(`[assembly-engine] security.advisory for delivery ${deliveryId} failed: ${err.message}`);
|
|
@@ -402,7 +422,10 @@ registerSourceResolver('security.advisory', async (context) => {
|
|
|
402
422
|
}
|
|
403
423
|
if (sections.length === 0)
|
|
404
424
|
return '';
|
|
405
|
-
|
|
425
|
+
const body = sections.join('\n\n');
|
|
426
|
+
return truncated
|
|
427
|
+
? `${header}${body}${SECURITY_ADVISORY_TRUNCATION_FOOTER}`
|
|
428
|
+
: `${header}${body}`;
|
|
406
429
|
});
|
|
407
430
|
/**
|
|
408
431
|
* wiki.search(query=...)
|