Practise this: Write the release record and stop the AGPL
Clone the starter: https://github.com/codeprepdev/agentic-engineering-lab-10-write-the-release-record. It is the lesson service of Lanes, booking software that swim schools in Ireland and the Netherlands use, in Node, with nothing to install. Libraries are copied into vendor/, one folder each with its own package.json. Release 31 goes out on Wednesday 9 December 2026 and adds a reminder email to each parent the evening before their child's lesson. An agent built it, its tests pass, and you are the named owner. Read the README and everything in release/ before you change anything.
Do the work below, with an agent or by hand. If an agent does it, give it each part as written and check its work against the module.
- The licence scan. Write
scripts/check-licences.js. It exportsreadPackages(folder), which returns one{ name, version, licence }for each library folder with apackage.json(licence""when the file has none), andcheckLicences(packages, allowed), which returns the libraries that fail, each{ name, version, licence, message }. A licence fails when it is missing or not on the allowed list. An expression such as(MIT OR Apache-2.0)passes when one choice is allowed, andA AND Bneeds both. Run asnode scripts/check-licences.js [folder](defaultvendor), it readslicences/allowed.txt, prints every library with its licence, and exits 1 naming each one that fails, with its licence. - Stop the AGPL. Run the scan on the starter and read what it finds. Replace that library: write the small piece the service needs yourself, or copy in one under a licence on the list. Do not widen the allowed list. The scan then passes on
vendor/. - The gate and the rule. In
.github/workflows/checks.yml, thechecksjob runs the scan andnode --test, with nothing that lets it skip. Add a## Dependenciessection toAGENTS.md: a new library needs a licence onlicences/allowed.txt, andnode scripts/check-licences.jsmust pass. - What the email carries. The reminder goes to an outside email provider. Send only what the reminder needs. The child's medical note is not part of that.
- Something you can switch off. A rollback cannot unsend an email. Ship the reminders off: a pool gets them only when its staff have set
remindersOn: trueon it, and a pool without the setting gets none. - Your tests. Add tests for a pool with reminders off (
remindersOn: false) and forcheckLicences. Keep every test the starter has. - The release record. Write
RELEASE-RECORD.mdwith the module's eleven lines, one each, labelled as the module labels them (**Change:** …or a heading): Change, People, Evidence, Not read, Data, Personal data, Dependencies, Undo, Built with, Law, Measure. Every line points at something that exists: the materials inrelease/, the code, or a run you did. The Evidence line gives the counts from your own finalnode --testrun, tests run and tests skipped. The Measure line gives the result the release is for and its baseline. Check what the dashboard's number counts before you use it.
Get node scripts/check-licences.js and node --test both passing on what you upload, with the output in front of you. Then upload the repository folder. The .git folder is left out, so the hidden tests mark your files. They build reminders from pools, children and lessons of their own. They run your scan on lists and folders it has never seen and on your own vendor/, and they work out your libraries' licences themselves. They check the workflow, the rule, your tests and the starter's (all there, none skipped). They read the record line by line for the facts each line can only get from the materials or from your run. The branch rule that makes the job required lives on the server, where the tests cannot check it: set it on your own copy if you can.
Open the lab · needs a free Tarmac account to have your work marked