Complete State Hub bootstrap (JSUI-WP-0001); add JSUI-WP-0002
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

This commit is contained in:
tegwick 2026-07-08 15:07:19 +02:00
parent 85b2dfe318
commit f9121b3c23
4 changed files with 48 additions and 17 deletions

View file

@ -1,19 +1,19 @@
## Stack
<!-- TODO: Fill in language, frameworks, and key dependencies -->
- **Language:**
- **Key deps:**
- **Language:** JavaScript (ESM) + optional Python adapter
- **Key deps:** Rollup, Jest, marked (peer); see `package.json`, `pyproject.toml`
## Dev Commands
```bash
# TODO: Fill in the standard commands for this repo
npm install
npm run build
npm test
npm run test:coverage
npm run lint
make test # JS + Python bridge tests
make build
# Install dependencies
# Run tests
# Lint / type check
# Build / package (if applicable)
# After workplan edits
statehub fix-consistency
```

View file

@ -1,7 +1,6 @@
# SCOPE
> This file was generated by `statehub register`. Refine it as the repository
> boundaries become clearer.
> Lightweight boundary for agents and contributors.
## One-liner

View file

@ -4,7 +4,7 @@ type: workplan
title: "Bootstrap State Hub integration"
domain: infotech
repo: testdrive-jsui
status: ready
status: finished
owner: codex
topic_slug: custodian
created: "2026-07-08"
@ -20,11 +20,13 @@ TestDrive-JSUI is a standalone, JavaScript-first markdown editor and UI library
```task
id: JSUI-WP-0001-T01
status: todo
status: done
priority: high
state_hub_task_id: "38e4aa05-9029-44cc-aba0-143c73b30a22"
```
Result 2026-07-08: INTENT.md and SCOPE.md reviewed; AGENTS.md and brief confirmed accurate.
Review `INTENT.md`, `SCOPE.md`, `AGENTS.md`, and `.custodian-brief.md`.
Replace generated placeholders with repo-specific facts where needed.
@ -32,11 +34,13 @@ Replace generated placeholders with repo-specific facts where needed.
```task
id: JSUI-WP-0001-T02
status: todo
status: done
priority: high
state_hub_task_id: "c88f1cf4-54da-4874-8b1e-690becea0ede"
```
Result 2026-07-08: Documented npm/jest/rollup workflow in stack-and-commands.md.
Identify the repo's install, test, lint, build, and run commands. Add or refine
those commands in the agent instructions so future coding sessions can verify
changes confidently.
@ -45,11 +49,13 @@ changes confidently.
```task
id: JSUI-WP-0001-T03
status: todo
status: done
priority: medium
state_hub_task_id: "cea89446-78af-415e-b0b5-cab8d75f66b6"
```
Result 2026-07-08: Created JSUI-WP-0002.
Create the first implementation workplan for the repository's most important
next change. After workplan file updates, run the sync locally from this repo
checkout:

View file

@ -0,0 +1,26 @@
---
id: JSUI-WP-0002
type: workplan
title: "NPM publication readiness"
domain: infotech
repo: testdrive-jsui
status: ready
owner: codex
topic_slug: custodian
created: "2026-07-08"
updated: "2026-07-08"
---
# NPM publication readiness
Finish bundling and publication prep for standalone npm distribution (Rollup CJS/ESM/UMD, browser smoke tests, prepublish checks).
## Publication readiness checklist
```task
id: JSUI-WP-0002-T01
status: todo
priority: high
```
Execute NPM_PUBLICATION_PLAN.md phases: verify dist formats, browser test HTML files, prepublishOnly hook, and README install examples.