Skip to content

Improve the coding agent harness for chronos-code - #1

Merged
spawn08 merged 3 commits into
mainfrom
harness-v2
Oct 15, 2026
Merged

spawn08 merged 3 commits into
mainfrom
harness-v2

Conversation

@spawn08

@spawn08 spawn08 commented Oct 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

…ode prompts

- Introduced new documentation files: `COST.md`, `critique.md`, `cursor-comparison.md`, `CURSOR-PARITY.md`, `HARNESS-SPEC.md`, `README.md`, and `tools.md`.
- `COST.md` details a cost-first approach to context engineering, including a breakdown of costs associated with model calls and identified inefficiencies.
- `critique.md` provides a line-by-line analysis of current prompts and tool descriptions, highlighting redundancies and contradictions.
- `cursor-comparison.md` compares chronos-code with Cursor, identifying strengths and weaknesses in performance and tool usage.
- `CURSOR-PARITY.md` maps Cursor behaviors to their counterparts in the new spec, aiming for parity where beneficial.
- `HARNESS-SPEC.md` outlines the authoritative specifications for the chronos-code harness, emphasizing autonomy and futility governance.
- `README.md` serves as an overview of the chronos-code harness, summarizing key findings and proposed changes.
- `tools.md` proposes a refined tool suite with clear design rules to enhance functionality and performance.
…unctionality

- Added `EventsSince` method to the `Ledger` struct, allowing retrieval of events from a specified index.
- Updated `WrapGlob` and `WrapGrep` functions to accept a `DeniedFunc` parameter, enabling exclusion of denied files during globbing and grepping operations.
- Implemented tests to ensure that denied files are correctly omitted from search results in both glob and grep functionalities.
- Refactored the `futilityDetector` to utilize the new event handling methods, improving the efficiency of state checks during execution.
- Enhanced the `shellOutput` struct to manage output buffering and retention more effectively, ensuring compliance with output limits.
… handling

- Added support for warnings during configuration loading, allowing non-fatal issues to be reported at startup.
- Implemented logic to prune unknown sub-agents from agent configurations, issuing warnings for any removed entries.
- Updated the orchestrator to provide warnings when learning telemetry is disabled due to database issues.
- Introduced tests to validate the handling of stale agent references and ensure proper warning generation.
@spawn08
spawn08 merged commit d60dcbe into main Oct 15, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant