You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude-plugin/marketplace.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
"repo": "MSiccDev/ai-context-kit"
13
13
},
14
14
"description": "Context-aware AI collaboration skills for creating and validating user context, project AGENTS.md files, and skill artifacts across LLM providers.",
"description": "Context-aware AI collaboration skills for creating and validating user context, project AGENTS.md files, and skill artifacts across LLM providers.",
2.**Templates (canonical structures):**`templates/*.instructions.md` and `templates/skill_template/SKILL.md`
16
16
3.**Skills (canonical operational workflows):**`skills/*/SKILL.md` and skill-local references
17
17
4.**Prompts (compatibility wrappers):**`prompts/*.prompt.md` (must defer detailed logic to skills)
@@ -47,6 +47,17 @@ Active session state includes:
47
47
- No silent transitions: do not change project, role, phase, output style, tone, or interaction mode without explicit user signal.
48
48
- If a task implies a context shift, ask for confirmation before switching.
49
49
50
+
### Cross-Session Persistence (spec section 4.4)
51
+
- When the user signals session end or explicitly requests one, propose creating a checkpoint artifact using the `create-checkpoint` skill.
52
+
- Never create a checkpoint silently. User approval is required before writing.
53
+
- When a checkpoint artifact is provided at session start, apply the `restore-checkpoint` skill to restore state and surface any conflicts with active instruction files before proceeding.
54
+
55
+
### Context Compression (spec section 4.5)
56
+
- When context window saturation is evident, propose compression explicitly — describe what will be retained and what will be dropped before asking for confirmation.
57
+
- Never apply compression silently. The user must confirm before any context is dropped.
58
+
- Before applying compression, offer to export the current state to a checkpoint file using the `create-checkpoint` skill.
59
+
- After compression, do not imply that dropped context is recoverable.
60
+
50
61
### Ambiguity Rule
51
62
- If assumptions, state, or intent are ambiguous, ask clarifying questions before acting.
52
63
@@ -104,7 +115,7 @@ Alias policy:
104
115
- Validation: skill-based validation workflows and reports
105
116
106
117
### Current Objectives
107
-
- Keep templates and skills aligned with spec `v1.4.1`.
118
+
- Keep templates and skills aligned with spec `v1.4.2`.
108
119
- Maintain the AGENTS-first project-context model.
109
120
- Preserve deterministic behavior and path stability.
110
121
- Reduce duplication and migration noise.
@@ -185,7 +196,7 @@ When `specs/context_aware_ai_session_spec.md` changes, audit and update all impa
Copy file name to clipboardExpand all lines: CHANGELOG.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,33 @@ When a new version is released:
15
15
16
16
---
17
17
18
+
## [1.4.2] - 2026-05-12
19
+
20
+
### Added
21
+
-**`create-checkpoint` skill** — guided workflow to capture session state as a checkpoint artifact per spec section 4.4, with schema reference and `agents/openai.yaml` sidecar
22
+
-**`restore-checkpoint` skill** — guided workflow to load, validate, and restore a checkpoint artifact at session start per spec section 4.4 restore rules, with conflict resolution reference and `agents/openai.yaml` sidecar
23
+
-**`checkpoint: true` required field** — added to spec section 4.4.2 schema so checkpoint files are self-identifying; restore validation is now fully spec-backed
24
+
- AGENTS.md now references sections 4.4 (Cross-Session Persistence) and 4.5 (Context Compression) with explicit behavioral instructions for both
25
+
- Prompts and Codex symlinks added for both new skills
26
+
-`SKILL.validation.md` added to `create-checkpoint/` and `restore-checkpoint/` skill folders
27
+
28
+
### Safe to update from template
29
+
-`skills/create-checkpoint/` (new)
30
+
-`skills/restore-checkpoint/` (new)
31
+
-`.agents/skills/` (two new symlinks)
32
+
-`prompts/` (two new prompt files)
33
+
-`specs/context_aware_ai_session_spec.md`
34
+
-`AGENTS.md`
35
+
-`README.md`
36
+
-`CHANGELOG.md`
37
+
38
+
### Protect (never overwrite)
39
+
- Your personal `*_usercontext.instructions.md`
40
+
- Your project `AGENTS.md`
41
+
- Any custom skills or checkpoint files you have created
42
+
43
+
---
44
+
18
45
## [1.4.1] - 2026-05-11
19
46
-**Claude Code plugin** — `.claude-plugin/plugin.json` manifest makes the repo installable as a native Claude Code plugin; skills are auto-discovered from `skills/`
20
47
-**GitHub Copilot CLI plugin** — `.claude-plugin/marketplace.json` turns the repo into a self-hosted marketplace, enabling `copilot plugin marketplace add MSiccDev/ai-context-kit` install flow (Claude Code and Copilot CLI share the same plugin spec)
-`docs/spec-rationale.md`: new "Cross-Session Persistence and Context Compression" section with example checkpoint file, conflict resolution dialog, and annotated compression proposal dialog
- Composition wrappers for instruction/skill workflows
250
252
-`specs/context_aware_ai_session_spec.md`
251
-
- Authoritative specification (v1.4.1+)
253
+
- Authoritative specification (v1.4.2+)
252
254
- Root `README.md`
253
255
- Human-facing entry point and workflow documentation
254
256
@@ -352,6 +354,8 @@ Skills are namespaced to the plugin name. Inside a session:
352
354
|`validate-project-instructions`| Validate a project-context `AGENTS.md` with scored report |
353
355
|`validate-skill`| Validate a `SKILL.md` artifact with scored report |
354
356
|`repository-drift-control`| Check and enforce consistency across spec, templates, and docs |
357
+
|`create-checkpoint`| Capture session state as a checkpoint artifact (spec section 4.4) |
358
+
|`restore-checkpoint`| Restore session state from a checkpoint artifact (spec section 4.4) |
355
359
356
360
### Update
357
361
@@ -452,7 +456,7 @@ Each project `AGENTS.md` should define:
452
456
- **Languages:** LLMs work best when instructions are in English, but you can include multilingual content in user context if needed (just be aware of potential comprehension issues)
453
457
- **Versioning:** Update user context when skills/preferences evolve; update project `AGENTS.md` when phases/objectives change. Ideally, these should live in the same repository as your codebase once they are created.
454
458
- **Discoverability:** Semantic file extensions help AI tools identify and load the appropriate instructions automatically
455
-
- **Canonical structure:** The templates in`/templates` define the only supported artifact structures for spec v1.4.1
459
+
- **Canonical structure:** The templates in`/templates` define the only supported artifact structures for spec v1.4.2
Copy file name to clipboardExpand all lines: docs/spec-rationale.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
2
context_type: rationale
3
3
document_type: companion_document
4
-
spec_version: 1.4.1
4
+
spec_version: 1.4.2
5
5
created: 2025-10-20
6
6
last_updated: 2026-05-09
7
7
status: active
8
8
---
9
9
10
-
# Spec Rationale & Extended Reference (v1.4.1)
10
+
# Spec Rationale & Extended Reference (v1.4.2)
11
11
12
12
This document is the companion to [`specs/context_aware_ai_session_spec.md`](../specs/context_aware_ai_session_spec.md). It contains the background reasoning, extended examples, project profile illustrations, end-to-end scenarios, and future enhancement notes that were removed from the normative spec to keep it readable.
13
13
@@ -180,7 +180,7 @@ Assistant:
180
180
181
181
## Cross-Session Persistence and Context Compression
182
182
183
-
These features are defined normatively in §4.4 and §4.5 of the spec. This section provides examples and rationale.
183
+
These features are defined normatively in sections 4.4 and 4.5 of the spec. This section provides examples and rationale.
Load `skills/create-checkpoint/SKILL.md` and apply the create-checkpoint workflow to capture the current session state as a checkpoint artifact per spec section 4.4.
0 commit comments