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
feat(company-os): a handbook that explains every role, workflow and process, onboards everyone, and scopes to each role on a need-to-know basis #18431
Part of #18237. Design: Refined UI mockup Handbook (Company OS › Organization › Handbook); draft content written alongside the design. Builds on the role → workflow → process model in #18390.
Owner direction (2026-10-12)
The handbook is an employee handbook that onboards everyone, people and agents.
It always explains every role, workflow and process.
Generated reference pages — one per role, workflow, process and meta skill, built from the company model:
From the company model — updates itself: holders, reports-to, triggers, steps written out from the workflow graph ("If all checks pass … otherwise …", "If it fails: retry 2× then …"), AI lines, skills, routines, tools.
Explanation — written by the owner role: purpose and how-to prose; changes go through Approvals.
Coverage: every role, workflow and process gets a page automatically; one without an explanation is flagged "Needs an explanation".
Onboarding path per role: company chapters → the role's workflows → its processes. Assigned when an actor takes the role; people confirm "Read and agreed", agents load the pages.
Need to know: each actor sees the chapters that apply to them, their roles' pages, those roles' workflows and processes, and the roles they work with by name and purpose only. Pages outside scope show as locked names. Founder & CEO and a View whole handbook permission see everything.
Acceptance criteria
Generated pages for every role, workflow, process and meta skill, kept in sync with the model (no manual copy)
Owner-written explanation per page; edits are suggested and published only after the owner role approves (AI drafts, a person sends)
Coverage report: pages without an explanation are listed
Onboarding path per role, assigned on role grant; read confirmations for people; agents receive their scoped pages as standing instructions
Need-to-know scoping enforced server-side (not only hidden in the UI); "View whole handbook" permission on Roles
Handbook content searchable in Knowledge and chat, within the reader's scope
Needs a decision
Who a role "works with" (hand-offs) is not in the model yet; the mockup uses a sample map. Define it, or derive it from workflows.
Slice merged via #20622 in train #21398, main merge commit 650d062 (2026-11-12 ~21:30 Riga). Evidence read from origin/main. The issue stays open; 1 of 7 boxes ticked.
AC
Status
Evidence
What remains
Generated pages for every role, workflow, process, meta skill, in sync with the model
Delivered (code); not seen running
autobot-frontend/src/composables/llc/useHandbook.ts: PageKind = 'role' | 'workflow' | 'process' | 'metaSkill' (:28); pages built on each load from /api/llc/roles/<company>, .../workflows, .../processes (:59-72, :122-124); role detail from holders/workflows/tools/skills, workflow graph written out by handbookGraphText.ts. Nothing is stored, so there is no copy. Tests: views/llc/__tests__/HandbookView.test.ts, composables/llc/__tests__/handbookGraphText.test.ts.
Not seen in a browser; the PR states "Not done: a browser, a real backend". The install runs pre-update code (#21343).
Owner-written explanation, suggest then owner approval
Not delivered
HandbookView.vue lists explanations among the items shown as "not available yet" (:86).
Backend and approval flow.
Coverage report of pages without an explanation
Partly, left unchecked
HandbookView.vuehandbook-coverage card lists pages whose model records no description, with a partial-data notice (missingIsPartial). Workflow pages carry description: null.
It measures the model description, not an owner-written explanation, which does not exist yet.
Onboarding path per role, read confirmations, agents get scoped pages
Activity
fix(llc): the handbook coverage card says a count is unknown when its…
chore(merge): merge origin/main into issue-18431-handbook (#18431)
test(i18n): record the handbook's English-only keys on the new base (#…
fix(i18n): restore the comma the main merge dropped from en.json (#18431
fix(frontend): one shared helper scopes a call to a named company (#1…
fix(frontend): handbook drops stale loads, scopes calls to the route …
fix(frontend): handbook tests serve real data and cover stale loads, …
test(ci): the handbook's routes leave the unconnected-code baseline (#…
github-actions commentedon Nov 12, 2026
Landed via the merge train (#21398, merge
650d06217f) via #20622mrveiss commentedon Nov 12, 2026
Slice merged via #20622 in train #21398, main merge commit 650d062 (2026-11-12 ~21:30 Riga). Evidence read from origin/main. The issue stays open; 1 of 7 boxes ticked.
autobot-frontend/src/composables/llc/useHandbook.ts:PageKind = 'role' | 'workflow' | 'process' | 'metaSkill'(:28); pages built on each load from/api/llc/roles/<company>,.../workflows,.../processes(:59-72, :122-124); role detail from holders/workflows/tools/skills, workflow graph written out byhandbookGraphText.ts. Nothing is stored, so there is no copy. Tests:views/llc/__tests__/HandbookView.test.ts,composables/llc/__tests__/handbookGraphText.test.ts.HandbookView.vuelistsexplanationsamong the items shown as "not available yet" (:86).HandbookView.vuehandbook-coveragecard lists pages whose model records no description, with a partial-data notice (missingIsPartial). Workflow pages carrydescription: null.onboardingin the not-available list (:86).scopingin the not-available list.searchin the not-available list; the screen has its own text search only.handoffsin the not-available list.feat(frontend): Company OS Handbook screen with generated role, workf…