mnemonica 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/.ai/AGENTS.md +31 -18
  2. package/.ai/DEBUG.md +7 -8
  3. package/.ai/ONBOARDING.md +23 -6
  4. package/.ai/PROTOTYPE-CHAIN.md +21 -0
  5. package/.ai/{ask/AGENTS.md → mode-ask.md} +1 -1
  6. package/.ai/{orchestrator/AGENTS.md → mode-orchestrator.md} +2 -19
  7. package/{docs → .ai}/performance-vs-security.md +1 -1
  8. package/.ai/{rules-skill/async-constructors.md → rules-async-constructors.md} +66 -0
  9. package/.ai/{rules/CODING.md → rules-coding.md} +19 -2
  10. package/.ai/{rules/CONTEXT-CONDENSING.md → rules-context-condensing.md} +2 -2
  11. package/.ai/{rules-skill/contributing.md → rules-contributing.md} +35 -0
  12. package/.ai/{rules-skill/instance-methods.md → rules-instance-methods.md} +1 -1
  13. package/.ai/rules-reminders.md +19 -0
  14. package/.ai/{rules-skill/type-system.md → rules-type-system.md} +1 -1
  15. package/{docs → .ai}/theory-of-operations.md +4 -4
  16. package/AGENTS.md +62 -31
  17. package/FOR_HUMANS.md +20 -72
  18. package/README.md +23 -21
  19. package/SKILL.md +20 -20
  20. package/build/api/types/index.js +8 -3
  21. package/build/index.d.ts +9 -2
  22. package/build/index.js +17 -5
  23. package/build/types/index.d.ts +2 -0
  24. package/build/types/index.js +1 -1
  25. package/docs/ai-learning-trajectory.md +2 -3
  26. package/docs/decorate.md +123 -0
  27. package/docs/hott-primer.md +1 -1
  28. package/docs/purpose.md +3 -3
  29. package/{.ai/TACTICA-DEEP-DIVE.md → docs/tactica-deep-dive.md} +44 -1
  30. package/docs/tactica-pattern.md +1 -2
  31. package/docs/typed-lookup.md +170 -54
  32. package/package.json +1 -1
  33. package/src/api/types/index.ts +14 -4
  34. package/src/index.ts +84 -7
  35. package/src/types/index.ts +15 -0
  36. package/.ai/CODE.md +0 -111
  37. package/.ai/TACTICA-RULES.md +0 -103
  38. package/.ai/async_init.md +0 -94
  39. package/.ai/rules/REMINDERS.md +0 -63
  40. package/.ai/rules-skill/lookup-typed.md +0 -82
  41. package/.ai/rules-skill/proxy-architecture.md +0 -63
  42. package/.ai/task-templates/new-feature.md +0 -46
  43. /package/.ai/{rules-skill/code-style.md → rules-code-style.md} +0 -0
  44. /package/.ai/{rules-skill/define-patterns.md → rules-define-patterns.md} +0 -0
  45. /package/.ai/{rules-skill/ecosystem.md → rules-ecosystem.md} +0 -0
  46. /package/.ai/{rules-skill/error-system.md → rules-error-system.md} +0 -0
  47. /package/.ai/{rules-skill/hooks.md → rules-hooks.md} +0 -0
  48. /package/.ai/{rules-skill/philosophy.md → rules-philosophy.md} +0 -0
  49. /package/.ai/{rules-skill/testing.md → rules-testing.md} +0 -0
@@ -1,46 +0,0 @@
1
- # Task Template: New Feature Implementation
2
-
3
- ## Pre-Flight Checklist
4
-
5
- - [ ] Read AGENTS.md section "CRITICAL: Type vs Interface vs Instance" (lines 244-279)
6
- - [ ] Read AGENTS.md section "Build & Test Commands" (lines 102-116)
7
- - [ ] Check existing code patterns in the target directory
8
- - [ ] Run `npm run build` to ensure clean baseline (core/ directory)
9
-
10
- ## Implementation Steps
11
-
12
- 1. **Design Phase**
13
- - [ ] Define types (use `type` for instances, `interface` for constructors/contracts)
14
- - [ ] Check REMINDERS.md in `.ai/rules/`
15
-
16
- 2. **Coding Phase**
17
- - [ ] Follow indentation: TABS ONLY (width 4)
18
- - [ ] Function spacing: `function myFunc () { }`
19
- - [ ] Key spacing: `{ key: value }`
20
-
21
- 3. **Testing Phase**
22
- - [ ] Run `npm run test:cov` (validates build + 100% coverage)
23
- - [ ] Verify no ESLint warnings
24
- - [ ] Read and analyse full content of edited file as if it would be code-review
25
-
26
- 4. **Completion**
27
- - [ ] Update TODO list
28
- - [ ] Run final build
29
- - [ ] Use attempt_completion tool
30
-
31
- ## Context Condensing Protocol
32
-
33
- **CRITICAL:** If you notice yourself forgetting established patterns:
34
-
35
- → **READ** `.ai/rules/CONTEXT-CONDENSING.md` immediately
36
-
37
- ## Quick References
38
-
39
- | Check | Location |
40
- |-------|----------|
41
- | Type vs Interface | AGENTS.md |
42
- | Build commands | AGENTS.md |
43
- | Code style | AGENTS.md |
44
- | Error handling | AGENTS.md |
45
- | Lessons Learned | AGENTS.md |
46
- | Context condensing | CONTEXT-CONDENSING.md |
File without changes