What a ticket's text names by a machine's alias, made readable on the remote side, and back: a local board writes {root}/src/x.php (the application, wherever it is checked out) and the list (a page of its site), which mean nothing on GitHub. BoardSync writes them there as my.oviepro:src/x.php -- the repository:path a checklist uses -- and the list, and reads those forms back as they were.
class MMO\git\helpers\BoardLinks
Espace de noms
MMO\git\helpers
- An alias (`{root}`, `{hubFolder}`) is replaced by its label, the path after it joined by `:`; an alias may hold a
`{name}` that the label repeats (`{root}/libs/{name}` → `mmo.{name}`). The longest alias that matches wins.
- A markdown link to a relative address (`./`, `gestion/accidents`) gets the site's address before it, `{siteurl}` is
the site's address.
- Back: `label:path` and a code span holding a label alone (`` `my.oviepro` ``) are the alias again, a link to the
site relative again. A label in a sentence is left as it is: it reads the same either way.
- Fenced blocks (```` ```claude ```` prompts, ```` ```check ```` lists) are code, for an agent or a checklist that
resolves the aliases itself: never touched, either way.
$links = new BoardLinks(['{root}/libs/{name}' => 'mmo.{name}', '{root}' => 'my.oviepro'], 'https://dev.example.com/');
$links->toRemote('See `{root}/src/x.php` and [the list](gestion/accidents).');
// 'See `my.oviepro:src/x.php` and [the list](https://dev.example.com/gestion/accidents).'