Skip to content

docs: sync ARCHITECTURE and DATA-MODEL with capture/uninstall hardening - #4

Merged
ilicfilip merged 1 commit into
mainfrom
docs-sync-capture-uninstall
Jul 7, 2026
Merged

ilicfilip merged 1 commit into
mainfrom
docs-sync-capture-uninstall

Conversation

@ilicfilip

Copy link
Copy Markdown
Collaborator

Docs-only follow-up to #3. Two documents still described the pre-fix behaviour:

  • ARCHITECTURE.md — the timing section and the pre-request flow diagram now note the two match_pending() recency guards: a blocked prompt discards its intent, and intents age out of the correlation window (MATCH_MAX_AGE_SECONDS / wp_aiut_match_max_age).
  • DATA-MODEL.md §11 — uninstall now drops all three tables (incl. aiut_limits) and deletes every persisted option (incl. aiut_has_hard_limits). The "known gap" callout is removed (it's closed); the aiut_alert_* dedup transients are demoted to an honest footnote — self-expiring within 32 days and intentionally not swept.

HOOKS.md and DECISIONS.md were already updated in #3.

🤖 Generated with Claude Code

Follow-up to the correlation + uninstall hardening (PR #3). Two docs still
described the pre-fix behaviour:

- ARCHITECTURE.md: note the two match_pending() recency guards (block-discard +
  age-out window / wp_aiut_match_max_age) in the timing section and the
  pre-request flow diagram.
- DATA-MODEL.md §11: uninstall now drops all three tables (incl. aiut_limits)
  and deletes every persisted option (incl. aiut_has_hard_limits). Removed the
  "known gap" callout (closed); demoted the aiut_alert_* transients to an honest
  footnote (self-expiring, intentionally not swept).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Signed-off-by: Filip Ilic <ilic.filip@gmail.com>
@ilicfilip
ilicfilip merged commit bcfcd0a into main Jul 7, 2026
@ilicfilip
ilicfilip deleted the docs-sync-capture-uninstall branch July 7, 2026 11:45
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

🧪 Test on WordPress Playground

Open this PR in WordPress Playground →

or download the plugin zip.

Note: this plugin needs WordPress 7.0+ (the AI Client API) and a configured
AI provider to capture real usage. In Playground you'll see the dashboard, the
empty state, and the Limits UI — but no live AI requests (no provider key).

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