ImBenji and Claude Opus 5
8f4d3b4ce9
fix: require live calibration to authorise a live order
...
Offline evidence can no longer authorise anything. createDecisions used to
prefer a live snapshot and fall back to the pooled historical one, so once the
live lane woke up a live prediction could have drawn a BUY off backfill data.
Backfill and replay are fine evidence that the pipeline works, they are not a
live track record.
No live snapshot now means ABSTAIN. The abstain says whether offline evidence
existed for that cohort, so "we have 60 offline samples but no live ones" stays
distinguishable from "we know nothing about this cohort".
Also split the health counter. It counted qualifying cohorts across every
source, which overstated how close we are to being able to trade now that only
live cohorts can authorise. It reports qualifying_live_cohorts and
qualifying_offline_cohorts separately, and applies the concentration cap it was
previously ignoring.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WnNxwxfXSbeNtjvtz5gayb
2026-08-29 22:22:36 +01:00
ImBenji and Claude Opus 5
6f1d1eee2d
fix: restart the stalled autonomy pipeline and make calibration honest
...
Archive ingestion had been dead since 2026-08-02 because nothing in the
compose stack actually ran it. Everything downstream starved from there.
- add ingest + enrichment services. server.js only starts the scheduler when
DURIIN_RUN_SCHEDULER is not "false", and workers/index.js was not running at
all, so articles never got event_id/content/has_embedding and the coordinator
had nothing to lease.
- pass an explicit origin from coordinatorWorker. it was never passed, so
acceptProposal defaulted to 'live' and 464 historical backfill predictions
were recorded as live. that also meant verifyEvidence got a null cutoff and
skipped its date check entirely.
- coarsen cohortKey to event families + horizon buckets. 201 free text event
types produced 221 cohorts averaging 2.76 samples, so the n>=30 gate could
never be reached and everything abstained for the wrong reason.
- gate on cohort diversity, not just sample count. one ticker was roughly half
of all resolved outcomes, so a pure count gate was measuring one company.
unknown diversity abstains rather than passing.
- resolve the admin archive db explicitly and probe it. it relied on a
Dockerfile symlink, and without it better-sqlite3 quietly creates an empty
file and serves a phantom archive.
- clamp implausible future publication dates at ingest.
- pin the db backend to sqlite by default. compose hardcoded postgres "true",
which would have overridden the operator's own .env on the next redeploy and
pointed everything at a stale snapshot.
scripts/repair-autonomy-labels.js relabels the affected rows. it is dry run by
default and has not been applied.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WnNxwxfXSbeNtjvtz5gayb
2026-08-29 21:43:24 +01:00
ImBenji
d778a02bfb
fix: make postgres the default runtime service
2026-08-19 09:12:44 +01:00
ImBenji
9eb59443bd
fix: support postgres pragma table info
2026-08-19 08:42:58 +01:00
ImBenji
8288bbc028
fix: stop eager admin page prefetch
2026-08-19 08:38:12 +01:00
ImBenji
7ff69ad99d
fix: use async postgres for autonomy http routes
2026-08-17 14:10:29 +01:00
ImBenji
aea0ed437e
fix: isolate autonomy postgres url
2026-08-17 14:05:31 +01:00
ImBenji
51649fbf5f
fix: pin postgres transaction clients
2026-08-17 14:02:59 +01:00
ImBenji
4c24b37af9
fix: keep postgres archive time lookup indexed
2026-08-17 13:59:13 +01:00
ImBenji
e239a5d41e
fix: cast postgres archive timestamps
2026-08-17 13:56:13 +01:00
ImBenji
f0b598a3b8
feat: support postgres autonomy runtime
2026-08-17 13:43:50 +01:00
ImBenji
4aa2367971
fix: calibrate from replay outcomes
2026-08-13 19:10:59 +01:00
ImBenji
c9c2d0c8ef
fix: recover transient coordinator dead letters
2026-08-13 19:02:41 +01:00
ImBenji
2c023c8962
fix: let replay recover from dead letter jobs
2026-08-08 23:32:41 +01:00
ImBenji
0344d5ca97
Revert "style: reduce modal title scale"
...
This reverts commit 2d5c0280de .
2026-08-04 22:39:50 +01:00
ImBenji
2d5c0280de
style: reduce modal title scale
2026-08-04 22:38:37 +01:00
ImBenji
0047adcb6d
fix: scrub invalid nul bytes during postgres migration
2026-08-04 22:35:50 +01:00
ImBenji
ffc85719ff
feat: add bounded postgres data migration stack
2026-08-04 22:09:23 +01:00
ImBenji
5877783862
feat: add isolated historical replay calibration
2026-08-04 22:00:11 +01:00
ImBenji
be18eb77f0
fix: cache background statistics response
2026-08-04 21:51:18 +01:00
ImBenji
b3a55fac08
perf: source statistics from the catalog
2026-08-04 21:50:02 +01:00
ImBenji
6e666838ba
perf: keep source aggregation off interactive requests
2026-08-04 21:48:44 +01:00
ImBenji
d020fa3811
perf: avoid full archive scans in statistics
2026-08-04 21:46:56 +01:00
ImBenji
f5f092cfb0
perf: compute archive stats off the API thread
2026-08-04 21:45:17 +01:00
ImBenji
002b7b320c
perf: remove blocking archive counts from navigation
2026-08-04 21:42:23 +01:00
ImBenji
2020a0fde2
fix: keep archive indexing off API startup
2026-08-04 21:39:20 +01:00
ImBenji
bd162606b6
perf: make admin navigation responsive
2026-08-04 21:36:39 +01:00
ImBenji
5680ee8a44
fix: prevent stale admin UI assets
2026-08-04 21:31:55 +01:00
ImBenji
b9ee10a83a
fix: serialize autonomy job leases
2026-08-04 21:07:42 +01:00
ImBenji
5037e1e192
feat: overhaul Duriin autonomy console
2026-08-04 21:05:47 +01:00
ImBenji
0724f5dc36
fix: run autonomy workers by default
2026-08-03 14:43:30 +01:00
ImBenji
c4028cc394
feat: add autonomous paper-trading and calibration pipeline
2026-08-03 14:03:27 +01:00
ImBenji
5a9a2e4c6d
refactor: load environment variables from .env file and update openRouter configuration
2026-04-27 19:08:54 +01:00
ImBenji
80d545fa6a
refactor: load environment variables from .env file and update openRouter configuration
2026-04-27 19:00:32 +01:00
ImBenji
1ec273a72b
refactor: load environment variables from .env file and update openRouter configuration
2026-04-27 18:39:35 +01:00
ImBenji
82abe0bcb3
refactor: load environment variables from .env file and update openRouter configuration
2026-04-27 18:02:20 +01:00
ImBenji
7ceaaf2401
refactor: load environment variables from .env file and update openRouter configuration
2026-04-27 17:43:48 +01:00
ImBenji
80236b9396
refactor: add env_file configuration to docker-compose.yml for environment variable management
2026-04-27 17:40:15 +01:00
ImBenji
1d77266cb2
refactor: enhance database URL handling in config.js for improved PostgreSQL connection setup
2026-04-27 17:38:41 +01:00
ImBenji
82df9da814
refactor: adjust directory navigation in rebuild-api.sh for improved script execution
2026-04-27 17:34:18 +01:00
ImBenji
94281b81e2
refactor: update worker commands and add new scripts for API rebuilding and queue feeding
2026-04-27 17:31:45 +01:00
ImBenji
f00b1a9640
refactor: update worker commands and add new scripts for API rebuilding and queue feeding
2026-04-27 17:30:52 +01:00
ImBenji
04966fac55
refactor: update worker commands and add new scripts for API rebuilding and queue feeding
2026-04-27 15:03:15 +01:00
ImBenji
b4df02da0d
migrate database from SQLite to PostgreSQL; add PostgreSQL adapter and migration script
2026-04-27 14:33:46 +01:00
ImBenji
653a58b3d8
refactor admin data queries; consolidate multiple count queries and optimize article fetching
2026-04-24 01:20:08 +01:00
ImBenji
a48b1eef67
refactor admin data queries; consolidate multiple count queries and optimize article fetching
2026-04-24 01:14:36 +01:00
ImBenji
0c852da511
add timestamp to signal cards; enhance display with generated-at information
2026-04-24 01:09:18 +01:00
ImBenji
e9c084b8d3
add timestamp to signal cards; enhance display with generated-at information
2026-04-24 01:04:31 +01:00
ImBenji
8e654ff467
refactor admin navigation; update links to ingest pages and improve loading of data in parallel
2026-04-24 00:57:32 +01:00
ImBenji
3c57896aa0
refactor admin navigation; update links to ingest pages and improve loading of data in parallel
2026-04-24 00:48:49 +01:00
ImBenji
1119ba015e
refactor admin navigation; update links to ingest pages and improve loading of data in parallel
2026-04-24 00:41:19 +01:00
ImBenji
50851320e3
refactor admin navigation; update links to ingest pages and improve loading of data in parallel
2026-04-24 00:32:53 +01:00
ImBenji
69206260d3
refactor admin navigation; update links to ingest pages and improve loading of data in parallel
2026-04-24 00:21:52 +01:00
ImBenji
fc7ea464b3
refactor admin navigation; update links to ingest pages and improve loading of data in parallel
2026-04-24 00:08:52 +01:00
ImBenji
16cd61fdf5
refactor button elements; change button types for search and filter actions in admin pages
2026-04-23 23:40:44 +01:00
ImBenji
eedd499262
refactor button elements; change button types for search and filter actions in admin pages
2026-04-23 23:33:00 +01:00
ImBenji
0dd258bd1d
refactor button elements; change button types for search and filter actions in admin pages
2026-04-23 23:24:36 +01:00
ImBenji
194442ec4c
add filtering and sorting features; enhance events and articles pages with URL state persistence
2026-04-23 23:03:11 +01:00
ImBenji
bec6763191
add intelligence features; implement signals and predictions pages in admin panel
2026-04-23 22:58:19 +01:00
ImBenji
4ffd31c2ab
add signal generation feature; implement signals view in admin panel
2026-04-23 22:08:46 +01:00
ImBenji
9d89dc95e4
add signal generation feature; implement signals view in admin panel
2026-04-23 22:00:36 +01:00
ImBenji
53058ab94d
add worker event tracking; implement worker rates display in admin panel
2026-04-23 20:24:23 +01:00
ImBenji
fb7ffc7cf1
add worker event tracking; implement worker rates display in admin panel
2026-04-23 20:19:10 +01:00
ImBenji
13d40fb530
add worker event tracking; implement worker rates display in admin panel
2026-04-23 18:25:57 +01:00
ImBenji
f6324faf91
add worker event tracking; implement worker rates display in admin panel
2026-04-23 17:35:28 +01:00
ImBenji
95b15c8d80
add worker event tracking; implement worker rates display in admin panel
2026-04-23 17:31:29 +01:00
ImBenji
e10de8fcec
add worker event tracking; implement worker rates display in admin panel
2026-04-23 17:26:15 +01:00
ImBenji
30104c6e66
add worker event tracking; implement worker rates display in admin panel
2026-04-23 17:13:57 +01:00
ImBenji
16d95f5392
merge parallel edges in graph visualization; update link representation to include combined types and max count
2026-04-23 17:03:37 +01:00
ImBenji
8588f4904f
merge parallel edges in graph visualization; update link representation to include combined types and max count
2026-04-23 16:58:46 +01:00
ImBenji
0bc62b0a9b
merge parallel edges in graph visualization; update link representation to include combined types and max count
2026-04-23 16:52:55 +01:00
ImBenji
3c436b0992
merge parallel edges in graph visualization; update link representation to include combined types and max count
2026-04-23 16:45:30 +01:00
ImBenji
e2e39f2836
add event_date column to event_knowledge and event_predictions tables; update related logic in admin panel and augorWorker
2026-04-23 16:41:29 +01:00
ImBenji
8d259eb4d1
add event_date column to event_knowledge and event_predictions tables; update related logic in admin panel and augorWorker
2026-04-23 16:27:35 +01:00
ImBenji
8aa10d9bc2
add event_date column to event_knowledge and event_predictions tables; update related logic in admin panel and augorWorker
2026-04-23 16:21:30 +01:00
ImBenji
c31f8b0b16
add event_date column to event_knowledge and event_predictions tables; update related logic in admin panel and augorWorker
2026-04-23 14:28:24 +01:00
ImBenji
8c20cf3817
add event_date column to event_knowledge and event_predictions tables; update related logic in admin panel and augorWorker
2026-04-23 14:20:13 +01:00
ImBenji
7830ca7221
add event_date column to event_knowledge and event_predictions tables; update related logic in admin panel and augorWorker
2026-04-23 14:01:02 +01:00
ImBenji
29c6cdc6c3
add event_date column to event_knowledge and event_predictions tables; update related logic in admin panel and augorWorker
2026-04-23 13:13:28 +01:00
ImBenji
d972569e54
update augorWorker to use openRouter configuration and set llmModel in config
2026-04-22 22:22:52 +01:00
ImBenji
f580e7f117
update augorWorker to use openRouter configuration and set llmModel in config
2026-04-22 22:12:16 +01:00
ImBenji
ca087eba5c
update augorWorker to use openRouter configuration and set llmModel in config
2026-04-22 22:06:59 +01:00
ImBenji
3ed86409d7
update augorWorker to use openRouter configuration and set llmModel in config
2026-04-22 22:00:45 +01:00
ImBenji
17107047fe
update augorWorker to use openRouter configuration and set llmModel in config
2026-04-22 21:15:35 +01:00
ImBenji
0fbdc21861
add intelligence and SQL tabs to admin interface with corresponding API endpoints
2026-04-22 21:02:46 +01:00
ImBenji
eaeffd003a
add intelligence and SQL tabs to admin interface with corresponding API endpoints
2026-04-22 20:59:28 +01:00
ImBenji
18d062fd2d
add intelligence and SQL tabs to admin interface with corresponding API endpoints
2026-04-22 20:50:08 +01:00
ImBenji
ac7c87c6cf
add intelligence worker and embedding generation for article processing
2026-04-22 20:12:38 +01:00
ImBenji
715172596f
add admin interface with article and event management features
2026-04-21 21:57:00 +01:00
ImBenji
81bcf40a8d
improve event processing by adding asynchronous handling for better performance
2026-04-21 13:03:00 +01:00
ImBenji
07cabf43e3
improve event processing by adding asynchronous handling for better performance
2026-04-21 12:46:30 +01:00
ImBenji
3c238fb5f7
add event clustering feature to group articles by similarity and time proximity
2026-04-21 12:45:22 +01:00
ImBenji
cb819e77ee
enhance article query capabilities by supporting multiple keywords and dynamic ordering
2026-04-21 11:42:21 +01:00
ImBenji
8805d3a3fc
enhance article processing by adding language support and adjusting embedding parameters
2026-04-20 03:41:10 +01:00
ImBenji
37d9dfb083
refactor content fetching and embedding processes for improved concurrency and error handling
2026-04-19 23:21:29 +01:00
ImBenji
6bf3a9282f
refactor content fetching and embedding processes for improved concurrency and error handling
2026-04-19 18:51:42 +01:00
ImBenji
b4b2fe2ac7
migrate article embeddings to support multi-model architecture and enhance data integrity
2026-04-19 00:28:15 +01:00
ImBenji
a10c5eb39f
migrate article embeddings to support multi-model architecture and enhance data integrity
2026-04-18 23:58:32 +01:00
ImBenji
1e442df426
migrate article embeddings to support multi-model architecture and enhance data integrity
2026-04-18 18:32:51 +01:00
ImBenji
3e74bd7286
migrate article embeddings to support multi-model architecture and enhance data integrity
2026-04-18 18:04:32 +01:00