Grow a real OKR company: officers, departments, ranks - and a stable chart
Researched how OKR-run companies cascade (company objective -> C-suite officers per function -> department objectives -> individual key results) and encoded that shape into how the CEO builds the org. - hire_agent gains seniority (director/lead/staff; c_suite stays reserved for the CEO's privileges) and a business-card title, so the CEO hires a CTO/CFO/CMO as directors instead of a flat pool of ICs - CEO persona + goal kickoff now direct the OKR cascade: hire 2-4 officers, hand each a department objective, let them build teams; department heads get their own doctrine (hire leads/staff, cascade key results as tasks, report up) - Migration 050 adds Finance and Sales to every org's canonical departments (backfilled for existing DBs) so a real C-suite has somewhere to hire - Org chart viewport is a fixed-height scroll region: zooming rescales the diagram inside it instead of resizing the card - Unit test drives a live three-level chain: CEO -> CTO (director) -> Engineering Manager (lead) -> staff, with rank/title persisted
This commit is contained in:
1 parent
c3924af9ac
commit
2bb2acd635
9 files changed
+125
-10
No files matched your search
@@ -24,7 +24,7 @@ describe("domain services", () => {
|
||||
const connection = createConnection();
|
||||
|
||||
const rows = connection.db.prepare("select version from schema_migrations order by version asc").all() as Array<{ version: number }>;
|
||||
expect(rows.map((row) => row.version)).toEqual([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49]);
|
||||
expect(rows.map((row) => row.version)).toEqual([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50]);
|
||||
connection.close();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user