1 2#------------------------------------------------------------------------------ 3# $File: a2ml,v 1.1 2026/03/20 13:59:12 christos Exp $ 4# a2ml: file(1) magic for A2ML (Attested Markup Language) files 5# URL: https://github.com/hyperpolymath/a2ml 6# From: Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> 7 8# A2ML is a lightweight attested markup format with a typed, formally 9# verified core. Files use the .a2ml extension. 10# Specification: https://github.com/hyperpolymath/standards/blob/main/a2ml/SPEC-v1.0.adoc 11# MIME type: application/vnd.a2ml 12 13# Document starts with @abstract directive (canonical A2ML opening) 140 string @abstract: A2ML Attested Markup Language document 15!:mime application/vnd.a2ml 16!:ext a2ml 17 18# AI manifest files starting with agent-id or manifest block 190 string agent-id: A2ML Attested Markup Language document (AI manifest) 20!:mime application/vnd.a2ml 21!:ext a2ml 22 230 string manifest: A2ML Attested Markup Language document (AI manifest) 24!:mime application/vnd.a2ml 25!:ext a2ml 26 270 string pedigree: A2ML Attested Markup Language document (AI manifest) 28!:mime application/vnd.a2ml 29!:ext a2ml 30 31# Heading line followed by @abstract deeper in the file 320 string #\\ 33>&0 search/512 \n@abstract: A2ML Attested Markup Language document 34!:mime application/vnd.a2ml 35!:ext a2ml 36 37# @opaque directive with language annotation (A2ML code block) 380 search/512 @opaque(lang= A2ML Attested Markup Language document 39!:mime application/vnd.a2ml 40!:ext a2ml 41!:strength -10 42 43# @refs block (A2ML reference list) 440 search/512 \n@refs:\n A2ML Attested Markup Language document 45!:mime application/vnd.a2ml 46!:ext a2ml 47!:strength -10 48