@suwujs/codex-vault 0.1.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 (48) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +174 -0
  3. package/README.zh-CN.md +155 -0
  4. package/bin/cli.js +90 -0
  5. package/package.json +29 -0
  6. package/plugin/VERSION +1 -0
  7. package/plugin/hooks/classify-message.py +240 -0
  8. package/plugin/hooks/session-start.sh +176 -0
  9. package/plugin/hooks/validate-write.py +113 -0
  10. package/plugin/install.sh +350 -0
  11. package/plugin/instructions.md +118 -0
  12. package/plugin/skills/dump.md +29 -0
  13. package/plugin/skills/ingest.md +63 -0
  14. package/plugin/skills/recall.md +54 -0
  15. package/plugin/skills/wrap-up.md +35 -0
  16. package/vault/.claude/settings.json +39 -0
  17. package/vault/.claude/skills/dump/SKILL.md +29 -0
  18. package/vault/.claude/skills/ingest/SKILL.md +63 -0
  19. package/vault/.claude/skills/recall/SKILL.md +54 -0
  20. package/vault/.claude/skills/wrap-up/SKILL.md +35 -0
  21. package/vault/.codex/config.toml +2 -0
  22. package/vault/.codex/hooks.json +39 -0
  23. package/vault/.codex/skills/dump/SKILL.md +29 -0
  24. package/vault/.codex/skills/ingest/SKILL.md +63 -0
  25. package/vault/.codex/skills/recall/SKILL.md +54 -0
  26. package/vault/.codex/skills/wrap-up/SKILL.md +35 -0
  27. package/vault/.codex-vault/hooks/classify-message.py +240 -0
  28. package/vault/.codex-vault/hooks/session-start.sh +176 -0
  29. package/vault/.codex-vault/hooks/validate-write.py +113 -0
  30. package/vault/AGENTS.md +118 -0
  31. package/vault/CLAUDE.md +118 -0
  32. package/vault/Home.md +21 -0
  33. package/vault/brain/Key Decisions.md +11 -0
  34. package/vault/brain/Memories.md +19 -0
  35. package/vault/brain/North Star.md +29 -0
  36. package/vault/brain/Patterns.md +11 -0
  37. package/vault/log.md +15 -0
  38. package/vault/reference/.gitkeep +0 -0
  39. package/vault/sources/.gitkeep +0 -0
  40. package/vault/sources/README.md +19 -0
  41. package/vault/templates/Decision Record.md +29 -0
  42. package/vault/templates/Reference Note.md +25 -0
  43. package/vault/templates/Source Summary.md +25 -0
  44. package/vault/templates/Thinking Note.md +26 -0
  45. package/vault/templates/Work Note.md +25 -0
  46. package/vault/work/Index.md +35 -0
  47. package/vault/work/active/.gitkeep +0 -0
  48. package/vault/work/archive/.gitkeep +0 -0
@@ -0,0 +1,29 @@
1
+ ---
2
+ date: "{{date}}"
3
+ description: "{{description}}"
4
+ status: proposed
5
+ tags:
6
+ - decision
7
+ ---
8
+
9
+ # {{title}}
10
+
11
+ ## Context
12
+
13
+ _What is the situation? What forces are at play?_
14
+
15
+ ## Decision
16
+
17
+ _What was decided?_
18
+
19
+ ## Alternatives Considered
20
+
21
+ - _What else was considered and why it was rejected?_
22
+
23
+ ## Consequences
24
+
25
+ _What are the implications of this decision?_
26
+
27
+ ## Related
28
+
29
+ - _[[wikilinks]] to related work notes_
@@ -0,0 +1,25 @@
1
+ ---
2
+ date: "{{date}}"
3
+ description: "{{description}}"
4
+ source: "query"
5
+ tags:
6
+ - reference
7
+ ---
8
+
9
+ # {{title}}
10
+
11
+ ## Question
12
+
13
+ _The original question that prompted this answer._
14
+
15
+ ## Answer
16
+
17
+ _The synthesized answer._
18
+
19
+ ## Sources
20
+
21
+ - _[[wikilinks]] to vault notes used in the answer_
22
+
23
+ ## Related
24
+
25
+ - _[[wikilinks]] to related notes_
@@ -0,0 +1,25 @@
1
+ ---
2
+ date: "{{date}}"
3
+ description: "{{description}}"
4
+ source: "{{source_url_or_filename}}"
5
+ tags:
6
+ - source-summary
7
+ ---
8
+
9
+ # {{title}}
10
+
11
+ ## Key Takeaways
12
+
13
+ - _Top insights from this source_
14
+
15
+ ## Summary
16
+
17
+ _Concise summary of the source material in your own words._
18
+
19
+ ## Connections
20
+
21
+ - _[[wikilinks]] to related vault notes — existing work, decisions, patterns_
22
+
23
+ ## Quotes / Data Points
24
+
25
+ - _Notable quotes, statistics, or data worth preserving_
@@ -0,0 +1,26 @@
1
+ ---
2
+ date: "{{date}}"
3
+ description: "{{description}}"
4
+ tags:
5
+ - thinking
6
+ ---
7
+
8
+ # {{title}}
9
+
10
+ _Scratchpad. Promote findings to proper notes when done, then delete this file._
11
+
12
+ ## Question
13
+
14
+ _What am I trying to figure out?_
15
+
16
+ ## Analysis
17
+
18
+ -
19
+
20
+ ## Conclusion
21
+
22
+ -
23
+
24
+ ## Promoted To
25
+
26
+ - _[[links]] to notes created from this thinking_
@@ -0,0 +1,25 @@
1
+ ---
2
+ date: "{{date}}"
3
+ description: "{{description}}"
4
+ status: active
5
+ tags:
6
+ - work-note
7
+ ---
8
+
9
+ # {{title}}
10
+
11
+ ## Context
12
+
13
+ _What is this about? Why does it matter?_
14
+
15
+ ## What / Why
16
+
17
+ _What was done or decided? Why this approach?_
18
+
19
+ ## Links
20
+
21
+ - _External links: PRs, tickets, docs_
22
+
23
+ ## Related
24
+
25
+ - _[[wikilinks]] to related notes, people, decisions_
@@ -0,0 +1,35 @@
1
+ ---
2
+ description: "Central map of all work notes — active projects, completed work, decisions log"
3
+ tags:
4
+ - index
5
+ ---
6
+
7
+ # Work Notes
8
+
9
+ All work notes and decisions link back here.
10
+
11
+ **Folders**: `active/` = current projects, `archive/` = completed.
12
+
13
+ ## Active Projects
14
+
15
+ -
16
+
17
+ ## Recently Completed
18
+
19
+ -
20
+
21
+ ## Decisions Log
22
+
23
+ | Date | Decision | Status | Link |
24
+ |------|----------|--------|------|
25
+ | | | | |
26
+
27
+ ## Reference
28
+
29
+ _Saved answers and analyses from query writeback._
30
+
31
+ -
32
+
33
+ ## Open Questions
34
+
35
+ -
File without changes
File without changes