Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

retrofit: spec-cover preferences API (REQ-PREF-001/002)#268

Merged
rubenvdlinde merged 1 commit into
developmentfrom
retrofit/prefs-coverage-decidesk
May 25, 2026
Merged

retrofit: spec-cover preferences API (REQ-PREF-001/002)#268
rubenvdlinde merged 1 commit into
developmentfrom
retrofit/prefs-coverage-decidesk

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Why

The generic per-user preferences endpoint (#266) introduced two uncovered backend methods — getPreference / setPreference in lib/Controller/PreferencesController.php — pushing this repo to 2 uncovered methods on Gate-16 spec coverage. This is a true capability, so it gets a real reverse-spec (not an exclude).

What

  • New reverse-spec change retrofit-2026-05-26-preferences-api with capability preferences-api (REQ-PREF-001 get / REQ-PREF-002 set).
  • @spec docblock annotations on both controller methods.
  • openspec validate --strict green; python3 /tmp/csc.py . --mode report → uncovered_count == 0.

Comment-only; no behaviour change.

🤖 Generated with Claude Code

Reverse-specs the generic per-user preferences endpoint added in #266,
annotating getPreference/setPreference with @SPEC references. Closes the
2-method spec-coverage gap to zero. Comment-only; no behaviour change.
@rubenvdlinde rubenvdlinde added the documentation Improvements or additions to documentation label May 25, 2026
@rubenvdlinde rubenvdlinde merged commit b144b19 into development May 25, 2026
7 of 16 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/decidesk @ 299452d

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer
npm ✅ 383/383
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-05-25 23:12 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant