Skip to content

Commit 5dd52a5

Browse files
committed
chore: standardize planning-docs internal path and canonical checks
1 parent b92ddad commit 5dd52a5

4 files changed

Lines changed: 17 additions & 5 deletions

File tree

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ planning-docs/.cache/
4747

4848
# Internal docs / AI planning / prompt artifacts (do not publish)
4949
planning-docs/
50-
docs/planning/
51-
docs/internal/
5250
CLAUDE-CODE-INSTRUCTIONS*.md
5351
SPEC-*.md
5452
.claude/

docs/ecosystem/AUTONOMIC_OPS_USER_IMPACT_WALKTHROUGH.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ Scope: AgenticMemory, AgenticVision, AgenticCodebase
55
Objective: Keep daily operation hands-off so users do not manually manage lifecycle tasks.
66
Canonical references:
77
- `CANONICAL_ECOSYSTEM_INDEPENDENCE_CONTRACT.md`
8-
- `/Users/omoshola/Documents/agentralabs-tech/agentic-codebase/docs/ecosystem/CANONICAL_ECOSYSTEM_INDEPENDENCE_CONTRACT.md`
9-
- `/Users/omoshola/Documents/agentralabs-tech/agentic-codebase/ECOSYSTEM-CONVENTIONS.md` (Section 28)
8+
- `CANONICAL_SISTER_KIT.md`
109

1110
## 1) What Is Implemented Now (Phase 4)
1211

docs/ecosystem/CANONICAL_ECOSYSTEM_INDEPENDENCE_CONTRACT.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ requiring the others.
1616
This independence contract is one part of the broader canonical sister standard.
1717
For all current and future sisters, the full operational baseline lives in:
1818

19-
- `docs/internal/CANONICAL_SISTER_KIT.md`
2019
- `docs/ecosystem/CANONICAL_SISTER_KIT.md`
2120

2221
That file defines the cross-repo requirements for:

scripts/check-canonical-sister.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ assert_contains() {
2626
find_fixed "$pattern" "$@" >/dev/null || fail "Missing required pattern: ${pattern}"
2727
}
2828

29+
assert_not_tracked() {
30+
local path="$1"
31+
if git ls-files --error-unmatch "$path" >/dev/null 2>&1; then
32+
fail "Internal-only file must not be tracked: $path"
33+
fi
34+
}
35+
36+
assert_no_tracked_prefix() {
37+
local pattern="$1"
38+
if [ -n "$(git ls-files "$pattern")" ]; then
39+
fail "Internal-only path must not be tracked: $pattern"
40+
fi
41+
}
42+
2943
assert_image_spacing() {
3044
local min_gap=10
3145
local prev=0
@@ -43,6 +57,8 @@ assert_file "docs/ecosystem/CANONICAL_SISTER_KIT.md"
4357
assert_file "templates/sister-bootstrap/README.template.md"
4458
assert_file "scripts/install.sh"
4559
assert_file "scripts/check-install-commands.sh"
60+
assert_not_tracked "ECOSYSTEM-CONVENTIONS.md"
61+
assert_no_tracked_prefix "docs/internal/*"
4662

4763
assert_contains '## 1. Release Artifact Contract' docs/ecosystem/CANONICAL_SISTER_KIT.md
4864
assert_contains '## 2. Install Contract Spec' docs/ecosystem/CANONICAL_SISTER_KIT.md

0 commit comments

Comments
 (0)