Skip to content

Comments

chore - enhance context rules with patterns from client-backend#109

Merged
dpuglielli merged 2 commits intomainfrom
chore/enhance-context-companions
Dec 26, 2025
Merged

chore - enhance context rules with patterns from client-backend#109
dpuglielli merged 2 commits intomainfrom
chore/enhance-context-companions

Conversation

@dpuglielli
Copy link
Collaborator

Summary

  • Add key behavioral patterns to mantra's compact rules (speculation clarification, simple-means definition, FIRST principles, anti-patterns)
  • Enhance companion docs with detailed examples and explanations

Test plan

  • Run npm test in mantra directory - all 25 tests pass
  • Review compact rules are parseable and clear
  • Verify companion docs provide useful elaboration

Compact rules (mantra/rules/):
- Add speculation clarification (DO during assessment, DONT during implementation)
- Add simple-means definition (fewer abstractions, direct, explicit, readable)
- Add FIRST principles section to test.md
- Add anti-patterns section (impl details, complex setup, one assertion)

Companion docs (mantra/context/):
- Add discuss-vs-build decision tree with concrete examples
- Add "what is simple" definition with complexity justification
- Add CHANGED comment example for bug fixes
- Add full FIRST principles elaboration
- Add anti-patterns section with explanations
- Mark status complete
- Add PR #109 link
@dpuglielli dpuglielli merged commit afd2dae into main Dec 26, 2025
2 checks passed
@dpuglielli dpuglielli deleted the chore/enhance-context-companions branch December 26, 2025 17:42
dpuglielli added a commit that referenced this pull request Jan 17, 2026
* chore - enhance context rules with patterns from portal-D365

Compact rules (mantra/rules/):
- Add speculation clarification (DO during assessment, DONT during implementation)
- Add simple-means definition (fewer abstractions, direct, explicit, readable)
- Add FIRST principles section to test.md
- Add anti-patterns section (impl details, complex setup, one assertion)

Companion docs (mantra/context/):
- Add discuss-vs-build decision tree with concrete examples
- Add "what is simple" definition with complexity justification
- Add CHANGED comment example for bug fixes
- Add full FIRST principles elaboration
- Add anti-patterns section with explanations

* chore - update session with PR link

- Mark status complete
- Add PR #109 link
@dpuglielli dpuglielli changed the title chore - enhance context rules with patterns from portal-D365 chore - enhance context rules with patterns from client-backend Jan 17, 2026
dpuglielli added a commit that referenced this pull request Jan 18, 2026
* chore - enhance context rules with patterns from client-backend

Compact rules (mantra/rules/):
- Add speculation clarification (DO during assessment, DONT during implementation)
- Add simple-means definition (fewer abstractions, direct, explicit, readable)
- Add FIRST principles section to test.md
- Add anti-patterns section (impl details, complex setup, one assertion)

Companion docs (mantra/context/):
- Add discuss-vs-build decision tree with concrete examples
- Add "what is simple" definition with complexity justification
- Add CHANGED comment example for bug fixes
- Add full FIRST principles elaboration
- Add anti-patterns section with explanations

* chore - update session with PR link

- Mark status complete
- Add PR #109 link
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