Docs: wiki, product plan, code comments and doc audit #1

Closed
akib wants to merge 0 commits from akib/docs-wiki-and-plan into main AGit
Owner

Summary

Documentation pass plus the product plan.

  • Wiki (31 pages) in docs/wiki/, already published to both the Forgejo and the GitHub wikis:
    • user pages: what BlockFlow is, installing, getting started, concepts, the editor, workflows as scripts (for LLMs), recipes, capabilities and limitations, troubleshooting, roadmap
    • an internals reference covering the engine, blocks, worker, host, messages, storage, page agent, locators, editor, testing, build and tooling
  • Product plan in docs/PLAN.md: Playwright-compatible automation in your browser, for people and LLMs.
    • what we keep and the Playwright gap table
    • the LLM track
    • ranked bugs and milestones M0–M6
    • the decisions taken
  • Publishing: scripts/wiki.mjs (npm run wiki:check / wiki:publish) rewrites links for each host and pushes to both wikis.
  • Code comments: TSDoc added across src, tests and scripts; only comments changed.
  • Existing docs: README, ARCHITECTURE, the usage guide, learning lessons, CLAUDE.md and llms.txt updated to match phases C–F.
  • Contributing guide: new CONTRIBUTING.md.
  • CI: now uses npm ci and also runs guide:check and wiki:check. test-results/ is no longer tracked.

Notes

  • The wiki's links to source files point at main, so they work once this is merged.
  • No bugs are fixed here. The bugs found are listed in docs/PLAN.md §6 for M0. The most serious: import, duplicate and templates drop step settings and edge sourcePort (src/core/library.ts).

Test plan

  • npm run check (typecheck, 304 tests, learn/guide/wiki checks)
  • npm run build
  • npm run wiki:publish to both wikis

🤖 Generated with Claude Code

## Summary Documentation pass plus the product plan. - **Wiki (31 pages)** in `docs/wiki/`, already published to both the Forgejo and the GitHub wikis: - user pages: what BlockFlow is, installing, getting started, concepts, the editor, workflows as scripts (for LLMs), recipes, capabilities and limitations, troubleshooting, roadmap - an internals reference covering the engine, blocks, worker, host, messages, storage, page agent, locators, editor, testing, build and tooling - **Product plan** in `docs/PLAN.md`: Playwright-compatible automation in your browser, for people and LLMs. - what we keep and the Playwright gap table - the LLM track - ranked bugs and milestones M0–M6 - the decisions taken - **Publishing:** `scripts/wiki.mjs` (`npm run wiki:check` / `wiki:publish`) rewrites links for each host and pushes to both wikis. - **Code comments:** TSDoc added across `src`, `tests` and `scripts`; only comments changed. - **Existing docs:** README, ARCHITECTURE, the usage guide, learning lessons, CLAUDE.md and llms.txt updated to match phases C–F. - **Contributing guide:** new `CONTRIBUTING.md`. - **CI:** now uses `npm ci` and also runs `guide:check` and `wiki:check`. `test-results/` is no longer tracked. ## Notes - The wiki's links to source files point at `main`, so they work once this is merged. - No bugs are fixed here. The bugs found are listed in `docs/PLAN.md` §6 for M0. The most serious: import, duplicate and templates drop `step` settings and edge `sourcePort` (`src/core/library.ts`). ## Test plan - [x] `npm run check` (typecheck, 304 tests, learn/guide/wiki checks) - [x] `npm run build` - [x] `npm run wiki:publish` to both wikis 🤖 Generated with [Claude Code](https://claude.com/claude-code)
TSDoc on exported functions, types and block definitions in src/core,
src/core/blocks, src/browser, src/dom, src/shared, the editor and the
background worker, plus the test helpers and doc tooling. Comments only;
a few stale comments are corrected (page op result shapes, popup
detection, the e2e output folder).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Audit of the architecture doc, usage guide, learning lessons, glossary
and llms.txt against phases C-F: page block lists, default timeouts,
the e2e output folder, Watch Element's read path, lesson 07's code tour
and exercises, new glossary terms. Mark the phase A-F plan as superseded.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- docs/wiki: 31 pages. User pages (what BlockFlow is, installing,
  getting started, concepts, editor, workflows as scripts, recipes,
  capabilities, troubleshooting, roadmap) and an internals reference
  for every area of the code.
- docs/PLAN.md: the plan for Playwright-compatible automation in your
  browser, for people and LLMs: features kept, Playwright gaps, the
  LLM track, ranked bugs, milestones M0-M6 and the decisions taken.
- scripts/wiki.mjs: checks wiki links and publishes docs/wiki to the
  Forgejo and GitHub wikis (npm run wiki:check / wiki:publish).
- CONTRIBUTING.md; README, CLAUDE.md and llms.txt point to the wiki.
- CI runs npm ci, guide:check and wiki:check; test-results/ ignored.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
akib force-pushed akib/docs-wiki-and-plan from 21fa65d080 to 859bda78f9 2026-11-05 13:43:31 +00:00 Compare
akib closed this pull request 2026-11-05 17:30:42 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
akib/blockflow!1
No description provided.