Skip to content

refactor: rename package from ai_company to synthorg#422

Merged
Aureliolo merged 2 commits intomainfrom
refactor/rename-package-synthorg
Mar 14, 2026
Merged

refactor: rename package from ai_company to synthorg#422
Aureliolo merged 2 commits intomainfrom
refactor/rename-package-synthorg

Conversation

@Aureliolo
Copy link
Copy Markdown
Owner

Summary

  • Rename Python package directory src/ai_company/src/synthorg/ via git mv (preserves blame)
  • Update all internal imports (from ai_company.Xfrom synthorg.X) across 880 files (~24K replacements)
  • Rename env var prefix AI_COMPANY_SYNTHORG_ (Docker configs, .env.example, Go CLI templates, auth secret)
  • Update logger name strings, log routing filters, log filename, importlib.resources path
  • Update CI workflows (--cov=synthorg, path triggers), pyproject.toml (hatch, ruff, coverage), .pre-commit-config.yaml, release-please-config.json
  • Update docs (::: directives, env var tables, architecture references)
  • Update .claude/ skill files and hookify rules
  • Regenerate uv.lock

962 files changed, 4735 insertions, 4738 deletions.

Test plan

  • Zero lingering ai_company / AI_COMPANY references (grep verified)
  • Ruff lint + format: all clean
  • Mypy: 974 files, no issues
  • Pytest: 7989 passed, 94.49% coverage (>80% threshold)
  • Go CLI tests: all passed
  • Web dashboard lint/type-check/tests: all passed (520 tests)
  • Pre-commit hooks: all 15 passed (pre-commit run --all-files)

Closes #398

Rename the Python package directory, all internal imports, logger
names, env var prefix (AI_COMPANY_ → SYNTHORG_), Docker configs,
CI workflows, docs, CLI templates, and .claude/ skill files.

~24K text replacements across 880 files + git mv for the directory.

Closes #398
Copilot AI review requested due to automatic review settings March 14, 2026 23:09
@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Mar 14, 2026

Too many files changed for review. (962 files found, 100 file limit)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 14, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 14, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: cdf856f3-a576-4d8e-a974-6df362399e90

📥 Commits

Reviewing files that changed from the base of the PR and between dd13a55 and a9a9de9.

📒 Files selected for processing (1)
  • docker/backend/Dockerfile

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Renamed the project/package namespace from "ai_company" to "synthorg" throughout code, docs, CI and deployment config.
    • Switched public environment variables from AI_COMPANY_* → SYNTHORG_* (JWT secret, DB path, memory dir) and updated related examples.
    • Updated documentation, test coverage targets, and workflow triggers to reference the new namespace; public API/module exports were realigned to the synthorg package.

Walkthrough

Mass rename/refactor: the package and namespace were changed from ai_company/AI_COMPANY_* to synthorg/SYNTHORG_* across source, docs, CI, Docker, CLI, and configuration; several package-level init.py exports were removed under ai_company and reintroduced under synthorg.

Changes

Cohort / File(s) Summary
Repository-wide rename & config
pyproject.toml, .github/release-please-config.json, .pre-commit-config.yaml, .github/workflows/{ci.yml,pages.yml,pages-preview.yml}
Updated package references, coverage/source settings, release config, pre-commit excludes, and GH workflow triggers from ai_companysynthorg.
Docker & compose
docker/.env.example, docker/backend/Dockerfile, docker/compose.yml, cli/internal/compose/compose.yml.tmpl, cli/testdata/compose_*.yml
Renamed env vars and compose keys from AI_COMPANY_*SYNTHORG_*; backend Docker CMD adjusted to run synthorg.api.app:create_app. Update test fixtures and compose template accordingly.
Docs & contributor guides
docs/**, CLAUDE.md, .github/CONTRIBUTING.md, .claude/*
Rewrote documentation and agent-skill hook patterns to reference synthorg.* (mkdocstrings/namespace directives, examples, coverage flags, hook file-path patterns).
Top-level scripts & CI helpers
scripts/export_openapi.py, .claude/hookify.*, .claude/skills/*, .github/*
Adjusted imports and patterns to point to synthorg and update hook/skill scopes and coverage flags.
API surface & controllers
src/synthorg/api/..., src/ai_company/api/{__init__.py (removed)}
Moved/rewired API package to synthorg; created new src/synthorg/api/controllers/__init__.py and src/synthorg/api/auth/__init__.py re-exports. Removed the old src/ai_company/api aggregator modules. Pay attention to public export lists and controller registry (ALL_CONTROLLERS).
Package exports removed then reintroduced
src/ai_company/... deletions, src/synthorg/.../__init__.py additions (auth, controllers, memory backends)
Multiple ai_company package init files had exports removed; equivalent re-exports introduced under src/synthorg (notably auth and memory backends/mem0). Verify public API surface stability.
Memory backends
src/synthorg/memory/backends/mem0/{__init__.py,adapter.py,config.py,mappers.py}
Reintroduced Mem0 backend package under synthorg with init.py exposing Mem0MemoryBackend, Mem0BackendConfig, Mem0EmbedderConfig. Ensure adapter/config consistency.
Engine, core, budget, communication, HR, config, etc.
src/synthorg/{engine,core,budget,communication,config,hr,memory,providers,templates,...}/...
Massive but mechanical import/path updates (ai_company.* → synthorg.*) including TYPE_CHECKING imports and observability event imports. Focus reviews on places with deferred imports or in-function imports and any docstring/event constant references.
Tests & tooling
cli/internal/compose/generate_test.go, pyproject.toml coverage/tooling
Updated expected env var names in tests and build/tooling config to reference synthorg. Verify tests that assert environment keys or module import strings.
Small/auxiliary files
.pre-commit-config.yaml, .github/*, CLAUDE.md, docs/*
Numerous small doc/config updates to reflect the new package name and env var prefixes.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch refactor/rename-package-synthorg
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch refactor/rename-package-synthorg

@Aureliolo Aureliolo temporarily deployed to cloudflare-preview March 14, 2026 23:10 — with GitHub Actions Inactive
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 14, 2026

Codecov Report

❌ Patch coverage is 98.84202% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.67%. Comparing base (115a742) to head (a9a9de9).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/synthorg/api/server.py 0.00% 3 Missing ⚠️
src/synthorg/hr/performance/quality_protocol.py 0.00% 3 Missing ⚠️
.../synthorg/hr/performance/collaboration_protocol.py 0.00% 2 Missing ⚠️
src/synthorg/hr/performance/trend_protocol.py 0.00% 2 Missing ⚠️
src/synthorg/hr/reassignment_protocol.py 0.00% 2 Missing ⚠️
src/synthorg/engine/agent_engine.py 96.42% 1 Missing ⚠️
src/synthorg/hr/performance/window_protocol.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #422   +/-   ##
=======================================
  Coverage   93.67%   93.67%           
=======================================
  Files         469      469           
  Lines       22214    22214           
  Branches     2142     2142           
=======================================
  Hits        20809    20809           
  Misses       1094     1094           
  Partials      311      311           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors the codebase to rename the Python package and related configuration surface from ai_company to synthorg, including import paths, environment variable prefixes, and docs/CI references.

Changes:

  • Renamed package namespace usages across Python modules and updated docstring cross-references to synthorg.*.
  • Updated env var prefix to SYNTHORG_ across Docker configuration and Go CLI templates/tests.
  • Updated build/test tooling configuration (Hatch, Ruff, Coverage, CI) and documentation directives to point at synthorg.

Reviewed changes

Copilot reviewed 280 out of 962 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/synthorg/memory/backends/mem0/mappers.py Update imports to synthorg.* for mem0 mappers.
src/synthorg/memory/backends/mem0/config.py Update imports to synthorg.* for mem0 backend config.
src/synthorg/memory/backends/mem0/adapter.py Update imports to synthorg.* for mem0 adapter.
src/synthorg/memory/backends/mem0/init.py Add mem0 backend public exports under synthorg.
src/synthorg/memory/backends/init.py Update backend export import path to synthorg.*.
src/synthorg/memory/init.py Update re-export surface to synthorg.memory and adjust docstring.
src/synthorg/hr/registry.py Update imports to synthorg.* for HR registry.
src/synthorg/hr/reassignment_protocol.py Update imports to synthorg.* for protocol types.
src/synthorg/hr/queue_return_strategy.py Update imports to synthorg.* for reassignment strategy.
src/synthorg/hr/promotion/threshold_evaluator.py Update imports to synthorg.* for promotion evaluator.
src/synthorg/hr/promotion/service.py Update imports to synthorg.* for promotion service.
src/synthorg/hr/promotion/seniority_model_mapping.py Update imports to synthorg.* for model mapping.
src/synthorg/hr/promotion/seniority_approval_strategy.py Update imports to synthorg.* for approval strategy.
src/synthorg/hr/promotion/models.py Update imports to synthorg.* for promotion models.
src/synthorg/hr/promotion/model_mapping_protocol.py Update TYPE_CHECKING imports to synthorg.*.
src/synthorg/hr/promotion/criteria_protocol.py Update TYPE_CHECKING imports to synthorg.*.
src/synthorg/hr/promotion/config.py Update imports to synthorg.* for promotion config.
src/synthorg/hr/promotion/approval_protocol.py Update TYPE_CHECKING imports to synthorg.*.
src/synthorg/hr/promotion/init.py Update promotion package exports to synthorg.*.
src/synthorg/hr/persistence_protocol.py Update imports to synthorg.* for persistence protocol.
src/synthorg/hr/performance/window_protocol.py Update imports to synthorg.* for performance window protocol.
src/synthorg/hr/performance/trend_protocol.py Update imports to synthorg.* for trend protocol.
src/synthorg/hr/performance/tracker.py Update imports to synthorg.* for performance tracker and defaults.
src/synthorg/hr/performance/theil_sen_strategy.py Update imports to synthorg.* for trend strategy.
src/synthorg/hr/performance/quality_protocol.py Update imports to synthorg.* for quality protocol.
src/synthorg/hr/performance/multi_window_strategy.py Update imports to synthorg.* for window strategy.
src/synthorg/hr/performance/models.py Update imports to synthorg.* for performance models.
src/synthorg/hr/performance/config.py Update imports to synthorg.* for performance config.
src/synthorg/hr/performance/collaboration_protocol.py Update imports to synthorg.* for collaboration protocol.
src/synthorg/hr/performance/ci_quality_strategy.py Update imports to synthorg.* for CI quality strategy.
src/synthorg/hr/performance/behavioral_collaboration_strategy.py Update imports to synthorg.* for collaboration strategy.
src/synthorg/hr/onboarding_service.py Update imports to synthorg.* for onboarding service.
src/synthorg/hr/offboarding_service.py Update imports to synthorg.* for offboarding service.
src/synthorg/hr/models.py Update imports to synthorg.* for HR models.
src/synthorg/hr/hiring_service.py Update imports to synthorg.* for hiring service.
src/synthorg/hr/full_snapshot_strategy.py Update imports to synthorg.* for archival snapshot strategy.
src/synthorg/hr/archival_protocol.py Update imports to synthorg.* for archival protocol/config.
src/synthorg/engine/workspace/service.py Update imports to synthorg.* for workspace isolation service.
src/synthorg/engine/workspace/protocol.py Update TYPE_CHECKING imports to synthorg.*.
src/synthorg/engine/workspace/models.py Update imports to synthorg.* for workspace models.
src/synthorg/engine/workspace/merge.py Update imports to synthorg.* for merge orchestrator.
src/synthorg/engine/workspace/git_worktree.py Update imports to synthorg.* for worktree strategy.
src/synthorg/engine/workspace/config.py Update imports to synthorg.* for workspace config.
src/synthorg/engine/workspace/init.py Update exports to synthorg.* for workspace package.
src/synthorg/engine/task_sync.py Update imports to synthorg.* for task sync.
src/synthorg/engine/task_execution.py Update imports and doc references to synthorg.*.
src/synthorg/engine/task_engine_version.py Update imports to synthorg.* for version tracking.
src/synthorg/engine/task_engine_models.py Update imports and doc references to synthorg.*.
src/synthorg/engine/task_engine_apply.py Update imports to synthorg.* for mutation apply.
src/synthorg/engine/task_engine.py Update imports to synthorg.* including deferred comm imports.
src/synthorg/engine/shutdown.py Update imports to synthorg.* for shutdown manager.
src/synthorg/engine/run_result.py Update imports to synthorg.* for run result model.
src/synthorg/engine/routing/topology_selector.py Update imports to synthorg.* for selector.
src/synthorg/engine/routing/service.py Update imports to synthorg.* for routing service.
src/synthorg/engine/routing/scorer.py Update imports to synthorg.* for routing scorer.
src/synthorg/engine/routing/models.py Update imports to synthorg.* for routing models.
src/synthorg/engine/routing/init.py Update exports to synthorg.* for routing package.
src/synthorg/engine/resource_lock.py Update imports to synthorg.* for resource lock.
src/synthorg/engine/recovery.py Update imports to synthorg.* for recovery pipeline.
src/synthorg/engine/react_loop.py Update imports to synthorg.* for ReAct loop.
src/synthorg/engine/prompt_template.py Update doc and imports to synthorg.* for templates.
src/synthorg/engine/prompt.py Update examples/imports to synthorg.* for prompt builder.
src/synthorg/engine/policy_validation.py Update imports to synthorg.* for policy validation.
src/synthorg/engine/plan_parsing.py Update imports to synthorg.* for plan parsing.
src/synthorg/engine/plan_models.py Update imports to synthorg.* for plan models.
src/synthorg/engine/plan_execute_loop.py Update imports to synthorg.* for plan-execute loop.
src/synthorg/engine/parallel_models.py Update imports to synthorg.* for parallel models.
src/synthorg/engine/parallel.py Update imports to synthorg.* for parallel executor.
src/synthorg/engine/metrics.py Update imports to synthorg.* for metrics models.
src/synthorg/engine/loop_protocol.py Update imports to synthorg.* for loop protocol.
src/synthorg/engine/loop_helpers.py Update imports to synthorg.* for loop helpers.
src/synthorg/engine/errors.py Update TYPE_CHECKING import to synthorg.*.
src/synthorg/engine/decomposition/service.py Update imports to synthorg.* for decomposition service.
src/synthorg/engine/decomposition/rollup.py Update imports to synthorg.* for rollup.
src/synthorg/engine/decomposition/protocol.py Update TYPE_CHECKING imports to synthorg.*.
src/synthorg/engine/decomposition/models.py Update imports to synthorg.* for decomposition models.
src/synthorg/engine/decomposition/manual.py Update imports to synthorg.* for manual strategy.
src/synthorg/engine/decomposition/llm_prompt.py Update imports to synthorg.* for LLM prompt builder.
src/synthorg/engine/decomposition/llm.py Update imports to synthorg.* for LLM strategy.
src/synthorg/engine/decomposition/dag.py Update imports to synthorg.* for dependency graph.
src/synthorg/engine/decomposition/classifier.py Update imports to synthorg.* for classifier.
src/synthorg/engine/decomposition/init.py Update exports to synthorg.* for decomposition package.
src/synthorg/engine/cost_recording.py Update imports to synthorg.* for cost recording.
src/synthorg/engine/coordination/service.py Update imports to synthorg.* for coordination service.
src/synthorg/engine/coordination/section_config.py Update imports to synthorg.* for section config.
src/synthorg/engine/coordination/models.py Update imports to synthorg.* for coordination models.
src/synthorg/engine/coordination/group_builder.py Update imports to synthorg.* for group builder.
src/synthorg/engine/coordination/dispatchers.py Update imports/comments to synthorg.* for dispatchers.
src/synthorg/engine/coordination/config.py Update imports to synthorg.* for config.
src/synthorg/engine/coordination/init.py Update exports to synthorg.* for coordination package.
src/synthorg/engine/context.py Update imports and doc references to synthorg.*.
src/synthorg/engine/classification/pipeline.py Update imports to synthorg.* for classification pipeline.
src/synthorg/engine/classification/models.py Update imports to synthorg.* for classification models.
src/synthorg/engine/classification/detectors.py Update imports to synthorg.* for detectors.
src/synthorg/engine/classification/init.py Update exports to synthorg.* for classification package.
src/synthorg/engine/checkpoint/strategy.py Update imports to synthorg.* for checkpoint strategy.
src/synthorg/engine/checkpoint/resume.py Update imports to synthorg.* for checkpoint resume.
src/synthorg/engine/checkpoint/models.py Update imports to synthorg.* for checkpoint models.
src/synthorg/engine/checkpoint/callback_factory.py Update imports to synthorg.* for callback factory.
src/synthorg/engine/checkpoint/callback.py Update import to synthorg.* for callback.
src/synthorg/engine/checkpoint/init.py Update exports to synthorg.* for checkpoint package.
src/synthorg/engine/assignment/strategies.py Update imports to synthorg.* for assignment strategies.
src/synthorg/engine/assignment/service.py Update imports to synthorg.* for assignment service.
src/synthorg/engine/assignment/registry.py Update imports to synthorg.* for strategy registry.
src/synthorg/engine/assignment/protocol.py Update TYPE_CHECKING imports to synthorg.*.
src/synthorg/engine/assignment/models.py Update imports to synthorg.* for assignment models.
src/synthorg/engine/assignment/init.py Update exports to synthorg.* for assignment package.
src/synthorg/engine/approval_gate_models.py Update imports to synthorg.* for gate models.
src/synthorg/engine/approval_gate.py Update imports to synthorg.* for approval gate.
src/synthorg/engine/_validation.py Update imports to synthorg.* for engine validation helpers.
src/synthorg/engine/_security_factory.py Update imports to synthorg.* for security wiring.
src/synthorg/core/task_transitions.py Update imports to synthorg.* for transitions.
src/synthorg/core/task.py Update imports and doc references to synthorg.*.
src/synthorg/core/role_catalog.py Update imports to synthorg.* for role catalog.
src/synthorg/core/role.py Update imports and doc references to synthorg.*.
src/synthorg/core/resilience_config.py Update imports to synthorg.* for resilience config.
src/synthorg/core/project.py Update imports to synthorg.* for project model.
src/synthorg/core/personality.py Update imports and doc references to synthorg.*.
src/synthorg/core/enums.py Update doc references to synthorg.*.
src/synthorg/core/company.py Update imports and doc references to synthorg.*.
src/synthorg/core/artifact.py Update imports to synthorg.* for artifacts.
src/synthorg/core/approval.py Update imports to synthorg.* for approval model.
src/synthorg/core/agent.py Update imports and doc references to synthorg.*.
src/synthorg/core/init.py Update core re-exports to synthorg.*.
src/synthorg/constants.py Update package docstring to synthorg.
src/synthorg/config/utils.py Update imports to synthorg.* for config utilities.
src/synthorg/config/schema.py Update imports and doc references to synthorg.*.
src/synthorg/config/loader.py Update imports and doc references to synthorg.*.
src/synthorg/config/init.py Update config exports to synthorg.*.
src/synthorg/communication/subscription.py Update imports to synthorg.* for subscription models.
src/synthorg/communication/messenger.py Update imports to synthorg.* for messenger.
src/synthorg/communication/message.py Update imports to synthorg.* for message model.
src/synthorg/communication/meeting/structured_phases.py Update imports to synthorg.* for meeting protocol.
src/synthorg/communication/meeting/scheduler.py Update imports to synthorg.* for scheduler.
src/synthorg/communication/meeting/round_robin.py Update imports to synthorg.* for protocol.
src/synthorg/communication/meeting/protocol.py Update imports to synthorg.* for meeting protocol types.
src/synthorg/communication/meeting/position_papers.py Update imports to synthorg.* for protocol.
src/synthorg/communication/meeting/participant.py Update imports to synthorg.* for participant resolver.
src/synthorg/communication/meeting/orchestrator.py Update imports to synthorg.* for orchestrator.
src/synthorg/communication/meeting/models.py Update imports to synthorg.* for meeting models.
src/synthorg/communication/meeting/errors.py Update imports to synthorg.* for meeting errors.
src/synthorg/communication/meeting/config.py Update imports to synthorg.* for meeting config.
src/synthorg/communication/meeting/_token_tracker.py Update imports to synthorg.* for token tracking.
src/synthorg/communication/meeting/_prompts.py Update TYPE_CHECKING imports to synthorg.*.
src/synthorg/communication/meeting/_parsing.py Update imports to synthorg.* for meeting parsing.
src/synthorg/communication/meeting/init.py Update exports to synthorg.* for meeting package.
src/synthorg/communication/loop_prevention/rate_limit.py Update imports to synthorg.* for rate limiter.
src/synthorg/communication/loop_prevention/models.py Update imports to synthorg.* for loop models.
src/synthorg/communication/loop_prevention/guard.py Update imports to synthorg.* for guard.
src/synthorg/communication/loop_prevention/depth.py Update imports to synthorg.* for depth check.
src/synthorg/communication/loop_prevention/dedup.py Update imports to synthorg.* for dedup.
src/synthorg/communication/loop_prevention/circuit_breaker.py Update imports to synthorg.* for circuit breaker.
src/synthorg/communication/loop_prevention/ancestry.py Update imports to synthorg.* for ancestry check.
src/synthorg/communication/loop_prevention/init.py Update exports to synthorg.* for loop prevention.
src/synthorg/communication/handler.py Update imports to synthorg.* for handler registration.
src/synthorg/communication/enums.py Update doc references to synthorg.*.
src/synthorg/communication/dispatcher.py Update imports to synthorg.* for dispatcher.
src/synthorg/communication/delegation/service.py Update imports to synthorg.* for delegation service.
src/synthorg/communication/delegation/models.py Update imports to synthorg.* for delegation models.
src/synthorg/communication/delegation/hierarchy.py Update imports to synthorg.* for hierarchy resolver.
src/synthorg/communication/delegation/authority.py Update imports to synthorg.* for authority checks.
src/synthorg/communication/delegation/init.py Update exports to synthorg.* for delegation package.
src/synthorg/communication/conflict_resolution/service.py Update imports to synthorg.* for conflict resolution.
src/synthorg/communication/conflict_resolution/protocol.py Update imports to synthorg.* for conflict protocols.
src/synthorg/communication/conflict_resolution/models.py Update imports to synthorg.* for conflict models.
src/synthorg/communication/conflict_resolution/hybrid_strategy.py Update imports to synthorg.* for hybrid strategy.
src/synthorg/communication/conflict_resolution/human_strategy.py Update imports to synthorg.* for human strategy.
src/synthorg/communication/conflict_resolution/debate_strategy.py Update imports to synthorg.* for debate strategy.
src/synthorg/communication/conflict_resolution/config.py Update imports to synthorg.* for config.
src/synthorg/communication/conflict_resolution/authority_strategy.py Update imports to synthorg.* for authority strategy.
src/synthorg/communication/conflict_resolution/_helpers.py Update imports to synthorg.* for helpers.
src/synthorg/communication/conflict_resolution/init.py Update exports to synthorg.* for conflict resolution.
src/synthorg/communication/config.py Update imports to synthorg.* for comms config.
src/synthorg/communication/channel.py Update imports to synthorg.* for channel models.
src/synthorg/communication/bus_protocol.py Update imports to synthorg.* for bus protocol.
src/synthorg/communication/bus_memory.py Update imports to synthorg.* for in-memory bus.
src/synthorg/budget/tracker.py Update imports to synthorg.* for cost tracker.
src/synthorg/budget/spending_summary.py Update imports/doc references to synthorg.*.
src/synthorg/budget/reports.py Update imports/doc references to synthorg.*.
src/synthorg/budget/quota_tracker.py Update imports/doc references to synthorg.*.
src/synthorg/budget/quota.py Update imports to synthorg.* for quota models.
src/synthorg/budget/optimizer_models.py Update imports/doc references to synthorg.*.
src/synthorg/budget/optimizer.py Update imports/doc references to synthorg.*.
src/synthorg/budget/hierarchy.py Update imports to synthorg.* for hierarchy.
src/synthorg/budget/enums.py Update doc references to synthorg.*.
src/synthorg/budget/enforcer.py Update imports/doc references to synthorg.*.
src/synthorg/budget/cost_tiers.py Update imports/doc references to synthorg.*.
src/synthorg/budget/cost_record.py Update imports to synthorg.* for cost record.
src/synthorg/budget/coordination_metrics.py Update imports to synthorg.* for coordination metrics.
src/synthorg/budget/config.py Update imports to synthorg.* for budget config.
src/synthorg/budget/category_analytics.py Update imports/doc references to synthorg.*.
src/synthorg/budget/call_category.py Update doc references to synthorg.*.
src/synthorg/budget/billing.py Update doc reference to synthorg.*.
src/synthorg/budget/_optimizer_helpers.py Update imports to synthorg.* for optimizer helpers.
src/synthorg/api/ws_models.py Update imports to synthorg.* for WS models.
src/synthorg/api/state.py Update imports to synthorg.* for app state.
src/synthorg/api/server.py Update imports to synthorg.* for server entrypoint.
src/synthorg/api/pagination.py Update imports to synthorg.* for pagination utilities.
src/synthorg/api/middleware.py Update imports to synthorg.* for middleware.
src/synthorg/api/guards.py Update imports to synthorg.* for guards.
src/synthorg/api/exception_handlers.py Update imports to synthorg.* for exception handlers.
src/synthorg/api/dto.py Update imports to synthorg.* for DTOs.
src/synthorg/api/controllers/ws.py Update imports to synthorg.* for WS handler.
src/synthorg/api/controllers/tasks.py Update imports to synthorg.* for task endpoints.
src/synthorg/api/controllers/providers.py Update imports to synthorg.* for provider endpoints.
src/synthorg/api/controllers/projects.py Update imports to synthorg.* for project endpoints.
src/synthorg/api/controllers/messages.py Update imports to synthorg.* for message endpoints.
src/synthorg/api/controllers/meetings.py Update imports to synthorg.* for meeting endpoints.
src/synthorg/api/controllers/health.py Update imports to synthorg.* for health check.
src/synthorg/api/controllers/departments.py Update imports to synthorg.* for department endpoints.
src/synthorg/api/controllers/coordination.py Update imports to synthorg.* for coordination endpoint.
src/synthorg/api/controllers/company.py Update imports to synthorg.* for company endpoint.
src/synthorg/api/controllers/budget.py Update imports to synthorg.* for budget endpoints.
src/synthorg/api/controllers/autonomy.py Update imports to synthorg.* for autonomy endpoints.
src/synthorg/api/controllers/artifacts.py Update imports to synthorg.* for artifact endpoints.
src/synthorg/api/controllers/approvals.py Update imports to synthorg.* for approvals endpoints.
src/synthorg/api/controllers/analytics.py Update imports to synthorg.* for analytics endpoints.
src/synthorg/api/controllers/agents.py Update imports to synthorg.* for agent endpoints.
src/synthorg/api/controllers/init.py Add controller aggregator under synthorg.
src/synthorg/api/config.py Update imports to synthorg.* for API config.
src/synthorg/api/bus_bridge.py Update imports to synthorg.* for WS bus bridge.
src/synthorg/api/auth/service.py Update imports to synthorg.* for auth service.
src/synthorg/api/auth/secret.py Rename JWT secret env var to SYNTHORG_JWT_SECRET.
src/synthorg/api/auth/models.py Update imports to synthorg.* for auth models.
src/synthorg/api/auth/middleware.py Update imports to synthorg.* for auth middleware.
src/synthorg/api/auth/controller.py Update imports to synthorg.* for auth routes.
src/synthorg/api/auth/config.py Update docs to reference SYNTHORG_JWT_SECRET.
src/synthorg/api/auth/init.py Add auth package exports under synthorg.
src/synthorg/api/approval_store.py Update imports to synthorg.* for approval store.
src/synthorg/api/init.py Update module docstring import guidance to synthorg.
src/ai_company/tools/file_system/init.py Remove old ai_company file-system tools package init.
src/ai_company/security/timeout/init.py Remove old ai_company timeout package init.
src/ai_company/memory/backends/mem0/init.py Remove old ai_company mem0 init after rename.
src/ai_company/api/controllers/init.py Remove old ai_company controllers init after rename.
src/ai_company/api/auth/init.py Remove old ai_company auth init after rename.
scripts/export_openapi.py Update OpenAPI export script import to synthorg.
pyproject.toml Update hatch/ruff/coverage config to synthorg.
docs/user_guide.md Update documented env vars to SYNTHORG_*.
docs/getting_started.md Update coverage flag and src path to synthorg.
docs/architecture/tech-stack.md Update docs import example to synthorg.*.
docs/api/tools.md Update mkdocstrings directives to synthorg.*.
docs/api/templates.md Update mkdocstrings directives to synthorg.*.
docs/api/security.md Update mkdocstrings directives to synthorg.*.
docs/api/providers.md Update mkdocstrings directives to synthorg.*.
docs/api/persistence.md Update mkdocstrings directives to synthorg.*.
docs/api/observability.md Update mkdocstrings directives to synthorg.*.
docs/api/memory.md Update mkdocstrings directives to synthorg.*.
docs/api/hr.md Update mkdocstrings directives to synthorg.*.
docs/api/engine.md Update mkdocstrings directives to synthorg.*.
docs/api/core.md Update mkdocstrings directives to synthorg.*.
docs/api/config.md Update mkdocstrings directives to synthorg.*.
docs/api/communication.md Update mkdocstrings directives to synthorg.*.
docs/api/budget.md Update mkdocstrings directives to synthorg.*.
docs/api/api.md Update mkdocstrings directives to synthorg.*.
docker/compose.yml Rename env vars to SYNTHORG_* in compose configuration.
docker/backend/Dockerfile Rename env vars to SYNTHORG_* and uvicorn app path to synthorg.
docker/.env.example Rename env vars to SYNTHORG_* in example env file.
cli/testdata/compose_default.yml Update golden compose env vars to SYNTHORG_*.
cli/testdata/compose_custom_ports.yml Update golden compose env vars to SYNTHORG_*.
cli/internal/compose/generate_test.go Update env var assertion to SYNTHORG_JWT_SECRET.
cli/internal/compose/compose.yml.tmpl Update compose template env vars to SYNTHORG_*.
.pre-commit-config.yaml Update excluded path regex to src/synthorg/....
.github/workflows/pages.yml Update path trigger to src/synthorg/**.
.github/workflows/pages-preview.yml Update path trigger to src/synthorg/**.
.github/workflows/ci.yml Update coverage target to --cov=synthorg.
.github/release-please-config.json Update version file path to src/synthorg/__init__.py.
.github/CONTRIBUTING.md Update docs to --cov=synthorg and src/synthorg/.
.claude/skills/worktree/SKILL.md Update spec label → source directory mappings to src/synthorg/.
.claude/skills/research-link/SKILL.md Update grep guidance to src/synthorg/.
.claude/hookify.missing-logger.md Update pattern and message to src/synthorg/ and synthorg.observability.
.claude/hookify.function-length.md Update pattern to src/synthorg/.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 163 to +166
except MemoryError, RecursionError:
# Bare re-raise: logging is intentionally omitted because
# emitting logs may itself trigger MemoryError/RecursionError.
# These are built-in exceptions (not ai_company.memory.errors.MemoryError).
# These are built-in exceptions (not synthorg.memory.errors.MemoryError).
Comment on lines 97 to +101
ENV PATH="/app/.venv/bin:$PATH" \
PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
AI_COMPANY_HOST="0.0.0.0" \
AI_COMPANY_PORT="8000"
SYNTHORG_HOST="0.0.0.0" \
SYNTHORG_PORT="8000"
Comment on lines 114 to 115
CMD ["/app/.venv/bin/uvicorn", "synthorg.api.app:create_app", "--factory", \
"--host", "0.0.0.0", "--port", "8000"]
The Dockerfile set SYNTHORG_HOST and SYNTHORG_PORT env vars but
uvicorn CMD hardcoded the values, ignoring overrides. Switch to
shell form so env vars are expanded at runtime.
@Aureliolo Aureliolo merged commit df27c6e into main Mar 14, 2026
38 of 39 checks passed
@Aureliolo Aureliolo deleted the refactor/rename-package-synthorg branch March 14, 2026 23:16
@Aureliolo Aureliolo temporarily deployed to cloudflare-preview March 14, 2026 23:16 — with GitHub Actions Inactive
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request executes a comprehensive refactoring to rename the primary Python package from ai_company to synthorg. This change impacts nearly all aspects of the codebase, including file paths, import statements, environment variables, configuration files, CI/CD pipelines, documentation, and frontend assets, ensuring a consistent and updated naming convention throughout the project.

Highlights

  • Package Renaming: The core Python package directory src/ai_company/ has been renamed to src/synthorg/ using git mv to preserve Git history.
  • Import and Reference Updates: All internal Python imports (from ai_company.X to from synthorg.X) across 880 files, environment variable prefixes (AI_COMPANY_ to SYNTHORG_), logger names, log routing filters, and log filenames have been updated.
  • Configuration and CI Updates: CI workflows, pyproject.toml (for hatch, ruff, coverage), .pre-commit-config.yaml, and release-please-config.json have been updated to reflect the new package name.
  • Documentation and Frontend Changes: Documentation (:::, env var tables, architecture references) and frontend web dashboard files (API paths, component references, store imports, and logo assets) have been updated to align with the new naming.
  • Claude Skill Files: Claude skill files and hookify rules have been updated to use the new package path and import statements.
Changelog
  • .claude/hookify.function-length.md
    • Updated the regex pattern for file paths to reflect the new package name.
  • .claude/hookify.missing-logger.md
    • Updated the regex pattern for file paths to reflect the new package name.
    • Updated the logger import path in the warning message.
  • .claude/skills/aurelio-review-pr/SKILL.md
    • Updated file paths for security, API, and persistence reviewers.
    • Updated project structure reference in design pages section.
    • Updated frontend API call references in endpoint consistency section.
  • .claude/skills/pre-pr-review/SKILL.md
    • Updated the coverage path in test commands.
    • Updated file paths for security, API, and persistence reviewers.
    • Updated project structure reference in design pages section.
    • Updated frontend API call references in endpoint consistency section.
    • Updated the coverage path in automated checks.
  • .claude/skills/research-link/SKILL.md
    • Updated the source code grep path.
  • .claude/skills/worktree/SKILL.md
    • Updated spec labels to source directories to reflect the new package name.
  • .github/CONTRIBUTING.md
    • Updated the coverage path in test commands.
    • Updated the main package path in the project structure documentation.
  • .github/release-please-config.json
    • Updated the path for version tracking.
  • .pre-commit-config.yaml
    • Updated the exclude pattern for YAML checks to reflect the new package path.
  • CLAUDE.md
    • Updated the package layout description.
    • Updated the coverage path in test commands.
    • Updated the package structure description.
    • Updated logging import instructions and event name references.
    • Updated CI workflow triggers to reflect the new package path.
  • cli/internal/compose/compose.yml.tmpl
    • Renamed environment variables from AI_COMPANY_ to SYNTHORG_.
  • cli/internal/compose/generate_test.go
    • Updated the environment variable name in test assertions.
  • cli/testdata/compose_custom_ports.yml
    • Renamed environment variables from AI_COMPANY_ to SYNTHORG_.
  • cli/testdata/compose_default.yml
    • Renamed environment variables from AI_COMPANY_ to SYNTHORG_.
  • docker/.env.example
    • Renamed environment variables from AI_COMPANY_ to SYNTHORG_.
  • docker/backend/Dockerfile
    • Renamed environment variables from AI_COMPANY_ to SYNTHORG_.
    • Updated the uvicorn application path.
  • docker/compose.yml
    • Renamed environment variables from AI_COMPANY_ to SYNTHORG_.
  • docs/api/api.md
    • Updated all ::: ai_company.api directives to ::: synthorg.api.
  • docs/api/budget.md
    • Updated all ::: ai_company.budget directives to ::: synthorg.budget.
  • docs/api/communication.md
    • Updated all ::: ai_company.communication directives to ::: synthorg.communication.
  • docs/api/config.md
    • Updated all ::: ai_company.config directives to ::: synthorg.config.
  • docs/api/core.md
    • Updated all ::: ai_company.core directives to ::: synthorg.core.
  • docs/api/engine.md
    • Updated all ::: ai_company.engine directives to ::: synthorg.engine.
  • docs/api/hr.md
    • Updated all ::: ai_company.hr directives to ::: synthorg.hr.
  • docs/api/memory.md
    • Updated all ::: ai_company.memory directives to ::: synthorg.memory.
  • docs/api/observability.md
    • Updated all ::: ai_company.observability directives to ::: synthorg.observability.
  • docs/api/persistence.md
    • Updated all ::: ai_company.persistence directives to ::: synthorg.persistence.
  • docs/api/providers.md
    • Updated all ::: ai_company.providers directives to ::: synthorg.providers.
  • docs/api/security.md
    • Updated all ::: ai_company.security directives to ::: synthorg.security.
  • docs/api/templates.md
    • Updated all ::: ai_company.templates directives to ::: synthorg.templates.
  • docs/api/tools.md
    • Updated all ::: ai_company.tools directives to ::: synthorg.tools.
  • docs/architecture/tech-stack.md
    • Updated the event constants import path.
  • docs/getting_started.md
    • Updated the coverage command and project structure documentation.
  • docs/user_guide.md
    • Updated environment variable names in the configuration table.
  • pyproject.toml
    • Updated the path for Hatch versioning.
    • Updated the package name for Hatch wheel building.
    • Updated the first-party package name for Ruff's isort linting.
    • Updated the source package for Coverage.py.
  • scripts/export_openapi.py
    • Updated the import path for create_app.
  • src/ai_company/api/auth/init.py
    • Removed file.
  • src/ai_company/api/controllers/init.py
    • Removed file.
  • src/ai_company/memory/backends/mem0/init.py
    • Removed file.
  • src/ai_company/security/timeout/init.py
    • Removed file.
  • src/ai_company/tools/file_system/init.py
    • Removed file.
  • src/synthorg/init.py
    • Renamed from src/ai_company/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/api/init.py
    • Renamed from src/ai_company/api/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/api/app.py
    • Renamed from src/ai_company/api/app.py.
    • Updated import statements within the file.
  • src/synthorg/api/approval_store.py
    • Renamed from src/ai_company/api/approval_store.py.
    • Updated import statements within the file.
  • src/synthorg/api/auth/init.py
    • Added file.
  • src/synthorg/api/auth/config.py
    • Renamed from src/ai_company/api/auth/config.py.
    • Updated environment variable reference in docstring.
  • src/synthorg/api/auth/controller.py
    • Renamed from src/ai_company/api/auth/controller.py.
    • Updated import statements within the file.
  • src/synthorg/api/auth/middleware.py
    • Renamed from src/ai_company/api/auth/middleware.py.
    • Updated import statements within the file.
  • src/synthorg/api/auth/models.py
    • Renamed from src/ai_company/api/auth/models.py.
    • Updated import statements within the file.
  • src/synthorg/api/auth/secret.py
    • Renamed from src/ai_company/api/auth/secret.py.
    • Updated import statements and environment variable references within the file.
  • src/synthorg/api/auth/service.py
    • Renamed from src/ai_company/api/auth/service.py.
    • Updated import statements within the file.
  • src/synthorg/api/bus_bridge.py
    • Renamed from src/ai_company/api/bus_bridge.py.
    • Updated import statements within the file.
  • src/synthorg/api/channels.py
    • Renamed from src/ai_company/api/channels.py.
    • Updated import statements within the file.
  • src/synthorg/api/config.py
    • Renamed from src/ai_company/api/config.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/init.py
    • Added file.
  • src/synthorg/api/controllers/agents.py
    • Renamed from src/ai_company/api/controllers/agents.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/analytics.py
    • Renamed from src/ai_company/api/controllers/analytics.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/approvals.py
    • Renamed from src/ai_company/api/controllers/approvals.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/artifacts.py
    • Renamed from src/ai_company/api/controllers/artifacts.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/autonomy.py
    • Renamed from src/ai_company/api/controllers/autonomy.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/budget.py
    • Renamed from src/ai_company/api/controllers/budget.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/company.py
    • Renamed from src/ai_company/api/controllers/company.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/coordination.py
    • Renamed from src/ai_company/api/controllers/coordination.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/departments.py
    • Renamed from src/ai_company/api/controllers/departments.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/health.py
    • Renamed from src/ai_company/api/controllers/health.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/meetings.py
    • Renamed from src/ai_company/api/controllers/meetings.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/messages.py
    • Renamed from src/ai_company/api/controllers/messages.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/projects.py
    • Renamed from src/ai_company/api/controllers/projects.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/providers.py
    • Renamed from src/ai_company/api/controllers/providers.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/tasks.py
    • Renamed from src/ai_company/api/controllers/tasks.py.
    • Updated import statements within the file.
  • src/synthorg/api/controllers/ws.py
    • Renamed from src/ai_company/api/controllers/ws.py.
    • Updated import statements within the file.
  • src/synthorg/api/dto.py
    • Renamed from src/ai_company/api/dto.py.
    • Updated import statements within the file.
  • src/synthorg/api/errors.py
    • Renamed from src/ai_company/api/errors.py.
  • src/synthorg/api/exception_handlers.py
    • Renamed from src/ai_company/api/exception_handlers.py.
    • Updated import statements within the file.
  • src/synthorg/api/guards.py
    • Renamed from src/ai_company/api/guards.py.
    • Updated import statements within the file.
  • src/synthorg/api/middleware.py
    • Renamed from src/ai_company/api/middleware.py.
    • Updated import statements within the file.
  • src/synthorg/api/pagination.py
    • Renamed from src/ai_company/api/pagination.py.
    • Updated import statements within the file.
  • src/synthorg/api/server.py
    • Renamed from src/ai_company/api/server.py.
    • Updated import statements within the file.
  • src/synthorg/api/state.py
    • Renamed from src/ai_company/api/state.py.
    • Updated import statements within the file.
  • src/synthorg/api/ws_models.py
    • Renamed from src/ai_company/api/ws_models.py.
    • Updated import statements within the file.
  • src/synthorg/budget/init.py
    • Renamed from src/ai_company/budget/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/budget/_optimizer_helpers.py
    • Renamed from src/ai_company/budget/_optimizer_helpers.py.
    • Updated import statements within the file.
  • src/synthorg/budget/billing.py
    • Renamed from src/ai_company/budget/billing.py.
    • Updated docstring reference.
  • src/synthorg/budget/call_category.py
    • Renamed from src/ai_company/budget/call_category.py.
    • Updated docstring reference.
  • src/synthorg/budget/category_analytics.py
    • Renamed from src/ai_company/budget/category_analytics.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/budget/config.py
    • Renamed from src/ai_company/budget/config.py.
    • Updated import statements within the file.
  • src/synthorg/budget/coordination_config.py
    • Renamed from src/ai_company/budget/coordination_config.py.
  • src/synthorg/budget/coordination_metrics.py
    • Renamed from src/ai_company/budget/coordination_metrics.py.
    • Updated import statements within the file.
  • src/synthorg/budget/cost_record.py
    • Renamed from src/ai_company/budget/cost_record.py.
    • Updated import statements within the file.
  • src/synthorg/budget/cost_tiers.py
    • Renamed from src/ai_company/budget/cost_tiers.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/budget/enforcer.py
    • Renamed from src/ai_company/budget/enforcer.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/budget/enums.py
    • Renamed from src/ai_company/budget/enums.py.
    • Updated docstring reference.
  • src/synthorg/budget/errors.py
    • Renamed from src/ai_company/budget/errors.py.
  • src/synthorg/budget/hierarchy.py
    • Renamed from src/ai_company/budget/hierarchy.py.
    • Updated import statements within the file.
  • src/synthorg/budget/optimizer.py
    • Renamed from src/ai_company/budget/optimizer.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/budget/optimizer_models.py
    • Renamed from src/ai_company/budget/optimizer_models.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/budget/quota.py
    • Renamed from src/ai_company/budget/quota.py.
    • Updated import statements within the file.
  • src/synthorg/budget/quota_tracker.py
    • Renamed from src/ai_company/budget/quota_tracker.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/budget/reports.py
    • Renamed from src/ai_company/budget/reports.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/budget/spending_summary.py
    • Renamed from src/ai_company/budget/spending_summary.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/budget/tracker.py
    • Renamed from src/ai_company/budget/tracker.py.
    • Updated import statements within the file.
  • src/synthorg/cli/init.py
    • Renamed from src/ai_company/cli/__init__.py.
  • src/synthorg/cli/commands/init.py
    • Renamed from src/ai_company/cli/commands/__init__.py.
  • src/synthorg/communication/init.py
    • Renamed from src/ai_company/communication/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/communication/bus_memory.py
    • Renamed from src/ai_company/communication/bus_memory.py.
    • Updated import statements within the file.
  • src/synthorg/communication/bus_protocol.py
    • Renamed from src/ai_company/communication/bus_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/communication/channel.py
    • Renamed from src/ai_company/communication/channel.py.
    • Updated import statements within the file.
  • src/synthorg/communication/config.py
    • Renamed from src/ai_company/communication/config.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/init.py
    • Renamed from src/ai_company/communication/conflict_resolution/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/_helpers.py
    • Renamed from src/ai_company/communication/conflict_resolution/_helpers.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/authority_strategy.py
    • Renamed from src/ai_company/communication/conflict_resolution/authority_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/config.py
    • Renamed from src/ai_company/communication/conflict_resolution/config.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/debate_strategy.py
    • Renamed from src/ai_company/communication/conflict_resolution/debate_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/human_strategy.py
    • Renamed from src/ai_company/communication/conflict_resolution/human_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/hybrid_strategy.py
    • Renamed from src/ai_company/communication/conflict_resolution/hybrid_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/models.py
    • Renamed from src/ai_company/communication/conflict_resolution/models.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/protocol.py
    • Renamed from src/ai_company/communication/conflict_resolution/protocol.py.
    • Updated import statements within the file.
  • src/synthorg/communication/conflict_resolution/service.py
    • Renamed from src/ai_company/communication/conflict_resolution/service.py.
    • Updated import statements within the file.
  • src/synthorg/communication/delegation/init.py
    • Renamed from src/ai_company/communication/delegation/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/communication/delegation/authority.py
    • Renamed from src/ai_company/communication/delegation/authority.py.
    • Updated import statements within the file.
  • src/synthorg/communication/delegation/hierarchy.py
    • Renamed from src/ai_company/communication/delegation/hierarchy.py.
    • Updated import statements within the file.
  • src/synthorg/communication/delegation/models.py
    • Renamed from src/ai_company/communication/delegation/models.py.
    • Updated import statements within the file.
  • src/synthorg/communication/delegation/service.py
    • Renamed from src/ai_company/communication/delegation/service.py.
    • Updated import statements within the file.
  • src/synthorg/communication/dispatcher.py
    • Renamed from src/ai_company/communication/dispatcher.py.
    • Updated import statements within the file.
  • src/synthorg/communication/enums.py
    • Renamed from src/ai_company/communication/enums.py.
    • Updated docstring reference.
  • src/synthorg/communication/errors.py
    • Renamed from src/ai_company/communication/errors.py.
  • src/synthorg/communication/handler.py
    • Renamed from src/ai_company/communication/handler.py.
    • Updated import statements within the file.
  • src/synthorg/communication/loop_prevention/init.py
    • Renamed from src/ai_company/communication/loop_prevention/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/communication/loop_prevention/_pair_key.py
    • Renamed from src/ai_company/communication/loop_prevention/_pair_key.py.
  • src/synthorg/communication/loop_prevention/ancestry.py
    • Renamed from src/ai_company/communication/loop_prevention/ancestry.py.
    • Updated import statements within the file.
  • src/synthorg/communication/loop_prevention/circuit_breaker.py
    • Renamed from src/ai_company/communication/loop_prevention/circuit_breaker.py.
    • Updated import statements within the file.
  • src/synthorg/communication/loop_prevention/dedup.py
    • Renamed from src/ai_company/communication/loop_prevention/dedup.py.
    • Updated import statements within the file.
  • src/synthorg/communication/loop_prevention/depth.py
    • Renamed from src/ai_company/communication/loop_prevention/depth.py.
    • Updated import statements within the file.
  • src/synthorg/communication/loop_prevention/guard.py
    • Renamed from src/ai_company/communication/loop_prevention/guard.py.
    • Updated import statements within the file.
  • src/synthorg/communication/loop_prevention/models.py
    • Renamed from src/ai_company/communication/loop_prevention/models.py.
    • Updated import statements within the file.
  • src/synthorg/communication/loop_prevention/rate_limit.py
    • Renamed from src/ai_company/communication/loop_prevention/rate_limit.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/init.py
    • Renamed from src/ai_company/communication/meeting/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/_parsing.py
    • Renamed from src/ai_company/communication/meeting/_parsing.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/_prompts.py
    • Renamed from src/ai_company/communication/meeting/_prompts.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/_token_tracker.py
    • Renamed from src/ai_company/communication/meeting/_token_tracker.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/config.py
    • Renamed from src/ai_company/communication/meeting/config.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/enums.py
    • Renamed from src/ai_company/communication/meeting/enums.py.
  • src/synthorg/communication/meeting/errors.py
    • Renamed from src/ai_company/communication/meeting/errors.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/frequency.py
    • Renamed from src/ai_company/communication/meeting/frequency.py.
  • src/synthorg/communication/meeting/models.py
    • Renamed from src/ai_company/communication/meeting/models.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/orchestrator.py
    • Renamed from src/ai_company/communication/meeting/orchestrator.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/participant.py
    • Renamed from src/ai_company/communication/meeting/participant.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/position_papers.py
    • Renamed from src/ai_company/communication/meeting/position_papers.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/protocol.py
    • Renamed from src/ai_company/communication/meeting/protocol.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/round_robin.py
    • Renamed from src/ai_company/communication/meeting/round_robin.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/scheduler.py
    • Renamed from src/ai_company/communication/meeting/scheduler.py.
    • Updated import statements within the file.
  • src/synthorg/communication/meeting/structured_phases.py
    • Renamed from src/ai_company/communication/meeting/structured_phases.py.
    • Updated import statements within the file.
  • src/synthorg/communication/message.py
    • Renamed from src/ai_company/communication/message.py.
    • Updated import statements within the file.
  • src/synthorg/communication/messenger.py
    • Renamed from src/ai_company/communication/messenger.py.
    • Updated import statements within the file.
  • src/synthorg/communication/subscription.py
    • Renamed from src/ai_company/communication/subscription.py.
    • Updated import statements within the file.
  • src/synthorg/config/init.py
    • Renamed from src/ai_company/config/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/config/defaults.py
    • Renamed from src/ai_company/config/defaults.py.
  • src/synthorg/config/errors.py
    • Renamed from src/ai_company/config/errors.py.
  • src/synthorg/config/loader.py
    • Renamed from src/ai_company/config/loader.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/config/schema.py
    • Renamed from src/ai_company/config/schema.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/config/utils.py
    • Renamed from src/ai_company/config/utils.py.
    • Updated import statements within the file.
  • src/synthorg/constants.py
    • Renamed from src/ai_company/constants.py.
    • Updated docstring.
  • src/synthorg/core/init.py
    • Renamed from src/ai_company/core/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/core/agent.py
    • Renamed from src/ai_company/core/agent.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/core/approval.py
    • Renamed from src/ai_company/core/approval.py.
    • Updated import statements within the file.
  • src/synthorg/core/artifact.py
    • Renamed from src/ai_company/core/artifact.py.
    • Updated import statements within the file.
  • src/synthorg/core/company.py
    • Renamed from src/ai_company/core/company.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/core/enums.py
    • Renamed from src/ai_company/core/enums.py.
    • Updated docstring references.
  • src/synthorg/core/personality.py
    • Renamed from src/ai_company/core/personality.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/core/project.py
    • Renamed from src/ai_company/core/project.py.
    • Updated import statements within the file.
  • src/synthorg/core/resilience_config.py
    • Renamed from src/ai_company/core/resilience_config.py.
    • Updated import statements within the file.
  • src/synthorg/core/role.py
    • Renamed from src/ai_company/core/role.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/core/role_catalog.py
    • Renamed from src/ai_company/core/role_catalog.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/core/task.py
    • Renamed from src/ai_company/core/task.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/core/task_transitions.py
    • Renamed from src/ai_company/core/task_transitions.py.
    • Updated import statements within the file.
  • src/synthorg/core/types.py
    • Renamed from src/ai_company/core/types.py.
  • src/synthorg/core/validation.py
    • Renamed from src/ai_company/core/validation.py.
  • src/synthorg/engine/init.py
    • Renamed from src/ai_company/engine/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/engine/_security_factory.py
    • Renamed from src/ai_company/engine/_security_factory.py.
    • Updated import statements within the file.
  • src/synthorg/engine/_validation.py
    • Renamed from src/ai_company/engine/_validation.py.
    • Updated import statements within the file.
  • src/synthorg/engine/agent_engine.py
    • Renamed from src/ai_company/engine/agent_engine.py.
    • Updated import statements within the file.
  • src/synthorg/engine/approval_gate.py
    • Renamed from src/ai_company/engine/approval_gate.py.
    • Updated import statements within the file.
  • src/synthorg/engine/approval_gate_models.py
    • Renamed from src/ai_company/engine/approval_gate_models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/assignment/init.py
    • Renamed from src/ai_company/engine/assignment/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/engine/assignment/models.py
    • Renamed from src/ai_company/engine/assignment/models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/assignment/protocol.py
    • Renamed from src/ai_company/engine/assignment/protocol.py.
    • Updated import statements within the file.
  • src/synthorg/engine/assignment/registry.py
    • Renamed from src/ai_company/engine/assignment/registry.py.
    • Updated import statements within the file.
  • src/synthorg/engine/assignment/service.py
    • Renamed from src/ai_company/engine/assignment/service.py.
    • Updated import statements within the file.
  • src/synthorg/engine/assignment/strategies.py
    • Renamed from src/ai_company/engine/assignment/strategies.py.
    • Updated import statements within the file.
  • src/synthorg/engine/checkpoint/init.py
    • Renamed from src/ai_company/engine/checkpoint/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/engine/checkpoint/callback.py
    • Renamed from src/ai_company/engine/checkpoint/callback.py.
    • Updated import statements within the file.
  • src/synthorg/engine/checkpoint/callback_factory.py
    • Renamed from src/ai_company/engine/checkpoint/callback_factory.py.
    • Updated import statements within the file.
  • src/synthorg/engine/checkpoint/models.py
    • Renamed from src/ai_company/engine/checkpoint/models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/checkpoint/resume.py
    • Renamed from src/ai_company/engine/checkpoint/resume.py.
    • Updated import statements within the file.
  • src/synthorg/engine/checkpoint/strategy.py
    • Renamed from src/ai_company/engine/checkpoint/strategy.py.
    • Updated import statements within the file.
  • src/synthorg/engine/classification/init.py
    • Renamed from src/ai_company/engine/classification/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/engine/classification/detectors.py
    • Renamed from src/ai_company/engine/classification/detectors.py.
    • Updated import statements within the file.
  • src/synthorg/engine/classification/models.py
    • Renamed from src/ai_company/engine/classification/models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/classification/pipeline.py
    • Renamed from src/ai_company/engine/classification/pipeline.py.
    • Updated import statements within the file.
  • src/synthorg/engine/context.py
    • Renamed from src/ai_company/engine/context.py.
    • Updated import statements within the file.
  • src/synthorg/engine/coordination/init.py
    • Renamed from src/ai_company/engine/coordination/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/engine/coordination/config.py
    • Renamed from src/ai_company/engine/coordination/config.py.
    • Updated import statements within the file.
  • src/synthorg/engine/coordination/dispatchers.py
    • Renamed from src/ai_company/engine/coordination/dispatchers.py.
    • Updated import statements within the file.
  • src/synthorg/engine/coordination/factory.py
    • Renamed from src/ai_company/engine/coordination/factory.py.
    • Updated import statements within the file.
  • src/synthorg/engine/coordination/group_builder.py
    • Renamed from src/ai_company/engine/coordination/group_builder.py.
    • Updated import statements within the file.
  • src/synthorg/engine/coordination/models.py
    • Renamed from src/ai_company/engine/coordination/models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/coordination/section_config.py
    • Renamed from src/ai_company/engine/coordination/section_config.py.
    • Updated import statements within the file.
  • src/synthorg/engine/coordination/service.py
    • Renamed from src/ai_company/engine/coordination/service.py.
    • Updated import statements within the file.
  • src/synthorg/engine/cost_recording.py
    • Renamed from src/ai_company/engine/cost_recording.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/init.py
    • Renamed from src/ai_company/engine/decomposition/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/classifier.py
    • Renamed from src/ai_company/engine/decomposition/classifier.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/dag.py
    • Renamed from src/ai_company/engine/decomposition/dag.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/llm.py
    • Renamed from src/ai_company/engine/decomposition/llm.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/llm_prompt.py
    • Renamed from src/ai_company/engine/decomposition/llm_prompt.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/manual.py
    • Renamed from src/ai_company/engine/decomposition/manual.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/models.py
    • Renamed from src/ai_company/engine/decomposition/models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/protocol.py
    • Renamed from src/ai_company/engine/decomposition/protocol.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/rollup.py
    • Renamed from src/ai_company/engine/decomposition/rollup.py.
    • Updated import statements within the file.
  • src/synthorg/engine/decomposition/service.py
    • Renamed from src/ai_company/engine/decomposition/service.py.
    • Updated import statements within the file.
  • src/synthorg/engine/errors.py
    • Renamed from src/ai_company/engine/errors.py.
    • Updated import statements within the file.
  • src/synthorg/engine/loop_helpers.py
    • Renamed from src/ai_company/engine/loop_helpers.py.
    • Updated import statements within the file.
  • src/synthorg/engine/loop_protocol.py
    • Renamed from src/ai_company/engine/loop_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/engine/metrics.py
    • Renamed from src/ai_company/engine/metrics.py.
    • Updated import statements within the file.
  • src/synthorg/engine/parallel.py
    • Renamed from src/ai_company/engine/parallel.py.
    • Updated import statements within the file.
  • src/synthorg/engine/parallel_models.py
    • Renamed from src/ai_company/engine/parallel_models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/plan_execute_loop.py
    • Renamed from src/ai_company/engine/plan_execute_loop.py.
    • Updated import statements within the file.
  • src/synthorg/engine/plan_models.py
    • Renamed from src/ai_company/engine/plan_models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/plan_parsing.py
    • Renamed from src/ai_company/engine/plan_parsing.py.
    • Updated import statements within the file.
  • src/synthorg/engine/policy_validation.py
    • Renamed from src/ai_company/engine/policy_validation.py.
    • Updated import statements within the file.
  • src/synthorg/engine/prompt.py
    • Renamed from src/ai_company/engine/prompt.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/engine/prompt_template.py
    • Renamed from src/ai_company/engine/prompt_template.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/engine/react_loop.py
    • Renamed from src/ai_company/engine/react_loop.py.
    • Updated import statements within the file.
  • src/synthorg/engine/recovery.py
    • Renamed from src/ai_company/engine/recovery.py.
    • Updated import statements within the file.
  • src/synthorg/engine/resource_lock.py
    • Renamed from src/ai_company/engine/resource_lock.py.
    • Updated import statements within the file.
  • src/synthorg/engine/routing/init.py
    • Renamed from src/ai_company/engine/routing/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/engine/routing/models.py
    • Renamed from src/ai_company/engine/routing/models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/routing/scorer.py
    • Renamed from src/ai_company/engine/routing/scorer.py.
    • Updated import statements within the file.
  • src/synthorg/engine/routing/service.py
    • Renamed from src/ai_company/engine/routing/service.py.
    • Updated import statements within the file.
  • src/synthorg/engine/routing/topology_selector.py
    • Renamed from src/ai_company/engine/routing/topology_selector.py.
    • Updated import statements within the file.
  • src/synthorg/engine/run_result.py
    • Renamed from src/ai_company/engine/run_result.py.
    • Updated import statements within the file.
  • src/synthorg/engine/shutdown.py
    • Renamed from src/ai_company/engine/shutdown.py.
    • Updated import statements within the file.
  • src/synthorg/engine/task_engine.py
    • Renamed from src/ai_company/engine/task_engine.py.
    • Updated import statements within the file.
  • src/synthorg/engine/task_engine_apply.py
    • Renamed from src/ai_company/engine/task_engine_apply.py.
    • Updated import statements within the file.
  • src/synthorg/engine/task_engine_config.py
    • Renamed from src/ai_company/engine/task_engine_config.py.
  • src/synthorg/engine/task_engine_models.py
    • Renamed from src/ai_company/engine/task_engine_models.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/engine/task_engine_version.py
    • Renamed from src/ai_company/engine/task_engine_version.py.
    • Updated import statements within the file.
  • src/synthorg/engine/task_execution.py
    • Renamed from src/ai_company/engine/task_execution.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/engine/task_sync.py
    • Renamed from src/ai_company/engine/task_sync.py.
    • Updated import statements within the file.
  • src/synthorg/engine/workspace/init.py
    • Renamed from src/ai_company/engine/workspace/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/engine/workspace/config.py
    • Renamed from src/ai_company/engine/workspace/config.py.
    • Updated import statements within the file.
  • src/synthorg/engine/workspace/git_worktree.py
    • Renamed from src/ai_company/engine/workspace/git_worktree.py.
    • Updated import statements within the file.
  • src/synthorg/engine/workspace/merge.py
    • Renamed from src/ai_company/engine/workspace/merge.py.
    • Updated import statements within the file.
  • src/synthorg/engine/workspace/models.py
    • Renamed from src/ai_company/engine/workspace/models.py.
    • Updated import statements within the file.
  • src/synthorg/engine/workspace/protocol.py
    • Renamed from src/ai_company/engine/workspace/protocol.py.
    • Updated import statements within the file.
  • src/synthorg/engine/workspace/service.py
    • Renamed from src/ai_company/engine/workspace/service.py.
    • Updated import statements within the file.
  • src/synthorg/hr/init.py
    • Renamed from src/ai_company/hr/__init__.py.
  • src/synthorg/hr/archival_protocol.py
    • Renamed from src/ai_company/hr/archival_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/enums.py
    • Renamed from src/ai_company/hr/enums.py.
  • src/synthorg/hr/errors.py
    • Renamed from src/ai_company/hr/errors.py.
  • src/synthorg/hr/full_snapshot_strategy.py
    • Renamed from src/ai_company/hr/full_snapshot_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/hr/hiring_service.py
    • Renamed from src/ai_company/hr/hiring_service.py.
    • Updated import statements within the file.
  • src/synthorg/hr/models.py
    • Renamed from src/ai_company/hr/models.py.
    • Updated import statements within the file.
  • src/synthorg/hr/offboarding_service.py
    • Renamed from src/ai_company/hr/offboarding_service.py.
    • Updated import statements within the file.
  • src/synthorg/hr/onboarding_service.py
    • Renamed from src/ai_company/hr/onboarding_service.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/init.py
    • Renamed from src/ai_company/hr/performance/__init__.py.
  • src/synthorg/hr/performance/behavioral_collaboration_strategy.py
    • Renamed from src/ai_company/hr/performance/behavioral_collaboration_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/ci_quality_strategy.py
    • Renamed from src/ai_company/hr/performance/ci_quality_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/collaboration_protocol.py
    • Renamed from src/ai_company/hr/performance/collaboration_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/config.py
    • Renamed from src/ai_company/hr/performance/config.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/models.py
    • Renamed from src/ai_company/hr/performance/models.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/multi_window_strategy.py
    • Renamed from src/ai_company/hr/performance/multi_window_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/quality_protocol.py
    • Renamed from src/ai_company/hr/performance/quality_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/theil_sen_strategy.py
    • Renamed from src/ai_company/hr/performance/theil_sen_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/tracker.py
    • Renamed from src/ai_company/hr/performance/tracker.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/trend_protocol.py
    • Renamed from src/ai_company/hr/performance/trend_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/performance/window_protocol.py
    • Renamed from src/ai_company/hr/performance/window_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/persistence_protocol.py
    • Renamed from src/ai_company/hr/persistence_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/init.py
    • Renamed from src/ai_company/hr/promotion/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/approval_protocol.py
    • Renamed from src/ai_company/hr/promotion/approval_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/config.py
    • Renamed from src/ai_company/hr/promotion/config.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/criteria_protocol.py
    • Renamed from src/ai_company/hr/promotion/criteria_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/model_mapping_protocol.py
    • Renamed from src/ai_company/hr/promotion/model_mapping_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/models.py
    • Renamed from src/ai_company/hr/promotion/models.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/seniority_approval_strategy.py
    • Renamed from src/ai_company/hr/promotion/seniority_approval_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/seniority_model_mapping.py
    • Renamed from src/ai_company/hr/promotion/seniority_model_mapping.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/service.py
    • Renamed from src/ai_company/hr/promotion/service.py.
    • Updated import statements within the file.
  • src/synthorg/hr/promotion/threshold_evaluator.py
    • Renamed from src/ai_company/hr/promotion/threshold_evaluator.py.
    • Updated import statements within the file.
  • src/synthorg/hr/queue_return_strategy.py
    • Renamed from src/ai_company/hr/queue_return_strategy.py.
    • Updated import statements within the file.
  • src/synthorg/hr/reassignment_protocol.py
    • Renamed from src/ai_company/hr/reassignment_protocol.py.
    • Updated import statements within the file.
  • src/synthorg/hr/registry.py
    • Renamed from src/ai_company/hr/registry.py.
    • Updated import statements within the file.
  • src/synthorg/memory/init.py
    • Renamed from src/ai_company/memory/__init__.py.
    • Updated docstring and import statements within the file.
  • src/synthorg/memory/backends/init.py
    • Renamed from src/ai_company/memory/backends/__init__.py.
    • Updated import statements within the file.
  • src/synthorg/memory/backends/mem0/init.py
    • Added file.
  • src/synthorg/memory/backends/mem0/adapter.py
    • Renamed from src/ai_company/memory/backends/mem0/adapter.py.
    • Updated import statements within the file.
  • src/synthorg/memory/backends/mem0/config.py
    • Renamed from src/ai_company/memory/backends/mem0/config.py.
    • Updated import statements within the file.
  • src/synthorg/memory/backends/mem0/mappers.py
    • Renamed from src/ai_company/memory/backends/mem0/mappers.py.
    • Updated import statements within the file.
Ignored Files
  • Ignored by pattern: .github/workflows/** (3)
    • .github/workflows/ci.yml
    • .github/workflows/pages-preview.yml
    • .github/workflows/pages.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This is a large but well-executed refactoring to rename the core package from ai_company to synthorg. The changes are consistent across the many files in this pull request. I've added a couple of suggestions to improve maintainability by replacing hardcoded environment variable names with constants in both Python and Go code. Overall, great job on this significant undertaking.

Comment on lines +33 to 46
env_secret = os.environ.get("SYNTHORG_JWT_SECRET", "").strip()
if env_secret:
if len(env_secret) < MIN_SECRET_LENGTH:
msg = (
f"AI_COMPANY_JWT_SECRET must be at least "
f"SYNTHORG_JWT_SECRET must be at least "
f"{MIN_SECRET_LENGTH} characters (got {len(env_secret)})"
)
logger.error(API_APP_STARTUP, error=msg)
raise ValueError(msg)
logger.info(
API_APP_STARTUP,
note="JWT secret loaded from AI_COMPANY_JWT_SECRET env var",
note="JWT secret loaded from SYNTHORG_JWT_SECRET env var",
)
return env_secret
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve maintainability and avoid hardcoding the environment variable name in multiple places (the os.environ.get call, error messages, and log messages), it's a good practice to define it as a constant. This makes future changes easier and less error-prone.

While this suggestion defines the constant locally, it would be even better to define _JWT_SECRET_ENV_VAR at the module level.

Suggested change
env_secret = os.environ.get("SYNTHORG_JWT_SECRET", "").strip()
if env_secret:
if len(env_secret) < MIN_SECRET_LENGTH:
msg = (
f"AI_COMPANY_JWT_SECRET must be at least "
f"SYNTHORG_JWT_SECRET must be at least "
f"{MIN_SECRET_LENGTH} characters (got {len(env_secret)})"
)
logger.error(API_APP_STARTUP, error=msg)
raise ValueError(msg)
logger.info(
API_APP_STARTUP,
note="JWT secret loaded from AI_COMPANY_JWT_SECRET env var",
note="JWT secret loaded from SYNTHORG_JWT_SECRET env var",
)
return env_secret
jwt_secret_env_var = "SYNTHORG_JWT_SECRET"
env_secret = os.environ.get(jwt_secret_env_var, "").strip()
if env_secret:
if len(env_secret) < MIN_SECRET_LENGTH:
msg = (
f"{jwt_secret_env_var} must be at least "
f"{MIN_SECRET_LENGTH} characters (got {len(env_secret)})"
)
logger.error(API_APP_STARTUP, error=msg)
raise ValueError(msg)
logger.info(
API_APP_STARTUP,
note=f"JWT secret loaded from {jwt_secret_env_var} env var",
)
return env_secret

assertContains(t, yaml, `"4000:8080"`)
assertContains(t, yaml, "synthorg-backend:v0.2.0")
assertContains(t, yaml, "AI_COMPANY_JWT_SECRET")
assertContains(t, yaml, "SYNTHORG_JWT_SECRET")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Similar to the Python code, it's good practice to define the environment variable name SYNTHORG_JWT_SECRET as a constant to improve maintainability and avoid magic strings in tests. This makes future refactoring easier and less error-prone.

You could define a package-level constant:

const jwtSecretEnvVar = "SYNTHORG_JWT_SECRET"

And then use it in the test:

assertContains(t, yaml, jwtSecretEnvVar)

Aureliolo added a commit that referenced this pull request Mar 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.2.0](v0.1.4...v0.2.0)
(2026-03-15)

##First probably usable release? Most likely not no and everything will break
### Features

* add /get/ installation page for CLI installer
([#413](#413))
([6a47e4a](6a47e4a))
* add cross-platform Go CLI for container lifecycle management
([#401](#401))
([0353d9e](0353d9e)),
closes [#392](#392)
* add explicit ScanOutcome signal to OutputScanResult
([#394](#394))
([be33414](be33414)),
closes [#284](#284)
* add meeting scheduler, event-triggered meetings, and Go CLI lint fixes
([#407](#407))
([5550fa1](5550fa1))
* wire MultiAgentCoordinator into runtime
([#396](#396))
([7a9e516](7a9e516))


### Bug Fixes

* CLA signatures branch + declutter repo root
([#409](#409))
([cabe953](cabe953))
* correct Release Please branch name in release workflow
([#410](#410))
([515d816](515d816))
* replace slsa-github-generator with attest-build-provenance, fix DAST
([#424](#424))
([eeaadff](eeaadff))
* resolve CodeQL path-injection alerts in Go CLI
([#412](#412))
([f41bf16](f41bf16))


### Refactoring

* rename package from ai_company to synthorg
([#422](#422))
([df27c6e](df27c6e)),
closes [#398](#398)


### Tests

* add fuzz and property-based testing across all layers
([#421](#421))
([115a742](115a742))


### CI/CD

* add SLSA L3 provenance for CLI binaries and container images
([#423](#423))
([d3dc75d](d3dc75d))
* bump the major group with 4 updates
([#405](#405))
([20c7a04](20c7a04))


### Maintenance

* bump github.com/spf13/cobra from 1.9.1 to 1.10.2 in /cli in the
minor-and-patch group
([#402](#402))
([e31edbb](e31edbb))
* narrow BSL Additional Use Grant and add CLA
([#408](#408))
([5ab15bd](5ab15bd)),
closes [#406](#406)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: rename ai_company package to synthorg across entire codebase

2 participants