GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SyliusAiTranslationPlugin/docs/adr/README.md at main · CylleneDigital/SyliusAiTranslationPlugin

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
45 lines (41 loc) · 3.92 KB
/

README.md

Copy path

File metadata and controls

45 lines (41 loc) · 3.92 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

Architecture decision records

One file per decision: its context, what was decided, what follows from it. A decision is not edited once accepted: a new record supersedes it, and the old one says so in its status. A fact of its context or consequences that changed since, the decision holding, is corrected in place, with an Amended line under the date saying what changed.

A record holds the decision and its reasons, which do not move with the code. It names what the decision is about (a bus, a priority, a status code), nothing else of the code. What moves with it - file paths, versions, class lists, counts, the tags to write - is in the architecture overview, the public contract and the guides, which follow the code: a record that quoted them would be wrong at the next refactoring, and could not be corrected.

A new record takes the next number, the template of the others (Status, Date, Context, Decision, Consequences, Related, and Supersedes under the date when it replaces one) and a line in the table below.

# Decision
0001 Generation runs go through a dedicated bus, not sylius.command_bus
0002 One prefix for everything the plugin names
0003 Services are declared explicitly, without autowiring
0004 A Bundle class with SyliusPluginTrait, not AbstractBundle
0005 One invokable controller per route
0006 Routes in YAML, request inputs without validation constraints
0007 CSRF is checked by Screen::validateCsrf(), not #[IsCsrfTokenValid]
0008 The engine interfaces are re-aliased with plain aliases
0009 The menu entry is added at priority -1024
0010 One permission per kind of consequence
0011 No script in the templates, behaviour in Stimulus controllers
0012 No file is written, nothing AI-generated is applied without a human
0013 Only the engine's public contract is used
0014 No plugin-side cache of the catalogue rows
0015 The plugin exposes no API
0016 No live tracking of a generation
0017 pending_count stays in the data of the suggestions screen
0018 The bulk action renderer decorator is kept, outside the public contract
0019 The labels of the syntax issues are not factored
0020 The channel code to name map is not cached
0021 The .gitignore names the maintainers' local tooling
0022 The guard against double billing is the engine's (superseded by 0024)
0023 A deleted channel keeps its overrides, suggestions and journal (superseded by 0025)
0024 The guard against double billing is the engine's, by its contract (supersedes 0022)
0025 A deleted channel takes its overrides and suggestions along, its journal stays (supersedes 0023)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.