Attribution as an agreement, in WikiScript: a forker may fork an open page, must record the author in the fork journal, and may not remove attribution. The author may close the licence after notice. This is the wiki native member of the Agreement Corpus — its subject matter is the federation itself.
# The agreement
agreement "Fork Consent" of this wiki. terms: "The Author" is a party. "A Forker" is any party. "The Page" is a page. "The Fork" is a page. "The Notice" is a text. clause: "Forking". A Forker may fork the Page when the licence of the Page is open. A Forker must record the Author in the journal of the Fork. A Forker may not remove the Author from the journal of the Fork. on fork: get the journal of the Page put the Author into the last line of it ghost it end fork clause: "Revocation". The Author may close the licence after the Notice.
# Who may do what The permission table — note the negative modal, a right withheld in the same grammar that grants rights:
PARTY | MODAL | ACTION | WHEN A Forker | may | fork the Page | when the licence of the Page is open A Forker | must | record the Author in the journal of the Fork | — A Forker | may not | remove the Author from the journal of the Fork | — The Author | may | close the licence | after the Notice
# Pure by construction The `fork` handler reads the journal of the page, appends the author, and ghosts the result. It never writes. Whether the ghost becomes a real fork is the forker's act, in the browser, under their own name — exactly the security model of the WikiScript hub.
# Assets
fork-consent
# See - Agreement Corpus and WikiScript Grammar - WikiScript and WikiScript Architecture