Skip to content

Commit 16cb599

Browse files
authored
Merge pull request #67 from ReScienceLab/release/v1.1.0
chore(release): v1.0.11 - archive 1.1.0 plugin support
2 parents 5091549 + d9d421e commit 16cb599

5 files changed

Lines changed: 56 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Each skill maintains its own independent version. Use this matrix to understand
2020
| **twitter** | 1.0.0 | - | - |
2121
| **producthunt** | 1.0.0 | - | - |
2222
| **seo-geo** | 1.0.0 | twitter, reddit | twitter ≥1.0.0, reddit ≥1.0.0 |
23-
| **archive** | 1.0.1 | - | - |
23+
| **archive** | 1.1.0 | - | - |
2424

2525
**Key Points:**
2626
- Each skill has an independent version number (MAJOR.MINOR.PATCH)
@@ -32,11 +32,16 @@ Each skill maintains its own independent version. Use this matrix to understand
3232

3333
## [Unreleased]
3434

35-
### archive
36-
- (no changes)
37-
3835
## Released Versions
3936

37+
## [1.0.11] - 2026-03-13
38+
39+
### archive
40+
#### [1.1.0] - 2026-03-13
41+
- **Added**: Claude Code / Droid plugin support (`.factory-plugin/plugin.json`)
42+
- **Added**: `hooks/hooks.json``SessionStart` hook auto-loads `.archive/MEMORY.md` into session context when plugin is installed, enabling cross-session knowledge reuse without manual configuration
43+
- **Added**: `hooks/load-memory.py` — supports `FACTORY_PROJECT_DIR`, `CLAUDE_PROJECT_DIR`, and `cwd()` fallback for cross-platform compatibility
44+
4045
## [1.0.10] - 2026-02-23
4146

4247
### archive

skills.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.10",
2+
"version": "1.0.11",
33
"name": "OPC Skills",
44
"description": "Agent Skills for One Person Companies",
55
"repository": "https://github.com/ReScienceLab/opc-skills",
@@ -493,7 +493,7 @@
493493
},
494494
{
495495
"name": "archive",
496-
"version": "1.0.1",
496+
"version": "1.1.0",
497497
"description": "Archive session learnings, debugging solutions, and deployment logs to .archive/yyyy-mm-dd/ as indexed markdown with searchable tags. Use when completing a significant task, resolving a tricky bug, deploying, or when the user says \"archive this\". Maintains .archive/MEMORY.md index for cross-session knowledge reuse.",
498498
"logo": "https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/skill-logos/archive.svg",
499499
"icon": "archive",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "archive",
3+
"description": "Archive session learnings, debugging solutions, and deployment logs. Auto-loads .archive/MEMORY.md at session start for cross-session knowledge reuse.",
4+
"version": "1.1.0"
5+
}

skills/archive/hooks/hooks.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"description": "Load .archive/MEMORY.md into session context at startup for cross-session knowledge reuse",
3+
"hooks": {
4+
"SessionStart": [
5+
{
6+
"hooks": [
7+
{
8+
"type": "command",
9+
"command": "python3 \"${CLAUDE_PLUGIN_ROOT:-${DROID_PLUGIN_ROOT}}/hooks/load-memory.py\""
10+
}
11+
]
12+
}
13+
]
14+
}
15+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env python3
2+
import json
3+
import os
4+
import sys
5+
6+
project_dir = (
7+
os.environ.get("FACTORY_PROJECT_DIR")
8+
or os.environ.get("CLAUDE_PROJECT_DIR")
9+
or os.getcwd()
10+
)
11+
memory_file = os.path.join(project_dir, ".archive", "MEMORY.md")
12+
13+
if os.path.exists(memory_file):
14+
with open(memory_file, "r", encoding="utf-8") as f:
15+
content = f.read()
16+
17+
output = {
18+
"hookSpecificOutput": {
19+
"hookEventName": "SessionStart",
20+
"additionalContext": f"## Archived Project Knowledge (.archive/MEMORY.md)\n\n{content}",
21+
}
22+
}
23+
print(json.dumps(output))
24+
25+
sys.exit(0)

0 commit comments

Comments
 (0)