brainiac-fizzy 0.0.39 → 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: 60b4756af9b9f1335e112cc739d5c035f8c93ed535356398d763f917348ccf41
4
- data.tar.gz: e4a275e05e713999788e05b004ce268ab0eccc09a8ddc964d55480d6c04e15ab
3
+ metadata.gz: 34d74e28e366e35990e7e5108ed1a129b291dcdfdb84cb331db34564fd98e511
4
+ data.tar.gz: d19f01e2606a50189fec1e9954366aaa48662e12f407400c9c5326c1acb13545
5
5
  SHA512:
6
- metadata.gz: 279fb38ec1cab40daf7d326c41235c6e2f8d57ef4c390263360ae9ae876e6d810bbde945fc1bd98f5a415e2c679b75eef07f17df560c2b0440441edc33e3a201
7
- data.tar.gz: 7eb192d8fca880504c1e0a4d8621a4a30d3c18c91c202117eb6e2395df4278ad84da9f2fa2a5009d7bdc7ee8b396cda9f169e2688dceeea11fe7f7e22f939f1d
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
- def dispatch_summarize_agent(card_number, card_title, branch, agent_name, project_config, worktree_path)
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
@@ -18,7 +18,12 @@ module Brainiac
18
18
  Cards move to "Right Now" when you're dispatched and to "Needs Review" when your session ends.
19
19
 
20
20
  ### Formatting
21
- **Fizzy comments use HTML, NOT Markdown.** Use `<h2>`/`<h3>` for sections, `<p>` for paragraphs, `<ul><li>` for lists, `<pre data-language="ruby">` for code blocks, `<strong>` for emphasis. Never use markdown syntax in Fizzy comments.
21
+ **Fizzy comments use HTML, NOT Markdown.** Use `<h2>`/`<h3>` for sections, `<p>` for paragraphs, `<ul><li>` for lists, `<pre data-language="ruby">` for code blocks, `<strong>` for emphasis, `<code>` for inline code. Never use markdown syntax in Fizzy comments.
22
+
23
+ **CRITICAL — wrap EVERY paragraph in its own `<p>` tag.** Blank lines are not
24
+ enough; raw line breaks collapse in HTML and your paragraphs squash into one
25
+ unreadable block. Right: `<p>First point.</p><p>Second point.</p>`. Wrong: two
26
+ lines separated by a blank line and no tags.
22
27
 
23
28
  ### Screenshots (MANDATORY for UI changes)
24
29
  If you touched any `.js`, `.jsx`, `.css`, or `.html` in a web app directory and `./scripts/screenshot-page.sh` exists, screenshot every affected page.
@@ -3,7 +3,7 @@
3
3
  module Brainiac
4
4
  module Plugins
5
5
  module Fizzy
6
- VERSION = "0.0.39"
6
+ VERSION = "0.0.41"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brainiac-fizzy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.39
4
+ version: 0.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Davis