build-os 0.0.0-reserved.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -3
- package/SECURITY.md +636 -0
- package/THIRD_PARTY_NOTICES.md +909 -0
- package/dist/buildos-design.js +5 -0
- package/dist/buildos-discovery.js +5 -0
- package/dist/buildos-intake.js +5 -0
- package/dist/buildos.js +64406 -0
- package/dist/system/.os/AGENTS.md +36 -0
- package/dist/system/.os/CLAUDE.md +4 -0
- package/dist/system/.os/config/AGENTS.md +17 -0
- package/dist/system/.os/config/CLAUDE.md +3 -0
- package/dist/system/.os/config/instance.yaml +37 -0
- package/dist/system/.os/contracts/AGENTS.md +22 -0
- package/dist/system/.os/contracts/CLAUDE.md +3 -0
- package/dist/system/.os/contracts/config-contract.md +97 -0
- package/dist/system/.os/contracts/converted-source-contract.md +52 -0
- package/dist/system/.os/contracts/entity-consolidation-contract.md +176 -0
- package/dist/system/.os/contracts/entity-records-contract.md +278 -0
- package/dist/system/.os/contracts/examples/entity-resolution/README.md +22 -0
- package/dist/system/.os/contracts/examples/entity-resolution/expected-diagnostics.json +71 -0
- package/dist/system/.os/contracts/examples/entity-resolution/invalid-graph-cases.json +384 -0
- package/dist/system/.os/contracts/examples/entity-resolution/invalid-index-cases.json +42 -0
- package/dist/system/.os/contracts/examples/entity-resolution/valid-all-types.jsonl +16 -0
- package/dist/system/.os/contracts/examples/entity-resolution/valid-consolidation-manifest.json +27 -0
- package/dist/system/.os/contracts/examples/entity-resolution/valid-index.json +13 -0
- package/dist/system/.os/contracts/examples/entity-resolution/valid-multi-hop.jsonl +3 -0
- package/dist/system/.os/contracts/examples/entity-resolution/valid-resolver-results.json +29 -0
- package/dist/system/.os/contracts/examples/extraction-outcomes/minted.json +12 -0
- package/dist/system/.os/contracts/examples/extraction-outcomes/referenced.json +12 -0
- package/dist/system/.os/contracts/examples/extraction-outcomes/updated.json +12 -0
- package/dist/system/.os/contracts/examples/persona-identity/ambiguous-alias.json +33 -0
- package/dist/system/.os/contracts/examples/persona-identity/exact-identity-key.json +29 -0
- package/dist/system/.os/contracts/examples/persona-identity/normalization-collision.json +38 -0
- package/dist/system/.os/contracts/examples/persona-identity/unique-alias.json +23 -0
- package/dist/system/.os/contracts/extraction-contract.md +77 -0
- package/dist/system/.os/contracts/finding-contract.md +100 -0
- package/dist/system/.os/contracts/intake-translation-contract.md +85 -0
- package/dist/system/.os/contracts/persona-identity-contract.md +88 -0
- package/dist/system/.os/contracts/playbook-contract.md +76 -0
- package/dist/system/.os/contracts/root-and-path-contract.md +48 -0
- package/dist/system/.os/contracts/run-record-contract.md +101 -0
- package/dist/system/.os/data/AGENTS.md +16 -0
- package/dist/system/.os/data/CLAUDE.md +1 -0
- package/dist/system/.os/data/capabilities.jsonl +1 -0
- package/dist/system/.os/data/extractions.jsonl +0 -0
- package/dist/system/.os/data/findings.jsonl +0 -0
- package/dist/system/.os/data/personas.jsonl +0 -0
- package/dist/system/.os/data/requirements.jsonl +1 -0
- package/dist/system/.os/data/results.jsonl +0 -0
- package/dist/system/.os/data/runs.jsonl +0 -0
- package/dist/system/.os/data/test-cases.jsonl +1 -0
- package/dist/system/.os/indexes/AGENTS.md +11 -0
- package/dist/system/.os/indexes/CLAUDE.md +1 -0
- package/dist/system/.os/indexes/playbooks.json +260 -0
- package/dist/system/.os/scripts/AGENTS.md +60 -0
- package/dist/system/.os/scripts/CLAUDE.md +3 -0
- package/dist/system/.os/scripts/buildos +109 -0
- package/dist/system/.os/scripts/buildos-design +13 -0
- package/dist/system/.os/scripts/buildos-design.cmd +9 -0
- package/dist/system/.os/scripts/buildos-discovery +13 -0
- package/dist/system/.os/scripts/buildos-discovery.cmd +9 -0
- package/dist/system/.os/scripts/buildos-intake +13 -0
- package/dist/system/.os/scripts/buildos-intake.cmd +9 -0
- package/dist/system/.os/scripts/buildos.cmd +30 -0
- package/dist/system/.os/scripts/node-required.txt +1 -0
- package/dist/system/.os/scripts/pinned-version.cjs +768 -0
- package/dist/system/.os/skills/AGENTS.md +65 -0
- package/dist/system/.os/skills/CLAUDE.md +3 -0
- package/dist/system/.os/skills/buildos-browser-to-playwright/SKILL.md +116 -0
- package/dist/system/.os/skills/buildos-browser-to-playwright/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-bulk-extract/SKILL.md +73 -0
- package/dist/system/.os/skills/buildos-bulk-extract/scripts/work.py +1603 -0
- package/dist/system/.os/skills/buildos-bulk-extract/tests/test_work.py +659 -0
- package/dist/system/.os/skills/buildos-design-planning/SKILL.md +44 -0
- package/dist/system/.os/skills/buildos-design-planning/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-discovery/SKILL.md +50 -0
- package/dist/system/.os/skills/buildos-discovery/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-discovery-qualification/SKILL.md +40 -0
- package/dist/system/.os/skills/buildos-discovery-qualification/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-docs-handoff/SKILL.md +48 -0
- package/dist/system/.os/skills/buildos-docs-handoff/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/SKILL.md +183 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/adapters/00-adapter-registry.md +112 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/adapters/dynamics-365-ce/ADAPTER.md +180 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/adapters/dynamics-365-ce/authoring-depth.md +327 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/adapters/dynamics-365-ce/component-templates.md +365 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/adapters/dynamics-365-ce/examples.md +280 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/agents/openai.yaml +4 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/assets/adapters/dynamics-365-ce-golden-example.csv +8 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/assets/adapters/dynamics-365-ce-manifest.json +348 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/assets/new-items-template.csv +1 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/assets/synthetic-golden-example.csv +7 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/assets/synthetic-manifest.json +210 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/assets/target-17-column-template.csv +1 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/references/azure-boards-csv-contract.md +234 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/references/backlog-mapping.md +110 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/references/source-selection.md +71 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/references/writing-style.md +134 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/scripts/adapters/dynamics-365-ce.mjs +239 -0
- package/dist/system/.os/skills/buildos-export-azure-boards/scripts/azure_boards_csv.mjs +645 -0
- package/dist/system/.os/skills/buildos-extract/SKILL.md +51 -0
- package/dist/system/.os/skills/buildos-extract/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-extraction-plan/SKILL.md +56 -0
- package/dist/system/.os/skills/buildos-extraction-plan/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-intake/SKILL.md +49 -0
- package/dist/system/.os/skills/buildos-intake/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-intake-convert/SKILL.md +56 -0
- package/dist/system/.os/skills/buildos-intake-convert/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-playbook-drafting/SKILL.md +48 -0
- package/dist/system/.os/skills/buildos-playbook-drafting/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-preflight/SKILL.md +34 -0
- package/dist/system/.os/skills/buildos-preflight/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-reference-review/SKILL.md +41 -0
- package/dist/system/.os/skills/buildos-reference-review/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-reporting/SKILL.md +34 -0
- package/dist/system/.os/skills/buildos-reporting/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-row-drafting/SKILL.md +49 -0
- package/dist/system/.os/skills/buildos-row-drafting/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-row-maintenance/SKILL.md +43 -0
- package/dist/system/.os/skills/buildos-row-maintenance/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-validation-reporting/SKILL.md +29 -0
- package/dist/system/.os/skills/buildos-validation-reporting/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/buildos-workflow/SKILL.md +68 -0
- package/dist/system/.os/skills/buildos-workflow/agents/openai.yaml +2 -0
- package/dist/system/.os/skills/capability-matrix/SKILL.md +891 -0
- package/dist/system/.os/skills/fit-gap-analysis/SKILL.md +191 -0
- package/dist/system/.os/skills/fit-gap-analysis/config/owner-colors.json +11 -0
- package/dist/system/.os/skills/fit-gap-analysis/references/formats.md +178 -0
- package/dist/system/.os/skills/fit-gap-analysis/references/scoring-brief.md +86 -0
- package/dist/system/.os/skills/fit-gap-analysis/scripts/fitgap.py +1309 -0
- package/dist/system/.os/templates/AGENTS.md +14 -0
- package/dist/system/.os/templates/CLAUDE.md +3 -0
- package/dist/system/.os/templates/guardrail-playbook.md +36 -0
- package/dist/system/.os/templates/instance-config.yaml +37 -0
- package/dist/system/.os/templates/procedure-playbook-explicit-steps-standing.md +52 -0
- package/dist/system/.os/templates/procedure-playbook-explicit-steps-stateful.md +58 -0
- package/dist/system/.os/templates/procedure-playbook-guided-objective-standing.md +61 -0
- package/dist/system/.os/templates/procedure-playbook-guided-objective-stateful.md +66 -0
- package/dist/system/.os/templates/procedure-playbook-inferred-actions-standing.md +61 -0
- package/dist/system/.os/templates/procedure-playbook-inferred-actions-stateful.md +68 -0
- package/dist/system/AGENTS.md +17 -0
- package/dist/system/CLAUDE.md +8 -0
- package/dist/system/_dot.gitignore +4 -0
- package/dist/system/assets/AGENTS.md +27 -0
- package/dist/system/assets/CLAUDE.md +3 -0
- package/dist/system/playbooks/AGENTS.md +38 -0
- package/dist/system/playbooks/CLAUDE.md +3 -0
- package/dist/system/playbooks/administrative/AGENTS.md +22 -0
- package/dist/system/playbooks/administrative/CLAUDE.md +3 -0
- package/dist/system/playbooks/administrative/manual-intake-conversion.md +74 -0
- package/dist/system/playbooks/administrative/respect-configured-scoped-metadata.md +46 -0
- package/dist/system/playbooks/administrative/respect-make-docs-plugin-boundary.md +52 -0
- package/dist/system/playbooks/build/AGENTS.md +21 -0
- package/dist/system/playbooks/build/CLAUDE.md +3 -0
- package/dist/system/playbooks/build/package-build-artifact.md +64 -0
- package/dist/system/playbooks/discovery/AGENTS.md +21 -0
- package/dist/system/playbooks/discovery/CLAUDE.md +3 -0
- package/dist/system/playbooks/discovery/inspect-ui-discoverability.md +72 -0
- package/dist/system/playbooks/testing/AGENTS.md +21 -0
- package/dist/system/playbooks/testing/CLAUDE.md +3 -0
- package/dist/system/playbooks/testing/run-core-validation.md +65 -0
- package/dist/system/workspace/AGENTS.md +18 -0
- package/dist/system/workspace/CLAUDE.md +3 -0
- package/dist/system/workspace/datasets/.gitkeep +1 -0
- package/dist/system/workspace/datasets/AGENTS.md +10 -0
- package/dist/system/workspace/datasets/CLAUDE.md +3 -0
- package/dist/system/workspace/findings/AGENTS.md +19 -0
- package/dist/system/workspace/findings/CLAUDE.md +3 -0
- package/dist/system/workspace/runs/AGENTS.md +17 -0
- package/dist/system/workspace/runs/CLAUDE.md +3 -0
- package/dist/system.json +983 -0
- package/package.json +39 -5
package/README.md
CHANGED
|
@@ -1,5 +1,86 @@
|
|
|
1
|
-
#
|
|
1
|
+
# BuildOS CLI
|
|
2
2
|
|
|
3
|
-
This
|
|
3
|
+
BuildOS is a folder of plain-text rules, templates, and records that an agent uses to run discovery, testing, requirements capture, design, and backlog work on a product or system. This package is the `buildos` command: it sets up that folder in a project, converts source documents into clean text with provenance, records discovery runs and findings, promotes a finding to a design, and checks the project's configuration and records. Everything runs on your own machine, and the command makes no network call.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- Node.js 24 or newer, on macOS, Linux, or Windows (x64 or arm64). Nothing else: no build step and no Python.
|
|
8
|
+
- Network access to the npm registry the first time a version runs. To install without registry access, see "Install without registry access" below.
|
|
9
|
+
|
|
10
|
+
## Set up a project
|
|
11
|
+
|
|
12
|
+
In the project folder, run:
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npx -y build-os@0.1.0 init
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
`buildos init` asks one question: set up the optional Make Docs companion too? When there is no terminal to answer in (as with most agents), it stops with exit code `10`, changes nothing, and prints the question and the two exact commands, one for each answer. Run the one the user chose. `buildos init` adds its files next to the files that are there. In a new setup it does not replace a file: a clash stops it with exit code `10` and nothing written. It adds only its own marked section to `AGENTS.md`, `CLAUDE.md`, and `.gitignore`. `buildos init --dry-run` shows the plan and writes nothing. A project set up with the earlier Go tools is adopted: its data files stay byte for byte, and its Go-era wrapper and skill files are replaced. When a step fails, `buildos init` undoes its own writes and lists any path it could not put back (exit `10`); see [SECURITY.md](SECURITY.md), "Write Safety", for the limits.
|
|
19
|
+
|
|
20
|
+
After setup, run commands through the project wrapper, from the project folder. It always runs the version that `.os/manifest.json` pins (pin first). It uses an installed `buildos` only when it is an npm install of exactly that version, in the project's `node_modules` folder or as the first `buildos` on `PATH`; it reads only the package files and starts no program to check the version. Else it runs the pinned version through `npx`:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
.os/scripts/buildos validate
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
On Windows, use `.os\scripts\buildos.cmd validate` in Command Prompt.
|
|
27
|
+
|
|
28
|
+
## Install globally
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
npm install -g build-os@0.1.0
|
|
32
|
+
buildos version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The npm package is named `build-os`, and the command is `buildos`. The package also installs a command named `build-os`: it is the same program as `buildos`, so that `npx -y build-os@<version> <command>` works.
|
|
36
|
+
|
|
37
|
+
The pin always decides. A global install is used only when it is an npm install of exactly the pinned version; otherwise the wrapper fetches the pinned version. Acceptance goes by layout, not by tool: a package folder `node_modules/build-os` with a matching `package.json` counts whatever tool made it (for example a local pnpm or Yarn link to such a folder). A shim script that only starts the package (as pnpm, Yarn, and Volta make for a global install) does not count, and the wrapper fetches the pinned version through `npx` instead. Any other `buildos` on `PATH` is not used. Every start sets `BUILDOS_REQUIRE_VERSION` to the pin, and BuildOS stops itself (exit code 3) when another version starts. To roll back, change only `buildos_version` in `.os/manifest.json`; you do not need to change or remove a global install.
|
|
38
|
+
|
|
39
|
+
## Install without registry access
|
|
40
|
+
|
|
41
|
+
On a machine with registry access, download the tarball and note its SHA-256:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
npm pack build-os@0.1.0
|
|
45
|
+
shasum -a 256 build-os-0.1.0.tgz
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Compare the value with the published digest (see [SECURITY.md](SECURITY.md), "How to Check a Release"). Copy the file to the other machine and install it from the file:
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
npm install -g --offline ./build-os-0.1.0.tgz
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The package has no dependencies, so nothing else is fetched.
|
|
55
|
+
|
|
56
|
+
## Commands
|
|
57
|
+
|
|
58
|
+
| Command | What it does |
|
|
59
|
+
| --- | --- |
|
|
60
|
+
| `buildos init` | Set up BuildOS in a new or existing project folder |
|
|
61
|
+
| `buildos validate` | Check the project config, scoped frontmatter, and entity records; changes no file |
|
|
62
|
+
| `buildos intake convert --source <path>` | Convert a CSV, DOCX, XLSX, PDF, HTML file, or folder of HTML into clean text with provenance |
|
|
63
|
+
| `buildos intake index references` and `index playbooks` | Rebuild the references and playbooks indexes |
|
|
64
|
+
| `buildos discovery run discovery` and `qualify finding` | Record a discovery run and qualify a finding |
|
|
65
|
+
| `buildos design promote finding` | Promote a qualified finding into a design file |
|
|
66
|
+
| `buildos entities validate`, `resolve`, `consolidate`, `rebuild-index` | Work with entity records; `consolidate` and `rebuild-index` write only with `--apply` |
|
|
67
|
+
| `buildos version` | Print the package version and source revision |
|
|
68
|
+
| `buildos help [<domain>]` | Print help |
|
|
69
|
+
|
|
70
|
+
Add `--json` to `version`, `validate`, `init`, or an `entities`, `discovery`, or `design` command for the stable automation envelope. Help prints text, and `intake` has no `--json` form yet. Most writing commands take `--dry-run`. Exit code `0` means success.
|
|
71
|
+
|
|
72
|
+
## Legacy command names
|
|
73
|
+
|
|
74
|
+
The names of the earlier Go tools, `buildos-intake`, `buildos-discovery`, and `buildos-design`, are also commands of this package. They still work and give the same output. Each prints one line that names the new command. **They stop working in BuildOS `0.3.0`.** Use `buildos intake`, `buildos discovery`, and `buildos design`. The project scripts with the same names in `.os/scripts/` print the same notice line once, first on stderr, then run `.os/scripts/buildos` with their domain. They go away in `0.3.0` too.
|
|
75
|
+
|
|
76
|
+
## Security
|
|
77
|
+
|
|
78
|
+
[SECURITY.md](SECURITY.md) lists every outside package in this package with its version, license, and reason, and explains the bundling, the npm provenance, the SBOM, the release checks, rollback by version pin, and how to report a vulnerability. [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) holds the license notices. The package has no runtime dependencies: all code is in one bundle.
|
|
79
|
+
|
|
80
|
+
## Learn more
|
|
81
|
+
|
|
82
|
+
The user guide and the source are in the BuildOS repository, `https://github.com/brucewaynedecoy/build-os`.
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
Apache-2.0. See [LICENSE](LICENSE).
|