Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/board_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,16 @@ jobs:
with:
repository: PyAutoLabs/PyAutoBrain
path: PyAutoBrain
# Canonical repository identity input; relationships remain in Scientist.
- uses: actions/checkout@v4
with:
repository: PyAutoLabs/PyAutoMind
path: PyAutoMind

- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m pip install pytest pyyaml
- run: python scripts/organism_board.py --repos PyAutoMind/repos.yaml --check-projects
- run: python -m pytest tests -q
- run: node --test tests/overview.cjs
14 changes: 11 additions & 3 deletions .github/workflows/organism_board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,24 @@ jobs:
repository: PyAutoLabs/PyAutoBrain
path: PyAutoBrain

# Canonical repository identity input; relationships remain in Scientist.
- uses: actions/checkout@v4
with:
repository: PyAutoLabs/PyAutoMind
path: PyAutoMind

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- run: python -m pip install pyyaml

- name: Render every surface (public HTTPS only)
run: |
mkdir -p _site
python scripts/organism_board.py --html > _site/index.html
python scripts/organism_board.py --badge > _site/badge.json
python scripts/organism_board.py --md > board.md
python scripts/organism_board.py --repos PyAutoMind/repos.yaml --html > _site/index.html
python scripts/organism_board.py --repos PyAutoMind/repos.yaml --badge > _site/badge.json
python scripts/organism_board.py --repos PyAutoMind/repos.yaml --md > board.md
cp board.md _site/dashboard.md

- name: Write the board to the job step summary
Expand Down
111 changes: 111 additions & 0 deletions PROJECTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Connected projects

The Scientist home shows **software families** and, when explicitly configured,
**scientific investigations** as separate kinds of project. A software family
is not a Cortex investigation. Cards are a navigational inventory; source
repositories and organs retain their authoritative records. An empty card means
no public resources were configured, not that work or evidence does not exist.

## Connect or change a project

Edit the instance-owned `config/projects.json`. Keep stable IDs when renaming a
project or resource. Add repository identities to your canonical Mind
`repos.yaml`, then refer to those keys here; never copy GitHub owners/remotes
into a second repository inventory. Resource IDs can appear in multiple project
cards, including as shared dependencies. Associations are curated, not a complete
package dependency lockfile and not inferred from naming prefixes.

Each project has `name`, `kind` (`software_family` or `scientific_project`),
optional `description`, `public`, and a `resources` object. Its optional lists
are `software`, `dependencies`, `workspaces`, `tutorials`, `documentation`,
`assistants` and `records`. Each list contains resource IDs, in display order.
An assistant is never required. An empty project catalogue is supported.

Each resource has `name`, `public`, and one or both of:

- `repo`: a key from the canonical identity map. Optional repository-relative
`path` and `ref` point at a folder or file. With a path and no ref, `main` is
used; set ref explicitly for other default branches or a pinned revision.
- `published_url`: an explicit HTTPS destination, such as external documentation
or an owning organ's board. This is a published location, not a second repo ID.

The version-1 format is a JSON object with `schema_version: 1`, `resources`
and `projects` objects keyed by stable lowercase, hyphen-separated IDs.
For example, given `analysis-code` in your own identity map:

```json
{
"schema_version": 1,
"resources": {
"analysis-guide": {
"name": "Analysis guide", "repo": "analysis-code",
"path": "docs", "ref": "main", "public": true
}
},
"projects": {
"spectra": {
"name": "Spectra", "kind": "scientific_project", "public": true,
"resources": {"documentation": ["analysis-guide"]}
}
}
}
```

Validate without collecting feeds:

```bash
python scripts/organism_board.py --projects config/projects.json \
--repos /path/to/YourMind/repos.yaml --check-projects
```

Use the same arguments with `--html`, `--md` or `--json` to render. A configured
workspace can supply `PYAUTO_MIND`; otherwise Brain's manifest-backed resolver
locates Mind. An unavailable map or invalid relationship fails rendering instead
of publishing a misleading empty catalogue. Rendering never fetches linked
content or executes project code. Ordinary organ feed refresh remains unchanged.

## Publication and ownership

Only projects **and** resources explicitly marked `public: true` enter the
rendered snapshot. Omitted/false values exclude them from HTML, Markdown and
embedded JSON. This flag records an owner's publication decision; it does not
check remote repository permissions. Review links and metadata before enabling
it. The configuration in this repository is itself public: never put private
project details here, even under `public: false`. Use a private instance/local
configuration for private material. Connecting resources changes no permissions.

Project repositories own software, docs, notebooks, scripts, assistant definitions
and runners. Scientist owns these explicit project associations and links. The
agreed Broca expansion covers communication/documentation relationships and
upkeep evidence, with documentation, tutorials, user-facing workspaces and
assistants as first-class surfaces. Its current published implementation still
covers assistant evidence; the broader contract and evidence migration are
separate Mind tasks. These IDs/categories provide a coordination point, not a
new Broca evidence schema or copied ledger. A shared Broca inventory link does
not imply a project-specific assessment.

Ears retains listening and feedback collection; Brain interprets and routes;
Mind tracks implementation; Memory holds knowledge and citations; Cortex owns
scientific records and human conclusions; Eyes owns gallery evidence; Heart
owns readiness; Hands owns builds/releases. A project may link any relevant
owner record without transferring ownership. Inventory presence, technical
validation, freshness and explanatory quality remain distinct. No external
messages, publication actions, evaluation runs or setup actions happen on a
card click or dashboard refresh.

## Adoption and upgrades

`config/projects.json` is user-owned configuration. `scripts/project_resources.py`
is framework logic; it contains no project names, GitHub owners or repository
suffix assumptions. The canonical identity map remains independently owned in
Mind. Rename displays or change canonical locations without changing stable IDs.
Unsupported schema versions fail explicitly; an upgrade must preserve the
configuration and user records or supply a reviewable migration.

This phase does **not** yet make the complete Scientist independently named or
organs optional. Existing hero branding, organ membership, check-in prompt,
workflow checkout identities and framework discovery still reflect the current
instance. Starter packaging, configurable capability locations, optional-organ
activation and record-preserving upgrades are recorded follow-ups. No
collaborator project or access is assumed. Shared multi-contributor operation is
a later milestone.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,7 @@ summary across all organs over the last 24 hours, a chosen date range, or help
coordinating work across organs. [Reporting guidance](REPORTING.md) defines
source coverage, event dates and concise evidence-linked summaries. Detailed
work and authoritative records remain with each organ.

## Connected projects

The dashboard includes expandable project cards linking software, shared dependencies, documentation, tutorials, workspaces, assistants and owner records. See [the project configuration contract](PROJECTS.md) to connect resources; an assistant is optional and source records remain with their owners.
Loading
Loading