- docsmint: all page rewrites (HTML-comment, relative-link, ESM) now skip fenced code blocks; fence contents render verbatim - docsmint: spliceCLINav fails closed when the "pages" key found after "group": "CLI Reference" is not a sibling key of the same object, and validates the spliced docs.json parses before writing - docsmint: neutralize MDX ESM hazards in docs/CLI_REFERENCE.md too (bd emits it without the per-page transforms, but Mintlify serves it as a hidden page); regenerated docs/CLI_REFERENCE.md accordingly - help_all: fail loudly when two commands collide on the same doc page ID instead of letting the later write win; repair a garbled comment - generate-cli-docs.sh: --check no longer trusts a repo-root ./bd it was not explicitly given (the CGO guard detects CGO-ness, not staleness) - docsync: validate the docs.json redirects array (well-formed, no dup sources, destinations resolve) - pour: runtime strings match the corrected Long text (Dolt sync, issue database — not "sync to git" / "persistent in .beads/") - testdata: formula_help.txt asserts the new docs/workflows/formulas.md path
19 lines
750 B
Text
19 lines
750 B
Text
# Test that bd formula --help surfaces the primitive-discoverability pointers.
|
|
#
|
|
# Failure of any of these assertions means an agent reading 'bd formula --help'
|
|
# would not be told that 'bd formula schema' / 'bd formula primitives' /
|
|
# examples/formulas/primitives/ exist. That is the exact failure mode GH#3621
|
|
# is closing, so this test is the regression gate.
|
|
bd formula --help
|
|
stdout 'bd formula schema'
|
|
stdout 'bd formula primitives'
|
|
stdout 'examples/formulas/primitives/'
|
|
stdout 'docs/workflows/formulas.md'
|
|
|
|
# The list and show subcommands also point at the schema index so agents
|
|
# arriving via either subcommand find the primitive surface.
|
|
bd formula list --help
|
|
stdout 'bd formula schema'
|
|
|
|
bd formula show --help
|
|
stdout 'bd formula schema'
|