
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
contextdevkit
Advanced tools
Portable, level-based AI-assisted development platform for Claude Code, Google Antigravity, and OpenAI Codex — hooks, commands, sub-agents, and durable project memory for any stack.
A portable, level-based AI-assisted development platform that runs natively on Claude Code, Antigravity, and Codex. Drop it into any project — greenfield or existing, any stack — and the harness starts enforcing durable project memory, automatic context loading, drift detection, specialized sub-agents, governed deliberation, and a workflow journey it won't let you skip. Turn on as much or as little as you want.
ContextDevKit treats "AI-assisted coding" as engineering. A plain CLAUDE.md
is just instructions the model is free to ignore; ContextDevKit makes the harness
enforce the rules with hooks and gates, and records the why in version control
so any future session — human or AI — can pick up exactly where the last one left off.
Everything in the kit serves one thesis: don't depend on the AI's goodwill — make the environment enforce it. Four durable artifacts, all in your repo, all plain text:
| Artifact | Question it answers | Where |
|---|---|---|
| ADRs | Why did we decide this? | contextkit/memory/decisions/ |
| Session logs | What happened, session by session? | contextkit/memory/sessions/ |
| Glossary | What does this domain word mean in code? | contextkit/memory/GLOSSARY.md |
| Changelog | What shipped, and when? | CHANGELOG.md |
Around those, hooks inject context at session start, track every edit, and block the session from ending with unregistered work — while gates stop a high-risk edit, a half-finished workflow, or an unreviewed decision from sliding through. You adopt it gradually through seven levels, and a separate autonomy dial decides how much the AI may do without asking.
Governance that the engine enforces — not the prompt. v2.7.0 lands three systems that move enforcement out of "please remember to…" and into code: an eight-feature parity import, an auto-invoked deliberation council, and a workflow journey gate.
| System | What it does | Deep dive |
|---|---|---|
| ContextKit parity import (ADR-0060 → 0068) | Eight zero-dep, level-aware, warn-first features ported from nolrm/contextkit: PostToolUse auto-format, multi-language pre-push quality gates, hook-manager coexistence, an opt-in CI squad action, a ≥3-occurrence standards-promotion threshold, /context-budget + @-imports, marker-idempotent injection, and context bridges for six more tools (Cursor, Copilot, Gemini, Windsurf, Aider, Continue — context only, governance stays native) | docs/explanation/contextkit-parity.md |
| Deliberation council (ADR-0070) | Multi-agent deliberation is now auto-invoked at the two moments it matters — opening a feature and recording a decision — at autonomy grade ≥ 3. A deterministic, named specialist council scales to the question; a tiered research swarm gathers evidence cheaply (Haiku scouts) before the reasoning voices (Opus) argue. The ADR write itself stays manual at every grade | docs/explanation/deliberation-council.md |
| Workflow governance (ADR-0071) | The /workflow journey is now enforced in the engine: advance refuses to leave a phase with missing deliverables (every CLI held to the same bar), --force is the explicit escape. Workflows are numbered NNNN-slug like ADRs, and the L5 mutation guard is branch-scoped so a parallel session no longer blocks unrelated edits | docs/explanation/workflow-governance.md |
| Feature | What it does |
|---|---|
| Active agent squads (ADR-0069) | Turns passive, declared squads into a governed routing layer: deterministic routing (squads-registry.json + /squad route), explicit posture activation (/squad activate), stack-aware playbook templates for all 8 squads, and compliance auto-auditing at the pre-commit gate. Token-minimized posture assembly via squad-director.mjs. See docs/explanation/active-squads.md |
| Stack-aware QA scaffolding | /test-plan and /scaffold-tests start from scaffold-tests.mjs, a zero-dep script that detects Node/JavaScript, Python, Go, Rust, and PHP, emits happy/edge/failure cases, and writes starter harness tests only with explicit --write |
| Autonomy dial (ADR-0041–0045, 0058) | autonomy.grade 1–4 — a consent axis orthogonal to levels, with a non-negotiable floor in code (secrets, force-push, gate self-edits, ADRs, grade changes stay human at every grade) |
| Swarm coordinator (ADR-0051) | /swarm runs N disjoint backlog tasks in parallel worktrees under the full governance stack; a run finishes at testing, never done |
| Cost-tiered model routing (ADR-0052) | Every agent declares a model: tier (opus thinks · sonnet builds · haiku executes); skills classify the task at dispatch with floors (security never below sonnet). Cache-safe by construction |
| Feature | What it does |
|---|---|
| Codex + Antigravity native hosts (ADR-0036, 0056) | Two more first-class hosts alongside Claude Code, regenerated deterministically from the Claude sources; selfcheck parity guards fail if a host diverges |
/project-map (ADR-0038–0040) | Deterministic, zero-AI-token structural map — stack, modules, exported symbols, and a module dependency graph for blast-radius reasoning |
/debate (ADR-0035) | The manual deliberation artifact the v2.7 council automates: independent voices argue, a synthesizer converges, the artifact feeds an ADR |
| Landing-page + SEO/AISO (ADR-0023, 0025, 0050) | landing-architect + conversion-strategist agents, the anti-Lovable playbook, and /seo-audit running 16 static SEO + AI-Search-Optimization checks |
| Host-modular installer (ADR-0037) | install.mjs is a thin orchestrator over tools/install/ — adding a host is one module + one call |
.mjs; Levels 1–3 need zero npm
packages. Node 20.6+ unlocks --env-file for the media-gen credentials flow.gh (GitHub CLI) for PR/sync awareness; GOOGLE_AI_API_KEY for /media-gen.One command, from anywhere — the repo is the installer:
# from npm (recommended) — auto-picks L3 for an empty folder, L7 if it already has code
npx contextdevkit --target . --yes
# or straight from GitHub (no npm needed)
npx github:reiTavares/ContextDevKit --target . --yes
Greenfield? Run it in an empty (or git init-ed) folder and it scaffolds the whole
thing. Existing project? It detects your stack, never clobbers your CLAUDE.md
(it writes CLAUDE.contextdevkit.md to merge by hand), and preserves any hooks you
already had.
Then, one-shot self-configuration — open the project in Claude Code, approve the hooks once, and the boot hook tells you it isn't configured yet. Run:
/setupcontextdevkit
This inspects the project, tunes the config to your stack (ledger path lists,
high-risk paths), fills in CLAUDE.md (rules, stack, glossary), scaffolds domain
sub-agents, records a baseline ADR, and logs the session — going from "kit installed"
to "kit fitted to this project" in a single pass.
$ npx contextdevkit --target . --yes
✓ .claude/settings.json wired for L7
✓ engine installed (contextkit/runtime, contextkit/tools)
✓ slash commands installed · agents installed · providers installed
✓ CLAUDE.md created · CHANGELOG.md created
✅ ContextDevKit installed at Level 7 (existing project — full toolkit)
> /setupcontextdevkit
Phase 1 — Inspect …… detected: TypeScript · Vite · React · vitest
Phase 3 — Apply …… ledger tuned (src/, tests/); high-risk: src/db/schema.ts
Phase 4 — CLAUDE.md … stack + immutable rules filled in
Phase 7 — baseline ADR-0001 recorded; session logged
✅ ContextDevKit fitted to this project.
Security & trust — read before installing. ContextDevKit is a code-execution tool: install it like any dependency you run.
npxwrites git hooks under.git/hooks/(L≥3) and Claude Code hooks into.claude/settings.json, which then runnodeon each session/commit/push. Pin a tag for a reproducible install:npx github:reiTavares/ContextDevKit#v2.7.0 --target . --yes. An existing git hook is never clobbered (backed up to<hook>.bak)./fleetand customcontextkit/detectors/*.mjsexecute with full Node privileges — only register repos and add detectors you trust.
| Level | Name | Adds |
|---|---|---|
| 1 | Memory | Boot context injection, /log-session, ADRs, changelog |
| 2 | Ledger | Drift detection — tracks edits, nudges you to register the session |
| 3 | Multi-session | /claim · /worktree-new, derived indices, git hooks (Conventional Commits + conflict-blocking pre-push + multi-language quality gates) |
| 4 | Squads | Specialized sub-agents (devteam, qa-team, design-team, security-team, compliance-team, ops-team) + PostToolUse auto-format |
| 5 | Proactive | /simulate-impact gate on high-risk paths, branch-scoped workflow guard, /tech-debt-sweep, /contract-check, auto-distill nudge |
| 6 | Autonomy & Insight | /ship, /swarm, /pipetest, the auto-invoked deliberation council, /retro, /context-stats, agent-forge squad |
| 7 | Ecosystem | /fleet multi-repo control plane, /tune-agents, visual tests, playbook runner, multi-platform context bridges |
The autonomy dial is orthogonal to levels.
autonomy.grade(1 manual · 2 suggest default · 3 auto-except-decisions · 4 full-auto, experimental) decides what the AI may do without asking, at any level — set it with/autonomy. A non-negotiable floor in code keeps secrets, force-push, gate self-edits, ADRs, and grade changes human at every grade. See ADR-0041–0045, 0058.
Change level anytime, from inside the project:
node contextkit/tools/scripts/context-level.mjs # show
node contextkit/tools/scripts/context-level.mjs 4 # move to L4 (or /context-level 4)
Going up adds capability; going down cleanly removes the now-disabled hooks. See docs/LEVELS.md.
This is the part that doesn't rely on the AI remembering. Three layers, each documented in its own explanation doc:
/simulate-impact gate on high-risk paths,
and (parity import) PostToolUse auto-format + multi-language pre-push quality gates./workflow won't let advance leave a phase with empty deliverables; --force is
the explicit, recorded escape. Numbered NNNN-slug; the mutation guard is
branch-scoped so parallel sessions don't block each other.For larger features, /workflow creates a spec pack in
contextkit/memory/workflows/<slug>/ (prd.md, spec.md, ADR/task indexes, daily
reports). The lifecycle:
intake → prd → spec → adr → roadmap(if feature) → pipeline → ship → testing → conclusion
Pipeline cards link back with --workflow <slug>; moving a card to testing stamps
implemented: YYYY-MM-DD; QA sign-off remains the governed path into conclusion.
Each squad has a router agent that picks specialists by intent. As of v2.6 the squads are active: routed deterministically, given stack-aware playbooks, and audited at the pre-commit gate — see docs/explanation/active-squads.md.
| Squad | Specialists | When |
|---|---|---|
| devteam | architect, code-reviewer, context-keeper, test-engineer | Cross-cutting design + PR review + memory hygiene |
| qa-team | qa-orchestrator + qa-unit / qa-integration / qa-fuzzer / qa-perf / qa-e2e | Testing strategy + execution |
| design-team | ui-designer, ux-designer, accessibility, seo-specialist, landing-architect, conversion-strategist, tracking-integrator | UI/UX, WCAG AA, SEO + AISO, high-conversion landing pages (ADR-0050) |
| security-team | security, code-security, infra-security | Auth, secrets, dependencies, IaC, supply chain |
| compliance-team | privacy-lgpd, governance-officer | LGPD (Brazilian data protection), policy |
| ops-team | devops | CI/CD, deploys, environments, observability |
| agent-forge (L6+) | forge-orchestrator, model-router, prompt-engineer, tool-designer, eval-designer, packager, rag-designer, agent-architect | The "agent that builds agents" — produces portable Agent Packages |
Grow your own — or new squads — from _BRIEFING.md.tpl via /squad. See
docs/SQUADS/design-team.md and
docs/SQUADS/agent-forge.md for two squads in depth.
your-project/
CLAUDE.md # boot context + your coding constitution
.claude/
settings.json # hook wiring (composed for your level)
commands/ # the slash-command set, organised in packs
audit/ pipeline/ qa/ vcs/ forge/ setup/ # domain packs (see Slash commands)
agents/ # the sub-agent archetypes, each with a cost tier (L4+)
.agents/ # Antigravity host (skills, personas, playbooks — built from Claude sources)
INSTRUCTIONS.md · ctx.mjs # Antigravity boot context + central CLI runner (agy)
.codex/ · AGENTS.md · cdx.mjs # Codex host (hooks + TOML subagents + boot context + runner)
contextkit/
.env.example # optional credentials template (media-gen)
runtime/hooks/ # the engine: boot, ledger, drift, L5 gate, auto-format, deliberation-nudge
runtime/config/ # zero-dep loader, defaults, settings composer
runtime/git-hooks/ # pre-commit (reindex), commit-msg, pre-push (conflicts + quality gates)
runtime/providers/review/ # PR/review CLI adapters (gh)
runtime/providers/media/ # Veo + Nano Banana adapters
runtime/state/ # canonical append-only state.json substrate (ADR-0015/0043)
tools/scripts/ # reindex, dashboard, sync-check, guard, swarm, deliberation-council, audits, …
memory/decisions/ # ADRs (the why)
memory/sessions/ # one file per session (the what)
memory/workflows/ # /workflow spec packs (NNNN-slug)
memory/GLOSSARY.md
pipeline/ # DevPipeline lanes: backlog / working / testing / conclusion
workflows/playbooks/ # tanstack, landing-page, seo-aiso, tech-debt-sweep, squads/…
squads/agent-forge/ # the "agent that builds agents" (L6+)
config.json # level + ledger path lists + L5 params + autonomy grade
CHANGELOG.md
Organised into domain packs so the / menu doesn't read as a 60-file scroll.
The basename resolver is path-agnostic — /qa-signoff finds qa/qa-signoff.md
exactly the same as a flat layout.
Setup: /aidevtool-from0 (empty project) · /setupcontextdevkit (existing project)
Daily (root pack): /state · /log-session · /new-adr · /debate · /advise
· /close-version · /context-refresh · /project-map · /bug-hunt · /dashboard
· /watch · /landing-page · /media-gen · /playbook · /predictions-review
· /squad · /context-budget · /token-report · /tune-agents · /context-stats
· /fleet · /distill-sessions · /distill-apply · /simulate-impact · /roadmap
· /claude-md · /docs-reindex
pipeline/: /pipeline · /ship · /swarm · /pipetest · /dev-start
· /plan-week · /retro · /runs · /workflow · /workflow-assist · /resume
vcs/: /git · /claim · /release · /worktree-new · /gh-triage
· /draft-changelog · /changelog-social
qa/: /qa-signoff · /test-plan · /scaffold-tests · /visual-test
audit/: /audit · /deep-analysis · /security-setup · /deps-audit ·
/tech-debt-sweep · /analyze-code-ia-practices · /contract-check · /seo-audit
· /validate-doc
forge/ (L6+, agent-forge squad): /forge-new and 13 lifecycle commands
(forge-{list,show,doctor,policy,budget,audit,eval,redteam,route,fallback-test,refresh-matrix,killswitch,deprecate})
setup/: /setupcontextdevkit · /aidevtool-from0 · /autonomy
· /context-doctor · /context-level · /context-config
On Antigravity every command is a skill under .agents/skills/ (same names,
no / prefix), run through the agy runner — see docs/ANTIGRAVITY.md.
On Codex, generated skills live under .agents/skills/, subagents under
.codex/agents/*.toml, and the same scripts run through node cdx.mjs <command> —
see docs/CODEX.md.
| Playbook | Authority | What it covers |
|---|---|---|
landing-page.md | ADR-0023 | Fold rules, anti-Lovable refusals, dated package recs, Core Web Vitals budget |
seo-aiso.md | ADR-0025 | SEO + AISO checklist (llms.txt, FAQ schema, semantic HTML5, AI-crawler robots.txt) |
tanstack.md | ADR-0017 | TanStack family, cache-key discipline, typed router params |
simulate-impact.md / tech-debt-sweep.md / distillation-cycle.md | L5 gates/audits | Blast-radius mapping, constitution scan, CLAUDE.md refinement |
security-batch.md | security-team | Batch security findings → ADRs + backlog |
squads/*.md | ADR-0069 | Stack-aware posture guide per active squad |
Pluggable runtime adapters (node:fetch / child_process.spawn) with a typed error
contract.
contextkit/runtime/providers/review/): gh CLI for PR creation,
review-comment listing, and posting. Add glab.mjs / bb.mjs / tea.mjs for
GitLab / Bitbucket / Gitea — same _adapter.mjs contract; detect.mjs resolves
from git remote get-url origin.contextkit/runtime/providers/media/): nano-banana (Imagen 3 image,
~$0.04/image) and veo (Veo 3 video, ~$0.50/s), both on GOOGLE_AI_API_KEY.
Cap per-process spend with CONTEXTDEVKIT_MEDIA_MAX_USD=5.00; --dry-run never charges.node --env-file=contextkit/.env contextkit/tools/scripts/media-gen.mjs image \
--prompt "editorial product hero, asymmetric grid" --out public/hero.png
node contextkit/tools/scripts/seo-audit.mjs # 8 SEO codes, exit 1 on SPA_ENTRYPOINT
node contextkit/tools/scripts/aiso-audit.mjs --json # 8 AISO codes, machine-readable
SEO: SPA_ENTRYPOINT ⚠️, MISSING_TITLE, MISSING_DESCRIPTION, MULTIPLE_H1,
MISSING_CANONICAL, MISSING_ALT, MISSING_SITEMAP, MISSING_ROBOTS.
AISO: MISSING_LLMS_TXT, MISSING_FAQ_SCHEMA, MISSING_ORG_SCHEMA, DIV_SOUP,
JS_RENDERED_CONTENT, MISSING_AUTHOR_SCHEMA, MISSING_DATE_STAMP, BLOCKS_AI_CRAWLERS.
See ADR-0025.
/dashboard + /watchnode contextkit/tools/scripts/dashboard.mjs # snapshot → dashboard.html
node contextkit/tools/scripts/dashboard.mjs --watch # live on 127.0.0.1:4242 (SSE)
node contextkit/tools/scripts/watch.mjs --follow # tail the ledger
/dashboard renders pipeline lanes + ADRs + sessions + roadmap + [Unreleased]
changelog as self-contained HTML; /watch tails the active session ledger.
Two different artifacts. contextkit/memory/roadmap.md is the product/business
plan (capabilities, P-IDs, the what/why). The DevPipeline
(contextkit/pipeline/, board in devpipeline.md) is execution control — bugs,
increments, chores, and roadmap items broken into tasks with priority, SLA, DAG
dependencies, and complexity, flowing backlog → working → testing → conclusion.
The roadmap says what to build; the pipeline runs the work.
# diagnose an install (node, config, hook wiring vs level, git hooks, onboarding)
/context-doctor # or: agy doctor / node contextkit/tools/scripts/doctor.mjs
# safe update — refresh engine, commands, agents, configs (NEVER touches CLAUDE.md, memory, custom settings)
npx contextdevkit@latest --target . --update
# change level (rewires settings.json, installs git hooks at L≥3)
/context-level 4
# uninstall — keeps memory (ADRs, sessions) and CLAUDE.md; add --purge to also remove the engine
node /path/to/contextdevkit/install.mjs --target . --uninstall
--update runs a conflict-safe 3-way merge against a sha256 manifest (personalized
commands/agents are never clobbered), refreshes the installed contextkit/README.md,
regenerates docs/README.md, and runs the workflow-numbering migration — but does
not take ownership of your project's root README.md.
npm test # selfcheck + the integration-test suites (what CI runs)
npm run ci # npm test + the tech-debt RED-line gate (validate before pushing)
node tools/selfcheck.mjs # static: loads the engine, asserts wiring per level
node tools/integration-test.mjs # end-to-end: installs to a temp dir, drives real hooks
npm run build:antigravity # regenerate .agents skills/personas from templates/claude
npm run build:codex # regenerate .codex agents + source-command skills
The kit dogfoods itself, so the SOURCE lives under templates/ and tools/ — never
edit the installed contextkit/ copies. See CONTRIBUTING.md for the
immutable rules (zero hot-path deps, hooks never break work, add a test for anything you add).
Organized by Diátaxis — see docs/README.md for the full index.
Explanation — the why:
Reference & how-to:
🇧🇷 Guia em português: instrucoes.md.
MIT — see LICENSE.
FAQs
Host-agnostic AI software engineering governance harness with persistent project intelligence, adaptive evidence-driven engineering loops, durable work state, and long-term memory across coding agents.
The npm package contextdevkit receives a total of 0 weekly downloads. As such, contextdevkit popularity was classified as not popular.
We found that contextdevkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.