brainiac-fizzy 0.0.40 → 0.0.41
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34d74e28e366e35990e7e5108ed1a129b291dcdfdb84cb331db34564fd98e511
|
|
4
|
+
data.tar.gz: d19f01e2606a50189fec1e9954366aaa48662e12f407400c9c5326c1acb13545
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 893db09393540283fe000debd1c281c7ee9e14928cd538bd1bf9a5d72aff5dca9db7d0ef79f3f3aa2df4a8adc637b8f01ec762cd621fad691ba927605fad71a6
|
|
7
|
+
data.tar.gz: 5115d36c013e2415604df82920076ea297284d5f27c19cecfaf3264c5d5af57d4df7272d2902b79a5dad2d01172ac2bc90338263bfa3bace8b7a7c2ffd9c5a56
|
|
@@ -32,7 +32,8 @@ module Brainiac
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
pid, log_file = dispatch_summarize_agent(card_number, card_title, branch, agent_name,
|
|
35
|
-
project_config, worktree_path
|
|
35
|
+
project_config, worktree_path,
|
|
36
|
+
overrides: work_item&.dig("overrides") || {})
|
|
36
37
|
register_session("card-#{card_number}-summarize", pid, log_file: log_file, agent_name: agent_name)
|
|
37
38
|
|
|
38
39
|
monitor_summarize_session(pid, card_number, agent_name, branch, repo_path, session_started_at,
|
|
@@ -98,7 +99,10 @@ module Brainiac
|
|
|
98
99
|
end
|
|
99
100
|
end
|
|
100
101
|
|
|
101
|
-
|
|
102
|
+
# Runs on the card's stored cli_provider/model/effort/profile so the summary comes from
|
|
103
|
+
# the same CLI that did the work (not the project default, e.g. kiro after a [cli:claude] run).
|
|
104
|
+
def dispatch_summarize_agent(card_number, card_title, branch, agent_name, project_config, worktree_path,
|
|
105
|
+
overrides: {})
|
|
102
106
|
prompt = render_prompt(Prompts::SUMMARIZE_WORK,
|
|
103
107
|
{ "CARD_NUMBER" => card_number, "CARD_TITLE" => card_title, "BRANCH" => branch },
|
|
104
108
|
brain_context: "", agent_name: agent_name, channel: :fizzy,
|
|
@@ -107,7 +111,9 @@ module Brainiac
|
|
|
107
111
|
run_agent(prompt,
|
|
108
112
|
project_config: project_config, chdir: worktree_path,
|
|
109
113
|
log_name: "summarize-#{card_number}", agent_name: agent_name,
|
|
110
|
-
source: :fizzy,
|
|
114
|
+
source: :fizzy, cli_provider: overrides["cli_provider"],
|
|
115
|
+
model: overrides["model"], explicit_model: overrides["model"] ? true : nil,
|
|
116
|
+
effort: overrides["effort"], profile: overrides["profile"],
|
|
111
117
|
source_context: { card_number: card_number, skip_summarize_redispatch: true },
|
|
112
118
|
skip_column_move: true)
|
|
113
119
|
end
|