"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MemoryNamespacePolicy = void 0;
class MemoryNamespacePolicy {
    decide(input) {
        const namespace = {
            project: input.project || 'default',
            user: input.user,
            agent: input.agent,
            squad: input.squad,
            domain: input.domain || 'general'
        };
        const types = input.missionType === 'runtime'
            ? ['working', 'episodic', 'semantic']
            : input.missionType === 'engineering'
                ? ['episodic', 'semantic']
                : input.missionType === 'research'
                    ? ['semantic', 'temporal']
                    : ['working', 'episodic', 'semantic', 'profile'];
        return {
            namespace,
            types,
            rationale: `Namespace resolvido para project=${namespace.project}, user=${namespace.user || 'n/a'}, domain=${namespace.domain}, missionType=${input.missionType || 'general'}`
        };
    }
}
exports.MemoryNamespacePolicy = MemoryNamespacePolicy;
