Skip to content

feat: add --context-loss flag to /reflect#28

Closed
marcodelpin wants to merge 1 commit into
BayramAnnakov:mainfrom
marcodelpin:feat/context-loss-flag
Closed

feat: add --context-loss flag to /reflect#28
marcodelpin wants to merge 1 commit into
BayramAnnakov:mainfrom
marcodelpin:feat/context-loss-flag

Conversation

@marcodelpin

Copy link
Copy Markdown
Contributor

Summary

  • New /reflect --context-loss flag that scans past sessions for "you forgot" / "I told you" / "read the rules" patterns
  • Generates docs/CONTEXT_LOSS_ANALYSIS.md with categorized findings (build env, architecture, tool location, workflow, project identity, recurring corrections)
  • Suggests a SESSION RECOVERY section for AGENTS.md to prevent recurring context loss
  • Multi-language pattern support (English, Spanish, German, Russian)

Note

Split from #20 as requested. This is the "genuinely novel idea" piece — detecting meta-complaints about forgotten knowledge.

Test plan

  • Create test session JSONL with "you forgot" patterns, run --context-loss, verify report
  • Verify pattern categorization matches expected categories
  • Verify SESSION RECOVERY section suggestion via AskUserQuestion

Scans past sessions for "you forgot" / "I told you" / "read the rules"
patterns and generates docs/CONTEXT_LOSS_ANALYSIS.md with categorized
findings. Suggests a SESSION RECOVERY section for AGENTS.md to prevent
recurring context loss across sessions.
@marcodelpin

Copy link
Copy Markdown
Contributor Author

Closing as abandoned — no maintainer activity on this repo for over a month. Feel free to reopen or cherry-pick if/when you pick it back up.

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