Skip to content

Setting up project structure and initial files - #10

Merged
Pmaster-dev merged 2 commits into
developfrom
copilot/main
Aug 2, 2026
Merged

Setting up project structure and initial files#10
Pmaster-dev merged 2 commits into
developfrom
copilot/main

Conversation

Copilot AI commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Pull request created by AI Agent

@Pmaster-dev
Pmaster-dev requested a review from Copilot August 2, 2026 17:38
@Pmaster-dev
Pmaster-dev marked this pull request as ready for review August 2, 2026 17:38
@Pmaster-dev
Pmaster-dev merged commit 5722b57 into develop Aug 2, 2026
7 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces an initial “kernel” package with stub engine implementations, along with accompanying documentation and OpenAPI schema scaffolding to establish the project’s baseline structure.

Changes:

  • Added src/kernel/ with a shared KernelEngine base class and six stub engines (Registry, Event Store, Workflow, Decision, Document, Outcome) exposed via kernel’s public API.
  • Added a new OpenAPI document docs/openapi/kernel.yaml to publish shared kernel schemas.
  • Updated ecosystem documentation (renamed inventory doc) and adjusted README references; added smoke tests for kernel engines.

Reviewed changes

Copilot reviewed 15 out of 19 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
tests/test_kernel.py Adds smoke tests validating importability and minimal result-shape expectations for each kernel engine.
src/kernel/_base.py Introduces the abstract KernelEngine interface and the name resolution helper.
src/kernel/__init__.py Defines the kernel package public API (__all__) and quick-start module docstring.
src/kernel/registry.py Adds stub RegistryEngine with documented context/result contract.
src/kernel/events.py Adds stub EventStoreEngine with documented context/result contract.
src/kernel/workflows.py Adds stub WorkflowEngine and documents workflow advancement contract.
src/kernel/decisions.py Adds stub DecisionEngine with documented context/result contract.
src/kernel/documents.py Adds stub DocumentEngine with documented context/result contract.
src/kernel/outcomes.py Adds stub OutcomeEngine with documented context/result contract.
docs/openapi/kernel.yaml Publishes initial kernel schemas intended as shared contracts for downstream services.
docs/ecosystem-inventory.md Adds the new ecosystem inventory document replacing the prior pinkycollie-focused version.
docs/pinkycollie-ecosystem-inventory.md Removes the old ecosystem inventory document.
docs/architecture/kernel.md Adds kernel data-model documentation describing kernel objects/tables and accessibility profile concepts.
docs/architecture/engines.md Adds narrative documentation for the six kernel engine capabilities and their responsibilities.
README.md Updates repository description and points ecosystem reference to the renamed inventory doc.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/test_kernel.py
4. ``process`` returns a dict when called with a minimal valid context.
"""

import pytest
Comment thread tests/test_kernel.py
@@ -0,0 +1,191 @@
"""
Smoke tests for src/kernel — one test per engine module.
Comment thread tests/test_kernel.py
Comment on lines +93 to +97
def test_workflow_engine_process_returns_dict():
result = WorkflowEngine().process({"workflow_name": "intake"})
assert isinstance(result, dict)
assert "next_steps" in result
assert "updated_state" in result
Comment thread src/kernel/workflows.py
Comment on lines +19 to +22
Returned keys
-------------
workflow_id : str
ID of the (new or existing) workflow instance.
Comment thread docs/openapi/kernel.yaml
Comment on lines +9 to +13
tags:
- name: Kernel
components:
schemas:

Comment thread README.md
## Ecosystem

See [`docs/pinkycollie-ecosystem-inventory.md`](docs/pinkycollie-ecosystem-inventory.md) for the full cross-org architecture map.
See [`docs/ecosystem-inventory.md`](docs/ecosystem-inventory.md) for the full cross-org architecture map.
@Pmaster-dev

Copy link
Copy Markdown
Owner

@copilot Fix the code for all comments in this review thread.

When a review comment includes a suggested change, apply the suggestion exactly.

Do not make changes beyond what is described in the linked review thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants