Skip to content

Commit 9b5b46c

Browse files
Separate pinned canon from stack research
Move imported canonical repository trees to libs/, establish BASE-bound research workspaces, update EPAC's UCNS path, and align stack provenance/usage documentation.
1 parent 3a92c7b commit 9b5b46c

690 files changed

Lines changed: 1212 additions & 1020 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 80 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,66 +2,106 @@
22

33
"This is how it comes together."
44

5-
`The-Interdependency/stack` is the consolidated, provenance-bearing aggregation of the
6-
organization's core repositories. It is an integration surface, not a source of truth:
7-
each `research/` snapshot is pinned to an exact source commit, and canonical edits still
8-
happen in the individual repositories.
5+
`The-Interdependency/stack` is the organization's composition forge. Pinned views of
6+
canonical repositories are brought together here so stack-local research can test
7+
relations among them and, when warranted, form new projects such as EPAC and AHBG.
8+
9+
Canonical authority does **not** transfer into stack when a repository is imported.
10+
For repositories with an independent authority:
11+
12+
- `libs/<repo>/` is the read-only, manifest-pinned canonical repository view.
13+
- `research/<repo>/` is stack-local current research against that pinned base.
14+
- accepted changes to an existing project route back to its owning repository;
15+
- a genuinely new composed project remains stack-local until it earns an independent
16+
repository and release lifecycle.
917

1018
## Layout
1119

1220
```text
1321
stack/
14-
├── skill-lib/ # full snapshot of The-Interdependency/skill-lib
15-
├── research/
16-
│ ├── metapat/ # full snapshot — semantic authority (Meta Energy Theory)
17-
│ ├── ucns/ # full snapshot — geometry and mathematical representation
18-
│ ├── edcm/ # full snapshot — measurement and text-gonol construction
19-
│ ├── epac/ # placeholder — energy particle affixiation coupling (no source yet)
20-
│ ├── pcea/ # full snapshot — prime circle encryption algorithm
21-
│ └── ptcna/ # full snapshot — prime tensor circled neural architecture
22-
├── libs/ # empty scaffolds reserved for consolidated library surfaces
23-
│ ├── skill-lib/
22+
├── skill-lib/ # operational pinned snapshot of org build/evidence doctrine
23+
├── libs/ # manifest-pinned canonical repository views; do not edit
2424
│ ├── metapat/
2525
│ ├── ucns/
2626
│ ├── edcm/
27-
│ ├── epac/
2827
│ ├── pcea/
29-
│ └── ptcna/
30-
├── backend/ # empty scaffold
28+
│ ├── ptcna/
29+
│ ├── epac/ # canon slot unpopulated until EPAC graduates
30+
│ └── skill-lib/ # reserved; root skill-lib/ remains the operational special case
31+
├── research/ # stack-local work; never source authority by location
32+
│ ├── metapat/ # current METAPAT research + BASE.json
33+
│ ├── ucns/ # current UCNS research + BASE.json
34+
│ ├── edcm/ # current EDCM research + BASE.json
35+
│ ├── pcea/ # current PCEA research + BASE.json
36+
│ ├── ptcna/ # current PTCNA research + BASE.json
37+
│ └── epac/ # emerging composed project; no independent repo yet
38+
├── ahbg/ # emerging composed benchmark/game workspace
39+
├── backend/ # stack-level application scaffold
3140
├── frontend/
32-
│ └── cli/ # empty scaffold
33-
├── STACK_MANIFEST.md # human-readable provenance record
34-
└── stack-manifest.json # machine-readable stack manifest (schema 1.0.0)
41+
│ └── cli/ # stack-level application scaffold
42+
├── STACK_MANIFEST.md # human-readable provenance and boundary record
43+
└── stack-manifest.json # machine-readable work graph
3544
```
3645

46+
`src/` inside an imported repository keeps its normal Python meaning: it is that
47+
repository's package-source layout. It does not mean "canonical source" for stack.
48+
3749
## Usage guidance
3850

39-
- **Start at [`STACK_MANIFEST.md`](STACK_MANIFEST.md).** It pins the exact source commit,
40-
branch, authority, snapshot path, and license status of every participant.
41-
- **Read research sources in place.** `research/<repo>/` contains that repository's full
42-
tracked tree at the pinned commit (README, AGENTS/CLAUDE, source, tests, and docs).
43-
- **Do not edit `research/` snapshots as doctrine.** Edit the canonical repository first,
44-
then refresh this aggregation with the procedure in `STACK_MANIFEST.md`.
45-
- **`libs/` is reserved, not implemented.** Its scaffolds mark where consolidated library
46-
surfaces will live; nothing in this repo depends on them yet.
47-
- **`backend/` and `frontend/cli/` are empty scaffolds** reserved for stack-level
48-
application work.
51+
### Read canon
52+
53+
Start at [`STACK_MANIFEST.md`](STACK_MANIFEST.md), then read the pinned repository in
54+
`libs/<repo>/`. Those trees are exact imported views of the source commits recorded by
55+
the manifest. Do not make canonical edits there.
4956

50-
## Replaying a snapshot
57+
### Do current research
5158

52-
From a clean checkout of the source repository at the desired commit:
59+
Work in `research/<repo>/`. Each established project workspace has a `BASE.json` that
60+
binds the research to an exact owning repository, commit, and `libs/` path.
5361

5462
```bash
55-
git -C <checkout> archive <commit> | tar -x -C research/<name>/
63+
cat research/ucns/BASE.json
5664
```
5765

58-
Then update `STACK_MANIFEST.md` and `stack-manifest.json`, recompute the work-graph digest,
59-
and commit with the new source commit SHAs in the message.
66+
If the result changes UCNS itself, prepare the change for `The-Interdependency/ucns`.
67+
After upstream merge, refresh `libs/ucns/` and update `research/ucns/BASE.json`.
68+
69+
### Compose something new
70+
71+
New cross-project work may be born in stack. It does not inherit the authority of its
72+
inputs. While it is still stack research, keep its standing explicit. When it becomes
73+
coherent enough to graduate, create its independent repository, preserve provenance,
74+
package/release it, then let stack consume the released project rather than a hidden
75+
stack-local implementation.
76+
77+
EPAC is currently in this pre-graduation state.
78+
79+
## Refreshing a canonical view
80+
81+
From a clean checkout of the owning repository at the desired commit:
82+
83+
```bash
84+
rm -rf libs/<name>/*
85+
git -C <checkout> archive <commit> | tar -x -C libs/<name>/
86+
```
87+
88+
Then update `STACK_MANIFEST.md`, `stack-manifest.json`, and the matching
89+
`research/<name>/BASE.json`; recompute the work-graph digest; and commit with the exact
90+
source commit in the message.
91+
92+
## Boundaries
93+
94+
- `libs/` is a pinned view, not a transfer of authority.
95+
- `research/` is mutable stack-local work, not doctrine by location.
96+
- moving work from `research/` to `libs/` is not a promotion mechanism; `libs/` is
97+
populated only from an owning canonical repository at an exact commit.
98+
- proof, measurement, and semantic standing do not transfer merely because projects are
99+
composed in stack.
60100

61101
## hmmm
62102

63-
- Whether `libs/` should eventually contain package-only sources, built artifacts, or full
64-
vendored copies remains an open stack-integration decision.
65-
- The exact shape of `backend/` and `frontend/cli/` is not yet declared.
66-
- `research/epac/` is a placeholder until an energy particle affixiation coupling source
67-
repository exists.
103+
- `skill-lib/` remains a special operational root snapshot instead of using the same
104+
`libs/` + `research/` pair.
105+
- The exact graduation automation from stack-local project to independent repo + package
106+
is not yet implemented.
107+
- The exact long-term shape of `backend/` and `frontend/cli/` remains undeclared.

STACK_MANIFEST.md

Lines changed: 68 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,58 @@
11
# STACK_MANIFEST.md
22

3-
Provenance record for the consolidated snapshots in `The-Interdependency/stack`.
3+
Provenance and authority-boundary record for `The-Interdependency/stack`.
44

5-
- Snapshot UTC: `2026-08-22T10:19:43Z`
5+
- Source snapshot UTC: `2026-08-22T10:19:43Z` (source commits unchanged by this layout migration)
6+
- Layout migration UTC: `2026-08-30T02:52Z`
67
- Stack-manifest schema: `the-interdependency.stack-manifest` version `1.0.0`
78
- Work-graph digest (SHA-256 over canonical `repositories` + `boundaries` JSON):
8-
`f7a56ead99174598fd37e044f25c88b5dd47f53f9e4836c41620781bc3e6494a`
9+
`0760abd60f089266405aa589063a7533f485761e2bd25faa44f2eac64fb89f7d`
910
- Machine-readable copy: [`stack-manifest.json`](stack-manifest.json)
1011

12+
## Directory contract
13+
14+
For an established repository participating in stack:
15+
16+
```text
17+
libs/<repo>/ = exact imported canonical repository view at the manifest commit
18+
research/<repo>/ = mutable stack-local research based on that imported view
19+
```
20+
21+
`libs/` does not gain authority by containing a copy. The owning repository remains
22+
canonical. `research/` does not gain canon status by producing a useful result.
23+
24+
A Python `src/` directory inside `libs/<repo>/` retains the normal package-layout
25+
meaning used by that repository.
26+
1127
## Participants
1228

13-
| Repository | Exact source commit | Source branch | Authority | Snapshot path |
29+
| Repository | Exact source commit | Source branch | Authority | Stack relation |
1430
|---|---|---|---|---|
15-
| `The-Interdependency/skill-lib` | `fb3b53a7629f7f03ecf255167d52c13abef1a979` | main | organization-wide build and evidence doctrine | `skill-lib/` |
16-
| `The-Interdependency/metapat` | `34d954aa1e2092e615b03a180500f6b6977f501e` | main | semantic authority (Meta Energy Theory) | `research/metapat/` |
17-
| `The-Interdependency/ucns` | `1975fe70cf4e0826a8020c2da3047569e277af64` | main | geometry and mathematical representation | `research/ucns/` |
18-
| `The-Interdependency/edcm` | `7951ca32ba0f2494dc68ff9b7f6a80151918a56d` | main | measurement and text-gonol construction | `research/edcm/` |
19-
| `The-Interdependency/pcea` | `4d2c581448b97bfb71da92b35487e74e6e3bcedc` | main | prime circle encryption algorithm | `research/pcea/` |
20-
| `The-Interdependency/ptcna` | `97abdd1bbda61a68e0aac8595a32a3cb0ce73487` | main | prime tensor circled neural architecture | `research/ptcna/` |
21-
| `The-Interdependency/epac` | `hmmm` || placeholder scaffold for energy particle affixiation coupling; no source repository exists yet | `research/epac/` |
31+
| `The-Interdependency/skill-lib` | `fb3b53a7629f7f03ecf255167d52c13abef1a979` | main | organization-wide build and evidence doctrine | operational snapshot at `skill-lib/` |
32+
| `The-Interdependency/metapat` | `34d954aa1e2092e615b03a180500f6b6977f501e` | main | semantic authority (Meta Energy Theory) | canon view `libs/metapat/`; research `research/metapat/` |
33+
| `The-Interdependency/ucns` | `1975fe70cf4e0826a8020c2da3047569e277af64` | main | geometry and mathematical representation | canon view `libs/ucns/`; research `research/ucns/` |
34+
| `The-Interdependency/edcm` | `7951ca32ba0f2494dc68ff9b7f6a80151918a56d` | main | measurement and text-gonol construction | canon view `libs/edcm/`; research `research/edcm/` |
35+
| `The-Interdependency/pcea` | `4d2c581448b97bfb71da92b35487e74e6e3bcedc` | main | prime circle encryption algorithm | canon view `libs/pcea/`; research `research/pcea/` |
36+
| `The-Interdependency/ptcna` | `97abdd1bbda61a68e0aac8595a32a3cb0ce73487` | main | prime tensor circled neural architecture | canon view `libs/ptcna/`; research `research/ptcna/` |
37+
| `The-Interdependency/epac` | `hmmm` || stack-local emerging research; no independent source repository exists yet | active candidate `research/epac/`; `libs/epac/` unpopulated |
38+
39+
The imported `libs/` trees are the complete tracked working trees of their source
40+
repositories at the pinned commits, produced from Git trees / `git archive` contents.
41+
VCS metadata, virtualenvs, caches, and untracked files are excluded.
2242

23-
Each `research/` snapshot is the complete tracked working tree of its source repository at
24-
the pinned commit, produced with `git archive HEAD`. VCS data, virtualenvs, caches, and
25-
untracked files are excluded by construction.
43+
## Research base records
2644

27-
## License status at snapshot commits
45+
Each established `research/<repo>/` workspace carries a `BASE.json` with:
46+
47+
- owning repository;
48+
- exact source commit;
49+
- matching `libs/<repo>/` canon path;
50+
- authority owner;
51+
- standing `stack-local-research`.
52+
53+
Use that record before interpreting or extending work in the workspace.
54+
55+
## License status at pinned commits
2856

2957
| Repository | License file |
3058
|---|---|
@@ -34,33 +62,43 @@ untracked files are excluded by construction.
3462
| edcm | MPL-2.0 (`LICENSE`) |
3563
| pcea | present (`LICENSE`) |
3664
| ptcna | present (`LICENSE`) |
37-
| epac | placeholder — no license yet |
65+
| epac | no independent repository/license yet |
3866

3967
## Non-transfer boundaries
4068

41-
- `authority_transfer: false`snapshots do not gain authority over the source repositories.
42-
- `proof_status_transfer: false` — no proof/theorem status transfers into this aggregation.
69+
- `authority_transfer: false`imported canonical views do not gain authority over their owners.
70+
- `proof_status_transfer: false` — no proof/theorem status transfers through stack composition.
4371
- `measurement_status_transfer: false` — no measurement/empirical validity transfers.
44-
- `semantic_mapping: external-provenance` — canonical meaning remains owned by the source
45-
repositories; this repo only pins identities.
46-
- `research/` snapshots are **not the source of truth**. Edit the canonical repositories
47-
first, then refresh this snapshot.
72+
- `semantic_mapping: external-provenance` — canonical meaning remains owned by source repositories.
73+
- `research/` is explicitly noncanonical stack-local work.
74+
- `libs/` is read-only by contract and is refreshed only from an owning repository at an exact commit.
4875

4976
## Refresh procedure
5077

5178
For each pinned repository, from a clean checkout at the desired commit:
5279

5380
```bash
54-
git -C <checkout> archive <commit> | tar -x -C research/<name>/
81+
rm -rf libs/<name>/*
82+
git -C <checkout> archive <commit> | tar -x -C libs/<name>/
5583
```
5684

57-
Then update this file and `stack-manifest.json`, recompute the work-graph digest, and
58-
commit with a message citing the new source commit SHAs.
85+
Then update this file, `stack-manifest.json`, and `research/<name>/BASE.json`; recompute
86+
the work-graph digest; and commit with the new source commit SHA.
87+
88+
Do not edit `libs/<name>/` to create a canonical change. Route the change to the owning
89+
repository, merge it there, then refresh the pinned view.
90+
91+
## Graduation boundary
92+
93+
A project born in stack (currently EPAC; AHBG follows its own workspace) may eventually
94+
become an independent repository. Graduation is not accomplished by copying its research
95+
tree into `libs/`. First create the owning repository and preserve provenance; after the
96+
new repository becomes authoritative and a commit is pinned, populate its `libs/<name>/`
97+
view from that authority.
5998

6099
## hmmm
61100

62-
- ucns has no LICENSE file at snapshot commit `1975fe7`; its licensing terms need to be
63-
resolved at the source repository.
64-
- epac has no source repository yet; its placeholder carries no doctrine until one exists.
65-
- `libs/`, `backend/`, and `frontend/cli/` are intentional empty scaffolds reserved for
66-
later stack integration work.
101+
- UCNS has no LICENSE file at pinned commit `1975fe7`; licensing terms need resolution at source.
102+
- EPAC has no independent source repository or populated canonical `libs/epac/` view yet.
103+
- `skill-lib/` remains a special operational snapshot at stack root rather than following the
104+
ordinary `libs/` + `research/` pair.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

research/edcm/.agents/skills/interdependent-work-graph/PORTFOLIO_PLAN.md renamed to libs/edcm/.agents/skills/interdependent-work-graph/PORTFOLIO_PLAN.md

File renamed without changes.

research/edcm/.agents/skills/interdependent-work-graph/SKILL.md renamed to libs/edcm/.agents/skills/interdependent-work-graph/SKILL.md

File renamed without changes.

research/edcm/.agents/skills/interdependent-work-graph/portfolio-plan.schema.json renamed to libs/edcm/.agents/skills/interdependent-work-graph/portfolio-plan.schema.json

File renamed without changes.

0 commit comments

Comments
 (0)