shellbrain 0.1.52__tar.gz → 0.1.53__tar.gz
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.
- shellbrain-0.1.53/PKG-INFO +134 -0
- shellbrain-0.1.53/README.md +120 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/build_context/execute.py +1 -1
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/inner_agents/prompt.py +5 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/settings/internal-agents/defaults.yaml +1 -1
- {shellbrain-0.1.52 → shellbrain-0.1.53}/pyproject.toml +1 -1
- shellbrain-0.1.53/shellbrain.egg-info/PKG-INFO +134 -0
- shellbrain-0.1.52/PKG-INFO +0 -141
- shellbrain-0.1.52/README.md +0 -127
- shellbrain-0.1.52/shellbrain.egg-info/PKG-INFO +0 -141
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/__main__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/admin_errors.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/associations.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/backups.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/concepts.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/episodes.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/evidence.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/guidance.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/identity.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/ids.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/inner_agents.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/knowledge_builder.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/machine_config.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/memories.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/runtime_context.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/scenarios.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/session_state.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/settings.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/snapshots.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/structural_memory_relations.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/entities/utility.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/errors.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/concepts/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/concepts/relation_rules.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/concepts/search_text.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/episodes/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/episodes/event_content.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/episodes/knowledge_building.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/memories/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/memories/add_plan.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/memories/link_rules.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/memories/update_plan.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/retrieval/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/retrieval/bm25.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/retrieval/context_pack.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/retrieval/expansion.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/retrieval/fusion_rrf.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/retrieval/lexical_query.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/retrieval/ontology_semantics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/policies/retrieval/scoring.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/concept_repositories.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/episode_repositories.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/guidance.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/knowledge_builder.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/memory_repositories.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/problem_runs.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/retrieval_repositories.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/snapshots.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/db/unit_of_work.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/embeddings/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/embeddings/provider.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/embeddings/retrieval.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/host_apps/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/host_apps/inner_agents.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/local_state/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/local_state/session_state_store.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/local_state/shadow_git.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/reporting/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/reporting/metrics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/system/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/system/clock.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/ports/system/idgen.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/analytics_diagnostics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/backfill_model_usage/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/backfill_model_usage/backfill_model_usage.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/backfill_model_usage/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/backfill_model_usage/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/create_backup.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/diagnose_runtime.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/generate_analytics_report.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/initialize_runtime.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/restore_backup.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/admin/verify_backup.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/build_guidance.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/add/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/add/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/add/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/add/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/containment_checks.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/embeddings.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/reference_checks.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/show/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/show/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/show/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/show/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/update/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/update/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/update/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/update/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/concepts/views.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/episodes/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/episodes/events/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/episodes/events/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/episodes/sync_discovered_host_session.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/episodes/sync_episode/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/episodes/sync_episode/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/episodes/sync_episode/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/episodes/sync_episode/sync_episode.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/knowledge_builder/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/knowledge_builder/build_knowledge/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/knowledge_builder/build_knowledge/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/knowledge_builder/build_knowledge/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/knowledge_builder/build_knowledge/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/knowledge_builder/teach_knowledge/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/knowledge_builder/teach_knowledge/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/knowledge_builder/teach_knowledge/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/knowledge_builder/teach_knowledge/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/add/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/add/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/add/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/add/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/effect_plan.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/reference_checks.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/update/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/update/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/update/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/memories/update/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/metrics/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/metrics/analyze_agent_behavior.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/metrics/build_snapshot.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/metrics/generate_dashboard.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/plan_execution.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/build_context/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/concept_seed_retrieval.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/context_pack_pipeline.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/deterministic_graph_recall.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/expansion.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/read/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/read/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/read/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/read/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/read_concepts.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/recall/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/recall/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/recall/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/recall/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/retrieval/seed_retrieval.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/scenarios/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/scenarios/record/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/scenarios/record/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/scenarios/record/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/scenarios/record/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/snapshots/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/snapshots/capture_snapshot/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/snapshots/capture_snapshot/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/snapshots/capture_snapshot/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/snapshots/capture_snapshot/result.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/snapshots/code_delta_context/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/snapshots/code_delta_context/execute.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/core/use_cases/snapshots/code_delta_context/request.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/error_responses.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/cli_operation.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/dependencies.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/human/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/human/admin.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/human/admin_dependencies.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/human/init.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/human/metrics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/human/upgrade.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/concepts/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/concepts/add.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/concepts/show.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/concepts/update.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/episodes/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/episodes/events.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/episodes/selection.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/episodes/serialization.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/memories/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/memories/add.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/memories/update.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/memories/utility_vote_evidence.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/retrieval/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/retrieval/execution.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/retrieval/read.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/scenarios/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/internal_agent/scenarios/record.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/result_envelopes.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/session_state.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/working_agent/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/working_agent/recall.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/working_agent/snapshot.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/handlers/working_agent/teach.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/main.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/operation_command.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/parser/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/parser/builder.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/presenters/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/presenters/init.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/presenters/json.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/presenters/metrics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/concepts.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/episodes.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/hydration.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/memories.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/payload_validation.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/prepared.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/retrieval.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/scenarios.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/request_parsing/teach.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/runner.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/cli/runtime.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/host_hooks/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/host_hooks/claude_session_start.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/host_hooks/cursor_statusline.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/jobs/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/entrypoints/jobs/episode_sync.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/app_role_safety.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/backups/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/backups/destructive_guard.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/backups/logical_backup.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/backups/manifest_store.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/backups/restore.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/connection.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/instance_guard.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/migrations.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/privileges.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/provisioning/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/provisioning/docker_prerequisites.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/provisioning/external_postgres.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/provisioning/init_effects.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/provisioning/managed_local.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/admin/storage_setup.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/engine.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/associations.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/concepts.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/episodes.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/evidence.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/experiences.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/instance_metadata.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/knowledge_builder.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/memories.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/metadata.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/problem_runs.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/registry.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/snapshots.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/telemetry.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/utility.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/models/views.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/queries/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/queries/agent_behavior.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/queries/analytics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/queries/metrics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/queries/metrics_adapter.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/queries/model_usage_backfill.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/associations_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/concepts_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/episodes_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/evidence_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/experiences_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/knowledge_builder_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/memories_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/problem_runs_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/read_policy_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/snapshots_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/telemetry_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/relational/utility_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/semantic/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/semantic/concept_retrieval_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/semantic/keyword_retrieval_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/repos/semantic/semantic_retrieval_repo.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/session.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/db/runtime/uow.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/embeddings/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/embeddings/local_provider.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/embeddings/prewarm.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/embeddings/query_vector_search.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/claude.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/codex.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/cursor.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/cursor_statusline_config.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/inspection.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/managed_markdown.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/managed_tree.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/packaged_assets.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/paths.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/service.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/assets/types.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/identity/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/identity/claude_hook_install.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/identity/claude_runtime.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/identity/codex_runtime.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/identity/compatibility.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/identity/cursor_statusline.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/identity/resolver.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/inner_agents/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/inner_agents/claude_cli.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/inner_agents/codex_cli.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/inner_agents/output_parser.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/transcripts/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/transcripts/claude_code.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/transcripts/codex.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/transcripts/cursor.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/transcripts/model_usage.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/transcripts/normalization.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/transcripts/session_selection.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/transcripts/source_discovery.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/host_apps/transcripts/tool_filter.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/local_state/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/local_state/init_lock.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/local_state/machine_config_store.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/local_state/operation_registration.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/local_state/paths.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/local_state/recall_mode_store.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/local_state/repo_registration_store.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/local_state/session_state_file_store.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/local_state/shadow_git_store.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/process/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/process/episode_sync/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/process/episode_sync/autostart.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/process/episode_sync/launcher.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/process/episode_sync/lock_file.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/process/episode_sync/poller.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/process/episode_sync/status_store.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/reporting/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/reporting/metrics/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/reporting/metrics/artifacts.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/reporting/metrics/browser.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/reporting/metrics/pager.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/reporting/metrics/render_html.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/system/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/system/clock.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/system/id_generator.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/system/package_upgrade.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/inner_agent_records.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/operation_invocations.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/operation_polling.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/read_records.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/recall_records.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/recorder.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/records.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/sink.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/storage_protocols.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/sync_records.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/infrastructure/telemetry/write_records.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/settings/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/settings/defaults/create_policy.yaml +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/settings/defaults/read_policy.yaml +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/settings/defaults/runtime.yaml +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/settings/defaults/thresholds.yaml +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/settings/defaults/update_policy.yaml +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/admin.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/admin_db.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/admin_dependencies.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/admin_diagnose.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/analytics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/backup.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/cli.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/cli_runtime.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/config.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/create_policy.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/db.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/dsn_resolution.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/embeddings.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/episode_poller.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/episode_sync_launcher.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/host_hooks.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/internal_agent_config.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/internal_agents.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/knowledge_builder.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/metrics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/migrations.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/model_usage_backfill.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/operation_dependencies.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/read_policy.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/repo_context.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/repos.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/retrieval.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/runtime_admin.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/runtime_context.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/settings.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/snapshot_baseline.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/thresholds.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/update_policy.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/app/startup/use_cases.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/_legacy_usage_views.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/_usage_view_sql.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/env.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260226_0001_initial_schema.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260312_0002_add_hard_invariants.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260312_0003_drop_create_confidence.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260313_0004_episode_sync_hardening.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260313_0005_evidence_episode_event_refs.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260318_0006_usage_telemetry_schema.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260319_0007_identity_session_guidance.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260320_0008_instance_metadata_and_backup_safety.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260410_0009_frontier_memory_family.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260414_0010_model_usage_telemetry.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260414_0011_usage_problem_tokens_multi_solution_metrics.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260415_0012_read_pack_cost_and_read_roi.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260421_0013_concept_context_graph.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260422_0014_concept_read_telemetry.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260422_0015_problem_runs.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260508_0016_recall_telemetry.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260511_0017_inner_agent_invocations.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260513_0018_knowledge_build_runs.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260515_0019_scenario_records.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260516_0020_knowledge_build_observability.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260519_0021_knowledge_build_watermark_stable.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260519_0022_update_evidence_links.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260519_0023_explicit_teach_trigger.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260519_0024_read_retrieval_latency_indexes.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260519_0025_repair_recall_source_input_section_constraint.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260519_0026_repair_knowledge_build_trigger_constraint.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260519_0027_concept_embeddings.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260520_0028_knowledge_build_lifecycle.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260522_0029_remove_frontier_and_memory_anchors.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260522_0030_concept_lifecycle_events.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260522_0031_unified_evidence_storage.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260522_0032_memory_lifecycle_events.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260522_0033_concept_memory_role_cleanup.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260522_0034_structural_memory_relations.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260522_0035_retire_legacy_compatibility_tables.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260526_0036_shadow_snapshots.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260606_0037_wiki_summaries.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/20260815_0038_drop_wiki_summaries.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/migrations/versions/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/__init__.py +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/claude/CLAUDE.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/claude/skills/shellbrain/SKILL.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/claude/skills/shellbrain-usage-review/SKILL.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/AGENTS.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/clean-architecture/SKILL.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/clean-code/SKILL.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain/SKILL.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain/agents/openai.yaml +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain/assets/shellbrain-large.svg +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain/assets/shellbrain-small.svg +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain/assets/shellbrain_logo.png +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain/references/session-workflow.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain-usage-review/SKILL.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain-usage-review/agents/openai.yaml +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain-usage-review/assets/shellbrain-small.svg +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/codex/shellbrain-usage-review/assets/shellbrain_logo.png +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/cursor/skills/shellbrain/SKILL.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/onboarding_assets/cursor/skills/shellbrain-usage-review/SKILL.md +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/setup.cfg +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/shellbrain.egg-info/SOURCES.txt +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/shellbrain.egg-info/dependency_links.txt +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/shellbrain.egg-info/entry_points.txt +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/shellbrain.egg-info/requires.txt +0 -0
- {shellbrain-0.1.52 → shellbrain-0.1.53}/shellbrain.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: shellbrain
|
|
3
|
+
Version: 0.1.53
|
|
4
|
+
Summary: Repo-scoped Shellbrain CLI with explicit evidence-backed writes.
|
|
5
|
+
Requires-Python: >=3.11
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: SQLAlchemy<3.0,>=2.0
|
|
8
|
+
Requires-Dist: alembic<2.0,>=1.13
|
|
9
|
+
Requires-Dist: pydantic<3.0,>=2.7
|
|
10
|
+
Requires-Dist: PyYAML<7.0,>=6.0
|
|
11
|
+
Requires-Dist: psycopg[binary]<4.0,>=3.1
|
|
12
|
+
Requires-Dist: pgvector<1.0,>=0.3
|
|
13
|
+
Requires-Dist: sentence-transformers<4.0,>=3.0
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<img src="https://raw.githubusercontent.com/cucupac/shellbrain/main/docs/assets/shellbrain_logo_badge.png" alt="ShellBrain logo" height="88">
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
<h3 align="center">ShellBrain</h3>
|
|
20
|
+
|
|
21
|
+
<p align="center">Long-term Memory for AI Agents.</p>
|
|
22
|
+
|
|
23
|
+
ShellBrain gives AI agents memory, so they can store and reuse what they learn over time.
|
|
24
|
+
|
|
25
|
+
## Install
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
curl -L shellbrain.ai/install | bash
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Works for Codex, Claude Code, and Cursor.**
|
|
32
|
+
|
|
33
|
+
Requirements.
|
|
34
|
+
- macOS or Linux, Python 3.11+, Docker for the managed local Postgres+pgvector runtime.
|
|
35
|
+
|
|
36
|
+
### Upgrade for latest capabilities
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
shellbrain upgrade
|
|
40
|
+
```
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Recall in one command
|
|
44
|
+
|
|
45
|
+
<p align="center">
|
|
46
|
+
<img src="docs/assets/shellbrain-recall-context-diagram.png" alt="ShellBrain recall uses vector search and BM25 to search your memories. An inner recall agent summarizes the search results." width="720">
|
|
47
|
+
</p>
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Architecture
|
|
52
|
+
|
|
53
|
+
ShellBrain builds memory in three grounded layers:
|
|
54
|
+
|
|
55
|
+
- **Episodic knowledge records evidence.** It stores prompts, agent steps, tool calls, and outputs from each session.
|
|
56
|
+
- **Empirical knowledge extracts concrete memories.** It organizes problems, solutions, failed tactics, facts, preferences, and changes in a semantic graph for **case-based reasoning**.
|
|
57
|
+
- **Conceptual knowledge abstracts reusable ideas.** Its concept graph connects claims, relations, and implementations to empirical knowledge.
|
|
58
|
+
|
|
59
|
+
Each higher layer links to evidence in the layer below it. Agents receive a compact orientation first, then request more detail when needed.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## How Agents Use ShellBrain
|
|
64
|
+
|
|
65
|
+
### Recall
|
|
66
|
+
|
|
67
|
+
Working agents run `shellbrain recall` to get one compact brief for the current task.
|
|
68
|
+
|
|
69
|
+
Recall receives only the quoted query. Include the relevant task, failure, subsystem, or decision in the question.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
shellbrain recall "What is ShellBrain, and how does it help a working coding agent?"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Response format:**
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"status": "ok",
|
|
80
|
+
"data": {
|
|
81
|
+
"brief": {
|
|
82
|
+
"summary": "...",
|
|
83
|
+
"constraints": ["..."],
|
|
84
|
+
"known_traps": ["..."],
|
|
85
|
+
"prior_cases": ["..."],
|
|
86
|
+
"concept_orientation": ["..."],
|
|
87
|
+
"anchors": ["`README.md`"],
|
|
88
|
+
"conflicts": ["..."],
|
|
89
|
+
"gaps": ["..."],
|
|
90
|
+
"next_checks": ["..."]
|
|
91
|
+
},
|
|
92
|
+
"fallback_reason": null
|
|
93
|
+
},
|
|
94
|
+
"errors": []
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
The brief lets the working agent focus on the current task.
|
|
99
|
+
|
|
100
|
+
### Teach
|
|
101
|
+
|
|
102
|
+
Run `shellbrain teach` only when you explicitly want ShellBrain to remember something important.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Memory Discipline
|
|
107
|
+
|
|
108
|
+
ShellBrain keeps memory grounded in evidence and narrow in scope. Agents request memory when they need it.
|
|
109
|
+
|
|
110
|
+
**Memory that cannot justify itself should not persist.**
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Use ShellBrain
|
|
115
|
+
|
|
116
|
+
Use ShellBrain with your preferred agent. Then work as usual.
|
|
117
|
+
|
|
118
|
+
- **Claude Code:** Use `/shellbrain` to recall context at task boundaries.
|
|
119
|
+
- **Codex:** Use `$shellbrain` to recall context at task boundaries.
|
|
120
|
+
- **Cursor:** Use `/shellbrain` to recall context at task boundaries.
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Repair
|
|
125
|
+
|
|
126
|
+
Run `shellbrain admin doctor` to inspect the installation. If it reports a problem, run `shellbrain init`. Do not run init every session.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Docs
|
|
131
|
+
|
|
132
|
+
- [For Humans](https://shellbrain.ai/humans/): installation, upgrades, and first steps
|
|
133
|
+
- [For Agents](https://shellbrain.ai/agents/): agent workflow and memory rules
|
|
134
|
+
- [Technical Docs](https://deepwiki.com/cucupac/shellbrain): detailed documentation and code map
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/cucupac/shellbrain/main/docs/assets/shellbrain_logo_badge.png" alt="ShellBrain logo" height="88">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h3 align="center">ShellBrain</h3>
|
|
6
|
+
|
|
7
|
+
<p align="center">Long-term Memory for AI Agents.</p>
|
|
8
|
+
|
|
9
|
+
ShellBrain gives AI agents memory, so they can store and reuse what they learn over time.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
curl -L shellbrain.ai/install | bash
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**Works for Codex, Claude Code, and Cursor.**
|
|
18
|
+
|
|
19
|
+
Requirements.
|
|
20
|
+
- macOS or Linux, Python 3.11+, Docker for the managed local Postgres+pgvector runtime.
|
|
21
|
+
|
|
22
|
+
### Upgrade for latest capabilities
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
shellbrain upgrade
|
|
26
|
+
```
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Recall in one command
|
|
30
|
+
|
|
31
|
+
<p align="center">
|
|
32
|
+
<img src="docs/assets/shellbrain-recall-context-diagram.png" alt="ShellBrain recall uses vector search and BM25 to search your memories. An inner recall agent summarizes the search results." width="720">
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Architecture
|
|
38
|
+
|
|
39
|
+
ShellBrain builds memory in three grounded layers:
|
|
40
|
+
|
|
41
|
+
- **Episodic knowledge records evidence.** It stores prompts, agent steps, tool calls, and outputs from each session.
|
|
42
|
+
- **Empirical knowledge extracts concrete memories.** It organizes problems, solutions, failed tactics, facts, preferences, and changes in a semantic graph for **case-based reasoning**.
|
|
43
|
+
- **Conceptual knowledge abstracts reusable ideas.** Its concept graph connects claims, relations, and implementations to empirical knowledge.
|
|
44
|
+
|
|
45
|
+
Each higher layer links to evidence in the layer below it. Agents receive a compact orientation first, then request more detail when needed.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## How Agents Use ShellBrain
|
|
50
|
+
|
|
51
|
+
### Recall
|
|
52
|
+
|
|
53
|
+
Working agents run `shellbrain recall` to get one compact brief for the current task.
|
|
54
|
+
|
|
55
|
+
Recall receives only the quoted query. Include the relevant task, failure, subsystem, or decision in the question.
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
shellbrain recall "What is ShellBrain, and how does it help a working coding agent?"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**Response format:**
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"status": "ok",
|
|
66
|
+
"data": {
|
|
67
|
+
"brief": {
|
|
68
|
+
"summary": "...",
|
|
69
|
+
"constraints": ["..."],
|
|
70
|
+
"known_traps": ["..."],
|
|
71
|
+
"prior_cases": ["..."],
|
|
72
|
+
"concept_orientation": ["..."],
|
|
73
|
+
"anchors": ["`README.md`"],
|
|
74
|
+
"conflicts": ["..."],
|
|
75
|
+
"gaps": ["..."],
|
|
76
|
+
"next_checks": ["..."]
|
|
77
|
+
},
|
|
78
|
+
"fallback_reason": null
|
|
79
|
+
},
|
|
80
|
+
"errors": []
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
The brief lets the working agent focus on the current task.
|
|
85
|
+
|
|
86
|
+
### Teach
|
|
87
|
+
|
|
88
|
+
Run `shellbrain teach` only when you explicitly want ShellBrain to remember something important.
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Memory Discipline
|
|
93
|
+
|
|
94
|
+
ShellBrain keeps memory grounded in evidence and narrow in scope. Agents request memory when they need it.
|
|
95
|
+
|
|
96
|
+
**Memory that cannot justify itself should not persist.**
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Use ShellBrain
|
|
101
|
+
|
|
102
|
+
Use ShellBrain with your preferred agent. Then work as usual.
|
|
103
|
+
|
|
104
|
+
- **Claude Code:** Use `/shellbrain` to recall context at task boundaries.
|
|
105
|
+
- **Codex:** Use `$shellbrain` to recall context at task boundaries.
|
|
106
|
+
- **Cursor:** Use `/shellbrain` to recall context at task boundaries.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Repair
|
|
111
|
+
|
|
112
|
+
Run `shellbrain admin doctor` to inspect the installation. If it reports a problem, run `shellbrain init`. Do not run init every session.
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Docs
|
|
117
|
+
|
|
118
|
+
- [For Humans](https://shellbrain.ai/humans/): installation, upgrades, and first steps
|
|
119
|
+
- [For Agents](https://shellbrain.ai/agents/): agent workflow and memory rules
|
|
120
|
+
- [Technical Docs](https://deepwiki.com/cucupac/shellbrain): detailed documentation and code map
|
|
@@ -291,6 +291,11 @@ Leave a section empty when it has no useful content.
|
|
|
291
291
|
Summary: max two sentences. Lists: max three items. Items: max one sentence.
|
|
292
292
|
Keep visible anchors minimal because full provenance belongs in telemetry.
|
|
293
293
|
|
|
294
|
+
# OUTPUT BUDGET
|
|
295
|
+
Treat `max_brief_tokens` as the limit for the complete brief.
|
|
296
|
+
Keep every relevant constraint, trap, conflict, and warning before background context.
|
|
297
|
+
Do not fill the budget when a shorter brief is useful.
|
|
298
|
+
|
|
294
299
|
# OUTPUT
|
|
295
300
|
Return only valid JSON matching `output_contract`. Return a `brief` object only.
|
|
296
301
|
Keep each list compact.
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: shellbrain
|
|
3
|
+
Version: 0.1.53
|
|
4
|
+
Summary: Repo-scoped Shellbrain CLI with explicit evidence-backed writes.
|
|
5
|
+
Requires-Python: >=3.11
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: SQLAlchemy<3.0,>=2.0
|
|
8
|
+
Requires-Dist: alembic<2.0,>=1.13
|
|
9
|
+
Requires-Dist: pydantic<3.0,>=2.7
|
|
10
|
+
Requires-Dist: PyYAML<7.0,>=6.0
|
|
11
|
+
Requires-Dist: psycopg[binary]<4.0,>=3.1
|
|
12
|
+
Requires-Dist: pgvector<1.0,>=0.3
|
|
13
|
+
Requires-Dist: sentence-transformers<4.0,>=3.0
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<img src="https://raw.githubusercontent.com/cucupac/shellbrain/main/docs/assets/shellbrain_logo_badge.png" alt="ShellBrain logo" height="88">
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
<h3 align="center">ShellBrain</h3>
|
|
20
|
+
|
|
21
|
+
<p align="center">Long-term Memory for AI Agents.</p>
|
|
22
|
+
|
|
23
|
+
ShellBrain gives AI agents memory, so they can store and reuse what they learn over time.
|
|
24
|
+
|
|
25
|
+
## Install
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
curl -L shellbrain.ai/install | bash
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Works for Codex, Claude Code, and Cursor.**
|
|
32
|
+
|
|
33
|
+
Requirements.
|
|
34
|
+
- macOS or Linux, Python 3.11+, Docker for the managed local Postgres+pgvector runtime.
|
|
35
|
+
|
|
36
|
+
### Upgrade for latest capabilities
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
shellbrain upgrade
|
|
40
|
+
```
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Recall in one command
|
|
44
|
+
|
|
45
|
+
<p align="center">
|
|
46
|
+
<img src="docs/assets/shellbrain-recall-context-diagram.png" alt="ShellBrain recall uses vector search and BM25 to search your memories. An inner recall agent summarizes the search results." width="720">
|
|
47
|
+
</p>
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Architecture
|
|
52
|
+
|
|
53
|
+
ShellBrain builds memory in three grounded layers:
|
|
54
|
+
|
|
55
|
+
- **Episodic knowledge records evidence.** It stores prompts, agent steps, tool calls, and outputs from each session.
|
|
56
|
+
- **Empirical knowledge extracts concrete memories.** It organizes problems, solutions, failed tactics, facts, preferences, and changes in a semantic graph for **case-based reasoning**.
|
|
57
|
+
- **Conceptual knowledge abstracts reusable ideas.** Its concept graph connects claims, relations, and implementations to empirical knowledge.
|
|
58
|
+
|
|
59
|
+
Each higher layer links to evidence in the layer below it. Agents receive a compact orientation first, then request more detail when needed.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## How Agents Use ShellBrain
|
|
64
|
+
|
|
65
|
+
### Recall
|
|
66
|
+
|
|
67
|
+
Working agents run `shellbrain recall` to get one compact brief for the current task.
|
|
68
|
+
|
|
69
|
+
Recall receives only the quoted query. Include the relevant task, failure, subsystem, or decision in the question.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
shellbrain recall "What is ShellBrain, and how does it help a working coding agent?"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Response format:**
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"status": "ok",
|
|
80
|
+
"data": {
|
|
81
|
+
"brief": {
|
|
82
|
+
"summary": "...",
|
|
83
|
+
"constraints": ["..."],
|
|
84
|
+
"known_traps": ["..."],
|
|
85
|
+
"prior_cases": ["..."],
|
|
86
|
+
"concept_orientation": ["..."],
|
|
87
|
+
"anchors": ["`README.md`"],
|
|
88
|
+
"conflicts": ["..."],
|
|
89
|
+
"gaps": ["..."],
|
|
90
|
+
"next_checks": ["..."]
|
|
91
|
+
},
|
|
92
|
+
"fallback_reason": null
|
|
93
|
+
},
|
|
94
|
+
"errors": []
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
The brief lets the working agent focus on the current task.
|
|
99
|
+
|
|
100
|
+
### Teach
|
|
101
|
+
|
|
102
|
+
Run `shellbrain teach` only when you explicitly want ShellBrain to remember something important.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Memory Discipline
|
|
107
|
+
|
|
108
|
+
ShellBrain keeps memory grounded in evidence and narrow in scope. Agents request memory when they need it.
|
|
109
|
+
|
|
110
|
+
**Memory that cannot justify itself should not persist.**
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Use ShellBrain
|
|
115
|
+
|
|
116
|
+
Use ShellBrain with your preferred agent. Then work as usual.
|
|
117
|
+
|
|
118
|
+
- **Claude Code:** Use `/shellbrain` to recall context at task boundaries.
|
|
119
|
+
- **Codex:** Use `$shellbrain` to recall context at task boundaries.
|
|
120
|
+
- **Cursor:** Use `/shellbrain` to recall context at task boundaries.
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Repair
|
|
125
|
+
|
|
126
|
+
Run `shellbrain admin doctor` to inspect the installation. If it reports a problem, run `shellbrain init`. Do not run init every session.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Docs
|
|
131
|
+
|
|
132
|
+
- [For Humans](https://shellbrain.ai/humans/): installation, upgrades, and first steps
|
|
133
|
+
- [For Agents](https://shellbrain.ai/agents/): agent workflow and memory rules
|
|
134
|
+
- [Technical Docs](https://deepwiki.com/cucupac/shellbrain): detailed documentation and code map
|
shellbrain-0.1.52/PKG-INFO
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: shellbrain
|
|
3
|
-
Version: 0.1.52
|
|
4
|
-
Summary: Repo-scoped Shellbrain CLI with explicit evidence-backed writes.
|
|
5
|
-
Requires-Python: >=3.11
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
Requires-Dist: SQLAlchemy<3.0,>=2.0
|
|
8
|
-
Requires-Dist: alembic<2.0,>=1.13
|
|
9
|
-
Requires-Dist: pydantic<3.0,>=2.7
|
|
10
|
-
Requires-Dist: PyYAML<7.0,>=6.0
|
|
11
|
-
Requires-Dist: psycopg[binary]<4.0,>=3.1
|
|
12
|
-
Requires-Dist: pgvector<1.0,>=0.3
|
|
13
|
-
Requires-Dist: sentence-transformers<4.0,>=3.0
|
|
14
|
-
|
|
15
|
-
<p align="center">
|
|
16
|
-
<img src="https://raw.githubusercontent.com/cucupac/shellbrain/main/docs/assets/shellbrain_logo_badge.png" alt="ShellBrain logo" height="88">
|
|
17
|
-
</p>
|
|
18
|
-
|
|
19
|
-
<h3 align="center">ShellBrain</h3>
|
|
20
|
-
|
|
21
|
-
<p align="center">Long-term Memory for AI Agents.</p>
|
|
22
|
-
|
|
23
|
-
Agents forget across sessions. They rediscover the same problems, repeat the same mistakes, and relearn what you already taught them. **ShellBrain makes their work compound.**
|
|
24
|
-
|
|
25
|
-
## Install
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
curl -L shellbrain.ai/install | bash
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
**Works for Codex, Claude Code, and Cursor.** The installer runs `shellbrain init` for you. Repos register themselves on first use.
|
|
32
|
-
|
|
33
|
-
Requirements.
|
|
34
|
-
- macOS or Linux, Python 3.11+, Docker for the managed local Postgres+pgvector runtime.
|
|
35
|
-
|
|
36
|
-
### Upgrade for latest capabilities
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
shellbrain upgrade
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
The install script also works as an upgrade path: `curl -L shellbrain.ai/upgrade | bash`. Manual alternative: `pipx upgrade shellbrain && shellbrain init`.
|
|
43
|
-
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
## Recall in one command.
|
|
47
|
-
Episodic, empirical, conceptual. Three categories, one retrieval surface.
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
## Architecture
|
|
52
|
-
|
|
53
|
-
**Episodic knowledge** is the _evidence_ layer.
|
|
54
|
-
- What actually happened in the session: your prompts, the agent's steps, tool calls, and outputs.
|
|
55
|
-
|
|
56
|
-
**Empirical knowledge** is the concrete _extracted_ layer.
|
|
57
|
-
- An ontology of problems, solutions, failed tactics, facts, preferences, changes.
|
|
58
|
-
- This is **case-based reasoning** in a semantic graph.
|
|
59
|
-
|
|
60
|
-
**Conceptual knowledge** is the _abstractive_ layer.
|
|
61
|
-
- A **higher-level concept graph** with claims, relations, and implementations that link back to the concrete layer.
|
|
62
|
-
- **Progressive disclosure.** agents get oriented first, then ask for depth only where tasks require it.
|
|
63
|
-
|
|
64
|
-
The episodic layer is truth. Empirical memory extracts. Concept memory abstracts. **Each layer is grounded in the one beneath it.**
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
## How Agents Use ShellBrain
|
|
69
|
-
|
|
70
|
-
### Recall
|
|
71
|
-
|
|
72
|
-
**Working agents call `shellbrain recall`.** That is the normal interface they have to think about. One command, **one _carefully curated_ compact brief** for the task at hand.
|
|
73
|
-
|
|
74
|
-
Recall receives only the quoted query, so include the relevant task, failure, subsystem, or decision naturally in the question.
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
shellbrain recall "What is ShellBrain, and how does it help a working coding agent?"
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
Response shape:
|
|
81
|
-
|
|
82
|
-
```json
|
|
83
|
-
{
|
|
84
|
-
"status": "ok",
|
|
85
|
-
"data": {
|
|
86
|
-
"brief": {
|
|
87
|
-
"summary": "...",
|
|
88
|
-
"constraints": ["..."],
|
|
89
|
-
"known_traps": ["..."],
|
|
90
|
-
"prior_cases": ["..."],
|
|
91
|
-
"concept_orientation": ["..."],
|
|
92
|
-
"anchors": ["`README.md`"],
|
|
93
|
-
"conflicts": ["..."],
|
|
94
|
-
"gaps": ["..."],
|
|
95
|
-
"next_checks": ["..."]
|
|
96
|
-
},
|
|
97
|
-
"fallback_reason": null
|
|
98
|
-
},
|
|
99
|
-
"errors": []
|
|
100
|
-
}
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
**Working agents focus on only their work.**
|
|
104
|
-
|
|
105
|
-
### Teach
|
|
106
|
-
|
|
107
|
-
**Working agents call `shellbrain teach` for explicit teaching.** You can tell an agent to remember important ideas.
|
|
108
|
-
|
|
109
|
-
---
|
|
110
|
-
|
|
111
|
-
## Principled and Disciplined
|
|
112
|
-
|
|
113
|
-
Memory that is grounded in evidence, small in scope, and asked for rather than pushed is memory that compounds. Everything else is noise for working agents.
|
|
114
|
-
|
|
115
|
-
**A memory layer that cannot justify itself should not persist.**
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
## How to Use ShellBrain
|
|
120
|
-
|
|
121
|
-
Use Shellbrain in your agent of choice. Then, just work normally.
|
|
122
|
-
|
|
123
|
-
**Claude Code:** *Use `/shellbrain` to remember Shellbrain recall at the right task boundaries.*
|
|
124
|
-
|
|
125
|
-
**Codex:** *Use $shellbrain to remember Shellbrain recall at the right task boundaries.*
|
|
126
|
-
|
|
127
|
-
**Cursor:** *Use `/shellbrain` to remember Shellbrain recall at the right task boundaries.*
|
|
128
|
-
|
|
129
|
-
---
|
|
130
|
-
|
|
131
|
-
## Repair
|
|
132
|
-
|
|
133
|
-
`shellbrain admin doctor` to inspect. `shellbrain init` to repair if doctor flags it. Do not rerun init every session.
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
## Docs
|
|
138
|
-
|
|
139
|
-
- [For Humans](https://shellbrain.ai/humans/) — install, upgrade, getting started
|
|
140
|
-
- [For Agents](https://shellbrain.ai/agents/) — agent workflow and write discipline
|
|
141
|
-
- [Technical Docs](https://deepwiki.com/cucupac/shellbrain) — in-depth generated docs and codebase map
|
shellbrain-0.1.52/README.md
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/cucupac/shellbrain/main/docs/assets/shellbrain_logo_badge.png" alt="ShellBrain logo" height="88">
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
<h3 align="center">ShellBrain</h3>
|
|
6
|
-
|
|
7
|
-
<p align="center">Long-term Memory for AI Agents.</p>
|
|
8
|
-
|
|
9
|
-
Agents forget across sessions. They rediscover the same problems, repeat the same mistakes, and relearn what you already taught them. **ShellBrain makes their work compound.**
|
|
10
|
-
|
|
11
|
-
## Install
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
curl -L shellbrain.ai/install | bash
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
**Works for Codex, Claude Code, and Cursor.** The installer runs `shellbrain init` for you. Repos register themselves on first use.
|
|
18
|
-
|
|
19
|
-
Requirements.
|
|
20
|
-
- macOS or Linux, Python 3.11+, Docker for the managed local Postgres+pgvector runtime.
|
|
21
|
-
|
|
22
|
-
### Upgrade for latest capabilities
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
shellbrain upgrade
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
The install script also works as an upgrade path: `curl -L shellbrain.ai/upgrade | bash`. Manual alternative: `pipx upgrade shellbrain && shellbrain init`.
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
## Recall in one command.
|
|
33
|
-
Episodic, empirical, conceptual. Three categories, one retrieval surface.
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## Architecture
|
|
38
|
-
|
|
39
|
-
**Episodic knowledge** is the _evidence_ layer.
|
|
40
|
-
- What actually happened in the session: your prompts, the agent's steps, tool calls, and outputs.
|
|
41
|
-
|
|
42
|
-
**Empirical knowledge** is the concrete _extracted_ layer.
|
|
43
|
-
- An ontology of problems, solutions, failed tactics, facts, preferences, changes.
|
|
44
|
-
- This is **case-based reasoning** in a semantic graph.
|
|
45
|
-
|
|
46
|
-
**Conceptual knowledge** is the _abstractive_ layer.
|
|
47
|
-
- A **higher-level concept graph** with claims, relations, and implementations that link back to the concrete layer.
|
|
48
|
-
- **Progressive disclosure.** agents get oriented first, then ask for depth only where tasks require it.
|
|
49
|
-
|
|
50
|
-
The episodic layer is truth. Empirical memory extracts. Concept memory abstracts. **Each layer is grounded in the one beneath it.**
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## How Agents Use ShellBrain
|
|
55
|
-
|
|
56
|
-
### Recall
|
|
57
|
-
|
|
58
|
-
**Working agents call `shellbrain recall`.** That is the normal interface they have to think about. One command, **one _carefully curated_ compact brief** for the task at hand.
|
|
59
|
-
|
|
60
|
-
Recall receives only the quoted query, so include the relevant task, failure, subsystem, or decision naturally in the question.
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
shellbrain recall "What is ShellBrain, and how does it help a working coding agent?"
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Response shape:
|
|
67
|
-
|
|
68
|
-
```json
|
|
69
|
-
{
|
|
70
|
-
"status": "ok",
|
|
71
|
-
"data": {
|
|
72
|
-
"brief": {
|
|
73
|
-
"summary": "...",
|
|
74
|
-
"constraints": ["..."],
|
|
75
|
-
"known_traps": ["..."],
|
|
76
|
-
"prior_cases": ["..."],
|
|
77
|
-
"concept_orientation": ["..."],
|
|
78
|
-
"anchors": ["`README.md`"],
|
|
79
|
-
"conflicts": ["..."],
|
|
80
|
-
"gaps": ["..."],
|
|
81
|
-
"next_checks": ["..."]
|
|
82
|
-
},
|
|
83
|
-
"fallback_reason": null
|
|
84
|
-
},
|
|
85
|
-
"errors": []
|
|
86
|
-
}
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
**Working agents focus on only their work.**
|
|
90
|
-
|
|
91
|
-
### Teach
|
|
92
|
-
|
|
93
|
-
**Working agents call `shellbrain teach` for explicit teaching.** You can tell an agent to remember important ideas.
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
## Principled and Disciplined
|
|
98
|
-
|
|
99
|
-
Memory that is grounded in evidence, small in scope, and asked for rather than pushed is memory that compounds. Everything else is noise for working agents.
|
|
100
|
-
|
|
101
|
-
**A memory layer that cannot justify itself should not persist.**
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## How to Use ShellBrain
|
|
106
|
-
|
|
107
|
-
Use Shellbrain in your agent of choice. Then, just work normally.
|
|
108
|
-
|
|
109
|
-
**Claude Code:** *Use `/shellbrain` to remember Shellbrain recall at the right task boundaries.*
|
|
110
|
-
|
|
111
|
-
**Codex:** *Use $shellbrain to remember Shellbrain recall at the right task boundaries.*
|
|
112
|
-
|
|
113
|
-
**Cursor:** *Use `/shellbrain` to remember Shellbrain recall at the right task boundaries.*
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## Repair
|
|
118
|
-
|
|
119
|
-
`shellbrain admin doctor` to inspect. `shellbrain init` to repair if doctor flags it. Do not rerun init every session.
|
|
120
|
-
|
|
121
|
-
---
|
|
122
|
-
|
|
123
|
-
## Docs
|
|
124
|
-
|
|
125
|
-
- [For Humans](https://shellbrain.ai/humans/) — install, upgrade, getting started
|
|
126
|
-
- [For Agents](https://shellbrain.ai/agents/) — agent workflow and write discipline
|
|
127
|
-
- [Technical Docs](https://deepwiki.com/cucupac/shellbrain) — in-depth generated docs and codebase map
|