Skip to content

docs: restructure README into README + TUTORIAL.md + docs/PICS.md - #1

Merged
sws-chipkin merged 1 commit into
mainfrom
docs/readme-tutorial-pics-restructure
Sep 16, 2026
Merged

sws-chipkin merged 1 commit into
mainfrom
docs/readme-tutorial-pics-restructure

Conversation

@sws-chipkin

Copy link
Copy Markdown
Collaborator

Restructures this repo's documentation to match the shared series shape (established in BACnetProfileExample-B-SS-CPP): README.md cut down to what this example is and how to build/run/verify it, a new TUTORIAL.md for extending and reviewing the device, and a new docs/PICS.md (ANSI/ASHRAE 135 Annex A conformance statement) generated from docs/objects.json. The build now documents the adapter's default SOURCE mode (a single cmake -B build -S . + cmake --build build --config Release, no prebuilt library, no series-root script) so a customer who downloads only this repository can build it.

Verified with a real build-and-run cycle; the README's expected-output block reflects actual captured output.

🤖 Generated with Claude Code

…ICS.md

Restructures the B-ASC Node.js example's documentation to match the shape
already applied to the C++ series (BACnetProfileExample-B-SS-CPP etc.),
adapted for this repo's real Node.js/npm build instead of CMake:

- README.md trimmed to this example only: series-framing, "Use this in your
  own project", and "The interesting parts of main.ts" moved out; kept the
  device tree, BIBBs/services/object-type tables, prerequisites, build, run,
  CLI options, interactive keys, verify, and the generated series table
  (added the PROFILE-TABLE markers and ran sync-profile-table.sh).
- TUTORIAL.md (new): extending the example, the silent-failure traps from
  main.ts's comments carried over precisely, who serves what, reviewing your
  device, and troubleshooting (including Node/npm-specific build failures).
- docs/PICS.md (new) + docs/objects.json (new): a full ANSI/ASHRAE 135
  Annex A PICS, with the objects-and-properties tables generated by
  tools/gen-objects-properties.py against this repo's own submodule pin
  (6.x-TestTool @ 4a69c9eb - older than B-SS-CPP's pin) - zero warning rows.
- main.ts: per-field "change this before you ship" comments added to the
  identity block, and an explicit Object_Name-uniqueness warning on
  DEVICE_NAME.
- AGENTS.md rewritten to the new layout and to state plainly that this is a
  Node.js build (npm install), not CMake - explicitly not the C++ template.
- CHANGELOG.md: Unreleased entry for the restructure.

Verified: npx tsc --noEmit clean; tools/gen-objects-properties.py --check
reports current; rebuilt the stack addon from source and ran the app via
npm start - it reaches the ready banner and stays up; corrected the README's
Expected-output block to the actual printed stack version (v6.0.0.0, not the
package.json-declared 6.1.0); every relative markdown link resolves; common/
and every other example repository are untouched.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sws-chipkin
sws-chipkin merged commit ddbf423 into main Sep 16, 2026
3 checks passed
@sws-chipkin
sws-chipkin deleted the docs/readme-tutorial-pics-restructure branch September 16, 2026 16:40
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