feat: Unraid deploy, dealer-flow heatmap, confluence zones, 13F capture
CI / Test (push) Canceled after 0s
CI / Build and push (push) Canceled after 0s

Ship Node production images, Unraid compose, and Gitea CI/CD (test then
push registry images; cron script if no runner). Rebuild dealer flow as a
heatmap-first map with integrity gates and chart helpers. Add confluence
zone rules, session clock, capture evidence, and tighter 13F/queue/options
paths, plus the matching UI and tests.
This commit is contained in:
Investor Flow Build
2026-08-18 14:10:02 -04:00
parent f7efea2178
commit 90e1829d39
113 changed files with 7606 additions and 1947 deletions
@@ -57,12 +57,13 @@ export function redundancyGroupFor(slotId: string): RedundancyGroup | undefined
* `REDUNDANCY_DISCOUNT` of the previous marginal — so N same-group firings
* weigh 1 + 0.5 + 0.25 + ... , never N.
*/
export function groupWeight(firingSlotIds: string[]): number {
export function groupWeight(firingSlotIds: string[], weights?: ReadonlyMap<string, number>): number {
if (firingSlotIds.length === 0) return 0;
let w = 0;
let margin = 1;
for (let i = 0; i < firingSlotIds.length; i++) {
w += margin;
for (const id of firingSlotIds) {
const slotW = weights?.get(id) ?? 1;
w += margin * slotW;
margin *= REDUNDANCY_DISCOUNT;
}
return w;