"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const TeammateBoard_1 = require("./orchestrator/TeammateBoard");
const SkillLearningLoop_1 = require("./orchestrator/SkillLearningLoop");
const t = new TeammateBoard_1.TeammateBoardStore('testws');
t.upsert({ id: 'card1', workspaceId: 'testws', owner: 'agent-x', status: 'blocked', title: 'Investigate issue', blockers: ['missing token'], comments: ['waiting user'], updatedAt: new Date().toISOString() });
if (!t.list().length)
    throw new Error('teammate board should persist card');
const l = new SkillLearningLoop_1.SkillLearningLoopStore('testws');
const c = l.add('task_1', 'A robust deployment and rollback procedure was established.');
if (!c.id)
    throw new Error('learning candidate should be created');
if (!l.list().length)
    throw new Error('learning list should not be empty');
console.log('TEST_TEAMMATE_LEARNING_OK');
