GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — orchestrator-kit 0.1.0: standalone repo (pyproject, README, AGENTS.md… · coderbuzz/orchestrator-kit@9297b0c

This repository was archived by the owner on Nov 2, 2026. It is now read-only.

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .gitignore
  • AGENTS.md
  • CHANGELOG.md
  • CLAUDE.md
  • README.md
  • companyos
    • validate.py
  • examples
    • .gitkeep
    • README.md
    • review-pipeline
      • README.md
  • orchestrator_kit
    • mcp.py
  • pyproject.toml
  • tests
    • conftest.py
    • kit
      • test_contracts.py
      • test_dsh.py
      • test_result_retry.py
  • uv.lock
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.gitignore‎

Copy file name to clipboard
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.venv/
2+
__pycache__/
3+
.pytest_cache/
4+
*.egg-info/
5+
build/
6+
state/
7+
.company/
8+
.review/
9+
profiles/
10+
.env*
11+
config/**/local.*
Collapse file

‎AGENTS.md‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# AGENTS.md: operating context for coding agents in this repo
2+
3+
## What this is
4+
orchestrator-kit: the framework under company repos (packs) such as company-os (QUMATIC). Read README.md first.
5+
Package `orchestrator_kit/`: `validate` (schemas + cross-references), `pack` (manifest), `registry` (definitions, versions,
6+
AI resolution), `harness` (descriptors, builders, parsers, Router), `runtime` (guardrails), `store` (atomic files, ledger,
7+
redaction), `verify` (evidence), `policy`, `mcp` (stdio server + core tools), `plugin` (generator), `hook` (stdlib-only guard),
8+
`scaffold` (new-company, hire, new-project, org), `profiling` (battery, match), `cli`. Data: `schemas/` (core contracts),
9+
`library/` (the role library; itself a valid pack).
10+
11+
## Rules
12+
- Nothing organization-specific in the kit: no company names, no human id other than the configured one, no VM habits
13+
(secret wrappers, paths). `tests/kit/test_scaffold.py` scans the library for such words.
14+
- The hook and `cli.py` stay stdlib-only at import time (tests check it): they run on every tool call.
15+
- Never fake an integration: a capability without an adapter is reported unavailable; an unregistered evidence check fails.
16+
- A mapping is never applied by code: `match` writes proposals; humans approve.
17+
- Change a library role: bump its `version`; companies that hired it keep their copy until they re-hire.
18+
19+
## Backward compatibility
20+
Additive schema changes keep the major; breaking changes bump the schema `$id` major and add a note in CHANGELOG.md.
21+
While the kit is 0.x a minor release may break, with a CHANGELOG note; packs pin a tag.
22+
Schema `$id`s keep the `company-os/...` namespace (stored nowhere; renaming them is a breaking change for no gain).
23+
24+
## Test
25+
`uv run python -m pytest` (the library is the default company; `examples/review-pipeline` is the second pack).
26+
27+
## Release
28+
Tag `vX.Y.Z` on main; packs depend on it with `[tool.uv.sources] orchestrator-kit = { git = "...", tag = "vX.Y.Z" }`.
29+
Do not push unless asked.
Collapse file

‎CHANGELOG.md‎

Copy file name to clipboard
+10Lines changed: 10 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
## 0.1.0 (2026-10-13)
4+
First release, extracted from qumatic/company-os (history of the kit files kept).
5+
- Packs: `pack.yaml` manifest (names, project file, state dir, human id and tool prefix, vocabulary, plugin/MCP/hook).
6+
- Company catalog + project roster (`company-os/project/2`: roster, goal), `<human_prefix>staff`, 80% daily budget notice.
7+
- Generators: role library (15 roles), `new-company`, `hire`, `new-project`, `org`; default orchestrator skill.
8+
- Profiling battery (12 deterministic tasks through the Router) and `match` (proposals only).
9+
- Registrable evidence checks (unregistered `special` fails), generic hook, core schemas as package data.
10+
- Fix: the claude-code builder sends a self-contained result schema (`../ai/1` was unresolvable by `claude --json-schema`).
Collapse file

‎CLAUDE.md‎

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md
Collapse file

‎README.md‎

Copy file name to clipboard
+45Lines changed: 45 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# orchestrator-kit
2+
3+
Run an AI organization from definitions in Git. A **company** is a repo holding its catalog of agents, skills and
4+
policies; a **project** is a workspace folder that hires its team from that catalog. The orchestrator is a harness
5+
session (Claude Code or zh) driving the company's tools; the kit's code is the guardrail: task lifecycle, evidence
6+
checked by machine, approvals up the reporting chain, budgets, exactly-once actions, an append-only audit log.
7+
8+
```
9+
orchestrator-kit roles # the role library (15 roles: engineering, product, finance, marketing, sales, customer)
10+
orchestrator-kit new-company ~/acme --name acme --title "Acme Labs" --mission "..."
11+
orchestrator-kit hire cto --pack ~/acme # copies the role + skills, policies, capabilities, routing it needs; validates or rolls back
12+
orchestrator-kit hire fullstack-developer --pack ~/acme # reports to cto (org chart from reports_to / delegates_to)
13+
orchestrator-kit org --pack ~/acme
14+
orchestrator-kit plugin --pack ~/acme # Claude Code plugin: orchestrator skill, one subagent per agent, MCP tools, guard hook
15+
orchestrator-kit new-project ~/workspace/shop --pack ~/acme --budget 3 --goal "Launch the MVP" --roster cto,fullstack-developer
16+
claude plugin marketplace add ~/acme && claude plugin install acme@acme
17+
```
18+
19+
## Concepts
20+
| | Where | Notes |
21+
|---|---|---|
22+
| Company | a repo: `pack.yaml`, `agents/`, `skills/`, `policies/`, `tools/capabilities/`, `model-routing/`, `config/`, `protocols/artifacts/evidence-requirements.yaml` | one plugin per company; several companies = several repos |
23+
| Hire into the company | `orchestrator-kit hire <role>`: a reviewed change to the company repo | roles are **copied**, never inherited: a newer kit does not change a company's agents |
24+
| Project | `<workspace>/<project>/<project_file>`: name, goal, daily budget, **roster**, default AI | state in `<project>/<state_dir>/` (never committed) |
25+
| Hire into a project | the human's tool `<human_prefix>staff` (asks for confirmation) | tasks go only to agents on the roster; the orchestrator is always on it |
26+
| Goal ancestry | mission (company) > project goal > task | the goal is in every task contract |
27+
| Budgets | per task, per day per project (notice at 80%, refusal at 100%), `--max-budget-usd` in the harness | usage ledger per call |
28+
| Approvals | levels 0-4 up `reports_to`; level 4 and `<human_prefix>*` tools are the human's | no self-approval |
29+
| Evidence | per artifact type (`evidence-requirements.yaml`), `special` checks (git commit exists, URL answers, sources, your own) | an unregistered `special` fails |
30+
| Routing | `ai: {harness, provider, model, effort}` per task > skill > approved mapping > agent > default; model-policy fallbacks; breaker | harnesses: claude-code, zcode (zh), agy, dsh |
31+
| Profiling | `orchestrator-kit profile` (deterministic battery, hard budget) then `match` | `match` only **proposes** mappings; a human approves each one |
32+
33+
## A pack's code (optional)
34+
Most companies need none. A pack with its own behaviour subclasses `orchestrator_kit.runtime.Runtime` (hooks:
35+
`init_state`, `filter_extras`, `apply_result`, `record_outcome`, `action_gate`, `visible_state`, `workspace_key`,
36+
`subagent_name`; tables: `builtin_adapters`, `evidence_checks`), adds MCP tools through `orchestrator_kit.mcp.Server(tools=,
37+
handlers=)` and words its orchestrator skill with `orchestrator_kit.plugin.Generator`. `examples/review-pipeline/` is a
38+
complete second pack (code review with a maintainer); company-os (QUMATIC) is the first.
39+
40+
## Limits
41+
- The hook is a speed bump for an honest session, not a sandbox.
42+
- Subagents run natively in the session are not metered; `dispatch` (worker harness) is.
43+
- No loop or scheduler: the orchestrator is a session. Use your harness's scheduled triggers for recurring work.
44+
45+
Development: `uv sync && uv run python -m pytest`. Tests use the role library as their company (`ORCHESTRATOR_KIT_PACK`).
Collapse file

‎companyos/validate.py‎

Copy file name to clipboardExpand all lines: companyos/validate.py
-9Lines changed: 0 additions & 9 deletions
This file was deleted.
Collapse file

‎examples/.gitkeep‎

Copy file name to clipboardExpand all lines: examples/.gitkeep
Whitespace-only changes.
Collapse file

‎examples/README.md‎

Copy file name to clipboardExpand all lines: examples/README.md
-15Lines changed: 0 additions & 15 deletions
This file was deleted.
Collapse file

‎examples/review-pipeline/README.md‎

Copy file name to clipboardExpand all lines: examples/review-pipeline/README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ the reason, then fails after the attempt limit. "Nothing found" is valid: every
2727
2. `pack.yaml` `vocabulary` (departments, policy domains), checked by validate; the kit schemas only require kebab-case (G3).
2828
company-os moved its lists there, so its validation is as strict as before.
2929
3. `validate`: a pack without `company/state.schema.json` (no shared state) validates (G5).
30-
4. `orchestrator_kit/hook.py`: a generic stdlib-only guard configured by arguments (company-os keeps `companyos-hook`).
30+
4. `orchestrator_kit/hook.py`: a generic stdlib-only guard configured by arguments.
3131

3232
## Gaps of the review (§5) after steps 1-5
3333
G1 human id, G2 project file and state dir, G7 orchestrator skill, G9 adapters: manifest and pack code (steps 2-3).
Collapse file

‎orchestrator_kit/mcp.py‎

Copy file name to clipboardExpand all lines: orchestrator_kit/mcp.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""MCP server (stdio) exposing a pack's runtime tools to an orchestrator session.
22
33
A pack supplies its Runtime class, the ordered tool list (core tools below plus its own), handlers for its own tools, and
4-
optionally a status report. Projects are folders of COMPANYOS_WORKSPACE (default ~/workspace) holding the pack's project file.
4+
optionally a status report. Projects are folders of $ORCHESTRATOR_KIT_WORKSPACE (default ~/workspace) holding the pack's project file.
55
66
Stdlib only: newline-delimited JSON-RPC 2.0 (MCP stdio transport), tools capability only.
77
"""

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.