Skip to content

The READMEs say what the packages do now - #130

Merged
hblee12294 merged 1 commit into
mainfrom
docs/readme-audit
Sep 3, 2026
Merged

The READMEs say what the packages do now#130
hblee12294 merged 1 commit into
mainfrom
docs/readme-audit

Conversation

@hblee12294

Copy link
Copy Markdown
Member

Every README in the repo audited against the source and rewritten where it had drifted, plus CONTRIBUTING and SECURITY.

What was wrong

  • packages/studio-core/README.md was titled @vosso/studio-core, pointed at ../vos-plugin (deleted), gave projectFromArtifact(artifact) and planAutoZoom(doc, options) (the real signatures take a video URL and a cursor track), listed five of the eight camera styles, and never mentioned the document family, the digest, the destinations table, the backdrop mechanism or the speed and tilt planners.
  • The timeline, tween and editor examples did not match the exported signatures: sample(track, t, resolveEase) (the third argument is a lerp), createTweenRecorder({ backend }) (positional), recorder.specs (on the timeline, not the recorder), createSampler(doc).seek() returning a frame (it writes onto targets and returns nothing), createProjectStore({ doc }) (positional), classifyEdit(prev, next) (a required third argument, and it returns a list).
  • The root README and shared still listed the differ and the limits table, which left @vosjs/shared in 0.3/0.4; render-core described the audio producer under a retired name and missed muxEncodedExport.
  • Core called the compiled output "an HTML document" (it is an ES module; the template is a separate call), and elements called three an optional peer (it is required).
  • The CLI README said --max-duration defaults to 1800 s (it reads the cap live since 0.13), used a retired backdrop URL shape, said an unknown --background extension means an image (it means video), and never listed folder, asset, recipe, --fresh, --no-frames, --times, the shorts-linkedin channel, step ids, or the program-directory case of vos validate.
  • The root roadmap named three packages that do not exist.

What changed

  • Root README: what vos is, the two ways in, a quick start that runs, the package table bottom-up, a diagram of how the packages fit, documentation links, development, status.
  • CONTRIBUTING: setup, layout and dependency direction, the rules (core stays pure, a frame is a function of time, state is data, no product in the engine, bundles mirror sources), the change and release flow.
  • Every package README on one shape: one-line, install, what it does, verified API, license. Every identifier the READMEs name as an export was checked against the built .d.ts files.
  • Two code fixes so the docs are true: --composed on vos deliver parses as a bare flag (it was missing from the boolean set and demanded a value), and vos help lists vos actions and describes the live recording cap. Patch changesets for the CLI fix and for the README updates, so npm shows the new pages.

Found, not fixed here

  • vos pull <take> --check and --since are in the plugin help text, but the take path neither parses --check as a flag nor reads --since.
  • vos render <dir> sniffs a take by doc.json alone, so a program directory carrying a program document is routed to the take renderer and fails on a missing meta.json.

Checks

pnpm build, pnpm --filter @vosjs/cli typecheck | lint | test (192 tests), pnpm check all green.

Every README in the repo was audited against the source it describes and
rewritten where it had drifted.

Root: the two ways in (the CLI and the engine as a library), a quick start
that compiles (version, duration and camera are required; compileVosConfig
returns a module and generateRenderTemplate the page), the package table
ordered by dependency layer, a diagram of how the packages fit, links to the
docs and the schemas. The unshipped roadmap is gone.

CONTRIBUTING: setup, the layout with its dependency direction, the rules
that keep the engine deterministic and product-free, the release mechanics
(OIDC, the first publish of a new name, CI on the release PR). SECURITY
names what is in scope for the CLI too.

Packages: studio-core was still titled by its old scope name and pointed at
a package that no longer exists; its two headline signatures were wrong and
it listed five camera styles of eight. The timeline, tween and editor
examples called functions with the wrong argument shapes. Shared and
render-core listed modules that left them. Elements called three an
optional peer. The CLI README now covers every verb and flag the binary
accepts, the full take directory, the actions.json step fields, the
delivery channels and the vos.so sub-verbs, with the max-duration default
described as the live cap it is.

Two small code fixes ride along so the docs are true: --composed on
vos deliver parses as a bare flag, and vos help lists vos actions and stops
quoting a fixed recording cap.
@hblee12294
hblee12294 marked this pull request as ready for review September 3, 2026 18:08
@hblee12294
hblee12294 merged commit 598cec7 into main Sep 3, 2026
3 checks passed
@hblee12294
hblee12294 deleted the docs/readme-audit branch September 3, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant