Skip to content

docs: cloud-native harness kit definition (strawman) - #71

Merged
JAORMX merged 6 commits into
mainfrom
docs/cloud-native-kit-definition
Jun 29, 2026
Merged

JAORMX merged 6 commits into
mainfrom
docs/cloud-native-kit-definition

Conversation

@JAORMX

@JAORMX JAORMX commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Kicks off the "sharp definition of what we mean by cloud native harness kit" from the demo-day thread. Seeds a strawman to draft collaboratively rather than wait for consensus on the open points.

It's the conceptual/positioning definition, sitting above CLOUD-NATIVE.md (the mecatl-internal disposable-process engineering arc). Each property is mapped onto the canonical domain model (docs/mecatl.modelith.md) and the as-built architecture (docs/architecture.md) so it's grounded in an existing entity/invariant rather than floating free.

Boundary held explicitly: the kit provides the seams; how a consumer scopes capabilities to its own concepts is the consumer's policy, not the kit's or mecatl's domain. (mecatl's AgentDef is a subagent specialist definition and skill activation is Session-scoped — a downstream product layering a "template"-style capability binding does so on top of the session-time resolution seam, not by changing mecatl's domain.)

Working assumption baked in

Build-our-own + cloud-native first (not adapt off-the-shelf), with the "not a one-way door" reversibility shim as a hard scope constraint. Flag if that's not the call.

Needs input before it's more than a strawman

  • Joe — confirm build-our-own, and whether "harness as a separate project that runs in atrium or not" is a hard requirement or near-term packaging.
  • Derek — the capability-resolution / capability-scoping contract (open question ACP: route file I/O through client fs/* delegation #2).
  • Both — home of the doc (provisional in docs/design/; likely moves out if the kit becomes its own/OSS project), and the open-source posture.

🤖 Generated with Claude Code

@JAORMX
JAORMX marked this pull request as draft June 16, 2026 14:59
@jbeda

jbeda commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

One thing that is missing is some explanation around "why a kit?" Suggested section to add somewhere:

Why a kit?

We call this a kit because we want a set of core components that hold up across more than one context. Today we are designing for a knowledge worker running in Atrium, but the same project already does coding tasks on the desktop. Components that compose give us a starting point for harnesses we have not built yet, in contexts we have not targeted yet.

The test is reuse. As we move from interactive chat toward something long-running and self-triggering, how much of what we have carries over? The more the core stays intact across that shift, the more the kit is earning its name. And if we open source it, that same property decides whether anyone builds on top: the more places it works while still adding value, the more likely others are to pick it up.

A good test for a platform is if people can use it to do things you didn't imagine when you built it. We need to leave room for people to put the kit parts together in unexpected ways.

As for the questions:

  • My gut is that we are going to have to build a harness one way or another. There is no great off the shelf candidate and, even if there were, we'd have to tackle running VM-like sandboxes for everything and would eventually think about suspend/resume, etc. So far, with atrium, we are kind of sleep walking into building a harness in a small way.
  • Ideally we view this as a separate thing from the rest of Atrium. It may be that this is the thing we open source and we have the hosting infra plus the extended set of tools/services as our commercial value add. But if we need to make progress and can break this out later, that is probably ok. I'm not in a hurry to open this up until we have proven it out in some capacity.

Another layer down would be taking a look at what it means, practically, to use the kit. Maybe mecatl is it. Or maybe there is something simpler. But I think looking at what "main" looks like for the kit is key and what it looks like to configure it. Perhaps starts to look like dependency injection? Do we want to have some sort of desktop kit runner that can dynamically configure and maybe even launch/manage subsystems running in docker similar to thv? That is probably the wrong level of detail for this doc but may help the "kit" idea feel more real.

JAORMX added a commit that referenced this pull request Jun 17, 2026
…ated

Rebases PR #71 onto current main and places the kit-definition doc per the new
docs taxonomy.

- Reconstructed on current main: the PR's other edits (to docs/design/CLOUD-NATIVE.md,
  docs/design/README.md, llms.txt) targeted files the ADR consolidation (ADR 0003)
  moved/regenerated, so they're dropped; the doc's prose is preserved verbatim.
- Placed at docs/cloud-native-harness-kit.md (top-level) — it's a vision/positioning
  doc, not an ADR (no frozen decision), not as-built architecture, so it sits as a
  peer of the other top-level docs, labeled a strawman. Its open questions become ADRs
  as they resolve.
- Fixed cross-links for the new structure: CLOUD-NATIVE.md → adr/0027-cloud-native.md,
  DRIVERS.md → adr/0005-driver-seams.md, mecatl.modelith.md →
  architecture/mecatl.modelith.md, architecture.md (now sibling).
- Added the reciprocal pointer in ADR 0027 (cloud-native arc → kit definition), which
  also gives the kit doc its inbound link. llms.txt regenerated.

Still a strawman — open questions + Joe/Derek input pending (see PR description).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@JAORMX
JAORMX force-pushed the docs/cloud-native-kit-definition branch from 9d660ba to 0a9e987 Compare June 17, 2026 08:26
JAORMX added a commit that referenced this pull request Jun 17, 2026
Adds the motivation Joe asked for in PR #71: a kit is core components that
hold up across more than one context; the test is reuse as we move from
interactive chat toward long-running/self-triggering work; leave room for
unexpected composition.

Placed before the numbered Definition so the existing §N cross-references
stay intact.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@JAORMX

JAORMX commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

Thanks Joe, good catch. Added a "Why a kit?" section using your wording almost as-is... the reuse-as-the-test bit is really the whole point, so I kept it intact.

Your answers line up with what the strawman already assumes (build-our-own, separate thing, open-source once it's proven), so no changes needed there.

And the "what does using the kit actually look like" point... agreed it's the wrong altitude for this doc, but too good to drop, so I'll log it as an open question. Pushed.

JAORMX added a commit that referenced this pull request Jun 17, 2026
Captures Joe's review nudge from PR #71: the consumer-side shape a level
down (the 'main', DI-style configuration, a possible thv-like desktop kit
runner). Out of scope for the definition, but it's the test of whether the
kit idea is real.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Comment thread docs/cloud-native-harness-kit.md Resolved
Comment thread docs/cloud-native-harness-kit.md Resolved
JAORMX added a commit that referenced this pull request Jun 24, 2026
Two review threads on #71:

- jbeda@83: tools are first-class, not buried under 'The engine'. Split out
  the tool interface + common tools (built-in / model-defined / MCP, in-proc
  subagent-spawning vs out-of-proc MCP execution) as their own kit component,
  and add a mapping-table row for the Tool/Catalog/Workspace surface.

- jbeda@120: the capability-resolution contract is really a recursive
  'Agent Environment' (agent.Deps + Engine) that already launches sub-agents
  but isn't a first-class noun, with nesting capped at one level. Add the
  agent-composition policy (nesting / inheritance) to 'Not in the kit', a
  matching open question (#4), and extend the §6 boundary statement so the
  nesting-depth rule is explicitly the consumer's policy, not a structural
  limit the kit bakes in.
JAORMX and others added 5 commits June 24, 2026 08:33
…ated

Rebases PR #71 onto current main and places the kit-definition doc per the new
docs taxonomy.

- Reconstructed on current main: the PR's other edits (to docs/design/CLOUD-NATIVE.md,
  docs/design/README.md, llms.txt) targeted files the ADR consolidation (ADR 0003)
  moved/regenerated, so they're dropped; the doc's prose is preserved verbatim.
- Placed at docs/cloud-native-harness-kit.md (top-level) — it's a vision/positioning
  doc, not an ADR (no frozen decision), not as-built architecture, so it sits as a
  peer of the other top-level docs, labeled a strawman. Its open questions become ADRs
  as they resolve.
- Fixed cross-links for the new structure: CLOUD-NATIVE.md → adr/0027-cloud-native.md,
  DRIVERS.md → adr/0005-driver-seams.md, mecatl.modelith.md →
  architecture/mecatl.modelith.md, architecture.md (now sibling).
- Added the reciprocal pointer in ADR 0027 (cloud-native arc → kit definition), which
  also gives the kit doc its inbound link. llms.txt regenerated.

Still a strawman — open questions + Joe/Derek input pending (see PR description).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Adds the motivation Joe asked for in PR #71: a kit is core components that
hold up across more than one context; the test is reuse as we move from
interactive chat toward long-running/self-triggering work; leave room for
unexpected composition.

Placed before the numbered Definition so the existing §N cross-references
stay intact.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Captures Joe's review nudge from PR #71: the consumer-side shape a level
down (the 'main', DI-style configuration, a possible thv-like desktop kit
runner). Out of scope for the definition, but it's the test of whether the
kit idea is real.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Two review threads on #71:

- jbeda@83: tools are first-class, not buried under 'The engine'. Split out
  the tool interface + common tools (built-in / model-defined / MCP, in-proc
  subagent-spawning vs out-of-proc MCP execution) as their own kit component,
  and add a mapping-table row for the Tool/Catalog/Workspace surface.

- jbeda@120: the capability-resolution contract is really a recursive
  'Agent Environment' (agent.Deps + Engine) that already launches sub-agents
  but isn't a first-class noun, with nesting capped at one level. Add the
  agent-composition policy (nesting / inheritance) to 'Not in the kit', a
  matching open question (#4), and extend the §6 boundary statement so the
  nesting-depth rule is explicitly the consumer's policy, not a structural
  limit the kit bakes in.
@JAORMX
JAORMX force-pushed the docs/cloud-native-kit-definition branch from 83d7a9a to dee4479 Compare June 24, 2026 05:34
@JAORMX
JAORMX marked this pull request as ready for review June 24, 2026 06:44
Resolve llms.txt conflict by regenerating from the merged tree via
task docs (matlatl index + strict link gate green: 0 broken/orphan/unreachable).

Co-Authored-By: none
@JAORMX
JAORMX merged commit ed0ab80 into main Jun 29, 2026
13 checks passed
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.

2 participants