From 2e433fcd0d1afadd8ab786dd30d7d4546bdee43d Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 11 Nov 2026 10:08:41 +0100 Subject: hw-toolchain: placer, routers and KiCad helpers for agent-driven hardware work Rust placer (simulated annealing) and negotiated-congestion router for 2-layer KiCad boards, pnr.sh to place, route, DRC-check and install candidates, Python KiCad helpers, repo conventions (AGENTS.md) and the tool documentation under knowledge/. Konnect (KiCad MCP, AGPL) as a submodule. Co-Authored-By: Claude Opus 5.5 --- .iwe/config.toml | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 .iwe/config.toml (limited to '.iwe') diff --git a/.iwe/config.toml b/.iwe/config.toml new file mode 100644 index 0000000..13adc56 --- /dev/null +++ b/.iwe/config.toml @@ -0,0 +1,179 @@ +format = "markdown" +version = 3 + +[library] +date_format = "%Y-%m-%d" +# overridden: set on the command line +path = "knowledge" + +[markdown] +date_format = "%b %d, %Y" +# overridden: set on the command line +refs_extension = ".md" +refs_path = "relative" +# detected: 2 link texts match their target title, 0 diverge +refs_text = "normalize" +wiki_link_path = "preserve" + +[markdown.formatting] + +[djot] +date_format = "%b %d, %Y" +refs_extension = ".md" +refs_path = "relative" +refs_text = "normalize" + +[djot.formatting] + +[completion] +# overridden: set on the command line +link_format = "markdown" + +[search] +# detected: 25 stopword hits for english, 1 for the next language +language = "english" + +[templates.default] +document_template = """ +# {{title}} + +{{content}}""" +# detected: 3 of 3 filenames use slug style +key_template = "{{slug}}" + +[commands.default] +run = "claude -p" +timeout_seconds = 120 + +[actions.emoji] +command = "default" +input_template = """ +Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}} {{context_end}} tags. + +- The part you'll need to update is marked with {{update_start}} {{update_end}} tags. +- You can't replace entire text, your answer will be inserted in between {{update_start}} {{update_end}} tags. +- Add a relevant emoji one per list item (prior to list item text), header (prior to header text) or paragraph. Keep the text otherwise unchanged. +- Don't include the {{update_start}} {{update_end}} tags in your answer. + +{{context_start}} + +{{context}} + +{{context_end}} +""" +title = "Emojify" +type = "transform" + +[actions.expand] +command = "default" +input_template = """ +Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}}{{context_end}} tag. + +The part you'll need to update is marked with {{update_start}}{{update_end}}. + +{{context_start}} + +{{context}} + +{{context_end}} + +- You can't replace entire text, your answer will be inserted in place of the {{update_start}}{{update_end}}. Don't include the {{context_start}}{{context_end}} and {{context_start}}{{context_end}} tags in your output. +- Preserve the links in the text. Do not return list item "-" or header "#" prefix + +Expand the text you need to update, generate a couple paragraphs. +""" +title = "Expand" +type = "transform" + +[actions.extract] +key_template = "{{id}}" +link_type = "markdown" +title = "Extract" +type = "extract" + +[actions.extract_all] +key_template = "{{id}}" +link_type = "markdown" +title = "Extract all subsections" +type = "extract_all" + +[actions.inline_quote] +inline_type = "quote" +keep_target = false +title = "Inline quote" +type = "inline" + +[actions.inline_section] +inline_type = "section" +keep_target = false +title = "Inline section" +type = "inline" + +[actions.keywords] +command = "default" +input_template = """ +Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}}{{context_end}} tag. + +The part you'll need to update is marked with {{update_start}}{{update_end}}. + +{{context_start}} + +{{context}} + +{{context_end}} + +- You can't replace entire text, your answer will be inserted in place of the {{update_start}}{{update_end}}. Don't include the {{context_start}}{{context_end}} and {{context_start}}{{context_end}} tags in your output. + +Mark most important keywords with bold using ** markdown syntax. Keep the text unchanged! +""" +title = "Keywords" +type = "transform" + +[actions.link] +key_template = "{{id}}" +link_type = "markdown" +title = "Link" +type = "link" + +[actions.rewrite] +command = "default" +input_template = """ +Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}}{{context_end}} tag. + +The part you'll need to update is marked with {{update_start}}{{update_end}}. + +{{context_start}} + +{{context}} + +{{context_end}} + +- You can't replace entire text, your answer will be inserted in place of the {{update_start}}{{update_end}}. Don't include the {{context_start}}{{context_end}} and {{context_start}}{{context_end}} tags in your output. +- Preserve the links in the text. Do not return list item "-" or header "#" prefix + +Your goal is to rewrite a given text to improve its clarity and readability. Ensure the language remains personable and not overly formal. Focus on simplifying language, organizing sentences logically, and removing ambiguity while maintaining a conversational tone. +""" +title = "Rewrite" +type = "transform" + +[actions.sort] +reverse = false +title = "Sort A-Z" +type = "sort" + +[actions.sort_desc] +reverse = true +title = "Sort Z-A" +type = "sort" + +[actions.today] +document_template = """ +# {{today}} + +{{content}} +""" +key_template = "{{today}}" +title = "Add Date" +type = "attach" + +[schemas] -- cgit v1.3