@openlife/cli 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INSTALL.md +266 -0
- package/LICENSE +21 -0
- package/README.md +142 -0
- package/bin/openlife.js +3 -0
- package/dist/admin_panel_server.js +66 -0
- package/dist/cli/AgentManager.js +109 -0
- package/dist/cli/AutonomousInstaller.js +134 -0
- package/dist/cli/DreamOrganizer.js +88 -0
- package/dist/cli/HostInstaller.js +426 -0
- package/dist/cli/InstallBanner.js +16 -0
- package/dist/cli/InstallFlow.js +256 -0
- package/dist/cli/InstallHeadless.js +47 -0
- package/dist/cli/InstallModules.js +148 -0
- package/dist/cli/InstallStateStore.js +75 -0
- package/dist/cli/InstallWizard.js +364 -0
- package/dist/cli/ProfileManager.js +163 -0
- package/dist/cli/SystemInstaller.js +89 -0
- package/dist/cli/WorldClassCommands.js +208 -0
- package/dist/design/DesignMdImporter.js +82 -0
- package/dist/design/DesignMdMode.js +93 -0
- package/dist/design/DesignMdRegistry.js +67 -0
- package/dist/index.js +2575 -0
- package/dist/memory/ConversationMemory.js +33 -0
- package/dist/memory/LocalMemoryProvider.js +86 -0
- package/dist/memory/Mem0Provider.js +16 -0
- package/dist/memory/MemoryNamespacePolicy.js +27 -0
- package/dist/memory/MemoryOrchestrator.js +65 -0
- package/dist/memory/MemoryPromotionFlow.js +32 -0
- package/dist/memory/MemoryProvider.js +2 -0
- package/dist/memory/MemoryProviderRegistry.js +27 -0
- package/dist/memory/MemoryRetentionPolicy.js +60 -0
- package/dist/memory/MempalaceProvider.js +72 -0
- package/dist/memory/OmniMemory.js +106 -0
- package/dist/memory/RedisAgentMemoryProvider.js +16 -0
- package/dist/memory/SessionManager.js +86 -0
- package/dist/memory/ZepGraphitiProvider.js +16 -0
- package/dist/orchestrator/AgentRegistry.js +56 -0
- package/dist/orchestrator/AgentScoring.js +82 -0
- package/dist/orchestrator/AgentTeam.js +22 -0
- package/dist/orchestrator/ArbitrationAgent.js +43 -0
- package/dist/orchestrator/ArbitrationScorecard.js +17 -0
- package/dist/orchestrator/AssetPromotionEngine.js +65 -0
- package/dist/orchestrator/AssetReuseRouter.js +63 -0
- package/dist/orchestrator/BenchmarkEngine.js +75 -0
- package/dist/orchestrator/Brain.js +298 -0
- package/dist/orchestrator/CadenceEngine.js +76 -0
- package/dist/orchestrator/CapabilityRouter.js +36 -0
- package/dist/orchestrator/CommandLanguage.js +27 -0
- package/dist/orchestrator/CommandRouter.js +70 -0
- package/dist/orchestrator/ConsequenceForecaster.js +286 -0
- package/dist/orchestrator/CronManager.js +286 -0
- package/dist/orchestrator/DynamicAgentBuilder.js +48 -0
- package/dist/orchestrator/DynamicAgentExecutor.js +15 -0
- package/dist/orchestrator/EnterpriseAgenticCore.js +276 -0
- package/dist/orchestrator/ExecutionBoard.js +86 -0
- package/dist/orchestrator/ExecutionIntent.js +13 -0
- package/dist/orchestrator/ExecutionModePolicy.js +48 -0
- package/dist/orchestrator/ExecutionRouter.js +9 -0
- package/dist/orchestrator/ExecutionState.js +20 -0
- package/dist/orchestrator/ExecutorHealth.js +86 -0
- package/dist/orchestrator/ExternalCatalogRegistry.js +83 -0
- package/dist/orchestrator/Gatekeeper.js +414 -0
- package/dist/orchestrator/Gateway.js +508 -0
- package/dist/orchestrator/GovernanceConsentStore.js +66 -0
- package/dist/orchestrator/GovernanceLayer.js +179 -0
- package/dist/orchestrator/GovernancePolicyStore.js +53 -0
- package/dist/orchestrator/GovernanceScopeLedger.js +134 -0
- package/dist/orchestrator/GovernanceScopePolicy.js +67 -0
- package/dist/orchestrator/IntentClassifier.js +45 -0
- package/dist/orchestrator/JobLifecycle.js +91 -0
- package/dist/orchestrator/LearningRouter.js +24 -0
- package/dist/orchestrator/MediaManager.js +92 -0
- package/dist/orchestrator/MemoryCuratorAgent.js +41 -0
- package/dist/orchestrator/MissionState.js +155 -0
- package/dist/orchestrator/ModelManager.js +84 -0
- package/dist/orchestrator/OperatingSystem.js +71 -0
- package/dist/orchestrator/OperationalMemoryStore.js +94 -0
- package/dist/orchestrator/OptimizationLoop.js +72 -0
- package/dist/orchestrator/OrchestrationLoop.js +905 -0
- package/dist/orchestrator/OrgStructure.js +88 -0
- package/dist/orchestrator/OutcomeSimulator.js +46 -0
- package/dist/orchestrator/ParallelOrchestrationLoop.js +36 -0
- package/dist/orchestrator/PerformanceScorecard.js +105 -0
- package/dist/orchestrator/PlannerAgent.js +46 -0
- package/dist/orchestrator/ProcessSandbox.js +129 -0
- package/dist/orchestrator/PromotionPipeline.js +74 -0
- package/dist/orchestrator/PromotionReviewGate.js +11 -0
- package/dist/orchestrator/QueueScheduler.js +260 -0
- package/dist/orchestrator/ReleaseGate.js +36 -0
- package/dist/orchestrator/ReleaseWorkflow.js +68 -0
- package/dist/orchestrator/RemotePublisher.js +139 -0
- package/dist/orchestrator/ReuseEngine.js +89 -0
- package/dist/orchestrator/ReviewerAgent.js +49 -0
- package/dist/orchestrator/RoleHandoff.js +65 -0
- package/dist/orchestrator/RuntimeHealthMonitor.js +143 -0
- package/dist/orchestrator/RuntimePolicy.js +105 -0
- package/dist/orchestrator/RuntimeProbe.js +97 -0
- package/dist/orchestrator/RuntimeRegistry.js +73 -0
- package/dist/orchestrator/SandboxPolicy.js +22 -0
- package/dist/orchestrator/SecurityDownloadGuard.js +169 -0
- package/dist/orchestrator/SecurityEventStore.js +58 -0
- package/dist/orchestrator/ServiceCompletionPolicy.js +36 -0
- package/dist/orchestrator/ServiceState.js +195 -0
- package/dist/orchestrator/SkillCreator.js +404 -0
- package/dist/orchestrator/SkillLearningLoop.js +57 -0
- package/dist/orchestrator/SkillManager.js +75 -0
- package/dist/orchestrator/SkillNetwork.js +29 -0
- package/dist/orchestrator/SkillRegistryV2.js +28 -0
- package/dist/orchestrator/SkillScoring.js +70 -0
- package/dist/orchestrator/SquadAutoCreator.js +64 -0
- package/dist/orchestrator/SquadCreator.js +727 -0
- package/dist/orchestrator/SquadRegistry.js +28 -0
- package/dist/orchestrator/SquadRouter.js +33 -0
- package/dist/orchestrator/SquadScoring.js +70 -0
- package/dist/orchestrator/SubagentLifecycle.js +90 -0
- package/dist/orchestrator/SynthesizerAgent.js +48 -0
- package/dist/orchestrator/SystemDoctor.js +224 -0
- package/dist/orchestrator/TaskExecutor.js +422 -0
- package/dist/orchestrator/TeammateBoard.js +61 -0
- package/dist/orchestrator/TestHarness.js +184 -0
- package/dist/orchestrator/VoiceManager.js +203 -0
- package/dist/orchestrator/VoiceRouter.js +89 -0
- package/dist/orchestrator/capability/CapabilityGenesisEngine.js +278 -0
- package/dist/orchestrator/capability/CapabilityPackParser.js +223 -0
- package/dist/orchestrator/capability/CapabilityPackSchema.js +62 -0
- package/dist/orchestrator/capability/CapabilityPackState.js +163 -0
- package/dist/orchestrator/providers/AgentProvider.js +2 -0
- package/dist/orchestrator/providers/CapabilityProvider.js +12 -0
- package/dist/orchestrator/providers/CloudAgentProvider.js +55 -0
- package/dist/orchestrator/providers/CloudSkillProvider.js +55 -0
- package/dist/orchestrator/providers/CloudSquadProvider.js +55 -0
- package/dist/orchestrator/providers/CompositeAgentProvider.js +16 -0
- package/dist/orchestrator/providers/CompositeCapabilityProvider.js +25 -0
- package/dist/orchestrator/providers/CompositeSkillProvider.js +16 -0
- package/dist/orchestrator/providers/CompositeSquadProvider.js +16 -0
- package/dist/orchestrator/providers/CompositeWorkflowProvider.js +46 -0
- package/dist/orchestrator/providers/FileAgentProvider.js +105 -0
- package/dist/orchestrator/providers/FileCapabilityProvider.js +106 -0
- package/dist/orchestrator/providers/FileSkillProvider.js +65 -0
- package/dist/orchestrator/providers/FileSquadProvider.js +69 -0
- package/dist/orchestrator/providers/FileWorkflowProvider.js +103 -0
- package/dist/orchestrator/providers/SkillProvider.js +2 -0
- package/dist/orchestrator/providers/SquadProvider.js +2 -0
- package/dist/orchestrator/toolset/ToolsetGuard.js +69 -0
- package/dist/orchestrator/toolset/ToolsetRegistry.js +65 -0
- package/dist/orchestrator/toolset/ToolsetSchema.js +21 -0
- package/dist/orchestrator/util/AtomicWriter.js +204 -0
- package/dist/orchestrator/util/DistributedLock.js +232 -0
- package/dist/orchestrator/util/TemplateRenderer.js +87 -0
- package/dist/orchestrator/util/WatchdogHeartbeat.js +116 -0
- package/dist/orchestrator/workflow/ConditionParser.js +232 -0
- package/dist/orchestrator/workflow/WorkflowEngine.js +379 -0
- package/dist/orchestrator/workflow/WorkflowParser.js +368 -0
- package/dist/orchestrator/workflow/WorkflowSchema.js +65 -0
- package/dist/orchestrator/workflow/WorkflowState.js +11 -0
- package/dist/reversa/ReversaAgent.js +134 -0
- package/dist/reversa/ReversaContracts.js +62 -0
- package/dist/reversa/ReversaExecutors.js +65 -0
- package/dist/skills/SkillRegistry.js +71 -0
- package/dist/squads/SquadManager.js +87 -0
- package/dist/test_admin_teams_networks.js +54 -0
- package/dist/test_agent_team_skill_network.js +15 -0
- package/dist/test_aiobuilder_cli_parity.js +169 -0
- package/dist/test_ask_exit.js +73 -0
- package/dist/test_atomic_writer.js +209 -0
- package/dist/test_autonomous_soak.js +141 -0
- package/dist/test_benchmark_engine.js +41 -0
- package/dist/test_brain_error_diagnostics.js +51 -0
- package/dist/test_brain_fallback_chain.js +93 -0
- package/dist/test_capability_genesis_engine.js +225 -0
- package/dist/test_capability_pack_schema.js +214 -0
- package/dist/test_catalog_quality.js +150 -0
- package/dist/test_cli_crud_roundtrip.js +154 -0
- package/dist/test_cli_diagnostics.js +131 -0
- package/dist/test_cli_doc_parity.js +126 -0
- package/dist/test_cli_help_surface.js +106 -0
- package/dist/test_cli_service_commands.js +83 -0
- package/dist/test_consequence_forecast_brain.js +165 -0
- package/dist/test_consequence_forecaster.js +24 -0
- package/dist/test_conversation_memory.js +36 -0
- package/dist/test_create_entities.js +54 -0
- package/dist/test_creator_placeholders_completed.js +177 -0
- package/dist/test_cron_manager.js +123 -0
- package/dist/test_daemon_sigterm.js +72 -0
- package/dist/test_deep_research_capability.js +87 -0
- package/dist/test_designmd_import_registry.js +16 -0
- package/dist/test_designmd_mode.js +50 -0
- package/dist/test_designmd_mode_workspace.js +13 -0
- package/dist/test_dist_templates_layout.js +135 -0
- package/dist/test_distributed_lock.js +201 -0
- package/dist/test_distribution_installability.js +67 -0
- package/dist/test_doctor_sandbox_check.js +44 -0
- package/dist/test_dream_organizer.js +25 -0
- package/dist/test_dual_mode.js +15 -0
- package/dist/test_enterprise_agentic_core.js +128 -0
- package/dist/test_forecast_brain_wiring.js +87 -0
- package/dist/test_gateway_telegram_guardrails.js +52 -0
- package/dist/test_governance.js +34 -0
- package/dist/test_governance_advanced.js +75 -0
- package/dist/test_governance_scope_ledger.js +147 -0
- package/dist/test_governance_v13_policies.js +44 -0
- package/dist/test_guided_creator_cli.js +100 -0
- package/dist/test_host_install_e2e.js +324 -0
- package/dist/test_host_installer.js +259 -0
- package/dist/test_host_installers_gemini_codex.js +95 -0
- package/dist/test_host_uninstaller.js +295 -0
- package/dist/test_install_flow.js +70 -0
- package/dist/test_install_flow_host_validation.js +143 -0
- package/dist/test_install_wizard.js +272 -0
- package/dist/test_integration_gemini_live.js +95 -0
- package/dist/test_integration_http_trigger_live.js +154 -0
- package/dist/test_integration_telegram_live.js +102 -0
- package/dist/test_job_lifecycle.js +16 -0
- package/dist/test_memory_orchestrator.js +33 -0
- package/dist/test_memory_promotion.js +36 -0
- package/dist/test_memory_retention.js +37 -0
- package/dist/test_mission_checkpoint.js +204 -0
- package/dist/test_multi_host_docs_parity.js +125 -0
- package/dist/test_openlife_auto_creator_routing.js +69 -0
- package/dist/test_openlife_evolution_surface.js +77 -0
- package/dist/test_openlife_gatekeeper_routing.js +15 -0
- package/dist/test_openlife_routing_surface.js +27 -0
- package/dist/test_openlife_runtime_source_truth.js +25 -0
- package/dist/test_operating_system.js +45 -0
- package/dist/test_optimization_loop.js +38 -0
- package/dist/test_orchestration_assets_lifecycle.js +78 -0
- package/dist/test_outcome_simulator.js +38 -0
- package/dist/test_performance_latency.js +215 -0
- package/dist/test_performance_scorecard.js +38 -0
- package/dist/test_phase1_check_exit.js +103 -0
- package/dist/test_phase6_board.js +31 -0
- package/dist/test_phase6_cadence.js +29 -0
- package/dist/test_phase6_ops.js +37 -0
- package/dist/test_post_mission_evaluation.js +190 -0
- package/dist/test_process_sandbox.js +88 -0
- package/dist/test_profile_toolset_mcp.js +125 -0
- package/dist/test_queue_scheduler.js +239 -0
- package/dist/test_release_gate.js +23 -0
- package/dist/test_remote_publish.js +193 -0
- package/dist/test_reversa_contracts_e2e.js +48 -0
- package/dist/test_reversa_export_and_strict.js +51 -0
- package/dist/test_reversa_full_execution.js +12 -0
- package/dist/test_reversa_lite.js +9 -0
- package/dist/test_royal_stack_golden.js +179 -0
- package/dist/test_runtime_health_backoff.js +154 -0
- package/dist/test_runtime_policy.js +26 -0
- package/dist/test_runtime_probe.js +19 -0
- package/dist/test_runtime_profile_oauth_only.js +262 -0
- package/dist/test_runtime_registry.js +11 -0
- package/dist/test_security_download_and_scan.js +103 -0
- package/dist/test_security_download_guard.js +14 -0
- package/dist/test_service_command_surface.js +12 -0
- package/dist/test_service_completion_policy.js +32 -0
- package/dist/test_service_guardrails_delete.js +12 -0
- package/dist/test_service_mode_explicit_only.js +174 -0
- package/dist/test_sources_import_ref.js +46 -0
- package/dist/test_sources_scaffold.js +43 -0
- package/dist/test_squad_skill_creator.js +305 -0
- package/dist/test_squad_skill_design_llm.js +176 -0
- package/dist/test_subsystems_org_state.js +271 -0
- package/dist/test_subsystems_promotion_memory_assets.js +343 -0
- package/dist/test_subsystems_routing_governance.js +234 -0
- package/dist/test_task_executor_sandbox_optin.js +127 -0
- package/dist/test_teammate_learning.js +15 -0
- package/dist/test_telegram_delete_guardrail.js +21 -0
- package/dist/test_toolset_enforcement.js +188 -0
- package/dist/test_trigger_basic_auth.js +112 -0
- package/dist/test_util/doc_parity.js +120 -0
- package/dist/test_v15_e2e_integration.js +207 -0
- package/dist/test_watchdog_heartbeat.js +152 -0
- package/dist/test_workflow_condition_parser.js +63 -0
- package/dist/test_workflow_e2e.js +240 -0
- package/dist/test_workflow_engine.js +330 -0
- package/dist/test_workflow_parser.js +245 -0
- package/dist/test_workflow_schema_backward_compat.js +197 -0
- package/dist-templates/README.md +91 -0
- package/dist-templates/claude-code/agents/openlife-atlas.md +52 -0
- package/dist-templates/claude-code/agents/openlife-forge.md +42 -0
- package/dist-templates/claude-code/agents/openlife-genesis.md +59 -0
- package/dist-templates/claude-code/agents/openlife-lyra.md +40 -0
- package/dist-templates/claude-code/agents/openlife-maestro.md +45 -0
- package/dist-templates/claude-code/commands/openlife/ask.md +14 -0
- package/dist-templates/claude-code/commands/openlife/doctor.md +19 -0
- package/dist-templates/claude-code/commands/openlife/dream.md +20 -0
- package/dist-templates/claude-code/commands/openlife/status.md +14 -0
- package/dist-templates/claude-code/mcp/openlife-orchestrator.json +46 -0
- package/dist-templates/codex/README.md +7 -0
- package/dist-templates/codex/agents/openlife-atlas.md +52 -0
- package/dist-templates/codex/agents/openlife-forge.md +42 -0
- package/dist-templates/codex/agents/openlife-genesis.md +59 -0
- package/dist-templates/codex/agents/openlife-lyra.md +40 -0
- package/dist-templates/codex/agents/openlife-maestro.md +45 -0
- package/dist-templates/codex/commands/openlife/ask.md +14 -0
- package/dist-templates/codex/commands/openlife/doctor.md +19 -0
- package/dist-templates/codex/commands/openlife/dream.md +20 -0
- package/dist-templates/codex/commands/openlife/status.md +14 -0
- package/dist-templates/codex/mcp/openlife-orchestrator.json +46 -0
- package/dist-templates/gemini-cli/README.md +8 -0
- package/dist-templates/gemini-cli/agents/openlife-atlas.md +52 -0
- package/dist-templates/gemini-cli/agents/openlife-forge.md +42 -0
- package/dist-templates/gemini-cli/agents/openlife-genesis.md +59 -0
- package/dist-templates/gemini-cli/agents/openlife-lyra.md +40 -0
- package/dist-templates/gemini-cli/agents/openlife-maestro.md +45 -0
- package/dist-templates/gemini-cli/commands/openlife/ask.md +14 -0
- package/dist-templates/gemini-cli/commands/openlife/doctor.md +19 -0
- package/dist-templates/gemini-cli/commands/openlife/dream.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/status.md +14 -0
- package/dist-templates/gemini-cli/mcp/openlife-orchestrator.json +46 -0
- package/dist-templates/skill-template/README.md +34 -0
- package/dist-templates/skill-template/SKILL.md.template +59 -0
- package/dist-templates/squad-template/README.md +82 -0
- package/dist-templates/squad-template/SQUAD.md.template +51 -0
- package/dist-templates/squad-template/agent-template.md +51 -0
- package/dist-templates/squad-template/checklist-template.md +25 -0
- package/dist-templates/squad-template/task-template.md +36 -0
- package/dist-templates/workflows/PORTED_WORKFLOWS.md +60 -0
- package/dist-templates/workflows/brownfield-discovery.yaml +137 -0
- package/dist-templates/workflows/greenfield-fullstack.yaml +132 -0
- package/dist-templates/workflows/qa-loop.yaml +125 -0
- package/dist-templates/workflows/story-development-cycle.yaml +80 -0
- package/docs/CHANGELOG_FEATURE_ROLLOUT_DESIGNMD.md +43 -0
- package/docs/EXTERNAL_SOURCES_AND_SECURITY_GUARD.md +33 -0
- package/docs/OPENLIFE_AUDIT_2026-05-06.md +170 -0
- package/docs/OPENLIFE_CONSOLIDATED_PLAN_2026-05-06.md +299 -0
- package/docs/OPENLIFE_DUAL_MODE_IMPLEMENTATION_PLAN.md +205 -0
- package/docs/OPENLIFE_EVOLUTION_SURFACE_2026-05-07.md +53 -0
- package/docs/OPENLIFE_SKILLS_IMPORT_2026-05-07.json +223 -0
- package/docs/OPENLIFE_SQUADS_IMPORT_2026-05-07.json +184 -0
- package/docs/PAPERCLIP_OPENLIFE_INVESTIGATION.md +85 -0
- package/docs/README.md +28 -0
- package/docs/RELEASE_ORGANIZATION_PLAN.md +164 -0
- package/docs/audit/CLI-EXECUTION-RESULTS.md +113 -0
- package/docs/audit/CLI-MATRIX.md +556 -0
- package/docs/audit/DOC-PARITY-GAPS.md +351 -0
- package/docs/audit/ORCHESTRATOR-MATRIX.md +136 -0
- package/docs/audit/TEST-COVERAGE-GAPS.md +334 -0
- package/docs/audit/integrations/SKIPPED.md +101 -0
- package/docs/autonomous-install.md +79 -0
- package/docs/capability-genesis.md +137 -0
- package/docs/capability-pack-schema.md +157 -0
- package/docs/commands.md +82 -0
- package/docs/deep-research-capability.md +114 -0
- package/docs/development/typescript-conventions.md +95 -0
- package/docs/host-installers.md +68 -0
- package/docs/install/aiobuilder.md +70 -0
- package/docs/install/claude-code.md +83 -0
- package/docs/install/codex.md +64 -0
- package/docs/install/gemini-cli.md +64 -0
- package/docs/install/runtime-profiles.md +83 -0
- package/docs/openlife-agent-os-blueprint.md +114 -0
- package/docs/openlife-install-backlog.md +115 -0
- package/docs/openlife-install-spec.md +306 -0
- package/docs/operations/CLOUD_CUTOVER_AUDIT.md +37 -0
- package/docs/operations/PHASE_PROGRESS_CONTINUATION.md +24 -0
- package/docs/performance-benchmarks.md +83 -0
- package/docs/planning/v1.3-capability-genesis.md +157 -0
- package/docs/plans/2026-05-05-admin-interface-professional-dark-premium-plan.md +84 -0
- package/docs/plans/2026-05-05-openlife-autonomous-domain-marketplace-masterplan.md +122 -0
- package/docs/quickstart.md +60 -0
- package/docs/release-process.md +236 -0
- package/docs/roadmap/OPENLIFE_MASTER_PLAN_CLOUD_V3.md +97 -0
- package/docs/sandboxing-research.md +117 -0
- package/docs/stories/epic-feature-audit/1.1.story.md +84 -0
- package/docs/stories/epic-feature-audit/1.2.story.md +102 -0
- package/docs/stories/epic-feature-audit/1.3.story.md +93 -0
- package/docs/stories/epic-feature-audit/1.5.story.md +121 -0
- package/docs/stories/epic-feature-audit/1.6.story.md +80 -0
- package/docs/stories/epic-feature-completeness/2.1.story.md +70 -0
- package/docs/stories/epic-feature-completeness/2.2.story.md +49 -0
- package/docs/stories/epic-feature-completeness/2.3.story.md +74 -0
- package/docs/stories/epic-feature-completeness/2.4.story.md +71 -0
- package/docs/stories/epic-feature-completeness/3.1.story.md +56 -0
- package/docs/stories/epic-feature-completeness/3.2.story.md +80 -0
- package/docs/stories/epic-feature-completeness/3.3.story.md +68 -0
- package/docs/stories/epic-feature-completeness/3.4.story.md +71 -0
- package/docs/stories/epic-feature-completeness/3.5.story.md +72 -0
- package/docs/stories/epic-feature-completeness/3.6.story.md +69 -0
- package/docs/stories/epic-feature-completeness/3.7.story.md +68 -0
- package/docs/stories/epic-feature-completeness/3.8.story.md +57 -0
- package/docs/toolset-enforcement.md +122 -0
- package/docs/v1.4-changelog.md +159 -0
- package/docs/v1.5-changelog.md +106 -0
- package/docs/v1.5-roadmap.md +121 -0
- package/docs/v1.6-changelog.md +67 -0
- package/docs/v1.6-roadmap.md +89 -0
- package/docs/v1.7-changelog.md +98 -0
- package/docs/workflow-schema.md +177 -0
- package/package.json +177 -0
- package/scripts/clean-test-pollution.js +61 -0
- package/scripts/openlife-agent-start.sh +6 -0
- package/scripts/openlife-agent.service.example +13 -0
- package/scripts/openlife-agent.supervisord.conf.example +8 -0
- package/scripts/openlife-autonomous-install.sh +29 -0
- package/scripts/postinstall-check.sh +37 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# OpenLife — Plano de Organização, Commits Atômicos e Release
|
|
2
|
+
|
|
3
|
+
## Objetivo
|
|
4
|
+
Organizar as mudanças atuais em lotes atômicos, com validação incremental e smoke test final.
|
|
5
|
+
|
|
6
|
+
## Estratégia de Branch
|
|
7
|
+
- Branch recomendada: `feat/reversa-designmd-full-openlife`
|
|
8
|
+
- Regra: 1 commit por bloco funcional coeso.
|
|
9
|
+
|
|
10
|
+
## Lote 1 — Core dual-mode + governança
|
|
11
|
+
**Escopo**
|
|
12
|
+
- `src/orchestrator/ExecutionIntent.ts`
|
|
13
|
+
- `src/orchestrator/ExecutionRouter.ts`
|
|
14
|
+
- `src/orchestrator/MissionState.ts`
|
|
15
|
+
- `src/orchestrator/OrchestrationLoop.ts`
|
|
16
|
+
- `src/orchestrator/Gatekeeper.ts`
|
|
17
|
+
- `src/orchestrator/GovernanceLayer.ts`
|
|
18
|
+
- `src/test_dual_mode.ts`
|
|
19
|
+
- `src/test_service_guardrails_delete.ts`
|
|
20
|
+
- `src/test_telegram_delete_guardrail.ts`
|
|
21
|
+
|
|
22
|
+
**Commit**
|
|
23
|
+
- `feat(core): dual-mode task/service + destructive guardrails`
|
|
24
|
+
|
|
25
|
+
**Validação**
|
|
26
|
+
- `npm run build`
|
|
27
|
+
- `node dist/test_dual_mode.js`
|
|
28
|
+
- `node dist/test_service_guardrails_delete.js`
|
|
29
|
+
- `node dist/test_telegram_delete_guardrail.js`
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Lote 2 — Lifecycle de jobs + runtime registry
|
|
34
|
+
**Escopo**
|
|
35
|
+
- `src/orchestrator/JobLifecycle.ts`
|
|
36
|
+
- `src/orchestrator/RuntimeRegistry.ts`
|
|
37
|
+
- `src/test_job_lifecycle.ts`
|
|
38
|
+
- `src/test_runtime_registry.ts`
|
|
39
|
+
|
|
40
|
+
**Commit**
|
|
41
|
+
- `feat(runtime): job lifecycle + runtime registry baseline`
|
|
42
|
+
|
|
43
|
+
**Validação**
|
|
44
|
+
- `npm run build`
|
|
45
|
+
- `node dist/test_job_lifecycle.js`
|
|
46
|
+
- `node dist/test_runtime_registry.js`
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Lote 3 — Service state, CLI surface e operações
|
|
51
|
+
**Escopo**
|
|
52
|
+
- `src/orchestrator/ServiceState.ts`
|
|
53
|
+
- `src/index.ts` (comandos service/task/job/runtime)
|
|
54
|
+
- `src/test_service_command_surface.ts`
|
|
55
|
+
- `src/test_cli_service_commands.ts`
|
|
56
|
+
|
|
57
|
+
**Commit**
|
|
58
|
+
- `feat(cli): service/task/job/runtime command surface`
|
|
59
|
+
|
|
60
|
+
**Validação**
|
|
61
|
+
- `npm run build`
|
|
62
|
+
- `node dist/test_service_command_surface.js`
|
|
63
|
+
- `node dist/test_cli_service_commands.js`
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Lote 4 — Teammates + learning loop
|
|
68
|
+
**Escopo**
|
|
69
|
+
- `src/orchestrator/TeammateBoard.ts`
|
|
70
|
+
- `src/orchestrator/SkillLearningLoop.ts`
|
|
71
|
+
- `src/test_teammate_learning.ts`
|
|
72
|
+
|
|
73
|
+
**Commit**
|
|
74
|
+
- `feat(ops): teammate board + governed learning loop baseline`
|
|
75
|
+
|
|
76
|
+
**Validação**
|
|
77
|
+
- `npm run build`
|
|
78
|
+
- `node dist/test_teammate_learning.js`
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Lote 5 — Reversa full + contracts
|
|
83
|
+
**Escopo**
|
|
84
|
+
- `src/reversa/ReversaExecutors.ts`
|
|
85
|
+
- `src/reversa/ReversaContracts.ts`
|
|
86
|
+
- `src/reversa/ReversaAgent.ts`
|
|
87
|
+
- `src/test_reversa_lite.ts`
|
|
88
|
+
- `src/test_reversa_full_execution.ts`
|
|
89
|
+
- `src/test_reversa_contracts_e2e.ts`
|
|
90
|
+
|
|
91
|
+
**Commit**
|
|
92
|
+
- `feat(reversa): full phase executors + contract validation + final contracts`
|
|
93
|
+
|
|
94
|
+
**Validação**
|
|
95
|
+
- `npm run build`
|
|
96
|
+
- `node dist/test_reversa_lite.js`
|
|
97
|
+
- `node dist/test_reversa_full_execution.js`
|
|
98
|
+
- `node dist/test_reversa_contracts_e2e.js`
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Lote 6 — DesignMD import/registry/mode + AIOBUILDER strict
|
|
103
|
+
**Escopo**
|
|
104
|
+
- `vendor/awesome-design-md/**`
|
|
105
|
+
- `src/design/DesignMdImporter.ts`
|
|
106
|
+
- `src/design/DesignMdRegistry.ts`
|
|
107
|
+
- `src/design/DesignMdMode.ts`
|
|
108
|
+
- `src/index.ts` (comandos designmd/reversa export-json/aiobuilder strict)
|
|
109
|
+
- `src/test_designmd_import_registry.ts`
|
|
110
|
+
- `src/test_designmd_mode.ts`
|
|
111
|
+
- `src/test_designmd_mode_workspace.ts`
|
|
112
|
+
- `src/test_reversa_export_and_strict.ts`
|
|
113
|
+
|
|
114
|
+
**Commit**
|
|
115
|
+
- `feat(designmd): vendor import + registry/mode + aiobuilder strict contracts`
|
|
116
|
+
|
|
117
|
+
**Validação**
|
|
118
|
+
- `npm run build`
|
|
119
|
+
- `node dist/test_designmd_import_registry.js`
|
|
120
|
+
- `node dist/test_designmd_mode.js`
|
|
121
|
+
- `node dist/test_designmd_mode_workspace.js`
|
|
122
|
+
- `node dist/test_reversa_export_and_strict.js`
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Lote 7 — Documentação
|
|
127
|
+
**Escopo**
|
|
128
|
+
- `docs/CHANGELOG_FEATURE_ROLLOUT_DESIGNMD.md`
|
|
129
|
+
- `docs/OPENLIFE_DUAL_MODE_IMPLEMENTATION_PLAN.md`
|
|
130
|
+
- `docs/PAPERCLIP_OPENLIFE_INVESTIGATION.md`
|
|
131
|
+
- `docs/RELEASE_ORGANIZATION_PLAN.md`
|
|
132
|
+
|
|
133
|
+
**Commit**
|
|
134
|
+
- `docs: rollout changelog + dual-mode/reversa/designmd plans`
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Smoke test final (único comando)
|
|
139
|
+
```bash
|
|
140
|
+
npm run build && \
|
|
141
|
+
node dist/test_dual_mode.js && \
|
|
142
|
+
node dist/test_service_guardrails_delete.js && \
|
|
143
|
+
node dist/test_telegram_delete_guardrail.js && \
|
|
144
|
+
node dist/test_job_lifecycle.js && \
|
|
145
|
+
node dist/test_runtime_registry.js && \
|
|
146
|
+
node dist/test_service_command_surface.js && \
|
|
147
|
+
node dist/test_cli_service_commands.js && \
|
|
148
|
+
node dist/test_teammate_learning.js && \
|
|
149
|
+
node dist/test_reversa_lite.js && \
|
|
150
|
+
node dist/test_reversa_full_execution.js && \
|
|
151
|
+
node dist/test_reversa_contracts_e2e.js && \
|
|
152
|
+
node dist/test_designmd_import_registry.js && \
|
|
153
|
+
node dist/test_designmd_mode.js && \
|
|
154
|
+
node dist/test_designmd_mode_workspace.js && \
|
|
155
|
+
node dist/test_reversa_export_and_strict.js
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Checklist de release interno
|
|
159
|
+
- [ ] Todos os lotes com build/testes verdes
|
|
160
|
+
- [ ] `openlife reversa run-all --note "pre-release"` executado
|
|
161
|
+
- [ ] `openlife reversa export-json` gerado
|
|
162
|
+
- [ ] `openlife aiobuilder generate-ui dashboard --strict-contracts` OK
|
|
163
|
+
- [ ] Revisão de artefatos em `.reversa/` e `.artifacts/workspaces/default/`
|
|
164
|
+
- [ ] Aprovação final do Rafa antes de push/deploy
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# CLI Execution Results — Phase 2
|
|
2
|
+
|
|
3
|
+
**Generated:** 2026-05-11
|
|
4
|
+
**Phase:** 2 — CLI End-to-End Exercise
|
|
5
|
+
**Requirements covered:** CLI-01, CLI-02, CLI-03, CLI-04, CLI-05
|
|
6
|
+
**Test files added:** `test_cli_help_surface.ts`, `test_cli_diagnostics.ts`, `test_cli_crud_roundtrip.ts`
|
|
7
|
+
**Test suite:** 56 → 59 tests, all green via `npm run test:all`
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Summary
|
|
12
|
+
|
|
13
|
+
| Category | Tested | PASS | GRACEFUL | GAP | FAIL→Story |
|
|
14
|
+
|----------|--------|------|----------|-----|------------|
|
|
15
|
+
| Help/Version (45 groups + 2 root) | 47 | 47 | 0 | 0 | 0 |
|
|
16
|
+
| Diagnostics (read-only commands) | 22 | 12 | 6 | 4 | 2 KNOWN BUGS |
|
|
17
|
+
| CRUD Roundtrips (create→list→cleanup) | 6 | 6 | 0 | 0 | 0 |
|
|
18
|
+
| **Total in Phase 2** | **75** | **65** | **6** | **4** | **2** |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## CLI-01: Help/Version Surface ✓
|
|
23
|
+
|
|
24
|
+
Test: `src/test_cli_help_surface.ts` — exits 0 in ~15s
|
|
25
|
+
|
|
26
|
+
- Root `--help`: PASS (4,200+ bytes output)
|
|
27
|
+
- Root `--version`: PASS (returns `1.0.0`)
|
|
28
|
+
- All 45 top-level groups responded to `--help` with exit 0 and non-empty output
|
|
29
|
+
|
|
30
|
+
**Slow `--help` invocations (>3s)** — bookmark for Phase 5 lazy-load review:
|
|
31
|
+
|
|
32
|
+
| Group | Latency | Likely cause |
|
|
33
|
+
|-------|---------|--------------|
|
|
34
|
+
| `pilot --help` | 4175ms | Module-scope import of heavy enterprise classes |
|
|
35
|
+
| `learning --help` | 3311ms | Possible eager import of learning loop subsystem |
|
|
36
|
+
| `plugin --help` | 3249ms | Possible eager import of plugin manifest store |
|
|
37
|
+
|
|
38
|
+
**Why this is a regression risk:** `CLAUDE.md` documents "lazy imports for heavy runtime classes" as a critical invariant. `--help` should be near-instant. These three suggest violation of the pattern.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## CLI-02 / CLI-03 / CLI-04: Diagnostics ✓ with 2 known bugs
|
|
43
|
+
|
|
44
|
+
Test: `src/test_cli_diagnostics.ts` — exits 0 in ~34s
|
|
45
|
+
|
|
46
|
+
### PASS (exit 0 required, all green)
|
|
47
|
+
- `catalog list`
|
|
48
|
+
- `agents list`, `squads list`, `skills list`
|
|
49
|
+
- `models status`
|
|
50
|
+
- `memory status`, `memory provider-list`
|
|
51
|
+
- `governance status`, `governance audit`
|
|
52
|
+
- `media route-status`
|
|
53
|
+
- `orchestration contract`, `orchestration snapshot`
|
|
54
|
+
|
|
55
|
+
### GRACEFUL (exit 0 or 1 accepted; doctors that degrade gracefully)
|
|
56
|
+
- `catalog doctor` — may warn about test-* artifacts (P3 design issue, not regression)
|
|
57
|
+
- `system doctor` — warns about optional CLIs (codex/gemini)
|
|
58
|
+
- `system status`
|
|
59
|
+
- `media doctor`
|
|
60
|
+
- `enterprise` — aggregate doctor
|
|
61
|
+
- `swarm consensus-test`
|
|
62
|
+
|
|
63
|
+
### GAP — known broken, deferred (recorded for Phase 5)
|
|
64
|
+
- `phase1-check` — **HANGS** for >35s, killed by SIGKILL. **P1 BUG-01**.
|
|
65
|
+
- `mcp status` (without `--real`) — exits 1 with "Use --real para obter o status determinístico". UX/default behavior bug. **P2 BUG-02**.
|
|
66
|
+
|
|
67
|
+
### GAP — requires external state (Phase 4)
|
|
68
|
+
- `system doctor-world` — requires LLM call
|
|
69
|
+
- `benchmark report` — requires prior `benchmark run` to have data
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## CLI-05: CRUD Roundtrips ✓
|
|
74
|
+
|
|
75
|
+
Test: `src/test_cli_crud_roundtrip.ts` — exits 0 in ~19s, **all 6 entity types create+list+cleanup correctly**
|
|
76
|
+
|
|
77
|
+
| Entity | Create command | List command | Result |
|
|
78
|
+
|--------|----------------|--------------|--------|
|
|
79
|
+
| Agent | `agents create <id> --role specialist` | `agents list` | PASS, cleanup OK |
|
|
80
|
+
| Squad | `squads create <id> --domain general` | `squads list` | PASS, cleanup OK |
|
|
81
|
+
| Skill | `skills create <id>` | `skills list` | PASS, cleanup OK |
|
|
82
|
+
| MCP | `mcp create <id> --transport stdio --entry echo` | `mcp status --real` | PASS, cleanup OK |
|
|
83
|
+
| Team | `teams upsert <id> --domain general --sla balanced` | `teams list` | PASS, cleanup OK |
|
|
84
|
+
| Network | `networks upsert <id> --domain general --capabilities cap1,cap2` | `networks list` | PASS, cleanup OK |
|
|
85
|
+
|
|
86
|
+
**Cleanup hygiene:** Test uses unique IDs (`test-crud-${pid}-${timestamp}`) and removes each created entity. `.catalog/` is byte-clean after run.
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Phase 2 Findings (queued for Phase 5)
|
|
91
|
+
|
|
92
|
+
See `.planning/phase-2/FINDINGS.md` for the full bug list with severity and reproduction steps.
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## What's NOT covered in Phase 2 (intentional, by phase boundary)
|
|
97
|
+
|
|
98
|
+
- Commands requiring live LLM (`ask`, `route intent`, `swarm run`, `governance risk-check`) → **Phase 4**
|
|
99
|
+
- Commands requiring daemon (`start --daemon`, Telegram webhook flow) → **Phase 4**
|
|
100
|
+
- Subsystem unit tests (Brain/Gateway internals beyond what's in `test_brain_*`, `test_daemon_sigterm`, `test_trigger_basic_auth`) → **Phase 3**
|
|
101
|
+
- 105 DRIFT-HIGH undocumented commands → **Phase 5** (doc rewrites)
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Suite Health After Phase 2
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
Before: 56 tests, all green, ~4 min runtime
|
|
109
|
+
After: 59 tests, all green, ~6 min runtime
|
|
110
|
+
Delta: +3 tests, +~2 min (most of the delta is cold-start cost of 73 subprocess spawns across the new tests)
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Pre-existing pollution in `.artifacts/` and `.catalog/test-*` MUST be cleaned before `npm run test:all` runs cleanly. This is **P3 tech debt** (documented in CONCERNS.md), not a regression. A `pretest` hook that cleans these would fix it — recommended for Phase 5.
|