Research log / RL-018

RL-018 A bounded workspace map for small models and reviewers

Evidence grade C

Field Value
Date 2026-09-13
Harness version 2026-09-13-css-sized-edits-6 → 2026-09-13-workspace-map-7
Models harness-only; no model inference
Evidence grade C (source inspection and fixture tests)
Pre-registered yes: observation, baseline and hypotheses written before implementation
Source record user request, 2026-09-13

Observation

The user asked for “the tiny workspace to easily be navigable for the slm's and the large language models who review and improve the project” and for the harness to work “both ways.” The current list_files result contains a count and at most 50 files ordered by modification time. It does not identify the project type, instructions, entry points, important configuration, directory shape, file-type distribution, or how many paths were omitted from the list.

Because tool observations are compacted to 600 characters, a large flat file array can also be cut before an important older file appears. A small model must guess which path matters; a larger reviewer receives the same weak starting point and spends context reconstructing the tree.

Baseline

Hypotheses

Intervention

Method

  1. Create a workspace fixture containing root instructions, Node/TypeScript configuration, src/main.ts, and 60 feature files (65 files total).
  2. Call the real list_files tool and inspect its returned map, compatibility fields and the existing compact(result) representation.
  3. Test an empty workspace to ensure the additional fields remain bounded and well formed.
  4. Run the full test suite, typecheck and build.

Results

Threats to validity

Conclusion

H1–H3 are supported by the deterministic fixture. H4 is supported as a shared contract and remains untested as a model-quality claim.

Follow-ups

  1. Run paired navigation tasks on the 1.5B worker and a larger reviewer; record correct first-file choice, reads, prompt tokens and task completion.
  2. Add a landmark only after an observed project layout is missed; do not grow the map speculatively.
  3. If reviewers need change context, test a separate bounded diff summary rather than placing Git output in every workspace map.

Reproduce

node --import tsx --test tests/fileTools.test.ts
npm test
npm run typecheck
npm run build