بنقرة واحدة
palace-health
Check palace health, suggest repairs, run auto-backup
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Check palace health, suggest repairs, run auto-backup
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Weekly documentation refresh and maintenance - audit staleness, update docs, validate backlog
Smart verification — detects what changed and runs appropriate tests, lint, typecheck
Cut and verify a public release through publish remote, hosted CI, PyPI, and GitHub Release status
Scan codebase for AI-generated entropy — duplicated helpers, dead code, spreading anti-patterns. Use on a regular cleanup cadence or when noticing quality drift.
Pre-release docs sync — diff HEAD against the last v* tag on the publish remote, list feature additions, update README language/tool inventory, draft the CHANGELOG release entry, propose the version bump. Runs before /release. Prevents shipping with stale docs.
Automate the repository post-implementation hardening workflow, including optional Codex diff review with returned comments
| name | palace-health |
| description | Check palace health, suggest repairs, run auto-backup |
| disable-model-invocation | false |
Diagnose and fix palace storage issues.
mempalace health --json
Parse the JSON output. Check for:
ok: true/false — overall healthdrawer_count — number of drawerswing_count — number of wingserrors — list of issues found| Symptom | Cause | Fix |
|---|---|---|
ok: false, fragment errors | LanceDB corruption | mempalace repair --rollback |
| drawer_count = 0 but files exist | Table unreadable | mempalace repair --rollback |
| Search returns empty | Embedding mismatch or corruption | Re-mine or restore backup |
| Wing missing | Partial delete or corruption | Restore from backup |
mempalace backup list
If corruption detected and backups exist:
# Dry run first
mempalace repair --dry-run
# If safe, rollback
mempalace repair --rollback
# Or restore from backup
mempalace restore <backup.tar.gz>
After repair/restore:
mempalace health
mempalace search "test query" --limit 3
## Palace Health Report
Status: HEALTHY / DEGRADED / CORRUPT
Drawers: N
Wings: N
Last backup: YYYY-MM-DD HH:MM
Issues found:
- [issue description]
Recommended action:
- [action to take]