Complete State Hub bootstrap (JSUI-WP-0001); add JSUI-WP-0002
This commit is contained in:
parent
85b2dfe318
commit
f9121b3c23
4 changed files with 48 additions and 17 deletions
|
|
@ -1,19 +1,19 @@
|
||||||
## Stack
|
## Stack
|
||||||
|
|
||||||
<!-- TODO: Fill in language, frameworks, and key dependencies -->
|
- **Language:** JavaScript (ESM) + optional Python adapter
|
||||||
- **Language:**
|
- **Key deps:** Rollup, Jest, marked (peer); see `package.json`, `pyproject.toml`
|
||||||
- **Key deps:**
|
|
||||||
|
|
||||||
## Dev Commands
|
## Dev Commands
|
||||||
|
|
||||||
```bash
|
```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
|
# After workplan edits
|
||||||
|
statehub fix-consistency
|
||||||
# Run tests
|
|
||||||
|
|
||||||
# Lint / type check
|
|
||||||
|
|
||||||
# Build / package (if applicable)
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
3
SCOPE.md
3
SCOPE.md
|
|
@ -1,7 +1,6 @@
|
||||||
# SCOPE
|
# SCOPE
|
||||||
|
|
||||||
> This file was generated by `statehub register`. Refine it as the repository
|
> Lightweight boundary for agents and contributors.
|
||||||
> boundaries become clearer.
|
|
||||||
|
|
||||||
## One-liner
|
## One-liner
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ type: workplan
|
||||||
title: "Bootstrap State Hub integration"
|
title: "Bootstrap State Hub integration"
|
||||||
domain: infotech
|
domain: infotech
|
||||||
repo: testdrive-jsui
|
repo: testdrive-jsui
|
||||||
status: ready
|
status: finished
|
||||||
owner: codex
|
owner: codex
|
||||||
topic_slug: custodian
|
topic_slug: custodian
|
||||||
created: "2026-07-08"
|
created: "2026-07-08"
|
||||||
|
|
@ -20,11 +20,13 @@ TestDrive-JSUI is a standalone, JavaScript-first markdown editor and UI library
|
||||||
|
|
||||||
```task
|
```task
|
||||||
id: JSUI-WP-0001-T01
|
id: JSUI-WP-0001-T01
|
||||||
status: todo
|
status: done
|
||||||
priority: high
|
priority: high
|
||||||
state_hub_task_id: "38e4aa05-9029-44cc-aba0-143c73b30a22"
|
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`.
|
Review `INTENT.md`, `SCOPE.md`, `AGENTS.md`, and `.custodian-brief.md`.
|
||||||
Replace generated placeholders with repo-specific facts where needed.
|
Replace generated placeholders with repo-specific facts where needed.
|
||||||
|
|
||||||
|
|
@ -32,11 +34,13 @@ Replace generated placeholders with repo-specific facts where needed.
|
||||||
|
|
||||||
```task
|
```task
|
||||||
id: JSUI-WP-0001-T02
|
id: JSUI-WP-0001-T02
|
||||||
status: todo
|
status: done
|
||||||
priority: high
|
priority: high
|
||||||
state_hub_task_id: "c88f1cf4-54da-4874-8b1e-690becea0ede"
|
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
|
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
|
those commands in the agent instructions so future coding sessions can verify
|
||||||
changes confidently.
|
changes confidently.
|
||||||
|
|
@ -45,11 +49,13 @@ changes confidently.
|
||||||
|
|
||||||
```task
|
```task
|
||||||
id: JSUI-WP-0001-T03
|
id: JSUI-WP-0001-T03
|
||||||
status: todo
|
status: done
|
||||||
priority: medium
|
priority: medium
|
||||||
state_hub_task_id: "cea89446-78af-415e-b0b5-cab8d75f66b6"
|
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
|
Create the first implementation workplan for the repository's most important
|
||||||
next change. After workplan file updates, run the sync locally from this repo
|
next change. After workplan file updates, run the sync locally from this repo
|
||||||
checkout:
|
checkout:
|
||||||
|
|
|
||||||
26
workplans/JSUI-WP-0002-npm-publication-readiness.md
Normal file
26
workplans/JSUI-WP-0002-npm-publication-readiness.md
Normal 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.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue