Arachne docs Home Open app

Built with Kiro

Kiro usage

How Kiro IDE was used to build Arachne — specs, steering, hooks, and MCP.

Arachne was built in Kiro IDE for the Kiroween 2026 hackathon. Everything Kiro read to guide the work lives in the repository under .kiro/: three specs, four steering files and four hooks.

Arachne built in Kiro IDE#

The pipeline, the test suite, this documentation site and the Hollowmere landing page were all built inside Kiro. The working loop was the same each time: write the behaviour down in a spec, let Kiro implement it together with its tests and docs, then verify with make test. Steering files kept Kiro's context stable between sessions, and hooks ran the linter, the security check and the tests without anyone asking.

Kiro featureWhere it livesWhat it did for Arachne
Specs.kiro/specs/Requirements and task lists for the pipeline, the MCP server and the landing page.
Steering.kiro/steering/Standing project knowledge and security rules, loaded in four different ways.
Hooks.kiro/hooks/Lint on save, security review before writes, tests after tasks, SAST at session start.
MCPremediation/mcp/The Arachne MCP server, built from its spec.

Specs#

Each spec has numbered requirements and a checkbox task list; tasks are ticked as they land. Open tasks are left unticked.

SpecWhat it containsWhat it produced
vulnerability-remediation-pipeline.md Requirements R1–R8: advisory ingestion, deterministic resolver (lowest safe version, 7-day cooldown, major bumps stop at needs_approval), patcher, the five gates and their six outcomes, generated smoke tests, the tool-free LLM fixer behind EditGate, evidence bundle and PR, run outcomes. The resolver, patchers, gates, fixer and PR writer, and the 46-case testbed. Open tasks: property-based tests (Task 8), PHP/Composer to Tier 1, a Gradle adapter.
mcp-server.md OAuth 2.1 bearer auth with aud=MCP, the contract for eight tools, the JSON and error envelope, per-tenant rate limits. The MCP server and its docs pages. Open task: integration tests with a real MCP client.
halloween-landing.md Hollowmere: five scenes joined by four seam bands, every animation parameter, responsive and reduced-motion rules. The animated landing page: five illustrated scenes, falls and particle canvases, sprites, parallax and eased scrolling. It is now the default site at /, retargeted to Arachne and kept alongside the live threat feed, plans and sign-in.

The pipeline spec is the one that mattered most. A sentence such as "pick a safe version" is vague; "the lowest version that satisfies every advisory at once, respects the cooldown and stops at needs_approval on a major bump" is testable, and each clause became a test.

Steering#

Four files, each with a different inclusion mode set in its front matter.

FileInclusionHolds
project-overview.mdalwaysPurpose, architecture, key directories, language tiers, dev commands, code conventions.
security-constraints.mdauto (by description: pipeline, fixer, sandbox, SCM, credentials)No credentials in the sandbox, the fixer has no tools, EditGate filters all output, the audit log is append-only, SSRF rules for outbound calls.
testing-standards.mdauto (by description: writing tests, gates, ecosystems)Hermetic tests with no network, fixture layout, an outcome test per gate, guidance on property-based tests, CI rules.
landing-page.mdfileMatch on remediation-framework/src/remediation/api/web/**Design tokens, theme system, asset stamping, the docs-site build, the Halloween theme.

Biggest impact: security-constraints.md. Because it loads whenever pipeline or SCM code is in play, the token-handling and SSRF rules were applied while code was being written instead of found afterwards in review.

Hooks#

HookTriggerAction
lint-on-savePostFileSave on *.pyRuns ruff check (E, W, F) over the source tree.
security-reviewPreToolUse on file writesAn agent checks the pending edit against the security constraints: no secrets, no EditGate or sandbox bypass, no tools for the fixer, no audit-table changes, no SSRF vectors.
test-after-taskPostTaskExecRuns the whole pytest suite and shows the tail. Regressions surfaced within seconds of the task that caused them.
sast-on-session-startSessionStartRuns bandit at medium severity and above and shows the summary before any new code is written.

MCP#

The Arachne MCP server was specified in mcp-server.md and built from that contract. Because every tool's input and output was written down first, the user-facing tools reference is essentially the spec in prose.

ToolUse
advisories_latest, advisories_search, advisory_explainRead the live advisory data, including EPSS and KEV.
repos_affectedWhich connected repositories have an advisory in their installed tree.
propose_versionThe lowest safe version the resolver would pick.
fix_submit, job_status, pr_openStart a fix job, follow its gates, open the pull request. Submitting and opening need the approval scope, and a human still approves in the app.

In practice an assistant can answer "is my Flask version vulnerable?" with a specific safe version, then queue the fix, without leaving the chat. To connect a client, see Install & connect.

Property-based tests#

Task 8 of the pipeline spec calls for hypothesis tests on the three components where example tests are weakest. They live in remediation-framework/tests/.

FileProperties
test_looseVer_pbt.pyExactly one of <, ==, > for any two versions; transitivity; reflexivity; arbitrary text never raises anything but ValueError; CalVer years are not major bumps; semver ordering.
test_editgate_pbt.pyFor arbitrary LLM-shaped JSON, nothing under tests, a manifest, a lockfile, CI config or a ../ path is ever accepted. The repository fixture contains every forbidden file, so only the gate's own policy can reject. A control test checks that allowed files are accepted.
test_advisory_parser_pbt.pyAdvisory.parse_osv never raises on any bytes, text or JSON; a successful parse has a string id and a list affected; parsing twice gives equal results.

What they caught#