durable-context 1.0.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/LICENSE +21 -0
- package/README.md +24 -0
- package/bin/durable-context.js +62 -0
- package/lib/installer.js +553 -0
- package/package.json +31 -0
- package/template/.agents/skills/README.md +6 -0
- package/template/.agents/skills/dive-into-plan/SKILL.md +27 -0
- package/template/.agents/skills/plan-with-context/SKILL.md +27 -0
- package/template/AGENTS.md +17 -0
- package/template/context/README.md +24 -0
- package/template/context/_templates/initiative/README.md +29 -0
- package/template/context/_templates/initiative/architecture.md +44 -0
- package/template/context/_templates/initiative/backlog.md +23 -0
- package/template/context/_templates/initiative/brief.html +56 -0
- package/template/context/_templates/initiative/decisions/ADR-0000-template.md +34 -0
- package/template/context/_templates/initiative/delivery.md +45 -0
- package/template/context/_templates/initiative/infrastructure.md +41 -0
- package/template/context/_templates/initiative/interface.md +41 -0
- package/template/context/_templates/initiative/operations.md +47 -0
- package/template/context/_templates/initiative/plan.md +23 -0
- package/template/context/_templates/initiative/release-doc-notes.md +34 -0
- package/template/context/_templates/initiative/spec.md +35 -0
- package/template/context/_templates/initiative/testing.md +45 -0
- package/template/context/initiatives/.gitkeep +0 -0
- package/template/context/project-profile.md +67 -0
- package/template/decisions/0000-template.md +38 -0
- package/template/decisions/README.md +38 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# NNNN: Decision Title
|
|
2
|
+
|
|
3
|
+
Status: Proposed
|
|
4
|
+
Date: YYYY-MM-DD
|
|
5
|
+
|
|
6
|
+
## Context
|
|
7
|
+
|
|
8
|
+
Describe the problem, constraints, forces, and options that make this
|
|
9
|
+
decision necessary.
|
|
10
|
+
|
|
11
|
+
## Decision
|
|
12
|
+
|
|
13
|
+
State the decision clearly.
|
|
14
|
+
|
|
15
|
+
## Consequences
|
|
16
|
+
|
|
17
|
+
Positive:
|
|
18
|
+
|
|
19
|
+
- Consequence 1
|
|
20
|
+
|
|
21
|
+
Negative or tradeoffs:
|
|
22
|
+
|
|
23
|
+
- Tradeoff 1
|
|
24
|
+
|
|
25
|
+
## Alternatives Considered
|
|
26
|
+
|
|
27
|
+
| Alternative | Why not |
|
|
28
|
+
| --- | --- |
|
|
29
|
+
| TBD | TBD |
|
|
30
|
+
|
|
31
|
+
## Origin
|
|
32
|
+
|
|
33
|
+
- Initiative: `context/initiatives/<slug>/`
|
|
34
|
+
- Release tag, PR, or commit: TBD
|
|
35
|
+
|
|
36
|
+
## Links
|
|
37
|
+
|
|
38
|
+
- Related specs, decisions, tickets, discussions, or code paths.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Decisions
|
|
2
|
+
|
|
3
|
+
This is the durable, append-only decision log for PROJECT_NAME.
|
|
4
|
+
|
|
5
|
+
Working context under [`context/`](../context/) is a disposable bench and will
|
|
6
|
+
be archived over time. Architecture and design decisions must outlive it, so
|
|
7
|
+
accepted decisions are promoted here where they stay findable.
|
|
8
|
+
|
|
9
|
+
## How It Works
|
|
10
|
+
|
|
11
|
+
- One file per decision: `NNNN-short-title.md`, numbered in order.
|
|
12
|
+
- Decisions are append-only. Do not rewrite history. When a decision changes,
|
|
13
|
+
add a new decision and mark the old one `Superseded by NNNN`.
|
|
14
|
+
- Each decision records its status, date, context, the decision, consequences,
|
|
15
|
+
alternatives, and backlinks to where it was made.
|
|
16
|
+
- Copy [`0000-template.md`](0000-template.md) to start a new entry.
|
|
17
|
+
|
|
18
|
+
## Statuses
|
|
19
|
+
|
|
20
|
+
- `Proposed` - drafted, not yet accepted.
|
|
21
|
+
- `Accepted` - in force.
|
|
22
|
+
- `Superseded` - replaced by a later decision; kept for history.
|
|
23
|
+
- `Deprecated` - no longer applies, with no direct replacement.
|
|
24
|
+
|
|
25
|
+
To see what is currently in force, read the entries with status `Accepted`.
|
|
26
|
+
|
|
27
|
+
## Promotion From Initiatives
|
|
28
|
+
|
|
29
|
+
The `dive-into-plan` skill promotes accepted decisions out of an
|
|
30
|
+
initiative's scratch `context/initiatives/<slug>/decisions/` folder into this
|
|
31
|
+
log, assigns the next number, and links back to the originating initiative and
|
|
32
|
+
to the release tag, PR, or commit where the decision was made.
|
|
33
|
+
|
|
34
|
+
## Index
|
|
35
|
+
|
|
36
|
+
| Number | Title | Status | Date |
|
|
37
|
+
| --- | --- | --- | --- |
|
|
38
|
+
| 0000 | (template) | - | - |
|