Scaffold hello-world apps, test frameworks, and Gitea CI
CI / checks (push) Successful in 45s
CI / checks (pull_request) Successful in 6s

- uv workspace tying nisse-core, nisse-dev, nisse-ops together
  (src layouts, workspace-sourced nisse-core dependency)
- Placeholder hello-world entry points for both agents, calling
  through nisse-core to exercise the package boundary
- pytest unit tests per package; integration tests (marker-gated)
  running the installed console scripts as subprocesses
- ruff lint + format, nisse_* declared first-party
- Gitea Actions workflow running lint, format check, unit and
  integration tests; scripts/check.sh mirrors it locally

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
dongarandClaude Fable 5 committed 2026-09-05 18:48:51 +00:00
1 parent b0efbe7b4c
commit c1041a5ba1
18 files changed
+315

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
[project]
name = "nisse-core"
version = "0.1.0"
description = "Shared agent library for nisse-dev and nisse-ops"
requires-python = ">=3.12"
dependencies = []
[build-system]
requires = ["uv_build>=0.12,<0.13"]
build-backend = "uv_build"
Whitespace-only changes.
+5
View File
@@ -0,0 +1,5 @@
"""Placeholder module proving the nisse-core package boundary works."""
def greeting(agent_name: str) -> str:
return f"Hello from {agent_name}, the house spirit is awake."
+5
View File
@@ -0,0 +1,5 @@
from nisse_core.greeting import greeting
def test_greeting_includes_agent_name() -> None:
assert greeting("nisse-dev") == "Hello from nisse-dev, the house spirit is awake."