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)#69

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

retrofit: spec-cover preferences API (REQ-PREF-001/002)#69
rubenvdlinde merged 1 commit into
developmentfrom
retrofit/prefs-coverage-nextcloud-app-template

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Why

The generic per-user preferences endpoint 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, annotating
getPreference/setPreference with @SPEC references. Closes the 2-method
spec-coverage gap to zero. Comment-only; no behaviour change.
@rubenvdlinde rubenvdlinde requested a review from bbrands02 as a code owner May 25, 2026 23:13
@rubenvdlinde rubenvdlinde added the documentation Improvements or additions to documentation label May 25, 2026
@rubenvdlinde rubenvdlinde added the documentation Improvements or additions to documentation label May 25, 2026
@rubenvdlinde rubenvdlinde merged commit fdd86b5 into development May 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/nextcloud-app-template @ 9ef58b5

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

Quality workflow — 2026-05-25 23:15 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