Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
Merge remote-tracking branch 'origin/main' into claim/issue-4441
Adam Eivy33769f68f9af
diff --cc server/services/meatspacePostProgress.test.jsindex d7a209da91,65da67fe4f..52cb34b51f--- a/server/services/meatspacePostProgress.test.js+++ b/server/services/meatspacePostProgress.test.js@@@ -133,45 -133,7 +133,45 @@@ describe('getPostProgress bucketing', (expect(p.series.byDrill['multiplication'][0].date).toBe(d);});+ it('uses training as skill evidence without contaminating scored history (#4441)', async () => {+ const d = todayStr();+ state.training = [{+ id: 'attempt-1', runId: 'run-1', date: d, timestamp: `${d}T12:00:00.000Z`,+ module: 'mental-math', drillType: 'multiplication', difficulty: { level: 0 },+ questionCount: 2, correctCount: 1, score: 50, completion: 1, totalMs: 4000,+ questions: [q(true), q(false)],+ }];++ const [progress, stats] = await Promise.all([+ getPostProgress({ days: 30 }),+ getPostStats(30),+ ]);+ expect(progress.series.byDomain['mental-math'][0]).toMatchObject({ date: d, score: 50, accuracy: 0.5 });+ expect(progress.series.byDrill.multiplication[0]).toMatchObject({ date: d, score: 50, accuracy: 0.5 });+ expect(progress.series.byDay[0]).toMatchObject({ date: d, score: null, sessions: 0 });+ expect(stats).toMatchObject({+ sessionCount: 0,+ overall: null,+ evidenceByDrillCount: { 'mental-math:multiplication': 1 },+ evidenceByDrillAccuracy: { 'mental-math:multiplication': 0.5 },+ });+ });++ it('preserves irreconstructible legacy training scores as unknown', async () => {+ const d = todayStr();+ state.training = [{+ id: 'legacy-attempt', runId: 'legacy-run', date: d, timestamp: `${d}T12:00:00.000Z`,+ module: 'mental-math', drillType: 'multiplication', legacy: true,+ inputMode: 'unknown', scorerProvenance: 'legacy', totalMs: 1000,+ }];++ const progress = await getPostProgress({ days: 30 });+ expect(progress.series.byDomain['mental-math'][0]).toMatchObject({+ date: d, score: null, accuracy: null,+ });+ });+- it('includes a mastery block with the multiplication ladder and memory items', async () => {+ it('includes multiplication, cognitive evidence, and memory items in the mastery block', async () => {state.memoryItems = [{ id: 'm1', title: 'Elements', mastery: { overallPct: 42 }, schedule: { nextReview: '2000-01-01T00:00:00.000Z' } },];