Abstract
This demo serves a single purpose: to prove that MarkCharm Native Artificial Intelligence directives do not leak into the final Abstract Syntax Tree (AST).
The compiler must extract, index, and completely purge the {#AI}, {#AGENT}, and {#FREEZE} instructions before the document reaches the rendering backends (HTML, PDF, etc.).
If any residue of these tags appears in the generated visual output, or if surrounding layout is broken, the E2E regression test will fail.
The quick brown fox jumps over the lazy dog. This paragraph must not contain any awkward spacing at the beginning.
The following frame must keep its structural borders and styles intact, despite the global freeze directive attached to it.
Architecture Frame: MarkCharm's architecture guarantees style agnosticism.
Enabling the native Linter operates exclusively at compile time.
| Feature | Status | E2E Test |
|---|---|---|
| Passive Hint | Completed | Yes |
| Agent Workflow | Completed | Yes |
Since the directives above are 100% invisible in the rendered document, here is the source code for how they were declared in this file:
{#AI The LLM must read this document without this instruction polluting the paragraph below}
The quick brown fox jumps over the lazy dog. This paragraph must not contain any awkward spacing at the beginning.
{#AGENT assistant
Please review the consistency of the list below.
}
- First item in the list.
{#AI This is a Hint in the middle of an ordered list}
- Second item in the list, which must remain seamlessly adjacent and indented.
{#FREEZE The golden rule is to never modify the Architecture Frame}
> **Architecture Frame**:
> MarkCharm's architecture guarantees style agnosticism.
Caveats and Usage Requirements
This document is designed primarily to be consumed by the automated Playwright routine (test_demos_regression.py). When inspecting the source HTML file, ensure that there are no empty <p> tags resulting from failures in discarding AI directives.