You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an executable.md contributor, I want the repository's own README development instructions to be runnable as hierarchical document targets so the project proves that readable documentation can be the composition interface for repeatable tooling.
Dependency
Blocked by #412. This issue consumes the hierarchical target contract and its shared resolver; it does not redefine target selection.
Intended experience
The README should preserve ordinary GitHub-readable development documentation while exposing useful sections as exact targets. For example:
deno task xmd targets README.md
deno task xmd run README.md#Development/Setup
deno task xmd run README.md#Development/Verification
Selecting a leaf runs its ancestor setup plus that leaf. Selecting a parent runs its setup and selected descendants according to #412. An unqualified xmd run README.md still means the whole document, so the executable content and hierarchy must make that behavior deliberate rather than accidentally repeating expensive or destructive work.
The first version should compose the repository's existing low-level commands—such as deno task setup, build, lint, check, test, and verify—instead of reimplementing their behavior in Markdown or JavaScript.
Scope
README dogfood
Refactor the current development instructions into a coherent hierarchy of runnable targets.
Keep prose, setup requirements, and command examples useful to a reader who never invokes XMD.
Use the source CLI through deno task xmd; do not require a released or previously compiled xmd binary.
Make whole-document execution intentional and safe.
State the actual guarantee: these targets run under xmd run and compose native developer commands; they do not gain workflow durability.
Internal tooling
Delegate suitable contributor-facing task or CI entry points to README targets where doing so gives the README a real, continuously exercised role.
Preserve low-level scripts and tasks as the leaf implementations for setup, builds, checks, and verification.
Keep the invocation graph acyclic. In particular, a README target that invokes deno task verify cannot also become the implementation of deno task verify; introduce a lower-level leaf or retain the README-to-task direction.
Preserve the repository's dependency preparation, cache purity, concurrency, release, and verification contracts in AGENTS.md.
Reuse or link existing XMD workflows such as review or analysis only where their semantics fit; do not mechanically migrate unrelated tooling.
Story
As an executable.md contributor, I want the repository's own README development instructions to be runnable as hierarchical document targets so the project proves that readable documentation can be the composition interface for repeatable tooling.
Dependency
Blocked by #412. This issue consumes the hierarchical target contract and its shared resolver; it does not redefine target selection.
Intended experience
The README should preserve ordinary GitHub-readable development documentation while exposing useful sections as exact targets. For example:
Selecting a leaf runs its ancestor setup plus that leaf. Selecting a parent runs its setup and selected descendants according to #412. An unqualified
xmd run README.mdstill means the whole document, so the executable content and hierarchy must make that behavior deliberate rather than accidentally repeating expensive or destructive work.The first version should compose the repository's existing low-level commands—such as
deno task setup,build,lint,check,test, andverify—instead of reimplementing their behavior in Markdown or JavaScript.Scope
README dogfood
deno task xmd; do not require a released or previously compiledxmdbinary.xmd runand compose native developer commands; they do not gain workflow durability.Internal tooling
deno task verifycannot also become the implementation ofdeno task verify; introduce a lower-level leaf or retain the README-to-task direction.AGENTS.md.Acceptance criteria
deno task xmd targets README.mdlists stable canonical development target paths.dist/xmd, a global install, or a previously built executable.Non-goals
xmd workflow.Related work
xmd rundogfood.