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.
- package/.ai/AGENTS.md +31 -18
- package/.ai/DEBUG.md +7 -8
- package/.ai/ONBOARDING.md +23 -6
- package/.ai/PROTOTYPE-CHAIN.md +21 -0
- package/.ai/{ask/AGENTS.md → mode-ask.md} +1 -1
- package/.ai/{orchestrator/AGENTS.md → mode-orchestrator.md} +2 -19
- package/{docs → .ai}/performance-vs-security.md +1 -1
- package/.ai/{rules-skill/async-constructors.md → rules-async-constructors.md} +66 -0
- package/.ai/{rules/CODING.md → rules-coding.md} +19 -2
- package/.ai/{rules/CONTEXT-CONDENSING.md → rules-context-condensing.md} +2 -2
- package/.ai/{rules-skill/contributing.md → rules-contributing.md} +35 -0
- package/.ai/{rules-skill/instance-methods.md → rules-instance-methods.md} +1 -1
- package/.ai/rules-reminders.md +19 -0
- package/.ai/{rules-skill/type-system.md → rules-type-system.md} +1 -1
- package/{docs → .ai}/theory-of-operations.md +4 -4
- package/AGENTS.md +62 -31
- package/FOR_HUMANS.md +20 -72
- package/README.md +23 -21
- package/SKILL.md +20 -20
- package/build/api/types/index.js +8 -3
- package/build/index.d.ts +9 -2
- package/build/index.js +17 -5
- package/build/types/index.d.ts +2 -0
- package/build/types/index.js +1 -1
- package/docs/ai-learning-trajectory.md +2 -3
- package/docs/decorate.md +123 -0
- package/docs/hott-primer.md +1 -1
- package/docs/purpose.md +3 -3
- package/{.ai/TACTICA-DEEP-DIVE.md → docs/tactica-deep-dive.md} +44 -1
- package/docs/tactica-pattern.md +1 -2
- package/docs/typed-lookup.md +170 -54
- package/package.json +1 -1
- package/src/api/types/index.ts +14 -4
- package/src/index.ts +84 -7
- package/src/types/index.ts +15 -0
- package/.ai/CODE.md +0 -111
- package/.ai/TACTICA-RULES.md +0 -103
- package/.ai/async_init.md +0 -94
- package/.ai/rules/REMINDERS.md +0 -63
- package/.ai/rules-skill/lookup-typed.md +0 -82
- package/.ai/rules-skill/proxy-architecture.md +0 -63
- package/.ai/task-templates/new-feature.md +0 -46
- /package/.ai/{rules-skill/code-style.md → rules-code-style.md} +0 -0
- /package/.ai/{rules-skill/define-patterns.md → rules-define-patterns.md} +0 -0
- /package/.ai/{rules-skill/ecosystem.md → rules-ecosystem.md} +0 -0
- /package/.ai/{rules-skill/error-system.md → rules-error-system.md} +0 -0
- /package/.ai/{rules-skill/hooks.md → rules-hooks.md} +0 -0
- /package/.ai/{rules-skill/philosophy.md → rules-philosophy.md} +0 -0
- /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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|