• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Freegle / Iznik / 27212
72%

Build:
DEFAULT BRANCH: master
Ran 15 Jul 2026 09:12AM UTC
Jobs 4
Files 1404
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Jul 2026 08:49AM UTC coverage: 72.311%. Remained the same
27212

push

circleci

edwh
fix(monitor-fsm): recover the brain's JSON decision from prose preambles

The FSM brain (a reasoning model, currently claude-opus-4-8) frequently wraps
its JSON decision in natural language - "I need to...", "The FSM ac..." - which
made ai-flower's JSON.parse throw "Unexpected token 'I'". sanitizeLLMDecision
only stripped markdown fences, so on that failure it returned the raw prose
unchanged, validation failed after 3 retries, and the iteration force-advanced
to COVERAGE_GATE with zero PRs. Two consecutive live iterations produced no
fixes for exactly this reason.

Extract the JSON out of the prose: pull the first balanced JSON object/array
(ignoring braces inside strings) and, when one is found, return it instead of
the raw text. Moved the repair into a testable module (src/llm-json.ts) with
unit tests covering the two real preambles observed in the logs.

13037 of 17188 branches covered (75.85%)

Branch coverage included in aggregate %.

136449 of 189539 relevant lines covered (71.99%)

37.87 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
95.0
-0.56% iznik-batch/app/Services/AutoRepostService.php
Jobs
ID Job ID Ran Files Coverage
27212 go - 27212 15 Jul 2026 09:12AM UTC 152
83.48
CircleCI Job 27212
27212 laravel - 27212 15 Jul 2026 09:12AM UTC 496
69.17
CircleCI Job 27212
27212 vitest - 27212 15 Jul 2026 09:12AM UTC 755
70.4
CircleCI Job 27212
27212 playwright - 27212 15 Jul 2026 09:12AM UTC 74
22.21
CircleCI Job 27212
Source Files on build 27212
  • Tree
  • List 1404
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #27212
  • b2e1c4db on github
  • Prev Build on master (#27197)
  • Next Build on master (#27227)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc