Repository navigation
Description
Problem or use case
Local fresh-agent experiments on URLCode 0.6.4 suggest that making a skill available is insufficient to establish the intended authoring workflow. A shipped-skill trial still guessed unsupported fields and did not retrieve context; a shorter contract-first trial retrieved schemas but created a nested site and omitted a workspace-root start script.
Six subsequent trials on the same small task compared a prepared empty site against that site plus selected runtime capability schemas. All six passed the three HTTP requirements from the site root. Unsupported route-field guesses occurred in 2/3 starter-only runs and 0/3 packet runs; 2/3 packet runs instead confused site-relative and project-relative asset paths. Median time was effectively tied (54 vs 55 seconds). This is small-task exploratory evidence, not a general performance result.
Proposed behavior and alternatives
Provide a supported local agent-bootstrap workflow that composes existing init/context/capability surfaces rather than adding another independent instruction manual:
- Distinguish new-site creation from inspection of an existing site; preserve existing files and require an explicit destination for creation.
- Return a machine-readable site root, route-project root, entry file, host file, installed runtime revision, and exact start/validate/test commands.
- Allow explicitly selected capabilities to be delivered as a bounded packet with revision-matched schema fragments and relevant examples. Automatic task-to-capability selection is a separate unverified concern.
- Explain file references with a concrete site/project mapping. Expose only paths within the authorized project scope.
- Make the packet available before the first authoring turn; CLI should work without hosted services or MCP. A thin skill/client integration can invoke the workflow.
- Report unsupported/mismatched runtime or target capabilities rather than guessing or silently upgrading.
Acceptance should cover an empty directory, an existing initialized site, a site containing a supplied frontend, and repeated invocation without nested app/app creation or unrelated-file changes. Measure fresh-agent use and behavior, not just packet presence.
Related: #542 (first-session MCP setup), #806 (explicit hosted-assisted skill). This request is the local-only machine-readable preparation/contract workflow. It does not require a hosted provider, change route YAML infrastructure settings, or claim missing core handler semantics.
Activity
jimhoyd commentedon Sep 27, 2026
Follow-up local feasibility results on runtime 0.6.4 (same model and four-minute per-trial cap):
This strengthens the direction toward prepared workspace + small tested composition recipe + executable completion checks, with a thin skill/launcher entry point. Schemas alone did not teach the SPA composition. The supplied checker remained intact; applications were not repaired by the reviewer after agent completion.
These are assisted feasibility probes, not a neutral speed comparison: tiny samples, manual capability/recipe selection, pre-session setup excluded from model timing, explicit prompt delivery rather than native skill discovery, and shared host/cache. SPA plugin behavior was evaluated on Node only and is not a security or production-readiness claim. Auth remains untested in this workflow and is tracked in #810. The SPA recipe direction is tracked in #809. No repository implementation or publishing occurred; raw evidence remains local.
jimhoyd commentedon Sep 27, 2026
Decision (owner, 2026-09-27): build this local-only bootstrap now. It composes init, context, schema and capability data into a machine-readable packet, and needs no hosted service or MCP. #806 waits until this lands.
Generated by Claude Code
Asset reference diagnostics, local agent bootstrap, SPA and headless-…
jimhoyd commentedon Sep 27, 2026
Fresh-agent verification against the exact published 0.6.5 package: four static-site trials using
bootstrap --create --capabilities ... --jsonall passed independent HTTP checks (two 3/3, two 6/6). Supplied checker files/scripts were unchanged. No observed tool errors or schema/path corrections. Three-route durations: 42.1s and 29.6s; six-requirement durations: 29.8s and 28.9s. Same Sonnet 5 / medium and 240s cap as prior assisted experiments. This supports bootstrap usability once its output is explicitly supplied; it does not test native skill discovery or urlcode.ai activation. Two repetitions per task are insufficient for a speed claim, and model cost did not improve versus the prior four trials.init --no-mcp and EPERM diagnostics, fence-aware docs search, fixed-c…