Skip to content

test(memory-wiki): generate metadata replacement transitions - #208932

Merged
vincentkoc merged 1 commit into
mainfrom
test/wiki-metadata-properties-20261129
Nov 30, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
test/wiki-metadata-properties-20261129

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Related: #190606
Historical repair: #190641

What Problem This Solves

A P0 regression silently replaced entire wiki metadata lists when an agent supplied one new entry. The accepted repair retained replacement semantics, documented them, and disclosed full before/after counts.

User Impact

No runtime changes. Replace one fixed replacement/scalar/clear sequence with a generated 17-transition property through the public wiki_apply tool.

Why This Change Was Made

Seed 17 claims and differently sized sibling lists, then exercise every supplied-field subset plus a final complete clear. Generate zero-, one-, and two-entry replacements; check omitted fields remain unchanged, supplied fields replace completely, and cleared keys follow the documented representation.

Use an independent expected-state map and count ledger, with canonical input values and no production normalization helpers. Check exact metadataListChanges, every visible before/after disclosure, absence of disclosure for omitted fields/scalar-only updates, and preserved human text. Keep the existing malformed-input, invalid-confidence, scalar-operation, and lint-result tests.

Production delta: 0 lines. Test delta: -3 net lines. No new dependencies.

Evidence

  • Current owner, public tool/schema, result renderer, lookup path, docs, and original repair inspected.
  • git diff --check passes.
  • Final-head native validation: 47 tests passed across the tool, mutation-owner and CLI suites; 42.13s cold, including 480ms for the generated sequence.
  • Historical control: remove metadataListChanges from the owner result. The property fails at step 0; restoring the owner byte-for-byte makes it pass.
  • Changed-file formatting and plugin oxlint pass.
  • Local ClawSweeper 0.3.5 reviewed final head 9c8421a: no findings, high confidence. Its requested test execution is satisfied by the focused run above.
  • Exact-head hosted CI passed. Merged as e2efbd4.
  • No runtime behavior changes or live external service is needed.

@vincentkoc vincentkoc self-assigned this Nov 30, 2026
@clawsweeper

clawsweeper Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

🦞👀
Pull request received.

@clawsweeper clawsweeper Bot added the P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. label Nov 30, 2026
@vincentkoc
vincentkoc force-pushed the test/wiki-metadata-properties-20261129 branch from dd53a8d to 9c8421a Compare November 30, 2026 07:06
@vincentkoc
vincentkoc marked this pull request as ready for review November 30, 2026 07:12
@vincentkoc
vincentkoc enabled auto-merge (squash) November 30, 2026 07:14
@vincentkoc
vincentkoc merged commit e2efbd4 into main Nov 30, 2026
169 checks passed
@vincentkoc
vincentkoc deleted the test/wiki-metadata-properties-20261129 branch November 30, 2026 07:20
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

vincentkoc added a commit that referenced this pull request Nov 30, 2026
…ogic

* commit 'f7ccd914102ab408606c45c0aa3adbd8427051eb': (1290 commits)
  refactor(ios): remove unreachable settings and automation controls (#208958)
  fix: verify deferred activation in package recovery acceptance (#208901)
  improve(ci): avoid unused adaptive scoring work (#208926)
  chore(ui): refresh control ui locales (#208959)
  test(agents): verify user recall and file state across OpenAI compactions (#208909)
  fix(ui): update the sidebar on startup and recovery screens (#207967)
  fix(whatsapp): quote the first queued swipe-reply answer (#208791)
  test(memory-wiki): generate metadata replacement transitions (#208932)
  fix(ui): hide Claude injected context from chat (#207234)
  fix(ui): count people instead of emoji in reaction badges (#207235)
  fix: keep Daybreak when another provider's model list fails (#208883)
  test(telegram): check the registered preload at polling worker startup (#208936)
  fix(qa): test Slack verbosity with one direct shell call (#208023)
  fix(qa): wait for Telegram messages before checking their formatting (#208024)
  feat(ios): show build details at the bottom of Settings (#208944)
  chore(ui): refresh control ui locales (#208937)
  fix: goals stop after native child-result handoffs (#193024)
  fix(ui): show current tool actions in collapsed chat activity (#208925)
  improve(ios): put About last in Settings (#208928)
  test(memory-wiki): generate human-note preservation regressions (#208921)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: memory-wiki P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant