Skip to content

chore(softwarecatalog): remove two committed debug scripts - #487

Merged
rubenvdlinde merged 1 commit into
developmentfrom
chore/remove-committed-debug-scripts
Aug 12, 2026
Merged

chore(softwarecatalog): remove two committed debug scripts#487
rubenvdlinde merged 1 commit into
developmentfrom
chore/remove-committed-debug-scripts

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Task 5.2 of openspec/changes/english-vocabulary. The spec says delete these rather than rename them — a committed debug script isn't vocabulary worth migrating.

I read both before removing. They're pure echo scripts from a 2026-05-29 debugging session — notes-to-self about why a contactpersoon's username looked empty. No queries, no credentials, no logic. Nothing imports or executes them, and neither appears in phpcs.xml, phpmd.baseline.xml, psalm.xml, phpstan.neon, composer.json or any workflow.

Two things worth noting on the way out

They hardcode a real-looking contactpersoon UUID — the sort of thing that shouldn't sit in a public repo even when it isn't a secret.

And their whole premise was querying oc_openregister_objects — the empty shared table. Objects live in the per-schema oc_openregister_table_<reg>_<schema> shards, so that debugging session was reading the wrong place and would have found nothing regardless. It's the same lookup error that made a stored-object count report a false zero earlier in this programme, caught then by a positive control.

Not in this PR

softwarecatalog's actual vocabulary rename: 6,757 references across 194 files, over roughly 9,500 imported VNG production records. The spec requires the migration to be authored and exercised against copied production data before any rename merges — this app cannot reseed, unlike the greenfield ones.

🤖 Generated with Claude Code

Task 5.2 of openspec/changes/english-vocabulary: the spec says DELETE these rather
than rename them, because a committed debug script is not vocabulary worth
migrating.

Read both before removing. They are pure echo scripts from a 2026-05-29 debugging
session — notes-to-self about why a contactpersoon's username looked empty. No
queries, no credentials, no logic; nothing imports or executes them, and neither
appears in phpcs.xml, phpmd.baseline.xml, psalm.xml, phpstan.neon, composer.json
or any workflow.

Two things worth noting on the way out. They hardcode a real-looking contactpersoon
UUID, which is the sort of thing that should not sit in a public repo even when it
is not a secret. And their whole premise was querying oc_openregister_objects,
which is the EMPTY shared table — objects live in the per-schema
oc_openregister_table_<reg>_<schema> shards, so the debugging session was reading
the wrong place. That is the same lookup error that made a stored-object count
report a false zero earlier in this programme.

softwarecatalog's vocabulary rename itself is NOT in this commit: it is 6757
references across 194 files over roughly 9,500 imported VNG production records,
and the spec requires the migration to be authored and tested against copied data
before any rename merges.
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/softwarecatalog @ 713815d

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-manifest
check-vue-demi
test-l10n
composer ✅ 128/128
npm ✅ 718/718
PHPUnit
Newman ⏭️
Playwright
Hydra gates

Quality workflow — 2026-08-11 19:17 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit f2dcacc into development Aug 12, 2026
29 checks passed
@rubenvdlinde
rubenvdlinde deleted the chore/remove-committed-debug-scripts branch August 12, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant