tractatus/.claude/backups/orphaned-rules-2025-10-21T02-39-37.600Z.json
TheFlow ac2db33732 fix(submissions): restructure Economist package and fix article display
- Create Economist SubmissionTracking package correctly:
  * mainArticle = full blog post content
  * coverLetter = 216-word SIR— letter
  * Links to blog post via blogPostId
- Archive 'Letter to The Economist' from blog posts (it's the cover letter)
- Fix date display on article cards (use published_at)
- Target publication already displaying via blue badge

Database changes:
- Make blogPostId optional in SubmissionTracking model
- Economist package ID: 68fa85ae49d4900e7f2ecd83
- Le Monde package ID: 68fa2abd2e6acd5691932150

Next: Enhanced modal with tabs, validation, export

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 08:47:42 +13:00

152 lines
No EOL
8 KiB
JSON

{
"timestamp": "2025-10-21T02:39:37.632Z",
"reason": "Rules found in MongoDB but not in .claude/instruction-history.json",
"action": "Soft deleted (marked as inactive)",
"rules": [
{
"_id": "68e99e427e83af31037bbfa8",
"id": "inst_029",
"text": "ALL enum value additions or changes MUST be documented in docs/developer/ENUM_VALUES.md with table showing value, constant name, and description. Include instructions for adding new values.",
"scope": "PROJECT_SPECIFIC",
"applicableProjects": [
"tractatus"
],
"variables": [],
"quadrant": "OPERATIONAL",
"persistence": "MEDIUM",
"category": "technical",
"priority": 75,
"temporalScope": "PERMANENT",
"expiresAt": null,
"clarityScore": null,
"specificityScore": null,
"actionabilityScore": null,
"lastOptimized": null,
"validationStatus": "NOT_VALIDATED",
"lastValidated": null,
"validationResults": null,
"active": false,
"source": "automated",
"createdBy": "coding_best_practices_import",
"stats": {
"timesChecked": 0,
"timesViolated": 0,
"lastChecked": null,
"lastViolated": null
},
"examples": [
"✅ GOOD: Updated ENUM_VALUES.md table when adding claude_md_migration",
"❌ BAD: Adding enum value without documentation",
"✅ GOOD: Documentation includes 'To Add New Value' section with checklist"
],
"relatedRules": [
"inst_004"
],
"notes": "Makes enum values discoverable. Prevents developers from inventing new values without checking existing ones.\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T15:45:26.125Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T15:46:34.175Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T16:37:45.775Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T18:05:10.938Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T19:54:52.010Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T22:25:58.200Z]",
"optimizationHistory": [],
"usageStats": {
"referencedInProjects": [],
"timesEnforced": 0,
"conflictsDetected": 0,
"lastEnforced": null,
"_id": "68e99e427e83af31037bbfa9"
},
"createdAt": "2025-10-11T00:01:06.795Z",
"updatedAt": "2025-10-20T22:25:58.201Z",
"__v": 0
},
{
"_id": "68e99e427e83af31037bbfae",
"id": "inst_030",
"text": "BEFORE declaring any code implementation 'complete', developer MUST run all relevant tests and verify they pass. For database code, this MUST include integration tests with real database operations.",
"scope": "UNIVERSAL",
"applicableProjects": [
"*"
],
"variables": [],
"quadrant": "OPERATIONAL",
"persistence": "HIGH",
"category": "technical",
"priority": 90,
"temporalScope": "PERMANENT",
"expiresAt": null,
"clarityScore": null,
"specificityScore": null,
"actionabilityScore": null,
"lastOptimized": null,
"validationStatus": "NOT_VALIDATED",
"lastValidated": null,
"validationResults": null,
"active": false,
"source": "automated",
"createdBy": "coding_best_practices_import",
"stats": {
"timesChecked": 0,
"timesViolated": 0,
"lastChecked": null,
"lastViolated": null
},
"examples": [
"✅ GOOD: npm test && curl POST /api/endpoint (verify endpoint works)",
"❌ BAD: Writing code and marking complete without running tests",
"✅ GOOD: Test both success and error cases before marking complete"
],
"relatedRules": [
"inst_003"
],
"notes": "Phase 2 migration API error discovered only during final testing phase. Could have been caught immediately with proper test-before-complete discipline.\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T15:45:26.148Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T15:46:34.186Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T16:37:45.787Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T18:05:10.950Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T19:54:52.026Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T22:25:58.220Z]",
"optimizationHistory": [],
"usageStats": {
"referencedInProjects": [],
"timesEnforced": 0,
"conflictsDetected": 0,
"lastEnforced": null,
"_id": "68e99e427e83af31037bbfaf"
},
"createdAt": "2025-10-11T00:01:06.798Z",
"updatedAt": "2025-10-20T22:25:58.220Z",
"__v": 0
},
{
"_id": "68eb1b9072cf196417ca6225",
"id": "inst_035",
"text": "Precedent database stores past deliberations as INFORMATIVE (not binding) precedents. Each entry documents: decision context, moral frameworks in tension, stakeholders consulted, values prioritized/deprioritized, moral remainder, dissenting views, justification, precedent applicability SCOPE (not universal rule), review date. When similar case arises: (1) CrossReferenceValidator identifies relevant precedents, (2) Human reviews for context similarity, (3) Precedent INFORMS new deliberation but doesn't dictate outcome, (4) Document why following or departing from precedent. Precedents are PROVISIONAL - reviewable when context changes, scale shifts, new evidence emerges. Prevent precedent creep into rigid hierarchy.",
"timestamp": "2025-10-12T14:35:00Z",
"quadrant": "OPERATIONAL",
"persistence": "HIGH",
"temporal_scope": "PERMANENT",
"verification_required": "MANDATORY",
"explicitness": 1,
"source": "user",
"session_id": "2025-10-12-value-pluralism-implementation",
"parameters": {
"precedent_type": "informative_not_binding",
"precedent_fields": [
"context",
"frameworks_in_tension",
"stakeholders",
"values_prioritized",
"values_deprioritized",
"moral_remainder",
"dissent",
"justification",
"applicability_scope",
"review_date"
],
"precedent_matching": "CrossReferenceValidator identifies similar cases",
"human_review_required": "Context similarity assessment",
"precedent_role": "Informs, doesn't dictate",
"departure_documentation": "Explain why not following precedent",
"provisional_nature": "Reviewable when context/scale/evidence changes",
"prevent": "Precedent creep into universal rules",
"related_component": [
"PluralisticDeliberationOrchestrator",
"CrossReferenceValidator"
]
},
"active": false,
"notes": "CORE VALUE PLURALISM IMPLEMENTATION 2025-10-12 - Precedent database design prevents rigid hierarchy while enabling learning from past deliberations. Precedents are PROVISIONAL (Gutmann & Thompson) - decisions aren't final, they're revisable. Key distinction: precedent = 'in similar past case we did X' NOT 'therefore you must do X'. Context matters: scale changes (1000 users → 87 million users = re-deliberate), new evidence (theoretical harm now documented = re-deliberate), changed circumstances = review. Git-like versioning tracks how thinking evolved over time.\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T15:45:26.151Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T15:46:34.191Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T16:37:45.790Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T18:05:10.953Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T19:54:52.030Z]\n[AUTO-DEACTIVATED: Not found in file-based source of truth on 2025-10-20T22:25:58.223Z]",
"updatedAt": "2025-10-20T22:25:58.223Z"
}
]
}