Extending Ares 2
The school can grow. One day its pupils can answer in another language, or the examination can take place in a new kind of school. The teacher can learn a new way to clear the desks or to watch, and the rule sheet can learn a new kind of thing to allow.
Each of these changes has to reach every part of the school. A rule sheet that promises a check nobody carries out is worse than no promise at all. Nobody has written the pages for these changes yet; each one is still an outline.
The five extension points
Each corresponds to one axis of the ProgrammingLanguageConfiguration enum or to one layer of
the enforcement pipeline.
| Page | Status | Intended purpose |
|---|---|---|
| New programming languages | Planned | Add a language beyond Java: reader, director, name rules, test-case factory |
| New build tools | Planned | Add a build tool beyond Maven and Gradle: BuildMode, descriptor detection, generated wiring |
| New policy domains | Planned | Add a permission domain beyond the current eight, end to end |
| New analysis technology | Planned | Add a static analyser alongside ArchUnit and T. J. Watson Libraries for Analysis (WALA) |
| New enforcement mechanism | Planned | Add a weaving or sandboxing mechanism alongside AspectJ, instrumentation and Phobos |
How to read this section
Every page follows the same shape: which enum or interface you extend, which files the change touches, which of the four continuous integration (CI) combinations must be re-run, and what a complete change looks like when it is finished. None of them is a substitute for reading the subsystem pages first.
Notes
- Adding a domain or a mechanism means adding to a security boundary. A partial extension that is silently ignored by one enforcement layer is worse than no extension at all, because the policy then claims a guarantee the code does not deliver.