docs: unwrap hard-wrapped Markdown to one line per paragraph
Hard line breaks mid-paragraph make docs harder to edit and diff — a one-word change reflows and re-diffs the whole paragraph. Reflow all tracked non-vendor Markdown (plus vendor/AGENTS.md) so each prose paragraph is a single line; soft-wrapping is the editor's job. Fenced code, tables, and list structure are preserved (wrapped list items fold to one line per bullet). Documents the convention in AGENTS.md.
This commit is contained in:
39 files changed
+348
-1206
No files matched your search
@@ -1,8 +1,7 @@
|
||||
# coding-agent
|
||||
|
||||
The first REAL agent wiring: DeepSeek V4 + the bash tool suite + stdio chat
|
||||
+ JSONL persistence, loaded from `cordis.yml`. Where echo-agent proves the
|
||||
skeleton with mocks, this example is a usable coding assistant.
|
||||
+ JSONL persistence, loaded from `cordis.yml`. Where echo-agent proves the skeleton with mocks, this example is a usable coding assistant.
|
||||
|
||||
## Run it
|
||||
|
||||
@@ -13,11 +12,7 @@ skeleton with mocks, this example is a usable coding assistant.
|
||||
yarn demo:coding
|
||||
```
|
||||
|
||||
Type a coding task. The agent's only tools are `bash` (+ `bash_output` /
|
||||
`bash_kill` for background tasks): file reads, writes, searches, and test
|
||||
runs all happen through shell commands, each in a fresh `bash -c` (the
|
||||
system prompt tells the model to pass `workdir` instead of `cd`). Reasoning
|
||||
streams dimmed; tool calls/results render inline.
|
||||
Type a coding task. The agent's only tools are `bash` (+ `bash_output` / `bash_kill` for background tasks): file reads, writes, searches, and test runs all happen through shell commands, each in a fresh `bash -c` (the system prompt tells the model to pass `workdir` instead of `cd`). Reasoning streams dimmed; tool calls/results render inline.
|
||||
|
||||
```
|
||||
> fix the failing test in /path/to/project
|
||||
@@ -39,13 +34,7 @@ streams dimmed; tool calls/results render inline.
|
||||
|
||||
## End-to-end tests (`yarn test:e2e`, key-gated)
|
||||
|
||||
- `tests/full-loop.e2e.ts` — the canary: real model runs `echo e2e-ok`
|
||||
through the real bash tool; asserts `tool/call`/`tool/result` session
|
||||
events and the final answer.
|
||||
- `tests/coding-task.e2e.ts` — the swebench-style smoke: a temp dir holds
|
||||
`add.js` (with `a - b` where `a + b` belongs) and a failing
|
||||
`add.test.js`; the agent must fix the bug and verify. The test re-runs
|
||||
`node add.test.js` ITSELF and inspects the files — agent claims are not
|
||||
trusted.
|
||||
- `tests/full-loop.e2e.ts` — the canary: real model runs `echo e2e-ok` through the real bash tool; asserts `tool/call`/`tool/result` session events and the final answer.
|
||||
- `tests/coding-task.e2e.ts` — the swebench-style smoke: a temp dir holds `add.js` (with `a - b` where `a + b` belongs) and a failing `add.test.js`; the agent must fix the bug and verify. The test re-runs `node add.test.js` ITSELF and inspects the files — agent claims are not trusted.
|
||||
|
||||
Both self-skip without `DEEPSEEK_API_KEY`.
|
||||
Reference in New Issue
Block a user