Skip to content

Commit 0104401

Browse files
Patel230claude
andcommitted
fix(ci): gofumpt repomap files, wrap bare URL in OTEL doc, drop stray scratch md
- gofumpt: internal/context/repomap/{extract_regex,repomap_test}.go - markdown MD034: wrap bare URL in docs/OTEL-CONVENTIONS.md - remove accidentally-committed scratch files (.hermes/plans/world-best-cli.md, plans/SPEC-TEMPLATE.md) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 49c41bb commit 0104401

5 files changed

Lines changed: 6 additions & 158 deletions

File tree

.hermes/plans/world-best-cli.md

Lines changed: 0 additions & 93 deletions
This file was deleted.

docs/OTEL-CONVENTIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ conventions (`gen_ai.*`) where they exist, and add a small set of ecosystem
1515
extensions (`cost.usd`, `session.id`, `agent.id`) for the cross-cutting
1616
concerns that the GenAI spec does not yet standardize.
1717

18-
- Upstream spec: https://opentelemetry.io/docs/specs/semconv/gen-ai/
18+
- Upstream spec: <https://opentelemetry.io/docs/specs/semconv/gen-ai/>
1919

2020
## Reference implementation
2121

internal/context/repomap/extract_regex.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ var langSpecs = map[string]langSpec{
6262
regexp.MustCompile(`(?m)^\s*require(?:_relative)?\s+['"]([^'"]+)['"]`),
6363
},
6464
},
65-
"c": cSpec(),
65+
"c": cSpec(),
6666
"cpp": cSpec(),
6767
}
6868

internal/context/repomap/repomap_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ func TestEstimateTokens(t *testing.T) {
257257

258258
func TestBuild_SkipsVendorAndHidden(t *testing.T) {
259259
root := writeTree(t, map[string]string{
260-
"main.go": "package main\nfunc main() {}\n",
261-
"vendor/dep/dep.go": "package dep\nfunc V() {}\n",
262-
".git/hooks/pre.go": "package x\nfunc G() {}\n",
263-
"node_modules/m/i.js": "export function n() {}\n",
260+
"main.go": "package main\nfunc main() {}\n",
261+
"vendor/dep/dep.go": "package dep\nfunc V() {}\n",
262+
".git/hooks/pre.go": "package x\nfunc G() {}\n",
263+
"node_modules/m/i.js": "export function n() {}\n",
264264
})
265265
g, err := Build(root)
266266
if err != nil {

plans/SPEC-TEMPLATE.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)