Repository navigation
Documentation site - Composable for Node.js (mkdocs-material, engine theme) + CI workflow - #89
Merged
Merged
Conversation
…ngine theme) The P4 docs chapter for the node wrapper, structurally twin to the python site: three-layer theme reference, rationale + design (incl. the anycast-vs-EventEmitter rationale), function-writing patterns (the never-block-the-loop rule), configuration/logging/actuators, testing, the Event Script and Knowledge Graph join chapters, a one-page AI agent guide + llms.txt, and configuration/HTTP-surface references. Same Material theme and strict validation as the engine site. New ci.yml runs tsc + node --test plus the strict docs build and publishes gh-pages on main - closing the wrapper-CI gap. Co-Authored-By: Claude Code <noreply@anthropic.com>
acn-ericlaw
added a commit
that referenced
this pull request
Nov 27, 2026
…f mercury-python #89; #150 merged Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNwVNhbvhqbdRRLBSbSWZ3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The P4 documentation site for the Node.js wrapper, plus the repo's fresh CI workflow:
mercury-composable engine repo (deep purple/cyan palettes with auto/light/dark,
navigation tabs, mermaid diagrams, strict validation, the same css/extra.css) —
publishing to https://accenture.github.io/mercury-nodejs/
Knowledge Graph) and where a Node.js function joins it
wrappers; why node has one handler style — everything async, never block
the event loop — where Python needs two)
is a Mailbox pipeline and not an EventEmitter, the referenced-timer process
lifecycle)
runWithTraceidioms), config/logging/actuators, testing with the built-in
node --testharness(
yaml.event.over.http; notes the graph.task declarative-target floor ofengine v4.11.11)
alone") plus
llms.txtas the machine map.github/workflows/ci.yml— the rebooted repo had no CI: the quality gate(
npm ci && npm teston the node 20 floor — lint, typecheck, build, 51 tests) onevery push/PR, a strict docs build check, and
mkdocs gh-deployon main pushes.gitignore+site/Why
P4 of the polyglot initiative — documentation for AI and Human. Every page follows the
two-audience doctrine: storytelling with why-before-how for humans, and token-efficient
machine-greppable content for AI agents. Using the engine repo's theme verbatim keeps a
polyglot installation's documentation visually and structurally uniform across
accenture.github.io/mercury-composable, /mercury-python and /mercury-nodejs.
Gates:
npm test51/51 (lint + typecheck + build + tests),mkdocs build --strictexit 0.
Post-merge: enable GitHub Pages (branch
gh-pages) after the first deploy run, andspot-check mermaid rendering on the live site.
🤖 Generated with Claude Code
Co-Authored-By: Claude Code noreply@anthropic.com