veryfront-code AGENTS.md

Project instructions for Veryfront Code, a Deno-based framework and runtime for servers, web rendering, agents, workflows, tasks, and MCP support.

In plain words
What is it for?
They guide implementation and maintenance of Veryfront APIs, runtime behavior, server-side rendering, agent and workflow features, MCP support, and command-line tools.
Why use it?
They help keep changes small and compatible by requiring code evidence, focused tests, reuse of existing parts, and updates to public documentation when behavior changes.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/veryfront/veryfront-code/agents-md
Clone the repo
git clone --depth 1 https://github.com/veryfront/veryfront-code

Made for: Codex, OpenCode.

Per session 3,692 This file is loaded in full into every session.
When invoked 3,692 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.03692 $0.03692
Opus 5 $0.01846 $0.01846
Sonnet 5 $0.00738 $0.00738
Haiku 4.5 $0.00369 $0.00369

Measured yesterday against content hash 64ca2357cf7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

veryfront-code AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 342 lines

How it starts

The opening of the file, as written. The whole thing — 342 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Veryfront code agent guide

This guide governs veryfront-code/. Deeper AGENTS.md files override it for their subtrees. The cli/ subtree has its own guide at cli/AGENTS.md and that guide is the narrower authority for CLI command work.

Veryfront Code is the Deno-first framework and runtime package for Veryfront. It contains the public veryfront/* APIs, the runtime server, SSR/RSC support, agent and workflow primitives, runs, tasks, MCP support, and CLI entrypoints.

Default working style

  • Prefer the smallest viable diff.
  • Preserve public API compatibility unless the task explicitly asks for a breaking change.
  • For behavior changes, add or update a focused failing test before changing implementation.
  • Reuse existing modules, schemas, adapters, and error patterns before adding new abstractions.
  • Keep public behavior grounded in code evidence, generated types, and tests.
  • Update docs, examples, generated references, and command help when public behavior changes.
  • Do not rename, move, or refactor unrelated code.
  • Do not add dependencies unless the task explicitly requires them.

Commands

Use Deno commands from this repository root.

# Command discovery
veryfront schema --json

# MCP server
veryfront mcp

# Run the full test suite
deno task test

# Unit tests only, parallel, excluding integration suites
deno task test:unit

# A single file or directory
deno task test:file src/workflow/executor/dag/index.test.ts

For targeted changes, run the narrowest relevant task first (deno task test:file <path>), then broaden only when the change touches shared runtime, public APIs, or cross-cutting behavior.

This repository pins its Deno version in .tool-versions, and mise or asdf will select it automatically. Match it before regenerating anything: generated files embed declaration line numbers in padded columns, so a different Deno rewrites them even when nothing changed, and committing that output turns CI red for everyone. deno task docs refuses to run on the wrong version rather than producing a plausible-looking diff.

Read the full file on GitHub · 342 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 342 lines · 3,692 tokens per session scan A 64ca2357cf7e

Subscribe to this mod's changes

veryfront-code AGENTS.md is an instructions file published in the GitHub repository veryfront/veryfront-code (18 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,692 tokens to every session, about $0.0185 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.