Docs-drift in AGENTS.md, skills en de app-notities #103

Closed
opened 2026-10-14 13:47:13 +02:00 by midas · 1 comment
Owner

Severity: low · Categorie: docs · Effort: S

Probleem

Gebundeld:

  • De Definition of done, de add-patch-skill en de README noemen de unit-tests niet en ook de toggle-stappen niet (Java-hook, stubs, BooleanSetting, registerToggle).
  • PatchCategory-volgorde versus MidasSettingsCategory. De help-tekst van patch-install.ps1 noemt een niet-bestaande optie adPlacement. Kleinere punten in de update-app-version-skill.
  • volkskrant.md beschrijft de Midas Settings-hook met een verouderd registerschema (v0, registerCount > 4). De code gebruikt move-object/from16 naar v0/v1 en requireLocalRegisters(count = 2).
  • Docs tonen const/4 waar de code const/16 gebruikt, op 7 plekken.
  • gelderlander.md heeft de share-buttons-sectie twee keer en bevat alle Kubus-brede notities onder een titelspecifieke naam.
  • Verwijzingen zonder bestandsnamen en een onduidelijke verificatiescope voor Trouw en Parool.

Waar

Bewijs

U8-5 (AGENTS.md)

AGENTS Definition of done: 1. buildAndroid 2. patch-install -NoInstall 3. device test 4. targets
ci.yml: run: ./gradlew :extensions:extension:testDebugUnitTest --no-daemon (before the build)

U8-6 (AGENTS.md)

AGENTS: 'reuse the existing categories, following the toggle's MidasSettingsCategory'
PatchCategory: 'The first four follow MidasSettingsCategory'  (enum: ADS, POPUPS, CONTENT, PLAYBACK, PRIVACY)
patch-install.ps1: -Option 'adPlacement=bottom'

U9-2 (docs/apps/volkskrant.md)

docs: `v0` is the scratch register; the patch checks that the method has locals (registerCount > 4) and throws otherwise.
code: requireLocalRegisters(method, "MainActivity.navigateToUrl", count = 2)
code: move-object/from16 v0, p0 ; move-object/from16 v1, p2

U9-3 (docs/apps/gelderlander.md)

docs: Injects `const/4 p0, 0x0; return p0` at index 0
code (dpg/videosdk/HideVideoAdsPatch.kt): const/16 p0, 0x0
code (kubus/ads/HideAdsPatch.kt): const/16 p1, 0x0

U9-4 (docs/apps/gelderlander.md)

## Share buttons architecture & implemented patch
At the bottom of an article in De Gelderlander, a row of three large share buttons ...
### Share buttons (**Hide share buttons**)
At the bottom of an article in De Gelderlander, a row of three large share buttons ...

U9-5 (docs/apps/volkskrant.md)

volkskrant.md 203: "(see the design in the extension/patch code)"
edition.md: Trouw and Het Parool 'Tested Version 7.52.0'

Impact

De volgende ontwikkelaar of agent neemt verouderde smali-patronen over, precies het soort fout waar AGENTS.md voor waarschuwt.

Voorstel

Werk de genoemde plekken bij. Verplaats de Kubus-brede notities naar kubus.md, en die voor Edition naar edition.md.

Acceptatiecriteria

  • De docs bevatten geen const/4 meer voor injected smali.
  • De Definition of done en de add-patch-skill noemen de unit-tests en de toggle-stappen.
  • Geen dubbele secties in gelderlander.md.

Code review @ 33e02db (2026-10-14) · findings: U8-5, U8-6, U9-2, U9-3, U9-4, U9-5

**Severity:** low · **Categorie:** docs · **Effort:** S ## Probleem Gebundeld: - De Definition of done, de add-patch-skill en de README noemen de unit-tests niet en ook de toggle-stappen niet (Java-hook, stubs, `BooleanSetting`, `registerToggle`). - PatchCategory-volgorde versus MidasSettingsCategory. De help-tekst van `patch-install.ps1` noemt een niet-bestaande optie `adPlacement`. Kleinere punten in de update-app-version-skill. - `volkskrant.md` beschrijft de Midas Settings-hook met een verouderd registerschema (`v0`, `registerCount > 4`). De code gebruikt `move-object/from16` naar `v0`/`v1` en `requireLocalRegisters(count = 2)`. - Docs tonen `const/4` waar de code `const/16` gebruikt, op 7 plekken. - `gelderlander.md` heeft de share-buttons-sectie twee keer en bevat alle Kubus-brede notities onder een titelspecifieke naam. - Verwijzingen zonder bestandsnamen en een onduidelijke verificatiescope voor Trouw en Parool. ## Waar - [`AGENTS.md#L123-129`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/AGENTS.md#L123-L129) - [`.claude/skills/add-patch/SKILL.md#L51-80`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/.claude/skills/add-patch/SKILL.md#L51-L80) - [`.forgejo/workflows/ci.yml#L36-37`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/.forgejo/workflows/ci.yml#L36-L37) - [`README.md#L447-452`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/README.md#L447-L452) - [`AGENTS.md#L160-162`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/AGENTS.md#L160-L162) - [`patches/src/main/kotlin/nl/midasvo/patches/shared/PatchCategory.kt#L9-12`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/patches/src/main/kotlin/nl/midasvo/patches/shared/PatchCategory.kt#L9-L12) - [`scripts/patch-install.ps1#L23`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/scripts/patch-install.ps1#L23) - [`.claude/skills/update-app-version/SKILL.md#L72-77`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/.claude/skills/update-app-version/SKILL.md#L72-L77) - [`AGENTS.md#L11-57`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/AGENTS.md#L11-L57) - [`docs/apps/volkskrant.md#L324-331`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/volkskrant.md#L324-L331) - [`patches/src/main/kotlin/nl/midasvo/patches/edition/settings/MidasSettingsPatch.kt#L107-135`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/patches/src/main/kotlin/nl/midasvo/patches/edition/settings/MidasSettingsPatch.kt#L107-L135) - [`docs/apps/gelderlander.md#L64`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/gelderlander.md#L64) - [`docs/apps/gelderlander.md#L74`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/gelderlander.md#L74) - [`docs/apps/gelderlander.md#L116-120`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/gelderlander.md#L116-L120) - [`docs/apps/gelderlander.md#L151`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/gelderlander.md#L151) - [`docs/apps/gelderlander.md#L559-560`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/gelderlander.md#L559-L560) - [`docs/apps/gelderlander.md#L677`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/gelderlander.md#L677) - [`docs/apps/volkskrant.md#L494`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/volkskrant.md#L494) - [`docs/apps/gelderlander.md#L202-238`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/gelderlander.md#L202-L238) - [`docs/apps/kubus.md#L25-27`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/kubus.md#L25-L27) - [`docs/apps/edition.md#L20-22`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/edition.md#L20-L22) - [`docs/apps/volkskrant.md#L201-204`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/volkskrant.md#L201-L204) - [`docs/apps/edition.md#L11-15`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/edition.md#L11-L15) - [`docs/apps/videoland.md#L22-26`](https://git.midasvo.nl/midas/midas-patches/src/commit/33e02db957a78f2d5443326cdd107a612e7c21a7/docs/apps/videoland.md#L22-L26) ## Bewijs _U8-5 (AGENTS.md)_ ```markdown AGENTS Definition of done: 1. buildAndroid 2. patch-install -NoInstall 3. device test 4. targets ci.yml: run: ./gradlew :extensions:extension:testDebugUnitTest --no-daemon (before the build) ``` _U8-6 (AGENTS.md)_ ```markdown AGENTS: 'reuse the existing categories, following the toggle's MidasSettingsCategory' PatchCategory: 'The first four follow MidasSettingsCategory' (enum: ADS, POPUPS, CONTENT, PLAYBACK, PRIVACY) patch-install.ps1: -Option 'adPlacement=bottom' ``` _U9-2 (docs/apps/volkskrant.md)_ ```markdown docs: `v0` is the scratch register; the patch checks that the method has locals (registerCount > 4) and throws otherwise. code: requireLocalRegisters(method, "MainActivity.navigateToUrl", count = 2) code: move-object/from16 v0, p0 ; move-object/from16 v1, p2 ``` _U9-3 (docs/apps/gelderlander.md)_ ```markdown docs: Injects `const/4 p0, 0x0; return p0` at index 0 code (dpg/videosdk/HideVideoAdsPatch.kt): const/16 p0, 0x0 code (kubus/ads/HideAdsPatch.kt): const/16 p1, 0x0 ``` _U9-4 (docs/apps/gelderlander.md)_ ```markdown ## Share buttons architecture & implemented patch At the bottom of an article in De Gelderlander, a row of three large share buttons ... ### Share buttons (**Hide share buttons**) At the bottom of an article in De Gelderlander, a row of three large share buttons ... ``` _U9-5 (docs/apps/volkskrant.md)_ ```markdown volkskrant.md 203: "(see the design in the extension/patch code)" edition.md: Trouw and Het Parool 'Tested Version 7.52.0' ``` ## Impact De volgende ontwikkelaar of agent neemt verouderde smali-patronen over, precies het soort fout waar AGENTS.md voor waarschuwt. ## Voorstel Werk de genoemde plekken bij. Verplaats de Kubus-brede notities naar `kubus.md`, en die voor Edition naar `edition.md`. ## Acceptatiecriteria - [ ] De docs bevatten geen `const/4` meer voor injected smali. - [ ] De Definition of done en de add-patch-skill noemen de unit-tests en de toggle-stappen. - [ ] Geen dubbele secties in `gelderlander.md`. _Code review @ 33e02db (2026-10-14) · findings: U8-5, U8-6, U9-2, U9-3, U9-4, U9-5_
Author
Owner

Opgelost in PR #124, gemerged in dev en uitgebracht in v1.10.0 (onderdeel van #105).

Opgelost in PR #124, gemerged in dev en uitgebracht in v1.10.0 (onderdeel van #105).
midas closed this issue 2026-10-17 21:23:21 +02:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
midas/midas-patches#103
No description provided.