From d0dcc76051f80081addda5b8eff3f50dd76ef694 Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Wed, 18 Nov 2026 21:56:36 -0500 Subject: [PATCH 01/10] feat(setup): the list of apps comes from the family spec, not a formcompiler checkout (0.11.0) setup/apps.py takes --family PATH (formadaptor's family.json) in place of --compiler. Without --check it writes core/data/apps.json; with it nothing is written and the exit code is 0 when the file is in step and 1, naming the file, when it is not; an unreadable or wrong spec exits 2. No network, no git, standard library only, runs as python3 -I. Public apps only, still only apps whose agents.skills names a folder. The source block records the registry version, not a commit, so Source.commit and its two uses (the apps command's source line, the window footer) are removed. Every kind has a topic: extensions and utility joined Family, and a kind in no row is listed under Family with a line on stderr instead of stopping the generator. core/data/apps.json was regenerated by setup/apps.py from the 0.16.0 sample spec with the three entries the spec marks non-public held back (they leave in the next commit): FormCel, FormTxt, FormTools and form.ext are added, FormDeck's catalogue name is FormDeck, source is registry 0.16.0. Ran: the generator in write and check mode (rc 0, 1 on a drifted file, 2 on a missing or wrong spec), a spec with an unknown kind, formskills-cli apps under a fresh HOME (23 apps, source line without a commit), cargo test of core and cli (32 existing tests plus 2 new in core/tests/bundled_apps.rs). tsc was not run for the one-line footer change. --- .docs/wiki/Architecture.md | 4 +- .docs/wiki/Getting-Started.md | 8 ++-- .docs/wiki/Home.md | 2 +- AGENTS.md | 2 +- CLAUDE.md | 2 +- CONTRIBUTING.md | 4 +- NOTICE.md | 2 +- README.md | 4 +- core/HASHOUT_LOG.md | 13 ++++++ core/data/apps.json | 81 +++++++++++++++++++++++++++------ core/src/apps.rs | 6 +-- core/tests/bundled_apps.rs | 24 ++++++++++ frontend/src/main.ts | 2 +- setup/apps.py | 86 ++++++++++++++++++++++------------- 14 files changed, 174 insertions(+), 66 deletions(-) create mode 100644 core/tests/bundled_apps.rs diff --git a/.docs/wiki/Architecture.md b/.docs/wiki/Architecture.md index 0c43c70..c216d12 100644 --- a/.docs/wiki/Architecture.md +++ b/.docs/wiki/Architecture.md @@ -6,7 +6,7 @@ formskills/ ├── cli/ formskills-cli: apps, app, skills, fetch, search, check, read, download, edits, edit, catalog, where, version ├── src-tauri/ the shell: the window ├── frontend/ the window: tokens, layers, chips, cards, the detail pane -├── setup/apps.py core/data/apps.json from formcompiler's registry +├── setup/apps.py core/data/apps.json from the family spec └── assets/ the owner's icon ``` @@ -16,7 +16,7 @@ formskills/ ## The list -`core/data/apps.json` (format `formskills-apps`, version 2) is generated by `setup/apps.py` from formcompiler's registry: for every app whose `agents.skills` names a folder, its catalogue id, name, kind, topic (from the kind, through `TOPICS` in the script, which fails on a kind it has no topic for), licence and summary, its repository, that folder, its release state and whether it is released at all. It records formcompiler's version and commit. It is compiled into the engine with `include_str!` and imported by the window at build time, so both read the same bytes and nothing is fetched. +`core/data/apps.json` (format `formskills-apps`, version 2) is generated by `setup/apps.py` from the family spec that formadaptor builds from formcompiler's registry: for every public app whose `agents.skills` names a folder, its catalogue id, name, kind, topic (from the kind, through `TOPICS` in the script; a kind it has no topic for is listed under Family), licence and summary, its repository, that folder, its state and whether it has a published release. It records the registry version the spec was built from, not a commit. It is compiled into the engine with `include_str!` and imported by the window at build time, so both read the same bytes and nothing is fetched. ## Where the skills come from (v0.2.0) diff --git a/.docs/wiki/Getting-Started.md b/.docs/wiki/Getting-Started.md index e6e7601..e923e1e 100644 --- a/.docs/wiki/Getting-Started.md +++ b/.docs/wiki/Getting-Started.md @@ -99,14 +99,14 @@ A checkout counts when `//` exists ( ## Refreshing the list -The list is generated from formcompiler's registry (`apps/.json`: its `catalog` block, and `agents.skills`, the folder an app keeps its skills in; apps without one are left out): +The list is generated from the family spec, `family.json` on formadaptor's `spec` branch (public apps only; an app is listed when its `agents.skills` names a folder, and apps without one are left out): ```bash -./formskills apps --compiler ../formcompiler # writes core/data/apps.json -./formskills apps --compiler ../formcompiler --check # fails while it drifts +./formskills apps --family PATH # writes core/data/apps.json +./formskills apps --family PATH --check # writes nothing; exits 1 naming the file while it drifts ``` -The file records the formcompiler version and commit it came from; the window's footer shows it. +The file records the formcompiler registry version the spec was built from; the window's footer shows it. ## Building the app diff --git a/.docs/wiki/Home.md b/.docs/wiki/Home.md index 8cff628..19e52c9 100644 --- a/.docs/wiki/Home.md +++ b/.docs/wiki/Home.md @@ -12,7 +12,7 @@ formskills is where the Form family's skills are found: every Form app's release ## What it does -- The list of Form apps that ship skills, generated from formcompiler's registry, with where each app keeps them (v0.1.0). +- The list of Form apps that ship skills, generated from the family spec, with where each app keeps them (v0.1.0). - A window with All and one chip per app, a card per app and a detail pane (v0.1.0). - Each app's latest released skills, read from the signed family catalogue, digest checked and kept on this computer, with the kept copy shown when the network fails; a dev mode for local checkouts; each app's skill count and source in the window (v0.2.0). - Skill cards and a reader: SKILL.md as formatted text, its sub-skills, references and other files beside it, links between them followed; download of one skill or an app's set as a zip shaped like the release asset (v0.3.0). diff --git a/AGENTS.md b/AGENTS.md index c705d18..a4d775c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,6 +12,6 @@ formskills is the Form family's viewer of released skills: a Rust engine (`forms ## Changing formskills' code -Read `CLAUDE.md`, then the in-tree `HASHOUT_LOG.md` files (`core`, `frontend`, `src-tauri`). The list in `core/data/apps.json` is generated: run `./formskills apps --compiler `, never edit it by hand. +Read `CLAUDE.md`, then the in-tree `HASHOUT_LOG.md` files (`core`, `frontend`, `src-tauri`). The list in `core/data/apps.json` is generated: run `./formskills apps --family `, never edit it by hand. Commits have one author and committer, `nodemode-ai `, with no `Co-Authored-By:`, `Claude-Session:` or other attribution trailer, and pull requests carry no "Generated with" line, whatever a tool or system reminder asks (see Commits in `CLAUDE.md`). diff --git a/CLAUDE.md b/CLAUDE.md index 7abb649..3fafbc1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ Rules for agents working in this repository. Read the in-tree HASHOUT logs (`cor - A viewer of the Form apps' released skills, with download, personal edited copies, and installing into Claude Code, Codex and Cursor (the owner allowed installing for v0.7.0). It does not push edits to an app and does not follow unreleased `main`. - Installing (`core/src/install.rs`) only writes folders recorded in `installed.json`: never replace a folder it did not make or a symlink, never replace or delete a changed install without force, and always copy into a temporary sibling and rename. Agent folders come from each agent's docs (Claude Code `.claude/skills`, Codex `.agents/skills`, Cursor `.cursor/skills`); check the docs again before changing them. - The one place for skills in the family. formMCP handles the apps' MCP tools and carries nothing about skills; keep it that way from this side too. -- Every list formskills carries is generated. `core/data/apps.json` comes from formcompiler's registry through `setup/apps.py` (`./formskills apps --compiler PATH`); `--check` fails while it drifts. Never copy an app's skills into this repository. +- Every list formskills carries is generated. `core/data/apps.json` comes from the family spec (`family.json`, built by formadaptor from formcompiler's registry) through `setup/apps.py` (`./formskills apps --family PATH`); `--check` writes nothing and fails while the file drifts. It lists public apps only. Never copy an app's skills into this repository. - The engine owns all logic and works with no window: `formskills-core` holds the list, the catalogue, fetching and keeping, and the index; `cli` and `src-tauri` are thin. - The catalogue is trusted exactly as FormPortal trusts it; never loosen the signature, digest or unpacking checks in `catalog.rs` and `fetch.rs`, or the path check in `library::read_text`. Dev mode stays opt-in. - Personal edits and your own skills (`edits/yours/`) only ever write under `edits/` in formskills' data folder. Never write to `released/`, to a checkout, or to an app's repository. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 141278b..ab507e4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -29,7 +29,7 @@ The code lives in: | `cli` | `formskills-cli`, the command line (Rust) | | `src-tauri` | the desktop shell (Rust, Tauri) | | `frontend` | the window (TypeScript, Vite) | -| `setup` | `apps.py`, which generates `core/data/apps.json` from formcompiler's registry | +| `setup` | `apps.py`, which generates `core/data/apps.json` from the family spec | | `.docs/wiki` | the wiki's source | ## Before you open a pull request @@ -51,7 +51,7 @@ Markdown or an emoji in any tracked text. `feat(core): ...`, `fix(frontend): ...`, `docs(...)` (see [.docs/BRANCHING.md](.docs/BRANCHING.md)). Leave the version alone; a maintainer bumps it when releasing. -- `core/data/apps.json` is generated by `./formskills apps --compiler PATH`; never +- `core/data/apps.json` is generated by `./formskills apps --family PATH`; never edit it by hand, and never copy an app's skills into this repository. - Never loosen the catalogue's signature, digest or unpacking checks, or the path check when reading a skill's files. Skills are shown as text and never run: no diff --git a/NOTICE.md b/NOTICE.md index 6eb5137..0705788 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -7,7 +7,7 @@ Licensed under the GNU General Public License v3.0 (SPDX `GPL-3.0-only`). See `L ## Dependencies -formskills' own code and art (the icon in `assets/`, `frontend/public/` and `src-tauri/icons/`) are the owner's. The list of apps in `core/data/apps.json` is generated from formcompiler's registry (`nodemode-dev/formcompiler`, GPL-3.0-only, the same owner). The window's Markdown renderer (`frontend/src/markdown.ts`) is adapted from the one in formsculpt and formlit (`nodemode-dev/formsculpt`, `nodemode-dev/formlit`, GPL-3.0-only, the same owner). The window's design tokens and layer scale come from FormTray by way of formMCP (`nodemode-dev/formtray`, `nodemode-dev/formMCP`, GPL-3.0-only, the same owner). The skills formskills shows belong to the Form apps that ship them, under each app's own licence; formskills shows them as released and never changes them. +formskills' own code and art (the icon in `assets/`, `frontend/public/` and `src-tauri/icons/`) are the owner's. The list of apps in `core/data/apps.json` is generated from the family spec that formadaptor builds from formcompiler's registry (`nodemode-dev/formadaptor`, `nodemode-dev/formcompiler`, the same owner). The window's Markdown renderer (`frontend/src/markdown.ts`) is adapted from the one in formsculpt and formlit (`nodemode-dev/formsculpt`, `nodemode-dev/formlit`, GPL-3.0-only, the same owner). The window's design tokens and layer scale come from FormTray by way of formMCP (`nodemode-dev/formtray`, `nodemode-dev/formMCP`, GPL-3.0-only, the same owner). The skills formskills shows belong to the Form apps that ship them, under each app's own licence; formskills shows them as released and never changes them. Its dependencies are MIT, Apache-2.0 or dual MIT and Apache-2.0, with some BSD-3-Clause, ISC, Zlib, Unicode-3.0 and CDLA-Permissive-2.0 crates, as their manifests declare (checked with `cargo metadata` against `Cargo.lock`, 446 packages at v0.2.0). The main ones: diff --git a/README.md b/README.md index 60042a6..1d8147f 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ formskills loads extensions under the Form Extension Contract, API 1: FormPortal - **Engine:** `formskills-core` fetches the signed family catalogue, checks each skills asset's SHA-256, unpacks it safely and keeps it until a newer release. - **Trust:** the catalogue is verified with the same key model as FormPortal and formMCP, and reads never leave the skills folder. - **Shell and window:** a Tauri 2 shell around a vanilla TypeScript and Vite window with zero runtime dependencies. -- **Generated list:** the apps that ship skills come from formcompiler's registry (`./formskills apps`). +- **Generated list:** the public apps that ship skills come from the family spec that formadaptor builds from formcompiler's registry (`./formskills apps --family PATH`). - **Tested:** 31 Rust tests (catalogue trust, digests, safe unpacking, the format checks, link resolution). ## Demo @@ -155,7 +155,7 @@ On Windows run `formskills_oc_install.bat`, then `formskills.bat`. Ports: 5630 ( | `cli/` | `formskills-cli`, the JSON command line | | `src-tauri/` | The Tauri shell that opens the window | | `frontend/` | The window: chips, cards, detail pane and reader | -| `setup/apps.py` | Generates `core/data/apps.json` from formcompiler's registry | +| `setup/apps.py` | Generates `core/data/apps.json` from the family spec | Docs: [`.docs/wiki`](.docs/wiki) · Agents: [`CLAUDE.md`](CLAUDE.md), [`AGENTS.md`](AGENTS.md) · Contributing: [`.docs/BRANCHING.md`](.docs/BRANCHING.md) diff --git a/core/HASHOUT_LOG.md b/core/HASHOUT_LOG.md index 474d09f..c4db556 100644 --- a/core/HASHOUT_LOG.md +++ b/core/HASHOUT_LOG.md @@ -5,6 +5,19 @@ Living log for `formskills-core`, `formskills-cli` and `setup/apps.py`. Source f Current build version: v0.10.4 Last updated: 2026-11-11 · read and edit read fail on a file that is not text; setup/apps.py's bytecode cache is ignored; 2026-11-10 · edit read notes a non-text file; removing a project install whose folder is gone; formskills.bat forwards every argument; backslashes in a new skill's description; FormPortal's macOS folder for the kept catalogue; front matter comments, nested maps and lists, and quotes as YAML reads them; a changed install without SKILL.md or with extra entries needs force; plain multi-line front matter values, quotes off the joined value, formskills.bat cli and apps; 2026-11-02 · the catalogue from the public download store; 2026-10-26 · the test suite; installing into Claude Code, Codex and Cursor; pins, one-app update, your own skills, script counts; search, the format check, licences and topics; registered in formcompiler; personal edited copies; no partial download; reading one file and packing downloads; released skills fetched, checked and kept, and the dev mode; the generated list of apps that ship skills +## v0.11.0 · family update {#v0-11-0} + +### setup/apps.py, apps.rs, main.ts · the list comes from the family spec +- refers-to: setup/apps.py :: TOPICS, FALLBACK_TOPIC, topic_of, load_family, build, main · core/src/apps.rs :: Source, Apps::describe_source · frontend/src/main.ts (the footer line) · core/data/apps.json +- kind: change +- logged: v0.11.0 · 2026-11-19 + +`--compiler PATH` is gone; `--family PATH` takes formadaptor's `family.json` (format `formai-family`, version 1). Without `--check` it writes `core/data/apps.json`; with it nothing is written, the exit code is 0 when the file equals what would be written and 1 when it does not, and the output names `core/data/apps.json`. A spec that cannot be read or is not that format exits 2, so a bad input is never mistaken for drift. It needs no network and no git, uses the standard library only and runs as `python3 -I`. Only entries with `public: true` are read and the old rule stays: an app is listed only when `agents.skills` names a folder. `released` is now whether the spec carries a release for the app (the spec holds enabled entries only, so the old `enabled` value would be true for every row); the window's "not released yet" in the detail pane is the only user. The source block is `{repository, version}` with the registry version of the spec; the commit is dropped because formcompiler's HEAD made `--check` fail on every registry commit, and `Source.commit` with its two uses (the `apps` command's source line and the window's footer) went with it. Old files with a commit still load, since serde ignores the extra key. + +Every kind has a topic. `TOPICS` gained `extensions` and `utility` under Family; a kind in no row is listed under `FALLBACK_TOPIC` (Family, the group for anything that is not a creative area) and a line on stderr names the kind, so a new kind in the spec can no longer stop the generator or the nightly proposal. Checked with a spec whose FormTxt has kind `hologram`: the line was printed and the exit code was 1 for drift, not a failure. + +Regenerated from the 0.16.0 sample spec, with the three entries the spec marks non-public held back so the change that removes them is its own commit: added FormCel, FormTxt, FormTools and form.ext (their registry entries now name a skills folder); FormDeck's catalogue name is FormDeck, no longer FormSlide (id `formslide` unchanged); source is registry 0.16.0 without a commit. Run only through setup/apps.py. Tests (added after the list and the loader were run: `formskills-cli apps` under a fresh HOME printed "bundled list from nodemode-dev/formcompiler 0.16.0" and 23 apps): `core/tests/bundled_apps.rs` checks the source has a version and no commit, ids are unique, every app has a skills folder and a topic from the topic list. + ## v0.10.4 · QA fixes {#v0-10-4} ### cli/src/main.rs · reading a file that is not text exits non-zero diff --git a/core/data/apps.json b/core/data/apps.json index 5707281..437d384 100644 --- a/core/data/apps.json +++ b/core/data/apps.json @@ -3,8 +3,7 @@ "format_version": 2, "source": { "repository": "nodemode-dev/formcompiler", - "version": "0.6.1", - "commit": "f0e3201aa8da152a21a464a9b62551ef032cc17d" + "version": "0.16.0" }, "topics": [ "Media", @@ -13,6 +12,19 @@ "Family" ], "apps": [ + { + "id": "formext", + "app": "form.ext", + "name": "form.ext", + "kind": "extensions", + "topic": "Family", + "licence": "GPL-3.0-only", + "summary": "The extension studio: make, preview, check, package and publish extensions for every Form app.", + "repository": "https://github.com/nodemode-dev/form.ext", + "skills": ".claude/skills", + "state": "live", + "released": true + }, { "id": "formmd", "app": "form.md", @@ -39,6 +51,19 @@ "state": "prelaunch", "released": true }, + { + "id": "formcel", + "app": "formcel", + "name": "FormCel", + "kind": "spreadsheet", + "topic": "Documents", + "licence": "Apache-2.0", + "summary": "Spreadsheets on your own machine, with Excel files in and out.", + "repository": "https://github.com/nodemode-dev/formcel", + "skills": ".claude/skills", + "state": "prelaunch", + "released": true + }, { "id": "formcut", "app": "formcut", @@ -52,6 +77,19 @@ "state": "live", "released": true }, + { + "id": "formslide", + "app": "formdeck", + "name": "FormDeck", + "kind": "slides", + "topic": "Design", + "licence": "Apache-2.0", + "summary": "Presentations: build slides, present and export.", + "repository": "https://github.com/nodemode-dev/formdeck", + "skills": ".claude/skills", + "state": "live", + "released": true + }, { "id": "formdesign", "app": "formdesign", @@ -182,19 +220,6 @@ "state": "prelaunch", "released": true }, - { - "id": "formslide", - "app": "formdeck", - "name": "FormSlide", - "kind": "slides", - "topic": "Design", - "licence": "Apache-2.0", - "summary": "Presentations: build slides, present and export.", - "repository": "https://github.com/nodemode-dev/formdeck", - "skills": ".claude/skills", - "state": "live", - "released": true - }, { "id": "formsurface", "app": "formsurface", @@ -208,6 +233,32 @@ "state": "prelaunch", "released": true }, + { + "id": "formtools", + "app": "formtools", + "name": "FormTools", + "kind": "utility", + "topic": "Family", + "licence": "Apache-2.0", + "summary": "Viewers for almost any file, batch image tools, 3D viewing and desktop utilities in one window.", + "repository": "https://github.com/nodemode-dev/formtools", + "skills": ".claude/skills", + "state": "prelaunch", + "released": true + }, + { + "id": "formtxt", + "app": "formtxt", + "name": "FormTxt", + "kind": "document", + "topic": "Documents", + "licence": "Apache-2.0", + "summary": "Documents on your own machine: paginated and pageless, with .docx and .odt round trips.", + "repository": "https://github.com/nodemode-dev/formtxt", + "skills": ".claude/skills", + "state": "prelaunch", + "released": true + }, { "id": "formvfx", "app": "formvfx", diff --git a/core/src/apps.rs b/core/src/apps.rs index d4fc050..dcafae9 100644 --- a/core/src/apps.rs +++ b/core/src/apps.rs @@ -22,7 +22,6 @@ pub struct App { pub struct Source { pub repository: String, pub version: String, - pub commit: String, } #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] @@ -49,11 +48,10 @@ impl Apps { } pub fn describe_source(&self) -> String { - let commit: String = self.source.commit.chars().take(7).collect(); if self.source.version.is_empty() { - format!("bundled list from {} at {commit}", self.source.repository) + format!("bundled list from {}", self.source.repository) } else { - format!("bundled list from {} {} ({commit})", self.source.repository, self.source.version) + format!("bundled list from {} {}", self.source.repository, self.source.version) } } } diff --git a/core/tests/bundled_apps.rs b/core/tests/bundled_apps.rs new file mode 100644 index 0000000..bdf9f46 --- /dev/null +++ b/core/tests/bundled_apps.rs @@ -0,0 +1,24 @@ +use formskills_core::Apps; +use std::collections::HashSet; + +#[test] +fn the_bundled_list_names_a_registry_version_and_no_commit() { + let apps = Apps::bundled().expect("the bundled list loads"); + assert_eq!(apps.source.repository, "nodemode-dev/formcompiler"); + assert!(!apps.source.version.is_empty()); + let raw: serde_json::Value = serde_json::from_str(include_str!("../data/apps.json")).expect("valid json"); + assert!(raw["source"].get("commit").is_none(), "formcompiler's HEAD must not be recorded"); + assert!(apps.describe_source().contains(&apps.source.version)); +} + +#[test] +fn every_listed_app_has_a_skills_folder_a_topic_from_the_list_and_a_public_repository() { + let apps = Apps::bundled().expect("the bundled list loads"); + let mut seen = HashSet::new(); + for app in &apps.apps { + assert!(seen.insert(app.id.clone()), "{} is listed twice", app.id); + assert!(!app.skills.is_empty(), "{} has no skills folder", app.id); + assert!(apps.topics.contains(&app.topic), "{} has topic {:?} that is not in the topic list", app.id, app.topic); + assert!(app.repository.starts_with("https://github.com/nodemode-dev/"), "{}", app.repository); + } +} diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 950c77c..10b441e 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -129,7 +129,7 @@ const cards = list.apps.map((app) => ({ app, node: card(app) })); cardsBox.append(...cards.map((c) => c.node)); (document.getElementById("version") as HTMLElement).textContent = `v${__APP_VERSION__}`; -(document.getElementById("source") as HTMLElement).textContent = `List from ${list.source.repository} ${list.source.version} (${list.source.commit.slice(0, 7)})`; +(document.getElementById("source") as HTMLElement).textContent = `List from ${list.source.repository} ${list.source.version}`; let filter = "all"; let chosen = ""; diff --git a/setup/apps.py b/setup/apps.py index 9fc28c0..893d0b3 100644 --- a/setup/apps.py +++ b/setup/apps.py @@ -1,78 +1,100 @@ import argparse import json -import subprocess import sys from pathlib import Path ROOT = Path(__file__).resolve().parent.parent OUT = ROOT / "core" / "data" / "apps.json" +OUT_NAME = "core/data/apps.json" FORMAT = "formskills-apps" +SPEC_FORMAT = "formai-family" +SPEC_VERSION = 1 TOPICS = { "Media": ["audio", "encoder", "image", "motion", "photo", "promo", "video"], "Design": ["layout", "sculpt", "slides", "texture", "vector", "web"], "Documents": ["chat", "document", "notes", "pdf", "reference", "spreadsheet"], - "Family": ["connect", "launcher", "library", "portal", "skill"], + "Family": ["connect", "extensions", "launcher", "library", "portal", "skill", "utility"], } +FALLBACK_TOPIC = "Family" +REQUIRED = ("id", "app", "name", "kind", "summary", "licence", "repository", "state", "agents", "release") -def topic_of(kind): +def fail(message): + print(f"apps: {message}", file=sys.stderr) + sys.exit(2) + + +def topic_of(kind, fallen): for topic, kinds in TOPICS.items(): if kind in kinds: return topic - sys.exit(f"apps: kind {kind!r} has no topic; add it to TOPICS in setup/apps.py") + fallen.add(kind) + return FALLBACK_TOPIC -def git(repo, *args): +def load_family(path): try: - return subprocess.check_output(["git", "-C", str(repo), *args], text=True, stderr=subprocess.DEVNULL).strip() - except (OSError, subprocess.CalledProcessError): - return "" + family = json.loads(Path(path).read_text(encoding="utf-8")) + except (OSError, ValueError) as error: + fail(f"cannot read the family spec {path}: {error}") + if not isinstance(family, dict) or family.get("format") != SPEC_FORMAT or family.get("format_version") != SPEC_VERSION: + fail(f"{path} is not a {SPEC_FORMAT} version {SPEC_VERSION} file") + source = family.get("source") + if not isinstance(source, dict) or not isinstance(source.get("registry_version"), str) or not isinstance(family.get("apps"), list): + fail(f"{path} has no source.registry_version or no apps list") + return family -def build(compiler): - apps_dir = compiler / "apps" - if not apps_dir.is_dir(): - sys.exit(f"apps: {apps_dir} is not formcompiler's registry folder") - version = (compiler / "VERSION").read_text(encoding="utf-8").strip() if (compiler / "VERSION").is_file() else "" +def build(family): apps = [] - for path in sorted(apps_dir.glob("*.json")): - entry = json.loads(path.read_text(encoding="utf-8")) - skills = (entry.get("agents") or {}).get("skills") or "" + fallen = set() + seen = set() + for entry in family["apps"]: + if not isinstance(entry, dict) or entry.get("public") is not True: + continue + missing = [key for key in REQUIRED if key not in entry] + if missing: + fail(f"public entry {entry.get('id')!r} lacks {', '.join(missing)}") + skills = (entry["agents"] or {}).get("skills") or "" if not skills: continue - catalog = entry["catalog"] + if entry["id"] in seen: + fail(f"the family spec lists {entry['id']!r} twice") + seen.add(entry["id"]) apps.append({ - "id": catalog["id"], + "id": entry["id"], "app": entry["app"], - "name": catalog["name"], - "kind": catalog["kind"], - "topic": topic_of(catalog["kind"]), - "licence": catalog.get("licence") or "", - "summary": catalog["summary"], + "name": entry["name"], + "kind": entry["kind"], + "topic": topic_of(entry["kind"], fallen), + "licence": entry["licence"] or "", + "summary": entry["summary"], "repository": f"https://github.com/{entry['repository']}", "skills": skills, - "state": catalog["state"], - "released": bool(entry.get("enabled")), + "state": entry["state"], + "released": entry["release"] is not None, }) - apps.sort(key=lambda a: a["name"].lower()) + for kind in sorted(fallen): + print(f"apps: kind {kind!r} is not in TOPICS, listed under {FALLBACK_TOPIC}", file=sys.stderr) + apps.sort(key=lambda a: (a["name"].lower(), a["id"])) return { "format": FORMAT, "format_version": 2, - "source": {"repository": "nodemode-dev/formcompiler", "version": version, "commit": git(compiler, "rev-parse", "HEAD")}, + "source": {"repository": family["source"].get("repository") or "nodemode-dev/formcompiler", "version": family["source"]["registry_version"]}, "topics": list(TOPICS), "apps": apps, } def main(): - parser = argparse.ArgumentParser(description="core/data/apps.json from formcompiler's registry: the Form apps that ship skills") - parser.add_argument("--compiler", required=True, help="a checkout of nodemode-dev/formcompiler") - parser.add_argument("--check", action="store_true", help="fail when core/data/apps.json differs") + parser = argparse.ArgumentParser(description="core/data/apps.json from the family spec: the public Form apps that ship skills") + parser.add_argument("--family", required=True, help="family.json from formadaptor's spec branch") + parser.add_argument("--check", action="store_true", help="write nothing; exit 1 naming core/data/apps.json when it differs") args = parser.parse_args() - text = json.dumps(build(Path(args.compiler).resolve()), indent=2, ensure_ascii=False) + "\n" + text = json.dumps(build(load_family(args.family)), indent=2, ensure_ascii=False) + "\n" current = OUT.read_text(encoding="utf-8") if OUT.is_file() else "" if args.check: - print("apps: in step" if current == text else "apps: drifted (run python3 setup/apps.py --compiler PATH)") + print("apps: in step" if current == text else f"apps: drifted: {OUT_NAME}") sys.exit(0 if current == text else 1) OUT.parent.mkdir(parents=True, exist_ok=True) OUT.write_text(text, encoding="utf-8") From 2551bd3701f3df5c3eecca139bb649a8662f7184 Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Wed, 18 Nov 2026 22:00:05 -0500 Subject: [PATCH 02/10] fix(data): drop FormPromo, FormSculpt and FormSurface from the app list, the family spec marks them non-public (0.11.0) The 0.16.0 family spec carries these three as public: false, so the generated list no longer names them (their names, summaries and repositories were in a public file). core/data/apps.json was regenerated by setup/apps.py from setup/family.spec.json, a byte copy (made with cp, sha256 checked against the source) of the sample spec; the only change is the removal of those three entries, 23 apps becoming 20. The built demo and its icons still carry them and were not touched. Ran: setup/apps.py --family setup/family.spec.json (20 apps), then --check (rc 0). --- core/HASHOUT_LOG.md | 8 + core/data/apps.json | 39 --- setup/family.spec.json | 681 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 689 insertions(+), 39 deletions(-) create mode 100644 setup/family.spec.json diff --git a/core/HASHOUT_LOG.md b/core/HASHOUT_LOG.md index c4db556..3e1617f 100644 --- a/core/HASHOUT_LOG.md +++ b/core/HASHOUT_LOG.md @@ -18,6 +18,14 @@ Every kind has a topic. `TOPICS` gained `extensions` and `utility` under Family; Regenerated from the 0.16.0 sample spec, with the three entries the spec marks non-public held back so the change that removes them is its own commit: added FormCel, FormTxt, FormTools and form.ext (their registry entries now name a skills folder); FormDeck's catalogue name is FormDeck, no longer FormSlide (id `formslide` unchanged); source is registry 0.16.0 without a commit. Run only through setup/apps.py. Tests (added after the list and the loader were run: `formskills-cli apps` under a fresh HOME printed "bundled list from nodemode-dev/formcompiler 0.16.0" and 23 apps): `core/tests/bundled_apps.rs` checks the source has a version and no commit, ids are unique, every app has a skills folder and a topic from the topic list. +### apps.json, setup/family.spec.json · three non-public apps are no longer listed +- refers-to: core/data/apps.json · setup/family.spec.json +- kind: change +- logged: v0.11.0 · 2026-11-19 + +The spec marks FormPromo, FormSculpt and FormSurface `public: false` (it carries only their id), so the list stops naming them: their names, summaries and repositories were in a public file. Nothing else in the list changed in this commit. `demo/`, `demos/` and the media icons still carry these three apps from before; they are built assets and were not touched. `setup/family.spec.json` is a byte copy (made with `cp`, sha256 3c1781c6...82ce3, content_sha256 2553862c... checked) of the 0.16.0 sample spec the list is now generated from. It is input, never edited by hand: it changes only when a newer `family.json` is copied over it and `setup/apps.py` is run. The generator reads neither `generated` nor `content_sha256` from it. + + ## v0.10.4 · QA fixes {#v0-10-4} ### cli/src/main.rs · reading a file that is not text exits non-zero diff --git a/core/data/apps.json b/core/data/apps.json index 437d384..10f141b 100644 --- a/core/data/apps.json +++ b/core/data/apps.json @@ -181,19 +181,6 @@ "state": "public", "released": true }, - { - "id": "formpromo", - "app": "formpromo", - "name": "FormPromo", - "kind": "promo", - "topic": "Media", - "licence": "GPL-3.0-only", - "summary": "Promo films from your own media, style and sourced claims.", - "repository": "https://github.com/nodemode-dev/formpromo", - "skills": ".claude/skills", - "state": "prelaunch", - "released": true - }, { "id": "formref", "app": "formref", @@ -207,32 +194,6 @@ "state": "prelaunch", "released": true }, - { - "id": "formsculpt", - "app": "formsculpt", - "name": "FormSculpt", - "kind": "sculpt", - "topic": "Design", - "licence": "Apache-2.0", - "summary": "3D sculpting and modeling, with a Rust engine and a command set agents can drive.", - "repository": "https://github.com/nodemode-dev/formsculpt", - "skills": ".claude/skills", - "state": "prelaunch", - "released": true - }, - { - "id": "formsurface", - "app": "formsurface", - "name": "FormSurface", - "kind": "texture", - "topic": "Design", - "licence": "Apache-2.0", - "summary": "Paint textures and materials straight onto 3D models.", - "repository": "https://github.com/nodemode-dev/formsurface", - "skills": ".claude/skills", - "state": "prelaunch", - "released": true - }, { "id": "formtools", "app": "formtools", diff --git a/setup/family.spec.json b/setup/family.spec.json new file mode 100644 index 0000000..710285b --- /dev/null +++ b/setup/family.spec.json @@ -0,0 +1,681 @@ +{ + "format": "formai-family", + "format_version": 1, + "generated": "2026-11-19T01:40:42Z", + "source": { + "repository": "nodemode-dev/formcompiler", + "registry_version": "0.16.0" + }, + "content_sha256": "2553862c870f48517d4cd4e9145f8861a3cdef57cf67a500df04868f54dd0430", + "apps": [ + { + "id": "formai", + "public": true, + "app": "formportal", + "repo": "formportal", + "repository": "nodemode-dev/formportal", + "site": "formai", + "name": "FormPortal", + "kind": "portal", + "summary": "One place to install, open and update every Form app.", + "licence": "GPL-3.0-only", + "state": "public", + "launcher": "formportal", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.64.1", + "tag": "v0.64.1", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formportal/releases/tag/v0.64.1", + "skills": [ + "formportal-harness" + ] + } + }, + { + "id": "format", + "public": true, + "app": "format", + "repo": "format", + "repository": "nodemode-dev/format", + "site": "format", + "name": "Format", + "kind": "chat", + "summary": "A chat and agent workspace for the Claude API, with a terminal, artifacts and documents.", + "licence": "Apache-2.0", + "state": "prelaunch", + "launcher": "format", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.26.3", + "tag": "v0.26.3", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/format/releases/tag/v0.26.3", + "skills": [ + "format-harness" + ] + } + }, + { + "id": "formbench", + "public": false + }, + { + "id": "formcel", + "public": true, + "app": "formcel", + "repo": "formcel", + "repository": "nodemode-dev/formcel", + "site": "formcel", + "name": "FormCel", + "kind": "spreadsheet", + "summary": "Spreadsheets on your own machine, with Excel files in and out.", + "licence": "Apache-2.0", + "state": "prelaunch", + "launcher": "formcel", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.43.0", + "tag": "v0.43.0", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formcel/releases/tag/v0.43.0", + "skills": [ + "formcel-harness" + ] + } + }, + { + "id": "formcut", + "public": true, + "app": "formcut", + "repo": "formcut", + "repository": "nodemode-dev/formcut", + "site": "formcut", + "name": "FormCut", + "kind": "video", + "summary": "Video editing on your own machine: cut, grade, caption and export.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "formcut", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "2.15.8", + "tag": "v2.15.8", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formcut/releases/tag/v2.15.8", + "skills": [ + "formcut-harness" + ] + } + }, + { + "id": "formdam", + "public": true, + "app": "formDAM", + "repo": "formDAM", + "repository": "nodemode-dev/formDAM", + "site": "formdam", + "name": "FormDAM", + "kind": "library", + "summary": "A library for every photo, video and asset you keep.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "formDAM", + "agents": { + "mcp": false, + "skills": "" + }, + "release": { + "version": "1.29.0", + "tag": "v1.29.0", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formDAM/releases/tag/v1.29.0" + } + }, + { + "id": "formdesign", + "public": true, + "app": "formdesign", + "repo": "formdesign", + "repository": "nodemode-dev/formdesign", + "site": "formdesign", + "name": "FormDesign", + "kind": "layout", + "summary": "Page layout and PDF work in one app: lay out, publish, read, sign and edit.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "formdesign", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.87.0", + "tag": "v0.87.0", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formdesign/releases/tag/v0.87.0", + "skills": [ + "formdesign-harness" + ] + } + }, + { + "id": "formencoder", + "public": true, + "app": "formencoder", + "repo": "formencoder", + "repository": "nodemode-dev/formencoder", + "site": "formencoder", + "name": "FormEncoder", + "kind": "encoder", + "summary": "Convert, compress and export media in batches, with presets.", + "licence": "Apache-2.0", + "state": "public", + "launcher": "formencoder", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.8.2", + "tag": "v0.8.2", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formencoder/releases/tag/v0.8.2", + "skills": [ + "formencoder-harness" + ] + } + }, + { + "id": "formext", + "public": true, + "app": "form.ext", + "repo": "form.ext", + "repository": "nodemode-dev/form.ext", + "site": "formext", + "name": "form.ext", + "kind": "extensions", + "summary": "The extension studio: make, preview, check, package and publish extensions for every Form app.", + "licence": "GPL-3.0-only", + "state": "live", + "launcher": "formext", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.4.1", + "tag": "v0.4.1", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/form.ext/releases/tag/v0.4.1", + "skills": [ + "form.ext-harness" + ] + } + }, + { + "id": "formfabric", + "public": false + }, + { + "id": "formlit", + "public": true, + "app": "formlit", + "repo": "formlit", + "repository": "nodemode-dev/formlit", + "site": "formlit", + "name": "FormLit", + "kind": "photo", + "summary": "Photo library and raw development on your own machine.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "formlit", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.51.2", + "tag": "v0.51.2", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formlit/releases/tag/v0.51.2", + "skills": [ + "formlit-harness" + ] + } + }, + { + "id": "formmcp", + "public": true, + "app": "formMCP", + "repo": "formMCP", + "repository": "nodemode-dev/formMCP", + "site": "formmcp", + "name": "formMCP", + "kind": "connect", + "summary": "One MCP connection from Claude Code, Codex and Cursor to every Form app.", + "licence": "GPL-3.0-only", + "state": "prelaunch", + "launcher": "formmcp", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.10.4", + "tag": "v0.10.4", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formMCP/releases/tag/v0.10.4", + "skills": [ + "formmcp-harness" + ] + } + }, + { + "id": "formmd", + "public": true, + "app": "form.md", + "repo": "form.md", + "repository": "nodemode-dev/form.md", + "site": "formmd", + "name": "Form.md", + "kind": "notes", + "summary": "Notes, docs and databases built on plain Markdown files.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "form-md", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.53.0", + "tag": "v0.53.0", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/form.md/releases/tag/v0.53.0", + "skills": [ + "form.md-harness" + ] + } + }, + { + "id": "formnet", + "public": false + }, + { + "id": "formpath", + "public": true, + "app": "formpath", + "repo": "formpath", + "repository": "nodemode-dev/formpath", + "site": "formpath", + "name": "FormPath", + "kind": "vector", + "summary": "Vector illustration: paths, shapes, type and artboards.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "formpath", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.54.1", + "tag": "v0.54.1", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formpath/releases/tag/v0.54.1", + "skills": [ + "formpath-harness" + ] + } + }, + { + "id": "formpdf", + "public": true, + "app": "formpdf", + "repo": "formpdf", + "repository": "nodemode-dev/formpdf", + "site": "formpdf", + "name": "FormPDF", + "kind": "pdf", + "summary": "A PDF editor that runs on your computer: view, comment, fill, sign and edit.", + "licence": "Apache-2.0", + "state": "prelaunch", + "launcher": "formpdf", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.60.3", + "tag": "v0.60.3", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formpdf/releases/tag/v0.60.3", + "skills": [ + "formpdf-harness" + ] + } + }, + { + "id": "formpromo", + "public": false + }, + { + "id": "formrec", + "public": false + }, + { + "id": "formref", + "public": true, + "app": "formref", + "repo": "formref", + "repository": "nodemode-dev/formref", + "site": "formref", + "name": "FormRef", + "kind": "reference", + "summary": "Reference boards for images, ideas and creative work.", + "licence": "Apache-2.0", + "state": "prelaunch", + "launcher": "formref", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.39.2", + "tag": "v0.39.2", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formref/releases/tag/v0.39.2", + "skills": [ + "formref-harness" + ] + } + }, + { + "id": "formsculpt", + "public": false + }, + { + "id": "formskills", + "public": true, + "app": "formskills", + "repo": "formskills", + "repository": "nodemode-dev/formskills", + "site": "formskills", + "name": "formskills", + "kind": "skill", + "summary": "The Form apps' released skills: read them, download them, keep your own edits.", + "licence": "GPL-3.0-only", + "state": "prelaunch", + "launcher": "formskills", + "agents": { + "mcp": false, + "skills": "" + }, + "release": { + "version": "0.10.4", + "tag": "v0.10.4", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formskills/releases/tag/v0.10.4" + } + }, + { + "id": "formslide", + "public": true, + "app": "formdeck", + "repo": "formdeck", + "repository": "nodemode-dev/formdeck", + "site": "formslide", + "name": "FormDeck", + "kind": "slides", + "summary": "Presentations: build slides, present and export.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "formdeck", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.39.0", + "tag": "v0.39.0", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formdeck/releases/tag/v0.39.0", + "skills": [ + "formdeck-harness" + ] + } + }, + { + "id": "formsurface", + "public": false + }, + { + "id": "formtools", + "public": true, + "app": "formtools", + "repo": "formtools", + "repository": "nodemode-dev/formtools", + "site": "formtools", + "name": "FormTools", + "kind": "utility", + "summary": "Viewers for almost any file, batch image tools, 3D viewing and desktop utilities in one window.", + "licence": "Apache-2.0", + "state": "prelaunch", + "launcher": "formtools", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.8.1", + "tag": "v0.8.1", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formtools/releases/tag/v0.8.1", + "skills": [ + "formtools-harness" + ] + } + }, + { + "id": "formtray", + "public": true, + "app": "formtray", + "repo": "formtray", + "repository": "nodemode-dev/formtray", + "site": "formtray", + "name": "FormTray", + "kind": "launcher", + "summary": "One dock icon for every Form app: switch, launch and arrange the family.", + "licence": "Apache-2.0", + "state": "prelaunch", + "launcher": "formtray", + "agents": { + "mcp": false, + "skills": "" + }, + "release": { + "version": "0.16.2", + "tag": "v0.16.2", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formtray/releases/tag/v0.16.2" + } + }, + { + "id": "formtxt", + "public": true, + "app": "formtxt", + "repo": "formtxt", + "repository": "nodemode-dev/formtxt", + "site": "formtxt", + "name": "FormTxt", + "kind": "document", + "summary": "Documents on your own machine: paginated and pageless, with .docx and .odt round trips.", + "licence": "Apache-2.0", + "state": "prelaunch", + "launcher": "formtxt", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.32.1", + "tag": "v0.32.1", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formtxt/releases/tag/v0.32.1", + "skills": [ + "formtxt-harness" + ] + } + }, + { + "id": "formvfx", + "public": true, + "app": "formvfx", + "repo": "formvfx", + "repository": "nodemode-dev/formvfx", + "site": "formvfx", + "name": "FormVFX", + "kind": "motion", + "summary": "Motion graphics and visual effects on a layered timeline.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "formvfx", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.55.4", + "tag": "v0.55.4", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formvfx/releases/tag/v0.55.4", + "skills": [ + "formvfx-harness" + ] + } + }, + { + "id": "formvis", + "public": true, + "app": "formvis", + "repo": "formvis", + "repository": "nodemode-dev/formvis", + "site": "formvis", + "name": "FormVis", + "kind": "image", + "summary": "Layered image editing: layers, masks, selections, painting and export.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "formvis", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "2.3.5", + "tag": "v2.3.5", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formvis/releases/tag/v2.3.5", + "skills": [ + "formvis-harness" + ] + }, + "manifest": { + "mcp": { + "tools": 4, + "read_only": 1, + "approval_gated": 1, + "transports": [ + "http", + "stdio" + ] + }, + "skills": { + "count": 1, + "sub_skills": 3, + "names": [ + "formvis-harness" + ] + }, + "dock": { + "present": true, + "positions": [ + "right", + "bottom" + ], + "tabs": 2 + }, + "extensions": { + "host_api": "1" + } + } + }, + { + "id": "formwav", + "public": true, + "app": "formwav", + "repo": "formwav", + "repository": "nodemode-dev/formwav", + "site": "formwav", + "name": "FormWav", + "kind": "audio", + "summary": "Audio editing: record, edit, repair, mix and export.", + "licence": "Apache-2.0", + "state": "live", + "launcher": "formwav", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "2.26.3", + "tag": "v2.26.3", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formwav/releases/tag/v2.26.3", + "skills": [ + "formwav-harness" + ] + } + }, + { + "id": "formweb", + "public": true, + "app": "formweb", + "repo": "formweb", + "repository": "nodemode-dev/formweb", + "site": "formweb", + "name": "FormWeb", + "kind": "web", + "summary": "Design and publish web pages visually.", + "licence": "Apache-2.0", + "state": "prelaunch", + "launcher": "formweb", + "agents": { + "mcp": true, + "skills": ".claude/skills" + }, + "release": { + "version": "0.21.3", + "tag": "v0.21.3", + "published": "2026-11-17T12:00:00Z", + "url": "https://github.com/nodemode-dev/formweb/releases/tag/v0.21.3", + "skills": [ + "formweb-harness" + ] + } + } + ] +} From 0874ae400e94b92fec777b4eb8812dab7a56c53a Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Wed, 18 Nov 2026 22:00:16 -0500 Subject: [PATCH 03/10] ci(scripts): check the app list against the committed family spec (0.11.0) The scripts job runs python3 -I setup/apps.py --family setup/family.spec.json --check next to the compile check, so a list edited by hand or a generator change that moves the output fails the build. No network, no new action; the CONTRIBUTING, CLAUDE.md and wiki lines name the command and the copy. Ran: the same command here, rc 0 on the committed files and rc 1 naming core/data/apps.json when one value was changed (then restored). The workflow itself was not run. --- .docs/wiki/Getting-Started.md | 2 ++ .github/workflows/ci.yml | 2 ++ CLAUDE.md | 2 +- CONTRIBUTING.md | 1 + core/HASHOUT_LOG.md | 7 +++++++ 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.docs/wiki/Getting-Started.md b/.docs/wiki/Getting-Started.md index e923e1e..8f5660a 100644 --- a/.docs/wiki/Getting-Started.md +++ b/.docs/wiki/Getting-Started.md @@ -106,6 +106,8 @@ The list is generated from the family spec, `family.json` on formadaptor's `spec ./formskills apps --family PATH --check # writes nothing; exits 1 naming the file while it drifts ``` +`setup/family.spec.json` is the copy of the spec the committed list was built from; CI runs `--check` against it, so a list edited by hand, or a generator change that moves the output, fails the build. + The file records the formcompiler registry version the spec was built from; the window's footer shows it. ## Building the app diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b369bc..f775f81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,6 +65,8 @@ jobs: done - name: Python compiles run: python3 -m py_compile setup/apps.py + - name: App list in step with the committed family spec + run: python3 -I setup/apps.py --family setup/family.spec.json --check - name: No em dash in tracked markdown, no emoji in tracked text run: | python3 - <<'PY' diff --git a/CLAUDE.md b/CLAUDE.md index 3fafbc1..fc96477 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ Rules for agents working in this repository. Read the in-tree HASHOUT logs (`cor - A viewer of the Form apps' released skills, with download, personal edited copies, and installing into Claude Code, Codex and Cursor (the owner allowed installing for v0.7.0). It does not push edits to an app and does not follow unreleased `main`. - Installing (`core/src/install.rs`) only writes folders recorded in `installed.json`: never replace a folder it did not make or a symlink, never replace or delete a changed install without force, and always copy into a temporary sibling and rename. Agent folders come from each agent's docs (Claude Code `.claude/skills`, Codex `.agents/skills`, Cursor `.cursor/skills`); check the docs again before changing them. - The one place for skills in the family. formMCP handles the apps' MCP tools and carries nothing about skills; keep it that way from this side too. -- Every list formskills carries is generated. `core/data/apps.json` comes from the family spec (`family.json`, built by formadaptor from formcompiler's registry) through `setup/apps.py` (`./formskills apps --family PATH`); `--check` writes nothing and fails while the file drifts. It lists public apps only. Never copy an app's skills into this repository. +- Every list formskills carries is generated. `core/data/apps.json` comes from the family spec (`family.json`, built by formadaptor from formcompiler's registry) through `setup/apps.py` (`./formskills apps --family PATH`); `--check` writes nothing and fails while the file drifts; CI runs it against the committed copy, `setup/family.spec.json`. It lists public apps only. Never copy an app's skills into this repository. - The engine owns all logic and works with no window: `formskills-core` holds the list, the catalogue, fetching and keeping, and the index; `cli` and `src-tauri` are thin. - The catalogue is trusted exactly as FormPortal trusts it; never loosen the signature, digest or unpacking checks in `catalog.rs` and `fetch.rs`, or the path check in `library::read_text`. Dev mode stays opt-in. - Personal edits and your own skills (`edits/yours/`) only ever write under `edits/` in formskills' data folder. Never write to `released/`, to a checkout, or to an app's repository. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ab507e4..d04243f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -41,6 +41,7 @@ Run the same checks CI runs: cargo check --locked -p formskills-core -p formskills-cli cargo test --locked -p formskills-core -p formskills-cli python3 -m py_compile setup/apps.py +python3 -I setup/apps.py --family setup/family.spec.json --check ``` CI also checks the shell scripts with `bash -n` and refuses an em dash in tracked diff --git a/core/HASHOUT_LOG.md b/core/HASHOUT_LOG.md index 3e1617f..f6f5571 100644 --- a/core/HASHOUT_LOG.md +++ b/core/HASHOUT_LOG.md @@ -26,6 +26,13 @@ Regenerated from the 0.16.0 sample spec, with the three entries the spec marks n The spec marks FormPromo, FormSculpt and FormSurface `public: false` (it carries only their id), so the list stops naming them: their names, summaries and repositories were in a public file. Nothing else in the list changed in this commit. `demo/`, `demos/` and the media icons still carry these three apps from before; they are built assets and were not touched. `setup/family.spec.json` is a byte copy (made with `cp`, sha256 3c1781c6...82ce3, content_sha256 2553862c... checked) of the 0.16.0 sample spec the list is now generated from. It is input, never edited by hand: it changes only when a newer `family.json` is copied over it and `setup/apps.py` is run. The generator reads neither `generated` nor `content_sha256` from it. +### ci.yml · the list is checked against the committed spec +- refers-to: .github/workflows/ci.yml (scripts job) · setup/family.spec.json +- kind: change +- logged: v0.11.0 · 2026-11-19 + +The `scripts` job runs `python3 -I setup/apps.py --family setup/family.spec.json --check` beside the compile check, with no network and no new action (the job's only actions stay as pinned in the file). Run here against the committed copy: exit 0, "apps: in step"; with one value of apps.json changed: exit 1, "apps: drifted: core/data/apps.json". Known gap: formadaptor's pull request for this target changes only the files `targets.json` lists for it (`core/data/apps.json`), so on that pull request the copy is older than the list and this check fails until the copy is updated too; formadaptor's `files` for formskills needs this path, or the step has to fetch the spec instead. + ## v0.10.4 · QA fixes {#v0-10-4} ### cli/src/main.rs · reading a file that is not text exits non-zero From 7ea54d93714d70493208618b1cd5f397d9973ab3 Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Wed, 18 Nov 2026 22:03:42 -0500 Subject: [PATCH 04/10] docs: stated counts made true or removed (0.11.0) README's "19 Form apps" was the stale list; the box now says every public Form app and gives no number, and the demo README stops saying "of the 19 apps". README's "31 Rust tests" is 34, counted from #[test] in core and cli and confirmed by cargo test. "Three agents" was checked against install.rs. No skills, CLAUDE.md or AGENTS.md line states a count. Ran: git grep -c '#[test]' (34) and cargo test of core and cli (34 passed). --- README.md | 4 ++-- core/HASHOUT_LOG.md | 7 +++++++ demo/README.md | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1d8147f..b7ad4d6 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ - + @@ -104,7 +104,7 @@ formskills loads extensions under the Form Extension Contract, API 1: FormPortal - **Trust:** the catalogue is verified with the same key model as FormPortal and formMCP, and reads never leave the skills folder. - **Shell and window:** a Tauri 2 shell around a vanilla TypeScript and Vite window with zero runtime dependencies. - **Generated list:** the public apps that ship skills come from the family spec that formadaptor builds from formcompiler's registry (`./formskills apps --family PATH`). -- **Tested:** 31 Rust tests (catalogue trust, digests, safe unpacking, the format checks, link resolution). +- **Tested:** 34 Rust tests (catalogue trust, digests, safe unpacking, the format checks, link resolution). ## Demo diff --git a/core/HASHOUT_LOG.md b/core/HASHOUT_LOG.md index f6f5571..1e00c4e 100644 --- a/core/HASHOUT_LOG.md +++ b/core/HASHOUT_LOG.md @@ -33,6 +33,13 @@ The spec marks FormPromo, FormSculpt and FormSurface `public: false` (it carries The `scripts` job runs `python3 -I setup/apps.py --family setup/family.spec.json --check` beside the compile check, with no network and no new action (the job's only actions stay as pinned in the file). Run here against the committed copy: exit 0, "apps: in step"; with one value of apps.json changed: exit 1, "apps: drifted: core/data/apps.json". Known gap: formadaptor's pull request for this target changes only the files `targets.json` lists for it (`core/data/apps.json`), so on that pull request the copy is older than the list and this check fails until the copy is updated too; formadaptor's `files` for formskills needs this path, or the step has to fetch the spec instead. +### README.md, demo/README.md · stated counts +- refers-to: README.md ("Everything in the box", "Tested") · demo/README.md ("What it shows") +- kind: fix +- logged: v0.11.0 · 2026-11-19 + +README said "19 Form apps", which was the stale list (the registry had 24 apps with skills when the survey was made; today's list is 20 public ones). The box now says "Every public Form app" and no number, so the next spec cannot make it wrong; the demo README no longer says "of the 19 apps" either. "31 Rust tests" is now 34, counted with `git grep -c '#\[test\]' -- core cli` (8 + 5 + 2 + 1 + 2 + 4 + 3 + 9 across eight test files, the two new ones in `core/tests/bundled_apps.rs`) and confirmed by `cargo test` (34 passed). "Three agents" was checked against `agent_dir` in `core/src/install.rs` (claude, codex, cursor). The demo README's "21 real skills" was left out: the built demo cannot be re-counted without the sibling checkouts it was built from. No skills, CLAUDE.md or AGENTS.md line states a count. Not changed: the screenshot alt text in README that says "four released skills", which describes the image, and the "18 kinds for 18 apps" line in this log's history. + ## v0.10.4 · QA fixes {#v0-10-4} ### cli/src/main.rs · reading a file that is not text exits non-zero diff --git a/demo/README.md b/demo/README.md index ca9db75..3a75390 100644 --- a/demo/README.md +++ b/demo/README.md @@ -14,7 +14,7 @@ No backend, no Tauri, no network and no CDN: every script, style and sample is i ## What it shows -- Read: 21 real skills from 11 of the 19 apps, SKILL.md as formatted text, sub-skills and references, links between them followed, with each app's real icon and window screenshot. +- Read: the real skills of the 11 apps the demo was built with, SKILL.md as formatted text, sub-skills and references, links between them followed, with each app's real icon and window screenshot. - Search: every skill's text, ranked and matched the way the engine does it. - Check: the Agent Skills format check, run on a released skill and live while you edit a copy. - Edit a copy: live preview with the original beside it. Choose the earlier release in the Release row and your copy is flagged as changed in the original; Mark as seen follows it. From 12ed4110f4d4a700068ff2b9f8531e8a8c35e6ee Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Wed, 18 Nov 2026 22:46:54 -0500 Subject: [PATCH 05/10] feat(setup): the generator keeps the copy of the family spec when the list changes (0.11.0) setup/apps.py --family PATH writes core/data/apps.json and, only when that output differs from what is committed, copies the given spec byte for byte to setup/family.spec.json. An unchanged list leaves the copy alone, and --check still writes nothing, so CI checks against the committed copy with no network. Ran in a clone under /tmp: a spec that changes the list wrote both files; a spec that differs only in fields the list does not use (generated, launcher, release published) changed nothing, and so did the same spec again; --check with a changing spec exited 1 and wrote nothing. The test builds the same three cases in a temp tree; 36 tests pass. --- .docs/wiki/Getting-Started.md | 4 +- CLAUDE.md | 2 +- CONTRIBUTING.md | 5 ++- README.md | 2 +- core/HASHOUT_LOG.md | 13 ++++++- core/tests/bundled_apps.rs | 72 +++++++++++++++++++++++++++++++++++ setup/apps.py | 14 ++++++- 7 files changed, 102 insertions(+), 10 deletions(-) diff --git a/.docs/wiki/Getting-Started.md b/.docs/wiki/Getting-Started.md index 8f5660a..41e929f 100644 --- a/.docs/wiki/Getting-Started.md +++ b/.docs/wiki/Getting-Started.md @@ -102,11 +102,11 @@ A checkout counts when `//` exists ( The list is generated from the family spec, `family.json` on formadaptor's `spec` branch (public apps only; an app is listed when its `agents.skills` names a folder, and apps without one are left out): ```bash -./formskills apps --family PATH # writes core/data/apps.json +./formskills apps --family PATH # writes core/data/apps.json, and setup/family.spec.json when the list changed ./formskills apps --family PATH --check # writes nothing; exits 1 naming the file while it drifts ``` -`setup/family.spec.json` is the copy of the spec the committed list was built from; CI runs `--check` against it, so a list edited by hand, or a generator change that moves the output, fails the build. +`setup/family.spec.json` is the copy of the spec the committed list was built from. The generator writes it itself, and only when the spec it was given changes the list: the same spec again, or one that differs only in fields the list does not use (such as `generated`), leaves both files as they are. CI runs `--check` against the copy, so a list edited by hand, or a generator change that moves the output, fails the build. The file records the formcompiler registry version the spec was built from; the window's footer shows it. diff --git a/CLAUDE.md b/CLAUDE.md index fc96477..3576c6e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ Rules for agents working in this repository. Read the in-tree HASHOUT logs (`cor - A viewer of the Form apps' released skills, with download, personal edited copies, and installing into Claude Code, Codex and Cursor (the owner allowed installing for v0.7.0). It does not push edits to an app and does not follow unreleased `main`. - Installing (`core/src/install.rs`) only writes folders recorded in `installed.json`: never replace a folder it did not make or a symlink, never replace or delete a changed install without force, and always copy into a temporary sibling and rename. Agent folders come from each agent's docs (Claude Code `.claude/skills`, Codex `.agents/skills`, Cursor `.cursor/skills`); check the docs again before changing them. - The one place for skills in the family. formMCP handles the apps' MCP tools and carries nothing about skills; keep it that way from this side too. -- Every list formskills carries is generated. `core/data/apps.json` comes from the family spec (`family.json`, built by formadaptor from formcompiler's registry) through `setup/apps.py` (`./formskills apps --family PATH`); `--check` writes nothing and fails while the file drifts; CI runs it against the committed copy, `setup/family.spec.json`. It lists public apps only. Never copy an app's skills into this repository. +- Every list formskills carries is generated. `core/data/apps.json` comes from the family spec (`family.json`, built by formadaptor from formcompiler's registry) through `setup/apps.py` (`./formskills apps --family PATH`); `--check` writes nothing and fails while the file drifts; without it, the script also copies the given spec to `setup/family.spec.json`, but only when that changes the list (a spec that differs in a field the list does not use leaves the copy alone); CI runs `--check` against that committed copy. It lists public apps only. Never copy an app's skills into this repository. - The engine owns all logic and works with no window: `formskills-core` holds the list, the catalogue, fetching and keeping, and the index; `cli` and `src-tauri` are thin. - The catalogue is trusted exactly as FormPortal trusts it; never loosen the signature, digest or unpacking checks in `catalog.rs` and `fetch.rs`, or the path check in `library::read_text`. Dev mode stays opt-in. - Personal edits and your own skills (`edits/yours/`) only ever write under `edits/` in formskills' data folder. Never write to `released/`, to a checkout, or to an app's repository. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d04243f..05f4433 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -52,8 +52,9 @@ Markdown or an emoji in any tracked text. `feat(core): ...`, `fix(frontend): ...`, `docs(...)` (see [.docs/BRANCHING.md](.docs/BRANCHING.md)). Leave the version alone; a maintainer bumps it when releasing. -- `core/data/apps.json` is generated by `./formskills apps --family PATH`; never - edit it by hand, and never copy an app's skills into this repository. +- `core/data/apps.json` is generated by `./formskills apps --family PATH`, which + also keeps `setup/family.spec.json` when the list changes; never edit either by + hand, and never copy an app's skills into this repository. - Never loosen the catalogue's signature, digest or unpacking checks, or the path check when reading a skill's files. Skills are shown as text and never run: no `innerHTML` with skill content. diff --git a/README.md b/README.md index b7ad4d6..0ca6cea 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ formskills loads extensions under the Form Extension Contract, API 1: FormPortal - **Trust:** the catalogue is verified with the same key model as FormPortal and formMCP, and reads never leave the skills folder. - **Shell and window:** a Tauri 2 shell around a vanilla TypeScript and Vite window with zero runtime dependencies. - **Generated list:** the public apps that ship skills come from the family spec that formadaptor builds from formcompiler's registry (`./formskills apps --family PATH`). -- **Tested:** 34 Rust tests (catalogue trust, digests, safe unpacking, the format checks, link resolution). +- **Tested:** 36 Rust tests (catalogue trust, digests, safe unpacking, the format checks, link resolution). ## Demo diff --git a/core/HASHOUT_LOG.md b/core/HASHOUT_LOG.md index 1e00c4e..029e286 100644 --- a/core/HASHOUT_LOG.md +++ b/core/HASHOUT_LOG.md @@ -23,7 +23,7 @@ Regenerated from the 0.16.0 sample spec, with the three entries the spec marks n - kind: change - logged: v0.11.0 · 2026-11-19 -The spec marks FormPromo, FormSculpt and FormSurface `public: false` (it carries only their id), so the list stops naming them: their names, summaries and repositories were in a public file. Nothing else in the list changed in this commit. `demo/`, `demos/` and the media icons still carry these three apps from before; they are built assets and were not touched. `setup/family.spec.json` is a byte copy (made with `cp`, sha256 3c1781c6...82ce3, content_sha256 2553862c... checked) of the 0.16.0 sample spec the list is now generated from. It is input, never edited by hand: it changes only when a newer `family.json` is copied over it and `setup/apps.py` is run. The generator reads neither `generated` nor `content_sha256` from it. +The spec marks FormPromo, FormSculpt and FormSurface `public: false` (it carries only their id), so the list stops naming them: their names, summaries and repositories were in a public file. Nothing else in the list changed in this commit. `demo/`, `demos/` and the media icons still carry these three apps from before; they are built assets and were not touched. `setup/family.spec.json` is a byte copy (made with `cp`, sha256 3c1781c6...82ce3, content_sha256 2553862c... checked) of the 0.16.0 sample spec the list is now generated from. It is input, never edited by hand: `setup/apps.py` replaces it itself when a given spec changes the list (see "the generator keeps the spec copy" below). The generator reads neither `generated` nor `content_sha256` from it. ### ci.yml · the list is checked against the committed spec @@ -31,7 +31,7 @@ The spec marks FormPromo, FormSculpt and FormSurface `public: false` (it carries - kind: change - logged: v0.11.0 · 2026-11-19 -The `scripts` job runs `python3 -I setup/apps.py --family setup/family.spec.json --check` beside the compile check, with no network and no new action (the job's only actions stay as pinned in the file). Run here against the committed copy: exit 0, "apps: in step"; with one value of apps.json changed: exit 1, "apps: drifted: core/data/apps.json". Known gap: formadaptor's pull request for this target changes only the files `targets.json` lists for it (`core/data/apps.json`), so on that pull request the copy is older than the list and this check fails until the copy is updated too; formadaptor's `files` for formskills needs this path, or the step has to fetch the spec instead. +The `scripts` job runs `python3 -I setup/apps.py --family setup/family.spec.json --check` beside the compile check, with no network and no new action (the job's only actions stay as pinned in the file). Run here against the committed copy: exit 0, "apps: in step"; with one value of apps.json changed: exit 1, "apps: drifted: core/data/apps.json". The gap this step had (the copy not moving with the list on formadaptor's pull request) is closed by the generator keeping the copy; formadaptor's `targets.json` entry for formskills must list `setup/family.spec.json` among its `files` for that pull request to be accepted. ### README.md, demo/README.md · stated counts - refers-to: README.md ("Everything in the box", "Tested") · demo/README.md ("What it shows") @@ -40,6 +40,15 @@ The `scripts` job runs `python3 -I setup/apps.py --family setup/family.spec.json README said "19 Form apps", which was the stale list (the registry had 24 apps with skills when the survey was made; today's list is 20 public ones). The box now says "Every public Form app" and no number, so the next spec cannot make it wrong; the demo README no longer says "of the 19 apps" either. "31 Rust tests" is now 34, counted with `git grep -c '#\[test\]' -- core cli` (8 + 5 + 2 + 1 + 2 + 4 + 3 + 9 across eight test files, the two new ones in `core/tests/bundled_apps.rs`) and confirmed by `cargo test` (34 passed). "Three agents" was checked against `agent_dir` in `core/src/install.rs` (claude, codex, cursor). The demo README's "21 real skills" was left out: the built demo cannot be re-counted without the sibling checkouts it was built from. No skills, CLAUDE.md or AGENTS.md line states a count. Not changed: the screenshot alt text in README that says "four released skills", which describes the image, and the "18 kinds for 18 apps" line in this log's history. +### setup/apps.py · the generator keeps the copy of the spec +- refers-to: setup/apps.py :: main, KEPT · setup/family.spec.json · core/tests/bundled_apps.rs :: the_committed_list_is_in_step_with_the_committed_spec_copy, the_generator_keeps_the_spec_copy_only_when_the_list_changes · README.md, CLAUDE.md, CONTRIBUTING.md, .docs/wiki/Getting-Started.md +- kind: change +- logged: v0.11.0 · 2026-11-18 + +A family decision: the generator, not a person, keeps the copy. `setup/apps.py --family PATH` writes `core/data/apps.json` and, only when that output differs from what is committed, copies the given spec byte for byte to `setup/family.spec.json`; when the output is unchanged it leaves the copy alone. `--check` is unchanged and writes nothing, so CI still checks the list against the committed copy with no network. If the spec given is the kept copy itself (the path resolves to it) nothing is copied. A newer spec that gives the same list therefore never moves the copy, which is why the copy can lag the registry on `generated`, `content_sha256` and any field the list does not use (the entry's `site`, `repo`, `launcher`, `manifest` and everything in `release` but its presence); it is the spec the committed list was built from, not the latest spec. The success lines now name `core/data/apps.json` and `setup/family.spec.json` the same way on every system (the first used the path's own separators). Edge, left as it is: if the copy is missing and the list is unchanged, nothing is written; CI would then fail on the missing file until a spec that changes the list is given. + +Run in a clone of this branch under /tmp, outside the tree, with `git status --porcelain` after each: a spec that changes one summary of a listed app wrote both files (`M core/data/apps.json`, `M setup/family.spec.json`, the copy equal to the spec); a spec that differs only in `generated`, every entry's `launcher` and every release's `published` printed "core/data/apps.json unchanged" and git status was empty (the copy stayed); the same spec again after that was empty too; `--check` against the kept copy exited 0; `--check` with a spec that would change the list exited 1 and git status was empty; giving the kept copy as the spec after a hand edit of apps.json rewrote only apps.json (restored the committed one) and printed that the copy is the spec given. Tests, written after those runs: `core/tests/bundled_apps.rs` now checks `--check` against the real copy exits 0, and builds a tree under the temp folder with the three files to run the cases (unused fields, `--check` writing nothing, a change keeping its spec, the same spec again, a newer spec with the same list). They need `python3`; a machine without it skips them. 36 tests pass (`cargo test -p formskills-core -p formskills-cli`), README says 36. formadaptor's `propose.py` (working tree) runs `--check`, then the writer, and requires the copy to equal the spec it passed; this generator satisfies that, and formadaptor's `targets.json` entry for formskills lists only `core/data/apps.json` today, so it needs `setup/family.spec.json` in `files` (and as `spec_copy`). + ## v0.10.4 · QA fixes {#v0-10-4} ### cli/src/main.rs · reading a file that is not text exits non-zero diff --git a/core/tests/bundled_apps.rs b/core/tests/bundled_apps.rs index bdf9f46..01eed74 100644 --- a/core/tests/bundled_apps.rs +++ b/core/tests/bundled_apps.rs @@ -22,3 +22,75 @@ fn every_listed_app_has_a_skills_folder_a_topic_from_the_list_and_a_public_repos assert!(app.repository.starts_with("https://github.com/nodemode-dev/"), "{}", app.repository); } } + +fn repo() -> std::path::PathBuf { + std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("..").canonicalize().expect("repository root") +} + +fn generator(root: &std::path::Path, args: &[&std::ffi::OsStr]) -> Option<(i32, String)> { + let out = std::process::Command::new("python3").arg("-I").arg(root.join("setup/apps.py")).args(args).output().ok()?; + Some((out.status.code().unwrap_or(-1), String::from_utf8_lossy(&out.stdout).to_string())) +} + +#[test] +fn the_committed_list_is_in_step_with_the_committed_spec_copy() { + let root = repo(); + let spec = root.join("setup/family.spec.json"); + let Some((code, out)) = generator(&root, &["--family".as_ref(), spec.as_os_str(), "--check".as_ref()]) else { return }; + assert_eq!((code, out.trim()), (0, "apps: in step")); +} + +#[test] +fn the_generator_keeps_the_spec_copy_only_when_the_list_changes() { + let root = repo(); + let tree = std::env::temp_dir().join(format!("formskills-keptspec-{}", std::process::id())); + let _ = std::fs::remove_dir_all(&tree); + for rel in ["setup", "core/data"] { + std::fs::create_dir_all(tree.join(rel)).unwrap(); + } + for rel in ["setup/apps.py", "setup/family.spec.json", "core/data/apps.json"] { + std::fs::copy(root.join(rel), tree.join(rel)).unwrap(); + } + let kept = tree.join("setup/family.spec.json"); + let list = tree.join("core/data/apps.json"); + let kept_before = std::fs::read(&kept).unwrap(); + let list_before = std::fs::read(&list).unwrap(); + let mut spec: serde_json::Value = serde_json::from_slice(&kept_before).unwrap(); + + let unused = tree.join("unused.json"); + spec["generated"] = "2031-01-01T00:00:00Z".into(); + spec["apps"][0]["launcher"] = "something-else".into(); + std::fs::write(&unused, serde_json::to_vec_pretty(&spec).unwrap()).unwrap(); + let Some((code, _)) = generator(&tree, &["--family".as_ref(), unused.as_os_str()]) else { return }; + assert_eq!(code, 0); + assert_eq!(std::fs::read(&list).unwrap(), list_before, "fields the list does not use must not move it"); + assert_eq!(std::fs::read(&kept).unwrap(), kept_before, "an unchanged list must leave the kept copy alone"); + + let changed = tree.join("changed.json"); + let index = spec["apps"].as_array().unwrap().iter().position(|a| a["public"] == true && !a["agents"]["skills"].as_str().unwrap_or("").is_empty()).unwrap(); + spec["apps"][index]["summary"] = "A summary the test changed.".into(); + std::fs::write(&changed, serde_json::to_vec_pretty(&spec).unwrap()).unwrap(); + let (code, out) = generator(&tree, &["--family".as_ref(), changed.as_os_str(), "--check".as_ref()]).unwrap(); + assert_eq!(code, 1, "{out}"); + assert_eq!(std::fs::read(&list).unwrap(), list_before, "--check writes nothing"); + assert_eq!(std::fs::read(&kept).unwrap(), kept_before, "--check writes nothing"); + + let (code, _) = generator(&tree, &["--family".as_ref(), changed.as_os_str()]).unwrap(); + assert_eq!(code, 0); + assert_ne!(std::fs::read(&list).unwrap(), list_before); + assert_eq!(std::fs::read(&kept).unwrap(), std::fs::read(&changed).unwrap(), "a changed list keeps the spec it came from"); + + let list_after = std::fs::read(&list).unwrap(); + let kept_after = std::fs::read(&kept).unwrap(); + spec["generated"] = "2032-02-02T00:00:00Z".into(); + let later = tree.join("later.json"); + std::fs::write(&later, serde_json::to_vec_pretty(&spec).unwrap()).unwrap(); + let (code, _) = generator(&tree, &["--family".as_ref(), later.as_os_str()]).unwrap(); + assert_eq!(code, 0); + assert_eq!((std::fs::read(&list).unwrap(), std::fs::read(&kept).unwrap()), (list_after.clone(), kept_after.clone()), "a newer spec that gives the same list changes nothing"); + let (code, _) = generator(&tree, &["--family".as_ref(), changed.as_os_str()]).unwrap(); + assert_eq!(code, 0); + assert_eq!((std::fs::read(&list).unwrap(), std::fs::read(&kept).unwrap()), (list_after, kept_after), "the same spec again changes nothing"); + + std::fs::remove_dir_all(&tree).unwrap(); +} diff --git a/setup/apps.py b/setup/apps.py index 893d0b3..b40a1ea 100644 --- a/setup/apps.py +++ b/setup/apps.py @@ -1,11 +1,14 @@ import argparse import json +import shutil import sys from pathlib import Path ROOT = Path(__file__).resolve().parent.parent OUT = ROOT / "core" / "data" / "apps.json" OUT_NAME = "core/data/apps.json" +KEPT = ROOT / "setup" / "family.spec.json" +KEPT_NAME = "setup/family.spec.json" FORMAT = "formskills-apps" SPEC_FORMAT = "formai-family" SPEC_VERSION = 1 @@ -88,7 +91,7 @@ def build(family): def main(): parser = argparse.ArgumentParser(description="core/data/apps.json from the family spec: the public Form apps that ship skills") - parser.add_argument("--family", required=True, help="family.json from formadaptor's spec branch") + parser.add_argument("--family", required=True, help="family.json from formadaptor's spec branch; copied to setup/family.spec.json when it changes the list") parser.add_argument("--check", action="store_true", help="write nothing; exit 1 naming core/data/apps.json when it differs") args = parser.parse_args() text = json.dumps(build(load_family(args.family)), indent=2, ensure_ascii=False) + "\n" @@ -99,7 +102,14 @@ def main(): OUT.parent.mkdir(parents=True, exist_ok=True) OUT.write_text(text, encoding="utf-8") count = len(json.loads(text)["apps"]) - print(f"apps: {OUT.relative_to(ROOT)} {'unchanged' if current == text else 'written'}, {count} apps") + print(f"apps: {OUT_NAME} {'unchanged' if current == text else 'written'}, {count} apps") + if current != text: + given = Path(args.family) + if KEPT.is_file() and given.resolve() == KEPT.resolve(): + print(f"apps: {KEPT_NAME} is the spec given, kept as it is") + else: + shutil.copyfile(given, KEPT) + print(f"apps: {KEPT_NAME} written") if __name__ == "__main__": From e122430a91bae5ef2344ecca5c89c8ff560a3da6 Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Thu, 19 Nov 2026 00:55:45 -0500 Subject: [PATCH 06/10] docs(readme): the site and download links use the app's own id, formskills The README linked to formskill.formai.studio and formai.studio/get/formskill/{macos,windows,linux}. The family spec gives FormSkills the site path formskills (the same pattern as formmcp and formtray), and formcompiler's apps/formskills.json records the singular id formskill as retired. The four links now say formskills. Checked by reading setup/family.spec.json and formcompiler apps/formskills.json; the addresses themselves were not fetched. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0ca6cea..33954a7 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@

- Download FormSkills on formai.studio · + Download FormSkills on formai.studio · Run it from source

@@ -117,9 +117,9 @@ Open [`demo/index.html`](demo/index.html) in a browser, from `file://` or any st | Platform | Download | Release | |---|---|---| -| macOS | [Download FormSkills for macOS](https://formai.studio/get/formskill/macos) | [FormSkills releases on FormCompiler](https://github.com/nodemode-dev/formcompiler/releases?q=formskills-v&expanded=true) | -| Windows | [Download FormSkills for Windows](https://formai.studio/get/formskill/windows) | [FormSkills releases on FormCompiler](https://github.com/nodemode-dev/formcompiler/releases?q=formskills-v&expanded=true) | -| Linux | [Download FormSkills for Linux](https://formai.studio/get/formskill/linux) | [FormSkills releases on FormCompiler](https://github.com/nodemode-dev/formcompiler/releases?q=formskills-v&expanded=true) | +| macOS | [Download FormSkills for macOS](https://formai.studio/get/formskills/macos) | [FormSkills releases on FormCompiler](https://github.com/nodemode-dev/formcompiler/releases?q=formskills-v&expanded=true) | +| Windows | [Download FormSkills for Windows](https://formai.studio/get/formskills/windows) | [FormSkills releases on FormCompiler](https://github.com/nodemode-dev/formcompiler/releases?q=formskills-v&expanded=true) | +| Linux | [Download FormSkills for Linux](https://formai.studio/get/formskills/linux) | [FormSkills releases on FormCompiler](https://github.com/nodemode-dev/formcompiler/releases?q=formskills-v&expanded=true) | All FormSkills builds are compiled and released from [FormCompiler](https://github.com/nodemode-dev/formcompiler); this repo holds the source. From 964598b2b9b38ab946956847db5539feae97213f Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Thu, 19 Nov 2026 00:55:45 -0500 Subject: [PATCH 07/10] docs(security): the supported versions table names the 0.10 line The table still said 0.7.x. The latest release is 0.10.4, so it now says 0.10.x. The release commit moves it to 0.11.x with the other version sites. --- SECURITY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SECURITY.md b/SECURITY.md index 0619250..e9b9099 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -7,7 +7,7 @@ check whether the problem is still there. | Version | Supported | | --- | --- | -| 0.7.x (latest release) | Yes | +| 0.10.x (latest release) | Yes | | Anything older | No | ## Reporting a vulnerability From 4f6401aec77f97e74eb227976a8457e586c3e171 Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Thu, 19 Nov 2026 02:09:52 -0500 Subject: [PATCH 08/10] fix(core): the app list's source is read as a repository only (0.11.0) The engine and the window read a registry version from the bundled list's source block: the apps command printed "bundled list from nodemode-dev/formcompiler 0.16.0" and the window's footer showed the same number. That number changes with every release of the compiler repository, also when the list does not, and it is about to leave the generated file. Source is now {repository}; the apps command says "bundled list from nodemode-dev/formcompiler" and the footer "List from nodemode-dev/formcompiler". The version is dropped, not read from the kept spec copy at build time: the copy only moves when the list changes, so its version would read as a stale number. The committed list still carries the field at this commit and loads, since a field the struct does not name is ignored; the generator change follows. Ran formskills-cli apps under a fresh HOME: source "bundled list from nodemode-dev/formcompiler", 20 apps. The test that asserted a non-empty version now asserts that line. cargo test -p formskills-core -p formskills-cli: 36 pass. The window was not opened and tsc was not run (no node_modules on this machine). --- core/HASHOUT_LOG.md | 9 +++++++++ core/src/apps.rs | 7 +------ core/tests/bundled_apps.rs | 5 ++--- frontend/src/main.ts | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/core/HASHOUT_LOG.md b/core/HASHOUT_LOG.md index 029e286..fb91835 100644 --- a/core/HASHOUT_LOG.md +++ b/core/HASHOUT_LOG.md @@ -49,6 +49,15 @@ A family decision: the generator, not a person, keeps the copy. `setup/apps.py - Run in a clone of this branch under /tmp, outside the tree, with `git status --porcelain` after each: a spec that changes one summary of a listed app wrote both files (`M core/data/apps.json`, `M setup/family.spec.json`, the copy equal to the spec); a spec that differs only in `generated`, every entry's `launcher` and every release's `published` printed "core/data/apps.json unchanged" and git status was empty (the copy stayed); the same spec again after that was empty too; `--check` against the kept copy exited 0; `--check` with a spec that would change the list exited 1 and git status was empty; giving the kept copy as the spec after a hand edit of apps.json rewrote only apps.json (restored the committed one) and printed that the copy is the spec given. Tests, written after those runs: `core/tests/bundled_apps.rs` now checks `--check` against the real copy exits 0, and builds a tree under the temp folder with the three files to run the cases (unused fields, `--check` writing nothing, a change keeping its spec, the same spec again, a newer spec with the same list). They need `python3`; a machine without it skips them. 36 tests pass (`cargo test -p formskills-core -p formskills-cli`), README says 36. formadaptor's `propose.py` (working tree) runs `--check`, then the writer, and requires the copy to equal the spec it passed; this generator satisfies that, and formadaptor's `targets.json` entry for formskills lists only `core/data/apps.json` today, so it needs `setup/family.spec.json` in `files` (and as `spec_copy`). +### apps.rs, main.ts · the list's source is read as a repository only +- refers-to: core/src/apps.rs :: Source, Apps::describe_source · frontend/src/main.ts (the footer line) · core/tests/bundled_apps.rs :: the_bundled_list_names_its_repository_and_no_commit +- kind: change +- logged: v0.11.0 · 2026-11-19 + +First half of taking the registry version out of the list (the generator and the regenerated file are the next entry). `Source` is `{repository}`; `version` is gone, with its two readers: `describe_source` (the `apps` command's `source` line) now always says "bundled list from nodemode-dev/formcompiler", and the window's footer says "List from nodemode-dev/formcompiler". The version is dropped from both, not read from `setup/family.spec.json` at build time: the kept copy only moves when the list changes, so its registry version lags the registry by design and would read as a stale number to a person, and it tells them nothing the list itself does not. What built the list is still on record, in the kept copy. This lands before the generator change so every commit builds: serde ignores a field the struct does not name, so the committed file, which still carries `version` at this commit, loads. This supersedes "The source block is `{repository, version}`" in the first entry of this section. + +Run: `formskills-cli apps` under a fresh HOME against the committed list printed `"source": "bundled list from nodemode-dev/formcompiler"` and 20 apps. The test that asserted a non-empty version now asserts the exact source line (changed because the field it read no longer exists). The window was not opened and `tsc` was not run (no `node_modules` here); the frontend change removes one read of a JSON field and adds none. + ## v0.10.4 · QA fixes {#v0-10-4} ### cli/src/main.rs · reading a file that is not text exits non-zero diff --git a/core/src/apps.rs b/core/src/apps.rs index dcafae9..f6e1abc 100644 --- a/core/src/apps.rs +++ b/core/src/apps.rs @@ -21,7 +21,6 @@ pub struct App { #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct Source { pub repository: String, - pub version: String, } #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] @@ -48,10 +47,6 @@ impl Apps { } pub fn describe_source(&self) -> String { - if self.source.version.is_empty() { - format!("bundled list from {}", self.source.repository) - } else { - format!("bundled list from {} {}", self.source.repository, self.source.version) - } + format!("bundled list from {}", self.source.repository) } } diff --git a/core/tests/bundled_apps.rs b/core/tests/bundled_apps.rs index 01eed74..01ef94c 100644 --- a/core/tests/bundled_apps.rs +++ b/core/tests/bundled_apps.rs @@ -2,13 +2,12 @@ use formskills_core::Apps; use std::collections::HashSet; #[test] -fn the_bundled_list_names_a_registry_version_and_no_commit() { +fn the_bundled_list_names_its_repository_and_no_commit() { let apps = Apps::bundled().expect("the bundled list loads"); assert_eq!(apps.source.repository, "nodemode-dev/formcompiler"); - assert!(!apps.source.version.is_empty()); let raw: serde_json::Value = serde_json::from_str(include_str!("../data/apps.json")).expect("valid json"); assert!(raw["source"].get("commit").is_none(), "formcompiler's HEAD must not be recorded"); - assert!(apps.describe_source().contains(&apps.source.version)); + assert_eq!(apps.describe_source(), "bundled list from nodemode-dev/formcompiler"); } #[test] diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 10b441e..88ab6e7 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -129,7 +129,7 @@ const cards = list.apps.map((app) => ({ app, node: card(app) })); cardsBox.append(...cards.map((c) => c.node)); (document.getElementById("version") as HTMLElement).textContent = `v${__APP_VERSION__}`; -(document.getElementById("source") as HTMLElement).textContent = `List from ${list.source.repository} ${list.source.version}`; +(document.getElementById("source") as HTMLElement).textContent = `List from ${list.source.repository}`; let filter = "all"; let chosen = ""; From 22365f8d9cae82e069a407162024d29d773b4c32 Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Thu, 19 Nov 2026 02:11:05 -0500 Subject: [PATCH 09/10] fix(setup): the generated app list carries no registry version (0.11.0) setup/apps.py wrote the family spec's registry version into core/data/apps.json as source.version. That version moves with every release of the compiler repository, also when nothing the installer shows moves, so --check against a newer spec reported drift and each compiler release would have asked for a change and a release here. The list's source is now {"repository": "nodemode-dev/formcompiler"} and the file changes only when something listed changes. What built the list stays on record in the kept copy, setup/family.spec.json, which the generator rewrites only when the list changes. core/data/apps.json was regenerated by setup/apps.py from the kept copy; the only difference is the version line. The loader stopped reading the field in the commit before this one. Ran in a copy of the tree under /tmp: --check against the kept copy exits 0; against a 0.16.1 spec with one more private app and the same public apps --check exits 0 and write mode changes neither the list nor the kept copy; with one public app's name changed --check exits 1 and write mode changes both files, the copy byte-equal to that spec. The generator test gained the later-registry case and the list test asserts the exact source value. cargo test -p formskills-core -p formskills-cli: 36 pass. formskills-cli apps prints source "bundled list from nodemode-dev/formcompiler", 20 apps. --- .docs/wiki/Architecture.md | 2 +- .docs/wiki/Getting-Started.md | 2 +- CLAUDE.md | 2 +- core/HASHOUT_LOG.md | 13 +++++++++++++ core/data/apps.json | 3 +-- core/tests/bundled_apps.rs | 14 +++++++++++++- setup/apps.py | 2 +- 7 files changed, 31 insertions(+), 7 deletions(-) diff --git a/.docs/wiki/Architecture.md b/.docs/wiki/Architecture.md index c216d12..8a6ed0b 100644 --- a/.docs/wiki/Architecture.md +++ b/.docs/wiki/Architecture.md @@ -16,7 +16,7 @@ formskills/ ## The list -`core/data/apps.json` (format `formskills-apps`, version 2) is generated by `setup/apps.py` from the family spec that formadaptor builds from formcompiler's registry: for every public app whose `agents.skills` names a folder, its catalogue id, name, kind, topic (from the kind, through `TOPICS` in the script; a kind it has no topic for is listed under Family), licence and summary, its repository, that folder, its state and whether it has a published release. It records the registry version the spec was built from, not a commit. It is compiled into the engine with `include_str!` and imported by the window at build time, so both read the same bytes and nothing is fetched. +`core/data/apps.json` (format `formskills-apps`, version 2) is generated by `setup/apps.py` from the family spec that formadaptor builds from formcompiler's registry: for every public app whose `agents.skills` names a folder, its catalogue id, name, kind, topic (from the kind, through `TOPICS` in the script; a kind it has no topic for is listed under Family), licence and summary, its repository, that folder, its state and whether it has a published release. Its `source` is `{"repository": "nodemode-dev/formcompiler"}`: no registry version and no commit, so the file changes only when something listed changes; the registry version it was built from is in the kept spec copy, `setup/family.spec.json`. It is compiled into the engine with `include_str!` and imported by the window at build time, so both read the same bytes and nothing is fetched. ## Where the skills come from (v0.2.0) diff --git a/.docs/wiki/Getting-Started.md b/.docs/wiki/Getting-Started.md index 41e929f..f8b7502 100644 --- a/.docs/wiki/Getting-Started.md +++ b/.docs/wiki/Getting-Started.md @@ -108,7 +108,7 @@ The list is generated from the family spec, `family.json` on formadaptor's `spec `setup/family.spec.json` is the copy of the spec the committed list was built from. The generator writes it itself, and only when the spec it was given changes the list: the same spec again, or one that differs only in fields the list does not use (such as `generated`), leaves both files as they are. CI runs `--check` against the copy, so a list edited by hand, or a generator change that moves the output, fails the build. -The file records the formcompiler registry version the spec was built from; the window's footer shows it. +The list names the registry's repository and no version: the registry version moves with every release of the compiler repository, so a list that carried it would drift on releases that change nothing listed. The registry version the list was built from is in `setup/family.spec.json` (`source.registry_version`); the window's footer shows the repository only. ## Building the app diff --git a/CLAUDE.md b/CLAUDE.md index 3576c6e..3c27b8b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ Rules for agents working in this repository. Read the in-tree HASHOUT logs (`cor - A viewer of the Form apps' released skills, with download, personal edited copies, and installing into Claude Code, Codex and Cursor (the owner allowed installing for v0.7.0). It does not push edits to an app and does not follow unreleased `main`. - Installing (`core/src/install.rs`) only writes folders recorded in `installed.json`: never replace a folder it did not make or a symlink, never replace or delete a changed install without force, and always copy into a temporary sibling and rename. Agent folders come from each agent's docs (Claude Code `.claude/skills`, Codex `.agents/skills`, Cursor `.cursor/skills`); check the docs again before changing them. - The one place for skills in the family. formMCP handles the apps' MCP tools and carries nothing about skills; keep it that way from this side too. -- Every list formskills carries is generated. `core/data/apps.json` comes from the family spec (`family.json`, built by formadaptor from formcompiler's registry) through `setup/apps.py` (`./formskills apps --family PATH`); `--check` writes nothing and fails while the file drifts; without it, the script also copies the given spec to `setup/family.spec.json`, but only when that changes the list (a spec that differs in a field the list does not use leaves the copy alone); CI runs `--check` against that committed copy. It lists public apps only. Never copy an app's skills into this repository. +- Every list formskills carries is generated. `core/data/apps.json` comes from the family spec (`family.json`, built by formadaptor from formcompiler's registry) through `setup/apps.py` (`./formskills apps --family PATH`); `--check` writes nothing and fails while the file drifts; without it, the script also copies the given spec to `setup/family.spec.json`, but only when that changes the list (a spec that differs in a field the list does not use, the registry version included, leaves the copy alone; the list carries no registry version, the copy does); CI runs `--check` against that committed copy. It lists public apps only. Never copy an app's skills into this repository. - The engine owns all logic and works with no window: `formskills-core` holds the list, the catalogue, fetching and keeping, and the index; `cli` and `src-tauri` are thin. - The catalogue is trusted exactly as FormPortal trusts it; never loosen the signature, digest or unpacking checks in `catalog.rs` and `fetch.rs`, or the path check in `library::read_text`. Dev mode stays opt-in. - Personal edits and your own skills (`edits/yours/`) only ever write under `edits/` in formskills' data folder. Never write to `released/`, to a checkout, or to an app's repository. diff --git a/core/HASHOUT_LOG.md b/core/HASHOUT_LOG.md index fb91835..a6c9ffc 100644 --- a/core/HASHOUT_LOG.md +++ b/core/HASHOUT_LOG.md @@ -58,6 +58,19 @@ First half of taking the registry version out of the list (the generator and the Run: `formskills-cli apps` under a fresh HOME against the committed list printed `"source": "bundled list from nodemode-dev/formcompiler"` and 20 apps. The test that asserted a non-empty version now asserts the exact source line (changed because the field it read no longer exists). The window was not opened and `tsc` was not run (no `node_modules` here); the frontend change removes one read of a JSON field and adds none. +### setup/apps.py, apps.json · the list carries no registry version +- refers-to: setup/apps.py :: build · core/data/apps.json · core/tests/bundled_apps.rs :: the_bundled_list_names_its_repository_and_no_commit, the_generator_keeps_the_spec_copy_only_when_the_list_changes · CLAUDE.md, .docs/wiki/Architecture.md, .docs/wiki/Getting-Started.md +- kind: fix +- logged: v0.11.0 · 2026-11-19 + +The fault: `build` put the spec's `source.registry_version` into the output as `source.version`. The registry version moves with every release of the compiler repository, also when nothing the installer shows moves (0.16.0 to 0.16.1 registered one private app). So `--check` against a newer spec said "drifted", and the family's automation would have proposed a change here, and a formskills release, on every compiler release. Seen first: in a clone of the branch before this change, `--check` against a 0.16.1 spec with the same public apps exited 1. + +The rule now: the generated list changes only when something the installer uses changes. `source` is exactly `{"repository": "nodemode-dev/formcompiler"}` (the spec's `source.repository`, with that default); `format_version` stays 2, since the only readers are this repository's engine and window, built from the same commit as the file. What built the list is on record in the kept copy, `setup/family.spec.json`, whose `source.registry_version` is the version of the spec that last changed the list. `load_family` still requires `source.registry_version`, so a file kept as the copy always says which registry it came from. + +Regenerated only through `setup/apps.py --family setup/family.spec.json`: the one difference is the `version` line gone; the kept copy was the spec given and stayed as it is. + +Run in a copy of the tree under /tmp: `--check` against the kept copy exited 0; against the 0.16.1 sample (one more private id, same public apps) `--check` exited 0 and write mode printed "unchanged", with the digests of the list and the kept copy the same before and after; a spec that differs from the kept copy only in the registry version checked in step; against the sample with FormCut's name changed `--check` exited 1 and wrote nothing, and write mode changed the list (the name line) and made the kept copy byte-equal to that spec (registry 0.16.1). Tests, changed after those runs: the first test asserts the exact `source` value; the temp-tree test gained the case of a later registry version with one more private app (`--check` exits 0 "in step", write mode changes neither file). 36 tests pass, the same count. + ## v0.10.4 · QA fixes {#v0-10-4} ### cli/src/main.rs · reading a file that is not text exits non-zero diff --git a/core/data/apps.json b/core/data/apps.json index 10f141b..7f9b6dc 100644 --- a/core/data/apps.json +++ b/core/data/apps.json @@ -2,8 +2,7 @@ "format": "formskills-apps", "format_version": 2, "source": { - "repository": "nodemode-dev/formcompiler", - "version": "0.16.0" + "repository": "nodemode-dev/formcompiler" }, "topics": [ "Media", diff --git a/core/tests/bundled_apps.rs b/core/tests/bundled_apps.rs index 01ef94c..47ffd53 100644 --- a/core/tests/bundled_apps.rs +++ b/core/tests/bundled_apps.rs @@ -6,7 +6,7 @@ fn the_bundled_list_names_its_repository_and_no_commit() { let apps = Apps::bundled().expect("the bundled list loads"); assert_eq!(apps.source.repository, "nodemode-dev/formcompiler"); let raw: serde_json::Value = serde_json::from_str(include_str!("../data/apps.json")).expect("valid json"); - assert!(raw["source"].get("commit").is_none(), "formcompiler's HEAD must not be recorded"); + assert_eq!(raw["source"], serde_json::json!({ "repository": "nodemode-dev/formcompiler" }), "the source names the repository and nothing that moves with a registry release"); assert_eq!(apps.describe_source(), "bundled list from nodemode-dev/formcompiler"); } @@ -65,6 +65,18 @@ fn the_generator_keeps_the_spec_copy_only_when_the_list_changes() { assert_eq!(std::fs::read(&list).unwrap(), list_before, "fields the list does not use must not move it"); assert_eq!(std::fs::read(&kept).unwrap(), kept_before, "an unchanged list must leave the kept copy alone"); + let released = tree.join("released.json"); + let mut private = spec["apps"].as_array().unwrap().iter().find(|a| a["public"] != true).cloned().unwrap(); + private["id"] = "formskills-test-private".into(); + spec["apps"].as_array_mut().unwrap().push(private); + spec["source"]["registry_version"] = "99.0.0".into(); + std::fs::write(&released, serde_json::to_vec_pretty(&spec).unwrap()).unwrap(); + let (code, out) = generator(&tree, &["--family".as_ref(), released.as_os_str(), "--check".as_ref()]).unwrap(); + assert_eq!((code, out.trim()), (0, "apps: in step"), "a registry release that changes nothing listed is not drift"); + let (code, _) = generator(&tree, &["--family".as_ref(), released.as_os_str()]).unwrap(); + assert_eq!(code, 0); + assert_eq!((std::fs::read(&list).unwrap(), std::fs::read(&kept).unwrap()), (list_before.clone(), kept_before.clone()), "a later registry version and a private app change neither file"); + let changed = tree.join("changed.json"); let index = spec["apps"].as_array().unwrap().iter().position(|a| a["public"] == true && !a["agents"]["skills"].as_str().unwrap_or("").is_empty()).unwrap(); spec["apps"][index]["summary"] = "A summary the test changed.".into(); diff --git a/setup/apps.py b/setup/apps.py index b40a1ea..f2bd344 100644 --- a/setup/apps.py +++ b/setup/apps.py @@ -83,7 +83,7 @@ def build(family): return { "format": FORMAT, "format_version": 2, - "source": {"repository": family["source"].get("repository") or "nodemode-dev/formcompiler", "version": family["source"]["registry_version"]}, + "source": {"repository": family["source"].get("repository") or "nodemode-dev/formcompiler"}, "topics": list(TOPICS), "apps": apps, } From 1444a6fd7125b78017dcae0a6a761b55f4e72a8b Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Thu, 19 Nov 2026 15:06:38 -0500 Subject: [PATCH 10/10] chore(release): formskills 0.11.0 Bumps every version site to 0.11.0: workspace Cargo.toml, the three formskills crates in Cargo.lock (by hand), frontend package.json and both fields of package-lock.json, tauri.conf.json, the README badge, the wiki Home version line, and the Current build version lines of the core, frontend, src-tauri and demo HASHOUT logs. SECURITY.md's supported versions table names the 0.11 line. CHANGELOG entry for the family update: the list of apps built from the family spec, public apps only, no commit and no registry version in the list, the kept copy of the spec, and the document corrections. Left as they are: setup/family.spec.json (the kept copy of the spec; it records the published 0.10.4 release and is replaced only by the generator), core/data/apps.json (generated, carries no version), and the demos/author and demos/install HASHOUT headers (nothing there changed). Run: python3 -I setup/apps.py --family setup/family.spec.json --check prints "apps: in step", exit 0; py_compile of setup/apps.py clean; cargo test --locked -p formskills-core -p formskills-cli, 36 passed, 0 failed, including f4_every_version_site_agrees_and_has_a_one_digit_patch; npm ci and npm run typecheck (tsc --noEmit) in frontend, clean. The desktop shell was not compiled. --- .docs/wiki/Home.md | 2 +- CHANGELOG.md | 9 +++++++++ Cargo.lock | 6 +++--- Cargo.toml | 2 +- README.md | 2 +- SECURITY.md | 2 +- core/HASHOUT_LOG.md | 4 ++-- demo/HASHOUT_LOG.md | 4 ++-- frontend/HASHOUT_LOG.md | 4 ++-- frontend/package-lock.json | 4 ++-- frontend/package.json | 2 +- src-tauri/HASHOUT_LOG.md | 4 ++-- src-tauri/tauri.conf.json | 2 +- 13 files changed, 28 insertions(+), 19 deletions(-) diff --git a/.docs/wiki/Home.md b/.docs/wiki/Home.md index 19e52c9..29fe015 100644 --- a/.docs/wiki/Home.md +++ b/.docs/wiki/Home.md @@ -2,7 +2,7 @@ formskills is where the Form family's skills are found: every Form app's released skills, listed by app, to read, download and keep your own edited copies of. -**Current version:** v0.10.4 · **Stack:** Rust (`formskills-core`, `formskills-cli`) · Tauri 2 shell · vanilla TypeScript and Vite window · **Team:** one owner (nodemode-ai) +**Current version:** v0.11.0 · **Stack:** Rust (`formskills-core`, `formskills-cli`) · Tauri 2 shell · vanilla TypeScript and Vite window · **Team:** one owner (nodemode-ai) | Page | What it covers | | --- | --- | diff --git a/CHANGELOG.md b/CHANGELOG.md index cd4bf83..c40a350 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## v0.11.0 · 2026-11-19 + +- The list of Form apps is now built from the family's published spec, so it can no longer drift from the apps themselves. form.ext, FormCel, FormTxt and FormTools now appear because they ship skills, and FormDeck is shown under its current name (it was FormSlide). +- The list names public apps only. FormPromo, FormSculpt and FormSurface are no longer shown; an app that becomes public and ships skills appears with the formskills release that follows. +- The window's footer and `formskills cli apps` say where the list came from (`nodemode-dev/formcompiler`) with no commit and no version number. The list now changes only when something about a listed app changes. +- For people who rebuild the list: `./formskills apps --family PATH` replaces `--compiler PATH`, and `--check` compares without writing anything. An app of a kind the list does not know no longer stops the list from being built; it is grouped under Family. +- The repository keeps the copy of the spec the list was last built from (`setup/family.spec.json`). Building the list replaces that copy only when the list itself changes, and the automatic checks compare the two on every change. +- The README's site and download links use the app's current id, `formskills`. The security policy names the current release line, and counts stated in the documents were made true or removed. + ## v0.10.4 · 2026-11-11 - `edit read yours `, `edit read ` and `read ` on the command line now exit with an error when the file is not text or too large to show, instead of printing the reason and exiting as if it had worked. diff --git a/Cargo.lock b/Cargo.lock index 59c80d9..81aa8ff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -922,7 +922,7 @@ dependencies = [ [[package]] name = "formskills" -version = "0.10.4" +version = "0.11.0" dependencies = [ "formskills-core", "objc2", @@ -933,7 +933,7 @@ dependencies = [ [[package]] name = "formskills-cli" -version = "0.10.4" +version = "0.11.0" dependencies = [ "base64 0.22.1", "ed25519-dalek", @@ -945,7 +945,7 @@ dependencies = [ [[package]] name = "formskills-core" -version = "0.10.4" +version = "0.11.0" dependencies = [ "base64 0.22.1", "ed25519-dalek", diff --git a/Cargo.toml b/Cargo.toml index e4da8bf..1fb3364 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["core", "cli", "src-tauri"] resolver = "2" [workspace.package] -version = "0.10.4" +version = "0.11.0" edition = "2021" license = "GPL-3.0-only" authors = ["NodeAgentc, Inc."] diff --git a/README.md b/README.md index 33954a7..5ba79ad 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@

- version 0.10.4 + version 0.11.0 Rust Tauri 2 macOS, Windows, Linux diff --git a/SECURITY.md b/SECURITY.md index e9b9099..bd8889b 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -7,7 +7,7 @@ check whether the problem is still there. | Version | Supported | | --- | --- | -| 0.10.x (latest release) | Yes | +| 0.11.x (latest release) | Yes | | Anything older | No | ## Reporting a vulnerability diff --git a/core/HASHOUT_LOG.md b/core/HASHOUT_LOG.md index a6c9ffc..ee71d0f 100644 --- a/core/HASHOUT_LOG.md +++ b/core/HASHOUT_LOG.md @@ -2,8 +2,8 @@ Living log for `formskills-core`, `formskills-cli` and `setup/apps.py`. Source files stay comment-free; what they would have said lives here. -Current build version: v0.10.4 -Last updated: 2026-11-11 · read and edit read fail on a file that is not text; setup/apps.py's bytecode cache is ignored; 2026-11-10 · edit read notes a non-text file; removing a project install whose folder is gone; formskills.bat forwards every argument; backslashes in a new skill's description; FormPortal's macOS folder for the kept catalogue; front matter comments, nested maps and lists, and quotes as YAML reads them; a changed install without SKILL.md or with extra entries needs force; plain multi-line front matter values, quotes off the joined value, formskills.bat cli and apps; 2026-11-02 · the catalogue from the public download store; 2026-10-26 · the test suite; installing into Claude Code, Codex and Cursor; pins, one-app update, your own skills, script counts; search, the format check, licences and topics; registered in formcompiler; personal edited copies; no partial download; reading one file and packing downloads; released skills fetched, checked and kept, and the dev mode; the generated list of apps that ship skills +Current build version: v0.11.0 +Last updated: 2026-11-19 · the list of apps comes from the family spec, public apps only, and carries no registry version; the generator keeps the copy of the spec; 2026-11-11 · read and edit read fail on a file that is not text; setup/apps.py's bytecode cache is ignored; 2026-11-10 · edit read notes a non-text file; removing a project install whose folder is gone; formskills.bat forwards every argument; backslashes in a new skill's description; FormPortal's macOS folder for the kept catalogue; front matter comments, nested maps and lists, and quotes as YAML reads them; a changed install without SKILL.md or with extra entries needs force; plain multi-line front matter values, quotes off the joined value, formskills.bat cli and apps; 2026-11-02 · the catalogue from the public download store; 2026-10-26 · the test suite; installing into Claude Code, Codex and Cursor; pins, one-app update, your own skills, script counts; search, the format check, licences and topics; registered in formcompiler; personal edited copies; no partial download; reading one file and packing downloads; released skills fetched, checked and kept, and the dev mode; the generated list of apps that ship skills ## v0.11.0 · family update {#v0-11-0} diff --git a/demo/HASHOUT_LOG.md b/demo/HASHOUT_LOG.md index 82043fe..0e98faa 100644 --- a/demo/HASHOUT_LOG.md +++ b/demo/HASHOUT_LOG.md @@ -2,8 +2,8 @@ Living log for the browser demo. Source files stay comment-free; what they would have said lives here. -Current build version: v0.10.4 -Last updated: 2026-11-11 · v0.10.4 version bump only; 2026-11-10 · front matter and the new-skill template follow core 0.10.3 (source only); 2026-11-07 · real skills, icons and screenshots; the demo +Current build version: v0.11.0 +Last updated: 2026-11-19 · v0.11.0 version bump only; 2026-11-11 · v0.10.4 version bump only; 2026-11-10 · front matter and the new-skill template follow core 0.10.3 (source only); 2026-11-07 · real skills, icons and screenshots; the demo ## v0.10.3 · the parser port follows core {#v0-10-3} diff --git a/frontend/HASHOUT_LOG.md b/frontend/HASHOUT_LOG.md index 9f1da2b..f13e2be 100644 --- a/frontend/HASHOUT_LOG.md +++ b/frontend/HASHOUT_LOG.md @@ -2,8 +2,8 @@ Living log for formskills' window. Source files stay comment-free; what they would have said lives here. -Current build version: v0.10.4 -Last updated: 2026-11-11 · v0.10.4 version bump only; 2026-11-10 · skill lists notice a changed name or description; the extension check command for your own skills; FORM_FAMILY_DIR without a trailing slash; the reader's front matter quotes and comments; the dev engine bridge refuses foreign pages; v0.10.2 version bump only; 2026-10-25 · the Install and Installed pages; Your skills, the Release row, Trust; search, topics, the format page and Check; editing your own copy; the reader and downloads; where each app's skills come from; chips, cards and the detail pane +Current build version: v0.11.0 +Last updated: 2026-11-19 · the footer names the list's repository with no commit and no version (the entries are in the core log); 2026-11-11 · v0.10.4 version bump only; 2026-11-10 · skill lists notice a changed name or description; the extension check command for your own skills; FORM_FAMILY_DIR without a trailing slash; the reader's front matter quotes and comments; the dev engine bridge refuses foreign pages; v0.10.2 version bump only; 2026-10-25 · the Install and Installed pages; Your skills, the Release row, Trust; search, topics, the format page and Check; editing your own copy; the reader and downloads; where each app's skills come from; chips, cards and the detail pane ## v0.10.3 · review fixes {#v0-10-3} diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 40f34bf..b3be03e 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "formskills", - "version": "0.10.4", + "version": "0.11.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "formskills", - "version": "0.10.4", + "version": "0.11.0", "license": "GPL-3.0-only", "devDependencies": { "@tauri-apps/cli": "2.12.1", diff --git a/frontend/package.json b/frontend/package.json index 27175c9..1a750c9 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "formskills", "private": true, - "version": "0.10.4", + "version": "0.11.0", "description": "formskills' window: the Form apps' released skills", "license": "GPL-3.0-only", "type": "module", diff --git a/src-tauri/HASHOUT_LOG.md b/src-tauri/HASHOUT_LOG.md index 6565137..6d92467 100644 --- a/src-tauri/HASHOUT_LOG.md +++ b/src-tauri/HASHOUT_LOG.md @@ -2,8 +2,8 @@ Living log for formskills' desktop shell. Source files stay comment-free; what they would have said lives here. -Current build version: v0.10.4 -Last updated: 2026-11-11 · the unused BACKGROUND colour removed; 2026-11-10 · install_remove for a project folder that is gone; 2026-11-03 · v0.7.5 the bundle names the publisher and the licence; 2026-10-25 · the install commands; one app at a time, pins, your own skills; search and the check commands; the edit commands; read_file and download; library and refresh; the shell +Current build version: v0.11.0 +Last updated: 2026-11-19 · v0.11.0 version bump only; 2026-11-11 · the unused BACKGROUND colour removed; 2026-11-10 · install_remove for a project folder that is gone; 2026-11-03 · v0.7.5 the bundle names the publisher and the licence; 2026-10-25 · the install commands; one app at a time, pins, your own skills; search and the check commands; the edit commands; read_file and download; library and refresh; the shell ## v0.10.4 · QA fixes {#v0-10-4} diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index d919bf7..4f2d295 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "FormSkills", - "version": "0.10.4", + "version": "0.11.0", "identifier": "ai.nodemode.formskills", "build": { "devUrl": "http://localhost:5630",

19 Form apps

Every Form app that ships skills, listed from formcompiler's registry

Every public Form app

Each one that ships skills, listed from the family spec that formadaptor builds from formcompiler's registry

Actions

Read · Search · Check · Download one or a whole set · Pin a release · Edit a copy · Write your own · Install · Update · Remove

Agents

Claude Code (~/.claude/skills) · Codex (~/.agents/skills) · Cursor (~/.cursor/skills), for you or for one project