Compare commits

..

No commits in common. "ca7e4ead770651011be3dfc77037d1c1f801cf84" and "e0d7b0c3ada0c71cba736f23f2173c997ddcd284" have entirely different histories.

6 changed files with 83 additions and 108 deletions

View file

@ -1,29 +1,18 @@
<!-- custodian-brief: generated by fix-consistency — do not edit manually -->
# Custodian Brief — kaizen-agentic
**Domain:** agents
**Last synced:** 2026-07-16 08:35 UTC
**Domain:** infotech
**Last synced:** 2026-07-03 16:44 UTC
**State Hub:** http://127.0.0.1:8000 *(adjust if running on a remote machine)*
## Active Workstreams
### Forward-deployed agency: engagements, Kai ledger, host-operator pilot
Progress: 1/11 done | workplan_id: `70f7afb1-78f1-4e3b-8437-48840b5b58cc`
**Open tasks:**
- · Accept open decisions `d624072d`
- · host-operator Role package `407eae88`
- · Phase 1 engagement layout + pilot record `c90fd780`
- · Bound agent definition `e48f0ec3`
- · Ramp checklists `3c166660`
- · Kai ledger (Phase 1) `16e90a62`
- · CLI engagement group `52f7d872`
- … and 3 more open tasks
*(none — repo may need first-session setup)*
---
## MCP Orientation (when available)
If the state-hub MCP server is reachable, call:
`get_domain_summary("agents")`
`get_domain_summary("infotech")`
This provides richer cross-domain context.
If the MCP call fails, use this file as your orientation source.

View file

@ -1,40 +0,0 @@
name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Fetch source archive
env:
REF: ${{ github.sha }}
run: |
set -eu
mkdir -p repo
wget -qO /tmp/repo.tar.gz \
"https://forgejo.coulomb.social/${GITHUB_REPOSITORY}/archive/${REF}.tar.gz"
tar xzf /tmp/repo.tar.gz -C repo --strip-components=1
- name: Install package and dev tools
working-directory: repo
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -e ".[dev]"
- name: Format check (black)
working-directory: repo
run: black --check src tests
- name: Lint (flake8)
working-directory: repo
run: flake8 src/ --max-line-length=100
- name: Run tests
working-directory: repo
run: pytest tests/ -q --ignore=tests/test_cli_error_handling.py

View file

@ -1,41 +0,0 @@
name: Publish Python package
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Fetch source archive
env:
REF: ${{ github.sha }}
run: |
set -eu
mkdir -p buildctx
wget -qO /tmp/repo.tar.gz \
"https://forgejo.coulomb.social/${GITHUB_REPOSITORY}/archive/${REF}.tar.gz"
tar xzf /tmp/repo.tar.gz -C buildctx --strip-components=1
- name: Set up Python
run: |
python3 -m pip install --upgrade pip build twine
- name: Build and validate distributions
working-directory: buildctx
run: |
python3 -m build
python3 -m twine check dist/*
- name: Upload to Forgejo PyPI
working-directory: buildctx
env:
TWINE_USERNAME: ${{ secrets.FORGEJO_PYPI_USER }}
TWINE_PASSWORD: ${{ secrets.FORGEJO_PYPI_TOKEN }}
run: >-
python3 -m twine upload
--repository-url https://forgejo.coulomb.social/api/packages/coulomb/pypi
dist/*

38
.gitea/workflows/ci.yml Normal file
View file

@ -0,0 +1,38 @@
name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: haskelseed
steps:
- name: Check out source
env:
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
run: |
git clone --depth 1 \
"https://tegwick:${PACKAGE_TOKEN}@gitea.coulomb.social/coulomb/kaizen-agentic.git" \
repo
cd repo
git checkout "${{ gitea.sha }}"
- name: Install package and dev tools
run: |
cd repo
python3 -m ensurepip --upgrade 2>/dev/null || \
curl -sS https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && python3 /tmp/get-pip.py
python3 -m pip install --upgrade pip
python3 -m pip install -e ".[dev]"
- name: Format check (black)
run: cd repo && black --check src tests
- name: Lint (flake8)
run: cd repo && flake8 src/ --max-line-length=100
- name: Run tests
run: cd repo && pytest tests/ -q --ignore=tests/test_cli_error_handling.py

View file

@ -0,0 +1,41 @@
name: Publish Python package
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
publish:
runs-on: haskelseed
steps:
- name: Check out source
env:
PACKAGE_USER: ${{ secrets.PACKAGE_USER }}
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
run: |
git clone --depth 1 \
"https://${PACKAGE_USER}:${PACKAGE_TOKEN}@gitea.coulomb.social/coulomb/kaizen-agentic.git" \
repo
cd repo
git checkout "${{ gitea.sha }}"
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PACKAGE_USER }}
TWINE_PASSWORD: ${{ secrets.PACKAGE_TOKEN }}
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
run: |
cd repo
python3 -m venv .build-venv
. .build-venv/bin/activate
python -m pip install --upgrade pip build twine
python -m build
python -m twine check dist/*
python -m twine upload \
--username "${TWINE_USERNAME}" \
--password "${TWINE_PASSWORD}" \
--non-interactive \
--repository-url https://gitea.coulomb.social/api/packages/coulomb/pypi \
dist/*

View file

@ -47,7 +47,6 @@ tasks:
- id: T11
status: todo
title: Absorb pilot friction; ADR for engagement convention; docs cross-links
state_hub_workstream_id: "70f7afb1-78f1-4e3b-8437-48840b5b58cc"
---
# KAIZEN-WP-0009 — Forward-Deployed Agency
@ -98,7 +97,6 @@ Client request → quote (Kai) → fund → staff Role → ramp-up → operate
id: KAIZEN-WP-0009-T01
status: done
priority: high
state_hub_task_id: "a9440a09-00fb-4668-94a7-f02ae14031d2"
```
Delivered 2026-07-16:
@ -113,7 +111,6 @@ Delivered 2026-07-16:
id: KAIZEN-WP-0009-T02
status: todo
priority: high
state_hub_task_id: "d624072d-1939-40f0-bfa2-498a24673b4c"
```
Resolve architecture open questions with sponsor:
@ -132,7 +129,6 @@ architecture sections into ADR-007.
id: KAIZEN-WP-0009-T03
status: todo
priority: high
state_hub_task_id: "407eae88-a3fe-4da9-80eb-ea92828fd488"
```
Add supplier Role scaffold per architecture §5.1:
@ -148,7 +144,6 @@ Add supplier Role scaffold per architecture §5.1:
id: KAIZEN-WP-0009-T04
status: todo
priority: high
state_hub_task_id: "c90fd780-982f-48ea-a017-2eee44f2e8c7"
```
Create file-based engagement tree for pilot (location per T02 decision), including:
@ -165,7 +160,6 @@ Document the path in architecture §11 if it differs from the draft proposal.
id: KAIZEN-WP-0009-T05
status: todo
priority: high
state_hub_task_id: "e48f0ec3-4258-4650-8c92-eb25e4dca755"
```
Materialise engagement-bound agent definition from sys-medic + binding appendix
@ -178,7 +172,6 @@ ships, sys-medic + appendix is acceptable; migrate to host-operator when T03 lan
id: KAIZEN-WP-0009-T06
status: todo
priority: medium
state_hub_task_id: "3c166660-b4b8-49fc-9dcb-c47e7d676792"
```
Author ramp-up (RU-01…RU-08) and ramp-down (RD-01…RD-07) checklists with
@ -190,7 +183,6 @@ evidence paths matching architecture §7. Link from ENGAGEMENT.yaml.
id: KAIZEN-WP-0009-T07
status: todo
priority: medium
state_hub_task_id: "16e90a62-973b-4cc8-ac36-87bfad52e538"
```
- `commercial/ledger.jsonl` schema per architecture §10
@ -203,7 +195,6 @@ state_hub_task_id: "16e90a62-973b-4cc8-ac36-87bfad52e538"
id: KAIZEN-WP-0009-T08
status: todo
priority: medium
state_hub_task_id: "52f7d872-1087-4890-9439-8d6c704351fd"
```
Implement `kaizen-agentic engagement` subcommands (Phase 2 of architecture):
@ -220,7 +211,6 @@ Tests for schema validate and checklist status.
id: KAIZEN-WP-0009-T09
status: todo
priority: medium
state_hub_task_id: "82ac0b5a-0309-4912-93bf-f05bee2abbc2"
```
- `engagement prepare` bundles definition + vault + protocols + access plan
@ -233,7 +223,6 @@ state_hub_task_id: "82ac0b5a-0309-4912-93bf-f05bee2abbc2"
id: KAIZEN-WP-0009-T10
status: todo
priority: high
state_hub_task_id: "6b21da0d-7ba5-4c64-92cb-9237cf71a102"
```
Execute architecture §11 ramp-up runbook against railiance01 (observe-class
@ -248,7 +237,6 @@ Evidence: baseline file, first health report, checklist marks, ledger entries.
id: KAIZEN-WP-0009-T11
status: todo
priority: low
state_hub_task_id: "f212949d-de22-46de-9ae0-63fc21e2701f"
```
- Supplier notes → playbook / architecture v0.2