Skip to content

fix(config): drop dead show_context, complete manifest --schema, record directory versions - #30

Merged
ChanMeng666 merged 1 commit into
masterfrom
fix/manifest-leftovers
Oct 20, 2026
Merged

ChanMeng666 merged 1 commit into
masterfrom
fix/manifest-leftovers

Conversation

@ChanMeng666

Copy link
Copy Markdown
Owner

Follow-up to #29, which left three items open.

  • notification_settings.show_context was in the template but read by no code. It is removed from config/default_preferences.json, config/_defaults_baseline.json and the tracked sample, and added to DROPPED_KEYS, so migrate (or the next hook) deletes it and reports it under removed[]. Checked by hand: a file with show_context: false and mode: audio_only migrates to no show_context, mode kept.
  • manifest --schema now describes audio_files, notification_settings.terminal_sequence, webhook_settings.include_user_email and statusline_settings, and no longer describes show_context. config/user_preferences.schema.json regenerated. Two new tests in tests/test_manifest_drift.py: every template key is in the schema (down to where it stops listing properties), and no DROPPED_KEYS entry is. Run against the old schema they fail on 10 keys.
  • AGENTS.md names tests/test_manifest_drift.py as the guard for flags and config keys.
  • Directory listing: the portal on 2026-10-21 shows one held version per push to master (14 so far), including two docs-only pushes. That corrects the 2026-10-04 note that a docs-only push created no version. Updated in docs/DIRECTORY_LISTING.md and docs/PROJECT_STATUS.md.

Verification

python -m unittest discover tests: Ran 814 tests … OK (skipped=2)
bash scripts/build-plugin.sh --check: {"ok":true,"in_sync":true,"checked":207}

🤖 Generated with Claude Code

…rd directory versions

- notification_settings.show_context was read by no code: removed from the
  template and baseline, added to DROPPED_KEYS so migration deletes it.
- manifest --schema now covers audio_files, terminal_sequence,
  include_user_email and statusline_settings; tests/test_manifest_drift.py
  fails when a template key is missing from it or a dropped key is still in it.
- AGENTS.md names tests/test_manifest_drift.py as a guard.
- docs/DIRECTORY_LISTING.md, docs/PROJECT_STATUS.md: every push to master
  becomes a held directory version (portal, 2026-10-21), correcting the
  2026-10-04 one-minute observation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ChanMeng666
ChanMeng666 merged commit 2eed9a5 into master Oct 20, 2026
12 checks passed
@ChanMeng666
ChanMeng666 deleted the fix/manifest-leftovers branch October 20, 2026 23:00
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