Skip to content

Commit eaee646

Browse files
authored
chore!: rename graycode back to hawk (#301)
* chore!: rename graycode back to hawk The GitHub repository is GrayCodeAI/hawk again, so the module, binary and config surface follow it: github.com/GrayCodeAI/hawk, hawk binary, HAWK_* env vars, ~/.hawk, cmd/hawk, internal/hawkerr, npm/hawk*. The router dependency is github.com/GrayCodeAI/eyrie again (Eyrie* types, eyrieengine, EYRIE_* env vars). graycode-skills, graycode-platform, graycode-cloud and the graycode-cloud.graph/v1 schema keep their names. Hard break with no ~/.graycode migration. Module-mode builds need a new eyrie release: the eyrie v0.0.1 tag declares the graycode-router module path. * refactor!: drop legacy config fallbacks and rename leftovers ProviderConfigPath mirrors Eyrie's resolution (EYRIE_CONFIG_DIR, then the user config dir under eyrie) instead of falling back to HAWK_CONFIG_DIR, and the safety checks no longer block the retired HAWK_CONFIG_DIR/provider.json path. Removes the graycode rename plan and the rename narrative in CHANGELOG, fixes the EcosystemReport.Eyre field name, and updates docs that described the compatibility fallback. * build(deps): require github.com/GrayCodeAI/eyrie v0.3.0 v0.3.0 is the first eyrie release whose go.mod declares github.com/GrayCodeAI/eyrie after the rename back from graycode-router. v0.0.1 declared the old path, which broke every CI job that resolves modules without the local go.work. * build(deps): require github.com/GrayCodeAI/eyrie v0.6.0 eyrie v0.3.0 was already recorded in the Go module proxy and checksum database (May 2026, old module path github.com/hawk/eyrie), so every CI job that resolved it failed with a checksum mismatch. v0.6.0 is the rename-back release; its go.sum hashes match sum.golang.org. ---------
1 parent 2b505c3 commit eaee646

1,383 files changed

Lines changed: 9096 additions & 10899 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.dockerignore‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
.factory
66
Dockerfile
77
.dockerignore
8-
graycode_bin
9-
graycode_test_bin
8+
hawk_bin
9+
hawk_test_bin
1010
coverage.out
1111
coverage.html
1212
go.work

‎.env.example‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# graycode daemon environment variables — copy to .env and fill in.
2-
# Only GRAYCODE_DAEMON_API_KEY is consumed from the environment.
3-
GRAYCODE_DAEMON_API_KEY=
1+
# hawk daemon environment variables — copy to .env and fill in.
2+
# Only HAWK_DAEMON_API_KEY is consumed from the environment.
3+
HAWK_DAEMON_API_KEY=
44

5-
# The following are NOT read by graycode-cli — setting them has no effect:
6-
# GRAYCODE_DAEMON_PORT / GRAYCODE_DAEMON_HOST — daemon binds 127.0.0.1:4590;
7-
# override with the --host / --port flags (see `graycode daemon start --help`)
8-
# GRAYCODE_ROUTER_API_KEY / GRAYCODE_ROUTER_BASE_URL, HARRIER_API_KEY / HARRIER_ADDR —
5+
# The following are NOT read by hawk — setting them has no effect:
6+
# HAWK_DAEMON_PORT / HAWK_DAEMON_HOST — daemon binds 127.0.0.1:4590;
7+
# override with the --host / --port flags (see `hawk daemon start --help`)
8+
# EYRIE_API_KEY / EYRIE_BASE_URL, HARRIER_API_KEY / HARRIER_ADDR —
99
# consumed by sibling services, not by this binary
1010
# See docs/user-guide/05-configuration.md for the full precedence chain.

‎.github/CODEOWNERS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CODEOWNERS for graycode
1+
# CODEOWNERS for hawk
22
#
33
# These owners will be the default owners for everything in the repo. Unless
44
# a later match takes precedence, they will be requested for review when

‎.github/ISSUE_TEMPLATE/bug_report.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ body:
1111
of the form as you can — the more we know, the faster we can fix it.
1212
1313
Before submitting:
14-
- Search [existing issues](https://github.com/GrayCodeAI/graycode-cli/issues) to avoid duplicates.
14+
- Search [existing issues](https://github.com/GrayCodeAI/hawk/issues) to avoid duplicates.
1515
- If this is a security issue, please **do not** file a public issue. See `SECURITY.md`.
1616
1717
- type: textarea
1818
id: what-happened
1919
attributes:
2020
label: What happened?
2121
description: A clear, concise description of the bug.
22-
placeholder: When I run `graycode ...`, I expected X but got Y.
22+
placeholder: When I run `hawk ...`, I expected X but got Y.
2323
validations:
2424
required: true
2525

@@ -29,7 +29,7 @@ body:
2929
label: Steps to reproduce
3030
description: Minimal steps that reliably reproduce the problem.
3131
placeholder: |
32-
1. Run `graycode ...`
32+
1. Run `hawk ...`
3333
2. Type `...`
3434
3. See error `...`
3535
validations:
@@ -44,10 +44,10 @@ body:
4444
required: true
4545

4646
- type: input
47-
id: graycode-version
47+
id: hawk-version
4848
attributes:
49-
label: graycode version
50-
description: Output of `graycode version` (or `graycode --version`).
49+
label: hawk version
50+
description: Output of `hawk version` (or `hawk --version`).
5151
placeholder: "0.1.0"
5252
validations:
5353
required: true

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Security vulnerability
4-
url: https://github.com/GrayCodeAI/graycode-cli/security/advisories/new
4+
url: https://github.com/GrayCodeAI/hawk/security/advisories/new
55
about: Please report security issues privately via a GitHub Security Advisory. See SECURITY.md.
66
- name: Question / discussion
7-
url: https://github.com/GrayCodeAI/graycode-cli/discussions
7+
url: https://github.com/GrayCodeAI/hawk/discussions
88
about: Have a question or want to discuss an idea? Open a discussion instead of an issue.

‎.github/ISSUE_TEMPLATE/feature_request.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
name: Feature request
2-
description: Suggest an improvement or new capability for graycode.
2+
description: Suggest an improvement or new capability for hawk.
33
title: "feat: <one-line summary>"
44
labels: ["enhancement", "triage"]
55

66
body:
77
- type: markdown
88
attributes:
99
value: |
10-
Thanks for proposing a feature. graycode is built **for developers first**
10+
Thanks for proposing a feature. hawk is built **for developers first**
1111
(one machine, local config, keychain credentials) — teams and enterprise
1212
come later. We evaluate every request against: _"would a single
1313
developer on their own machine benefit from this?"_
1414
1515
Before submitting:
16-
- Search [existing issues](https://github.com/GrayCodeAI/graycode-cli/issues) to avoid duplicates.
16+
- Search [existing issues](https://github.com/GrayCodeAI/hawk/issues) to avoid duplicates.
1717
- For large changes, consider opening a discussion first.
1818
1919
- type: textarea
2020
id: problem
2121
attributes:
2222
label: What problem are you trying to solve?
2323
description: Describe the user problem first. Solutions can come later.
24-
placeholder: When I'm doing X, graycode makes me do Y, which is painful because Z.
24+
placeholder: When I'm doing X, hawk makes me do Y, which is painful because Z.
2525
validations:
2626
required: true
2727

2828
- type: textarea
2929
id: proposal
3030
attributes:
3131
label: Proposed solution
32-
description: How would you like graycode to behave? CLI flags, output, config, etc.
32+
description: How would you like hawk to behave? CLI flags, output, config, etc.
3333
validations:
3434
required: true
3535

@@ -55,7 +55,7 @@ body:
5555
id: principles
5656
attributes:
5757
label: Developer fit
58-
description: graycode avoids enterprise scope for now. Confirm this feature respects that.
58+
description: hawk avoids enterprise scope for now. Confirm this feature respects that.
5959
options:
6060
- label: Works with zero configuration (sensible defaults).
6161
- label: Works offline / does not require a cloud account.

.github/actions/checkout-graycode-router/action.yml renamed to .github/actions/checkout-eyrie/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Checkout ecosystem
2-
description: Clone graycode-eco sibling repos into the workspace parent for graycode's go.work
2+
description: Clone graycode-eco sibling repos into the workspace parent for hawk's go.work
33

44
inputs:
55
ref:
@@ -24,7 +24,7 @@ runs:
2424
# ecosystem migration; downstream guards skip absent checkouts too).
2525
ws_parent="$(cd "${GITHUB_WORKSPACE}/.." && pwd)"
2626
while IFS= read -r repo; do
27-
[ "$repo" = graycode-cli ] && continue
27+
[ "$repo" = hawk ] && continue
2828
dest="${ws_parent}/${repo}"
2929
if [ -d "$dest/.git" ]; then
3030
echo "$repo already present at $dest"

0 commit comments

Comments
 (0)