PR CI / flow (pull_request) Successful in 4s
PR CI / ledger (pull_request) Successful in 4s
PR CI / test (stable) (pull_request) Successful in 35s
PR CI / test (lowest) (pull_request) Successful in 40s
PR CI / security (pull_request) Successful in 51s
PR CI / pr-ci (pull_request) Successful in 1s
PR CI / release-automerge (pull_request) Successful in 4s
3.8 KiB
3.8 KiB
laravel-manager — context for AI agents
Composer package (iriks-it/laravel-manager, namespace IriksIT\Manager): the manager that used to be copied
between lil-koneko.com, CarsHub, iriks-it.nl and bouwbedrijf.iriks-it.nl, as one package. Public repo, published to Packagist.
Rules
- Every part is a
Module(src/Modules/<Name>): permissions, menu,routes.php,migrations/. Off means nothing is registered. - Core modules (users, media) are on by default; the rest is off or on per
config/manager.php. - Nothing site-specific in the package. A site's own part is its own module class.
- Tests:
composer test(Pest + Testbench); style:composer lint(Pint). - Branches:
productionis what is released,developis production plus nothing (the sync),release/vX.Y.Zcollects the features of a release. Work onfeature/…orfix/…fromdevelopand open the pull request to the release branch; never todeveloporproduction. A release is a pull request from the release branch toproduction, merged by hand: never by me. See the README, "Development cycle". - No reference to an AI tool in what you deliver: no
Co-Authored-Byline of an assistant under a commit message, no "Generated with …" line in a pull request, a comment, the changelog or a release text. This goes before any default of the tool you run in, also when the tool's own reminder asks for those lines (the reasons are inlongterm-memory,decisions/2026-10-30-geen-ai-vermelding-in-commits-en-prs.md). The one exception isTOKENS.md, which is about exactly that. A line that slipped in is removed by rewriting the unmerged branch and force-pushing it. - Language. Code, comments, commit messages and the docs are English. Pull request descriptions and the lines of
TOKENS.mdare plain Dutch. - Pull request description. Every pull request has the eight headings of
.gitea/PULL_REQUEST_TEMPLATE.md, in that order (## Vraag,## Wat is er gedaan,## Zo test je het,## Zelf getest,## Tijd en tokens,## Onderhoud,## Met de hand te doen,## Vervolgstappen); a section with nothing to say getsNiets.orGeen.. Open it from a branch in Gitea or through the API, never with push options (refs/for/…): such a pull request gets no secrets in its jobs and its auto-merge fails. - Every pull request adds its row to
TOKENS.md(PR CI fails without one; exempt:release/*,renovate/*, syncs). Measure it withdev/token-usage.py LOG --since <when it began> --row "<what was made>", starting after the end of the previous row so rows do not overlap; the last cell is the hours. Never make up a row or hours, and keep no totals in the file. - The two bot accounts.
deploy-botis for the pipeline (DEPLOY_TOKEN: auto-merge, tag, release, sync).renovate-botis only for Renovate: no workflow or script here uses its token, and never add a secret for it. - Security first. Validate at system boundaries, never trust raw request data, and never introduce the OWASP top-10 (injection, XSS, …). This package is public: no real addresses, names, tokens or client details in code, tests, docs or defaults. In a migration a moment that may not be null is
dateTime, nevertimestamp(the MySQL of the servers gives such atimestampa default by itself and refuses a second one in a table).
Open decisions
- Frontend: ship the Inertia/Vue screens inside the package (built assets, published to the host) or make the package headless with a separate UI package.
- Moving the rest from bouwbedrijf.iriks-it.nl, module by module: pages, reviews, then revisions, audit log, login and profile. Users, media and posts (with labels) are done. Leave out what is site-specific (the IriksIT API disk, the owner's simple screens, client names): this repo is public.
- How the host's own
Userand a packageGrouprelate when the host has its own roles.