Markdown for LLMs
Pin the act, edition, and publication
The source Markdown for this article. Copy it into your assistant or download it as a text file.
# Pin the act, edition, and publication
## Intent
I want to pin the concrete bytes of an edition.
## Wrong form and why it stays silent
Manually rewritten text ceases to match its hash.
```text title="Incorrect form"
Заявление отклоняется.
```
## Correct form
```law
language "law.core" version "0.2";
package recipe.i01 version "1.0.0";
namespace "urn:recipe:i-sources:01";
source Act { kind policy; }
edition E of Act { language ru; officiality unofficial; materialization_status PINNED_EDITORIAL_RECONSTRUCTION; in_force [@2026-01-01, infinity); }
publication P of E { media_type "text/plain"; uri "urn:recipe:i-sources:01:publication"; content_hash "sha256:15aec8a56c56e2abc15b5c40c5fb10afc8e7e37c772fd6b25124ce7646a91390"; retrieved_at @2026-09-13T09:00:00Z; local_path "resources/01-publication.txt"; }
fragment F in E { kind article; locator "article/1"; text ru official """Заявление принимается."""; content_hash "sha256:15aec8a56c56e2abc15b5c40c5fb10afc8e7e37c772fd6b25124ce7646a91390"; }
entity Person;
relation filed(p: Person);
relation accepted(p: Person);
@source(F)
rule Accept strict { for p: Person; when filed(p); then accepted(p); }
```
## Frozen execution scene
Below is a minimal reproducible scene.
| Facts | Question | Answer |
|---|---|---|
| filed | accepted | TRUE_ONLY |
| no filed | accepted | NEITHER |
## Counterfactual
The `teaches` mutation reproduces `LDC-E5201`. Counterfactual outcomes are also listed in the table and the sidecar.
## Boundary
An editorial reconstruction is a teaching edition, not an official publication of a force-of-law act. The bytes are kept locally; there is no network read.
Here a minimal checkable witness is left.
## Pitfall
Reprinting the pinned text with one letter changed broke the pin.