Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Daniel Covington 2c31071f3c Add memory export scripts (bash, PowerShell) and README status/roadmap 1 день назад
app Phase 2: document ingestion, chunking with locators, lexical search, recall and verification 1 день назад
core Phase 2: document ingestion, chunking with locators, lexical search, recall and verification 1 день назад
db/migrations Phase 2: document ingestion, chunking with locators, lexical search, recall and verification 1 день назад
public Phase 2: document ingestion, chunking with locators, lexical search, recall and verification 1 день назад
scripts Add memory export scripts (bash, PowerShell) and README status/roadmap 1 день назад
tests Phase 2: document ingestion, chunking with locators, lexical search, recall and verification 1 день назад
.gitattributes Document Phase 1 workflow and new AxonASP gotchas; keep LF in .sh 1 день назад
.gitignore Run under AxonASP in Docker and fix dispatch quirks 1 день назад
AGENTS.md Phase 2: document ingestion, chunking with locators, lexical search, recall and verification 1 день назад
CLAUDE.md Run under AxonASP in Docker and fix dispatch quirks 1 день назад
README.md Add memory export scripts (bash, PowerShell) and README status/roadmap 1 день назад
Universal-Agent-Memory-Specification.md Run under AxonASP in Docker and fix dispatch quirks 1 день назад
docker-compose.yml Align container layout with AGENTS.md; document AxonASP gotchas 1 день назад

README.md

RouteKit Classic ASP - MVC Starter (AxonASP)

A clean starting point for Classic ASP applications on AxonASP, a Go-based Classic ASP / VBScript 5.8 runtime. It ships a small MVC framework (router, controllers, views, flash messages, CSRF helper), a SQLite data layer on the native G3DB library, migrations, and code generators for tables, repositories, HTML controllers and JSON APIs.

No sample modules are included: the first table you add is yours.

Quick start

Requires Docker.

docker compose up -d

Open http://localhost:8801. The compose file mounts this folder into the container and serves public/.

After editing ASP code, restart the container so cached scripts are recompiled: docker restart axonasp.

Project structure

public/            web root: Default.asp (front controller + routes), web.config (rewrite, settings)
core/              framework: mvc.asp, router, DAL (G3DB), migrations, JsonLite, helpers, lib.*.asp
app/
  controllers/     <Name>Controller.asp (HTML), Api<Name>Controller.asp (JSON), autoload_controllers.asp
  models/          POBO_<Table>.asp, <Table>Repository.asp (generated), autoload_models.asp
  views/           <Name>/ views; shared/ layout (header, footer); Home, Error, Docs
db/
  migrations/      YYYYMMDDHHMMSS_name.asp (Migration_Up / Migration_Down)
  app.sqlite       created by the first migration run (git-ignored)
scripts/           gen.cmd (generators), migrate.cmd, templates/
docker-compose.yml  the AxonASP container (mounts this folder at /opt/axonasp/site)

Adding a feature

All commands run from this folder on Windows and execute inside the container through the AxonASP CLI. Run gen.cmd controller from PowerShell or cmd (not Git Bash).

  1. Migration: scripts\gen.cmd migration create_things_table, edit Migration_Up / Migration_Down, then scripts\migrate.cmd up (also status, down).
  2. JSON API for the table: scripts\gen.cmd api /table:Things /pk:Id. This writes the model and repository, ApiThingsController.asp, wires the includes, controller whitelist and routes (/api/things), and creates public/api/things.openapi.json and api-tests/things.http.
  3. HTML pages: scripts\gen.cmd controller Things Index "Show(id)" NewForm Create "Edit(id)" "Update(id)" "Delete(id)" creates a stub controller and wires it; fill in the actions and add views under app/views/Things/.
  4. docker restart axonasp, then try it.

The Swagger UI at http://localhost:8801/api/docs lists every generated API spec and lets you call the endpoints.

Included

  • HomeController: welcome page at /
  • ErrorController: 404 page
  • DocsController: Swagger UI at /api/docs

Agent memory platform (status)

Implements Universal-Agent-Memory-Specification.md on top of this starter. API base /api/v1, spec in public/api/memory-v1.openapi.json (Swagger at /api/docs). Auth is Authorization: Bearer <key>; the tenant comes from the key. A caller without permission on a namespace gets 404.

Done

  • Phase 1: tenants, principals, hashed API keys, namespaces, grants (read/write/delete/verify/admin); memories with revisions, correction (If-Match), retire/forget, idempotency keys, duplicate detection, audit events; sessions with checkpoints; health.
  • Phase 2: Markdown/text ingestion with chunking and source locators (core/lib.Search.asp), documents/chunks/jobs, lexical search over chunks (FTS5), POST /recall over memories, verification (POST /memories/:id/verifications), content_trust labelling.

Tooling

  • scripts\provision.cmd (tenant, principal, key, namespace, grant, revoke, list, purge); see AGENTS.md section 1. Quote permission lists in PowerShell: '"read,write"'.
  • scripts\export-memories.ps1 / scripts/export-memories.sh: dump every readable memory (set AMK_KEY).
  • Tests (container must be running): bash tests/phase1-api.sh (71 checks), bash tests/phase2-api.sh (45 checks). Both create and purge their own tenants.

Next (not started)

  1. Context assembly (/context): budgeted, deduplicated, trust-labelled bundle for an agent.
  2. Embeddings and hybrid retrieval (needs a decision on the embedding provider).
  3. Experiences, candidates and review; feedback (AC-18).
  4. Import/export API, and management endpoints for namespaces, principals and grants (today only via provision.cmd).

Configuration

  • public/web.config: ConnectionString (sqlite:/opt/axonasp/site/db/app.sqlite), environment and UI settings.
  • /opt/axonasp/config/axonasp.toml (inside the container): server settings; any key can be overridden with an environment variable (see docker-compose.yml).

Rules for developers and AI agents

See AGENTS.md at the repository root: language rules, AxonASP quirks verified in this project, security checklist and working rules.

Powered by TurnKey Linux.