From nobody Fri Mar 20 21:49:20 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1771935150; cv=none; d=zohomail.com; s=zohoarc; b=WDCxnso7+fN2/4KhuwHtR4SygeEFCfdhaVkcKkzrGOJ8Gu/QVMwHISZSSxRYBjTp9RlHWRfffNjNkY6hL6+4ms8xiLaAsBelgqGXepJMrBNyQfP8Wl1B1cx5HDgSPxJiL6sGzG6C8pw+BUrn9gZF7l36jpulg0JHvW3pWbwSTsc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1771935150; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=IISN0lP+7dN54JpUiys6SOZxdXuDwh6wfFPA4+4FdvU=; b=F1k4tWINFMjC25k14gTVw37XKlXHDApAZe7Y2anZFAt4vG8vfmTt9KIBOp0+PDqbuUeulnF1Mz5p1yz20fmNo4T9C6nh+Vtd161XTL1lQlhdd0Qg0QOSn8xFPEdbVl6dDsLl7asHEFKhqphlvqWUiYongeXCipbY6dCNTNr9dQU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1771935150950655.7437027751698; Tue, 24 Feb 2026 04:12:30 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vurFc-0005dM-GK; Tue, 24 Feb 2026 07:10:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vurFF-0005Yu-Lg for qemu-devel@nongnu.org; Tue, 24 Feb 2026 07:10:31 -0500 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vurF8-0005sb-8f for qemu-devel@nongnu.org; Tue, 24 Feb 2026 07:10:26 -0500 Received: by mail-ej1-x643.google.com with SMTP id a640c23a62f3a-b9047e72201so800503666b.2 for ; Tue, 24 Feb 2026 04:10:20 -0800 (PST) Received: from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b9338baee1dsm10580166b.58.2026.02.24.04.10.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 04:10:16 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id BD8055F8BC; Tue, 24 Feb 2026 12:10:14 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1771935019; x=1772539819; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IISN0lP+7dN54JpUiys6SOZxdXuDwh6wfFPA4+4FdvU=; b=gH5jitm/bAM/X68hve7qiaNds47pxuuiY7HTJ2Ownt1EZCMLyQr0GKLkhAqCg7t1/Y zURZxZr9s2SOjyvvv6m1wKc4CYO756YItcYKli9URiuzMIToscOusYivMT0N1HsVjVQ+ oWjkgmYK8sCozMOuN0dAqOGJt6o4tNN3TJ9YfOdDWCyTWnWDYbRHTNuH6C7D4LwSjFPt GeB0hnDEk7XxA7tiyIqyTN6lLBFDl7Om/3UmbxKr9j7aMjVDpugH1U42oIhY/elNHMu8 jy9tVXfo3mPw/aHRwfesBVF1fi8gKnhZ8cH7q2wvXnoauPo2KFYuaMMVpeCPcBiYmE/3 Rofw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771935019; x=1772539819; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=IISN0lP+7dN54JpUiys6SOZxdXuDwh6wfFPA4+4FdvU=; b=ngbrkhS0tmTYuASd41MZtg5ppVJW5T/KmQgKIFlQ7NHejXp7tPZIc1VWvKJLGvdQuH 618leprc3QyYojLxDCOChHLvxkL2B3kw/66fPgc4zQ9InkksKz5L3v/0gqdUvQm4Ibp7 a71xrxdolTZsbMr7PGMyK6l9sgvVSXjqpIpIBOpEfo4z0bfLOrNALPvv2qOdLUbr6sw8 b+5dJKWegLa1+YHcbTH4Feq5edHeFDoOVo+1v8k71COXqUZYVk+1e8G/wQVIYfJrXwnZ OkISpIqUmzsH9cvE9PNumlhMhpRqPyncPRS6yCIlNWt3PUrBzAv6k4OpgLyHvPrEzstj 7HvQ== X-Gm-Message-State: AOJu0YxZnbTmmNJPX0QsIU1OefM9XUx/cmrjHsZAjaUy3y8kdA+TrioQ uO+Eqkphfiv7CHRR/Om2WbCaOxUXahgOI3DS8ofvf4FJZcPdyhl4hHN4jLE9ujDfCMg= X-Gm-Gg: AZuq6aKnIwstnWBpav9JaMhQ6jw/c77D3k7Fr6dTr6Gz2m1kaFA+3klPqMzOMrFEAYc UXuRCRF8QnpdcW1ioB+y4vGUJ6sBpVg2+COiwYrqu1+Y9iEV0FHhgb+ob4EiRM5sVOr3Vl5FN77 zVrr9/uCVCDVBLtU1Q3d8Dzh7V01v8jXfD/xHlqubY8JJ/CgC06wGCW4FkmigjDXa9dpfPfCZf+ rGKbufQ89mzaG7kTEfhFMzgTd4mBaCum8ylSG2zNTNTiSDg/Qt49prxX8G5X8wnBXjXR1u4B+QX qRYUf5bnaTeUob0dniPXewjNd6YjuFfZnbOktsdyEpAG5nIekEn57heXBTTg9IUoeLtXYxwelB1 MkQdsBb/UgVfsOKu/igGQU/bFCM98RydFCsIBPyuBQfVC3yGu19MPZLKbLUGLFHu1gbxmaP9aBA mEojTFjsvuBiX2msltPLopICI= X-Received: by 2002:a17:907:3cca:b0:b8e:2a8a:4328 with SMTP id a640c23a62f3a-b908191f26amr653879266b.7.1771935018759; Tue, 24 Feb 2026 04:10:18 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PATCH 2/8] .eca: basic configuration for Editor Code Assistant Date: Tue, 24 Feb 2026 12:10:08 +0000 Message-ID: <20260224121014.279248-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260224121014.279248-1-alex.bennee@linaro.org> References: <20260224121014.279248-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::643; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x643.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1771935152491158501 This is a basic configuration for eca which is a editor agnostic frame work for connecting skills and tools to an agententic workflow. This is important if you don't want to be tied to a particular platforms editor choice. These would often be user specific but I've included them in this series to show what sort of things they can do. Signed-off-by: Alex Benn=C3=A9e --- .eca/config.json | 43 +++++++++++++++++++++++++++++++++ .eca/skills/checkpatch/SKILL.md | 9 +++++++ .eca/skills/gtags/SKILL.md | 7 ++++++ 3 files changed, 59 insertions(+) create mode 100644 .eca/config.json create mode 100644 .eca/skills/checkpatch/SKILL.md create mode 100644 .eca/skills/gtags/SKILL.md diff --git a/.eca/config.json b/.eca/config.json new file mode 100644 index 00000000000..81b0c97782e --- /dev/null +++ b/.eca/config.json @@ -0,0 +1,43 @@ +{ + "customTools": { + "gtag_find_symbol_definition": { + "description": "Use GNU global tags to search for the symbol def= intion. Return in ctags-x format", + "command": "global --result ctags-x -d {{pattern}}", + "schema": { + "properties": { + "pattern": { + "type": "string", + "description": "an extended regex pattern or literal= string to search for" + } + }, + "required": ["pattern"] + } + }, + "gtag_find_symbol_completions": { + "description": "Use GNU global tags to list potential symbol com= pletions for a word stem.", + "command": "global -c {{stem}}", + "schema": { + "properties": { + "stem": { + "type": "string", + "description": "an string stem of a symbol" + } + }, + "required": ["stem"] + } + }, + "gtag_find_symbol_references": { + "description": "Use GNU global tags to find references to a symb= ol. Returns results in ctags-x format.", + "command": "global --results ctags-x -r {{pattern}}", + "schema": { + "properties": { + "pattern": { + "type": "string", + "description": "an extended regex pattern or literal= string to search for." + } + }, + "required": ["pattern"] + } + } + } +} diff --git a/.eca/skills/checkpatch/SKILL.md b/.eca/skills/checkpatch/SKILL= .md new file mode 100644 index 00000000000..49c556bed2e --- /dev/null +++ b/.eca/skills/checkpatch/SKILL.md @@ -0,0 +1,9 @@ +--- +name: checkpatch +description: run checkpatch on a file or patch to validate style issues +--- + +# Instructions +Run `./scripts/checkpatch.pl [FILE]` to check a file for style issues. + +You can also use a GIT-REV-LIST to check against git, e.g. run `./scripts/= checkpatch.pl HEAD^..` to run checkpatch on the last commit. diff --git a/.eca/skills/gtags/SKILL.md b/.eca/skills/gtags/SKILL.md new file mode 100644 index 00000000000..b158981b1ae --- /dev/null +++ b/.eca/skills/gtags/SKILL.md @@ -0,0 +1,7 @@ +--- +name: update gtags +description: update the GNU global tags file. +--- + +# Instructions +Run `make gtags` in the root of the source tree. --=20 2.47.3