Skip to content

docs: settled design ADRs from aikit issues audit#101

Merged
aroff merged 1 commit into
mainfrom
docs/issues-audit-remediation-2026-07-07
Jul 9, 2026
Merged

docs: settled design ADRs from aikit issues audit#101
aroff merged 1 commit into
mainfrom
docs/issues-audit-remediation-2026-07-07

Conversation

@aroff

@aroff aroff commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What

Adds the five design ADRs settled during a grilling pass over the workspace (security, correctness, partial/dead functionality, architecture). Documentation only — no code changes (5 files, +281 lines, 0 deletions).

ADRs

  • 0012 — the sandbox is the trust boundary for aikit serve; the network perimeter is the sole in-app control (fail closed on non-loopback without --api-key).
  • 0013 — package install writes only within the target project (parse-time validation, abort on unsafe mapping, no-follow-symlinks).
  • 0014 — runs are cancellable; termination escalates SIGTERM→SIGKILL over the process group.
  • 0015 — two agent registries: deploy-layout vs runnable Backend.
  • 0016 — serve emits canonical events; StreamFrame deleted, no back-compat shim.

Notes for reviewers

  • These ADRs are the durable design record; the fuller findings/remediation write-up they came from is kept out of the repo (the repo specs/ dir is gitignored by convention).
  • Related in-flight work: spec 010 session-capture (merged in feat: implement session capture adapters #99) overlaps the runner/serve files and the event-taxonomy + secret-scrubbing concerns — ADR 0016 (event model) and the audit's stderr-scrubbing finding should inform that area so they converge.

🤖 Generated with Claude Code

Adds the five architecture decision records that a grilling pass settled while
reviewing the workspace for security, correctness, partial/dead functionality,
and architectural smells:

- 0012 sandbox is the trust boundary; serve fails closed on non-loopback
- 0013 package install writes only within the target project
- 0014 runs are cancellable; SIGTERM->SIGKILL over the process group
- 0015 two agent registries: deploy-layout vs runnable Backend
- 0016 serve emits canonical events; StreamFrame deleted, no back-compat

Documentation only, no code changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aroff aroff force-pushed the docs/issues-audit-remediation-2026-07-07 branch from 3b3b9e2 to 093cd26 Compare July 9, 2026 00:31
@aroff aroff changed the title docs: aikit issues audit + remediation plan with settled design ADRs docs: settled design ADRs from aikit issues audit Jul 9, 2026
@aroff aroff merged commit 104150b into main Jul 9, 2026
9 checks passed
@aroff aroff deleted the docs/issues-audit-remediation-2026-07-07 branch July 9, 2026 00:36
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.

1 participant