You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(company-os): most services have no activity log, so their audit records are silently never written #20101
Found in #13999's enumeration. M2's exit needs every step in the audit trail, but most Company OS services never receive an activity log, and each guards its write with if self.activity_log:. So those writes silently do nothing, with no error.
By reading constructor sites, not by running anything:
Never given a log:GoalService (api/context.py, agent_tools.py, plan_measure.py), SecretService (api/secrets.py), WorkItemService (api/context.py, agent_tools.py, finding_proposal_service), LLCLabelService, WorkItemRelationService, the Role services, ContactService, ContactDirectoryService, ReportingLineService, CompanyToolService, HandoffService, and others built by lazy singletons.
Given one by a parent, not traced further:BoardService, SprintAutoClose, PortabilityService, TemplateService, LivenessMonitor, company_os/workflows.
Wired:MembershipService on the company_members route (companies.py still builds it without one, for company creation), ControlsService, stalled_run_sweep.
Treat the list as a starting point and re-derive it.
Fix
Make writing the default: LLCServiceBase gets a real log unless a test passes another, so a service cannot silently lack one. This is the DI wiring GH#8216 was going to do; check it first.
Acceptance criteria
A guard fails if a mutating Company OS service can run with no activity log (control included).
Creating a goal, setting a secret, assigning a label, changing a relation and claiming a work item each write an activity row, tested against a database.
A failed audit write fails the operation where the record shares its transaction.
Host evidence: those actions appear in the activity feed on a live install.
Activity
fix(company-os): record() fails as ActivityRecordError and publishes …
fix(company-os): a released savepoint is not a commit, so its live ev…
refactor(company-os): move the sprint org guard out of the routes, ke…
Merge main into issue-20101-activity-default: size ceilings set to th…
Merge #20426 into issue-18978-hierarchy: one liveness recovery and on…
github-actions commentedon Nov 4, 2026
Landed via the merge train (#20829, merge
582cfe9946) via #20426fix(company-os): every service writes its audit row by default, and a…
fix(company-os): role assignment test stays at its ceiling, and open …