-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
agent-devopsCI/CD pipeline agentCI/CD pipeline agentagent-memoryContext persistence agentContext persistence agentagent-qaTesting and verification agentTesting and verification agentagent-retrospectiveLearning extraction agentLearning extraction agentarea-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-workflowsGitHub Actions workflowsGitHub Actions workflowsautomationAutomated workflows and processesAutomated workflows and processesbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impact
Description
Context
PR #908 changed 53 memory files, many violating ADR-017 tiered index hierarchy. Need automated enforcement.
Problem Statement
Memory changes violate ADR-017 without detection:
- Orphaned memories outside
memory-index.md - Incorrect tier placement
- Broken cross-references
- No validation in pre-commit or CI
Proposed Solution
Create .agents/scripts/Validate-MemoryTier.ps1:
Checks:
- All memories referenced in
memory-index.md(no orphans) - Domain indexes follow
{domain}-index.mdnaming - Cross-references valid (files exist)
- Tier hierarchy respected (index → domain → atomic)
Integration:
- Run in pre-commit hook
- Run in CI (fail on violation)
- Provide clear remediation guidance
Acceptance Criteria
- Script created with all 4 checks
- Exit code 0 = pass, non-zero = fail
- Clear error messages with file paths
- Pre-commit hook integration
- CI workflow integration
- Documentation updated
Effort Estimate
8 hours
Priority
P2 - Normal (This Quarter)
Related
- ADR-017 (tiered memory index architecture)
- PR feat(skill): add reflect skill and auto-learning hook #908 (53 memory files changed)
- Root Cause: Scope Creep via Tool Side Effects
References
.agents/retrospective/2026-01-15-pr-908-comprehensive-retrospective.md (lines 1314-1320)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agent-devopsCI/CD pipeline agentCI/CD pipeline agentagent-memoryContext persistence agentContext persistence agentagent-qaTesting and verification agentTesting and verification agentagent-retrospectiveLearning extraction agentLearning extraction agentarea-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-workflowsGitHub Actions workflowsGitHub Actions workflowsautomationAutomated workflows and processesAutomated workflows and processesbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impact