Agentic-engineering scaffold: lints, fmt, supply-chain, CI & agent docs - #3
Merged
Conversation
…gent docs Adapt deckard PR#8's general-purpose Rust guardrails to the single-crate 0BSD Deck starter and extend them to close a coding agent's OODA loop: - Manifest lint policy ([lints.rust]/[lints.clippy]: deny todo/dbg!/unused_must_use/ unsafe_code) so rust-analyzer + cargo check show the exact rules CI enforces. - clippy.toml, rustfmt.toml (deterministic, stable-keys-only), and a fully-seeded deny.toml supply-chain gate (advisories/bans/licenses/sources all green). - CI hardening: --locked everywhere, fmt --check, clippy on the default config too, cargo test (CI never ran the 6 command_palette tests), non-blocking cargo-deny job, concurrency-cancel. - CLAUDE.md + AGENTS.md with a Definition of Done, and docs/AGENTIC-ENGINEERING.md rationale; wallet-specific deckard hardening deliberately omitted. - OODA closers: `just ci`/`just fix`, .vscode/.zed clippy-on-save (editor==CI), .editorconfig, and --message-format guidance. Verified: fmt clean, clippy green on both feature configs, 6/6 tests, cargo deny green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an agentic-engineering guardrail layer adapted from deckard PR#8 for the single-crate 0BSD Deck starter, so coding agents (and humans) get the same rules CI enforces at write time and can self-correct without a CI round-trip. Moves the lint policy into the manifest (
[lints.rust]/[lints.clippy]—todo/dbg!/unused_must_use/unsafe_codedenied) and addsclippy.toml, a stable-keysrustfmt.toml, and a fully-seededdeny.tomlsupply-chain gate (advisories/bans/licenses/sources all green locally). Hardens CI with--lockedeverywhere,cargo fmt --check, clippy on the default feature config (CI only linted--features traybefore),cargo test(the 6command_palettetests never ran in CI), a non-blockingcargo-denyjob, and concurrency-cancel. AddsCLAUDE.md+AGENTS.md(with a Definition of Done), thedocs/AGENTIC-ENGINEERING.mdrationale, and OODA-loop closers —just ci/just fix,.vscode/.zedclippy-on-save (editor == CI),.editorconfig, and--message-formatguidance — while deliberately omitting deckard's wallet-specific core hardening. Verified green (fmt, clippy on both configs, 6/6 tests,cargo deny check); note thatdeny.tomldocuments GPL-3.0 Zed crates (zlog/ztracing) linked transitively via gpui, scoped behind a narrow license exception for review.