ai-first-os 1.9.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/LICENSE +21 -0
- package/README.md +226 -0
- package/bin/ai-first-os.js +72 -0
- package/core/CLAUDE.md +148 -0
- package/core/VERSION +1 -0
- package/core/agents/ambiguous-spec.md +39 -0
- package/core/agents/complete-spec.md +36 -0
- package/core/agents/scout.md +25 -0
- package/core/install.sh +243 -0
- package/core/lib/archive.sh +347 -0
- package/core/lib/bootstrap.sh +276 -0
- package/core/lib/capture.sh +188 -0
- package/core/lib/check-resolvable.sh +172 -0
- package/core/lib/close-session.sh +741 -0
- package/core/lib/common.sh +1773 -0
- package/core/lib/focus-read.sh +282 -0
- package/core/lib/manual-link.sh +111 -0
- package/core/lib/markdown.py +304 -0
- package/core/lib/migrate-backlogs.sh +207 -0
- package/core/lib/migrate-canonicals.sh +523 -0
- package/core/lib/mount-repo.sh +543 -0
- package/core/lib/my-wiki-gates.sh +137 -0
- package/core/lib/my-wiki.sh +202 -0
- package/core/lib/my_wiki_build.py +548 -0
- package/core/lib/my_wiki_graph.py +137 -0
- package/core/lib/my_wiki_overview.py +392 -0
- package/core/lib/new-memory.sh +160 -0
- package/core/lib/new-product.sh +122 -0
- package/core/lib/new-workspace.sh +105 -0
- package/core/lib/pack-install.sh +114 -0
- package/core/lib/recall.sh +235 -0
- package/core/lib/recall_index.py +295 -0
- package/core/lib/remote-backup.sh +84 -0
- package/core/lib/rename-heads.sh +354 -0
- package/core/lib/rename-workspaces.sh +271 -0
- package/core/lib/session-read.sh +203 -0
- package/core/lib/session-start.sh +854 -0
- package/core/lib/supersede.sh +436 -0
- package/core/lib/sweep.sh +473 -0
- package/core/manual/COMO-FUNCIONA.md +251 -0
- package/core/manual/HOW-IT-WORKS.md +250 -0
- package/core/resolver.md +30 -0
- package/core/skills/archive.md +95 -0
- package/core/skills/bootstrap.md +226 -0
- package/core/skills/capture.md +65 -0
- package/core/skills/check-resolvable.md +38 -0
- package/core/skills/close-session.md +108 -0
- package/core/skills/grill.md +74 -0
- package/core/skills/mount-repo.md +97 -0
- package/core/skills/my-wiki.md +103 -0
- package/core/skills/new-memory.md +76 -0
- package/core/skills/new-product.md +55 -0
- package/core/skills/new-spec.md +114 -0
- package/core/skills/new-workspace.md +53 -0
- package/core/skills/recall.md +64 -0
- package/core/skills/rename-heads.md +72 -0
- package/core/skills/rename-workspaces.md +43 -0
- package/core/skills/supersede.md +83 -0
- package/core/skills/sweep.md +40 -0
- package/core/templates/my-wiki-graph.js +431 -0
- package/core/templates/my-wiki-overview.js +174 -0
- package/core/templates/my-wiki.html +1017 -0
- package/core/templates/node-folder/README.md +11 -0
- package/core/templates/node-folder/resolver.md +9 -0
- package/core/templates/node-light.md +22 -0
- package/core/templates/node-product/README.md +8 -0
- package/core/templates/node-repo/README.md +14 -0
- package/core/templates/node-repo/context/README.md +22 -0
- package/core/templates/node-repo/context/competitors.md +8 -0
- package/core/templates/node-repo/context/glossary.md +8 -0
- package/core/templates/node-repo/context/open-questions.md +9 -0
- package/core/templates/node-repo/context/opportunities.md +9 -0
- package/core/templates/node-repo/context/problem.md +8 -0
- package/core/templates/node-repo/context/scope.md +8 -0
- package/core/templates/node-repo/context/users.md +8 -0
- package/core/templates/node-repo/context/vision.md +8 -0
- package/core/templates/node-repo/resolver.md +14 -0
- package/core/templates/operator.md +17 -0
- package/core/templates/person.md +10 -0
- package/core/templates/repo-scaffold/ARCHITECTURE.md +3 -0
- package/core/templates/repo-scaffold/CLAUDE.md +23 -0
- package/core/templates/repo-scaffold/decisions.md +3 -0
- package/core/templates/repo-scaffold/evals-run.sh +14 -0
- package/core/templates/repo-scaffold/gitignore +3 -0
- package/core/templates/repo-scaffold/settings.json +8 -0
- package/core/templates/root-resolver.md +5 -0
- package/core/templates/strings.md +1361 -0
- package/core/templates/tree.md +59 -0
- package/core/templates/voice.md +5 -0
- package/package.json +23 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
role: {{ROLE}}
|
|
3
|
+
owner: {{OWNER}}
|
|
4
|
+
repo:
|
|
5
|
+
updated: {{DATE}}
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# {{NAME}}
|
|
9
|
+
|
|
10
|
+
{{IDENTITY}}
|
|
11
|
+
|
|
12
|
+
The body lives in the checkout declared in `repo:`: specs, technical decisions and the as-built. The
|
|
13
|
+
head stays here. The field is written by the command that mounts the repo — deciding to build and
|
|
14
|
+
mounting the repo are the same act.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Strategic layer
|
|
2
|
+
|
|
3
|
+
> Index. The content lives broken down across this `context/`, so that an agent reads only what it
|
|
4
|
+
> needs.
|
|
5
|
+
|
|
6
|
+
## The files
|
|
7
|
+
|
|
8
|
+
| # | File | What it answers | State |
|
|
9
|
+
|---|---|---|---|
|
|
10
|
+
| 1 | `problem.md` | What problem it solves, for whom, why now | ⬜ |
|
|
11
|
+
| 2 | `users.md` | Who it sells to, what they use instead today | ⬜ |
|
|
12
|
+
| 3 | `vision.md` | The finished system, where it gets to | ⬜ |
|
|
13
|
+
| 4 | `scope.md` | What it does NOT do, hard constraints, what goes into the first version | ⬜ |
|
|
14
|
+
| 5 | `competitors.md` | What it competes against and how it differs | ⬜ |
|
|
15
|
+
| 6 | `glossary.md` | The terms of the domain | ⬜ |
|
|
16
|
+
| 7 | `open-questions.md` | What is left to decide — live, it empties out | ⬜ |
|
|
17
|
+
| 8 | `opportunities.md` | What might be worth it and was not decided | ⬜ |
|
|
18
|
+
|
|
19
|
+
States: ⬜ empty · 🟡 partial · ✅ closed on [date]. Whoever completes each file updates them.
|
|
20
|
+
|
|
21
|
+
`scope.md` and `glossary.md` are the ones that keep an agent from deciding wrong: if they are empty,
|
|
22
|
+
no spec can be written yet.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
updated:
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Open questions
|
|
6
|
+
|
|
7
|
+
What is left to decide. Live: it empties out as each question closes, and it is never padded with an
|
|
8
|
+
inference to look tidy. Filled in by the `prd` interview
|
|
9
|
+
(`packs/product-builder/skills/prd.md`) and by `grill` (`core/skills/grill.md`).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Resolver of {{NAME}} — where what gets written goes
|
|
2
|
+
|
|
3
|
+
Content → destination. One row per exception: whatever the structure already answers gets no row.
|
|
4
|
+
The boundary with the body is a row like any other.
|
|
5
|
+
|
|
6
|
+
It is born with no rows.
|
|
7
|
+
|
|
8
|
+
| Content | Destination |
|
|
9
|
+
|---|---|
|
|
10
|
+
|
|
11
|
+
## References
|
|
12
|
+
|
|
13
|
+
What this node uses from outside, by path. If the agent cannot reach it, it says so instead of
|
|
14
|
+
assuming.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# {{NAME}}
|
|
2
|
+
|
|
3
|
+
{{T_REPO_INTRO}}
|
|
4
|
+
|
|
5
|
+
## {{T_REPO_LAYOUT_HEADING}}
|
|
6
|
+
|
|
7
|
+
{{T_REPO_LAYOUT}}
|
|
8
|
+
|
|
9
|
+
## Gates
|
|
10
|
+
|
|
11
|
+
{{T_REPO_GATES}}
|
|
12
|
+
|
|
13
|
+
## Definition of Done
|
|
14
|
+
|
|
15
|
+
{{T_REPO_DOD}}
|
|
16
|
+
|
|
17
|
+
## {{T_REPO_WRITING_HEADING}}
|
|
18
|
+
|
|
19
|
+
{{T_REPO_WRITING}}
|
|
20
|
+
|
|
21
|
+
## Gotchas
|
|
22
|
+
|
|
23
|
+
{{T_REPO_GOTCHAS}}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# {{T_REPO_EVALS_INTRO}}
|
|
3
|
+
set -u
|
|
4
|
+
|
|
5
|
+
passed=0
|
|
6
|
+
failed=0
|
|
7
|
+
ok() { printf 'PASS %s\n' "$1"; passed=$((passed + 1)); }
|
|
8
|
+
ko() { printf 'FAIL %s\n' "$1"; failed=$((failed + 1)); }
|
|
9
|
+
ev() { printf ' | %s\n' "$1"; }
|
|
10
|
+
|
|
11
|
+
# {{T_REPO_EVALS_SLOT}}
|
|
12
|
+
|
|
13
|
+
printf '{{T_REPO_EVALS_SUMMARY}}\n' "$passed" "$failed"
|
|
14
|
+
[ "$failed" = "0" ]
|