diff --git a/.beads/issues.jsonl b/.beads/issues.jsonl index 2818362..04f30f8 100644 --- a/.beads/issues.jsonl +++ b/.beads/issues.jsonl @@ -1,4 +1,5 @@ {"_type":"issue","id":"relai-a7o","title":"Phase 1 — repo contract v0.1 + handoff","description":"DESIGN §12 phase 1. Acceptance: E2 eval target met on 3 fixtures with 2 agents.","status":"open","priority":0,"issue_type":"epic","created_at":"2026-11-02T21:09:54Z","created_by":"Rudy","updated_at":"2026-11-02T21:09:54Z","dependency_count":0,"dependent_count":0,"comment_count":0} +{"_type":"issue","id":"relai-fwx","title":"Discover linked repos: relai index build --scan \u003cfolder\u003e and relai discover --links \u003cfolder\u003e","description":"Product goal (owner, 2026-11-04): drive several LINKED repos from one central place, for teams. Today nothing finds the repos or their links by itself: the index needs a hand-written list, provides/consumes are declared by hand, a repo without relai init is invisible to find and workspace. Needed: (1) index build --scan \u003cfolder\u003e: find git repos, report which have relai.yaml / tracker / AGENTS.md, no list file. (2) discover --links \u003cfolder\u003e: graph of MENTIONS between sibling repos (names in docs, compose files, remote URLs, submodules, dependencies) with counts; proposes relai.yaml provides/consumes for a person or agent to confirm, never declares a link by itself (a mention is not a verified link). Decision gate: build it if the test session confirms the gap (it is expected to). Test data: the HOMELAB cluster (HOMELAB cites portfolio, Shelfmark, patrimoine, freelance, rudy-ops, COACH, navidrome...).","notes":"Implemented on feat/discover-links (OpenSpec discover-linked-repos). Not yet measured with an agent following --prompt, nor on precision of strong/weak beyond the owner's own folder.","status":"in_progress","priority":1,"issue_type":"feature","assignee":"claude","created_at":"2026-11-04T09:16:53Z","created_by":"Rudy","updated_at":"2026-11-04T09:22:15Z","started_at":"2026-11-04T09:22:13Z","labels":["discovery","team"],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-1ez","title":"relai new copies the content of symbolic links (secret file leak) and leaves a half-filled destination on error","description":"Source: test report, RELAI M3. Reproduced 2026-11-04: a template containing `creds -\u003e /path/outside.txt` yields a regular file with the target's content in the new repo. With a template cloned by URL, a third-party template can embed a secret file of the machine that instantiates it. A symlink to a directory or a broken symlink makes the copy fail with a half-filled destination, and the retry is refused (non-empty).\n\nCause: internal/scaffold/scaffold.go, `Copy` uses `os.ReadFile`, which follows links.\n\nFix: `Lstat` / `d.Type()`; either refuse symlinks with a clear message or recreate them only when the target stays inside the template; never read through them. On any error, remove the destination that this run created.\n\nAcceptance: tests for file symlink, dir symlink, broken symlink, link escaping the template; destination absent after a failure.","status":"in_progress","priority":1,"issue_type":"bug","assignee":"claude","created_at":"2026-11-04T08:08:38Z","created_by":"Rudy","updated_at":"2026-11-04T08:15:35Z","started_at":"2026-11-04T08:15:35Z","labels":["major","scaffold","security","test-report-2026-11-03"],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-7nk","title":"relai find misses provides/consumes that are not in block syntax (inline, scalar, comments, multi-key)","description":"Source: test report 2026-11-03, RELAI M2. Reproduced 2026-11-04 on 4 repos: only the block form `- capability: x` is found; `provides: [{capability: x}]` (the syntax written in the cross-repo-index spec scenario itself), scalar items `- x`, a comment line inside the list, and a two-key item where `capability:` is not first are all dropped silently. `relai find` then says nothing provides X and the user builds a duplicate, the opposite of the product goal. The tester's 300 generated repos (inline syntax) gave 0 capabilities.\n\nCause: internal/index/index.go, `parseManifest` / `blockList` (stops at blank or comment lines, only reads `capability:` as first key, no flow syntax).\n\nFix: accept flow lists of scalars or maps, scalar block items, comments and blank lines inside a list, and `capability:` in any key position. Warn (to stderr, in `index build`) whenever a `provides:`/`consumes:` key yields nothing or a value is not understood. Decide whether to move to a real YAML parser: the 2026-11-03 decision was a hand-rolled subset, which is fine only if the subset is documented and unknown shapes are reported.\n\nAcceptance: table test with each form above giving the same result; spec scenario `provides: [{capability: x}]` passes as written; warning test for an unparsable value.","status":"in_progress","priority":1,"issue_type":"bug","assignee":"claude","created_at":"2026-11-04T08:08:38Z","created_by":"Rudy","updated_at":"2026-11-04T08:13:08Z","started_at":"2026-11-04T08:13:08Z","labels":["index","major","test-report-2026-11-03"],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-czl","title":"Public claims exceed the evidence: fix the draft post and the announcement (96,000 to 1,700 tokens, \"1-4 turns\", \"3-4x\")","description":"Source: test report, B6 and tokens section, plus the 2026-11-04 handoff note. Before any publication:\n- \"~96,000 to ~1,700\" (about 56x) is a size estimate from a Python prototype, not an agent measurement; the real E2 gives 3.4x on the same kind of repo, and the test report measured 2.0x on cli/cli with n=2.\n- Dollar savings are 1.2x to 3.4x on the published data (about $0.02-0.08 per session); the real gain is turns (1 instead of 4 to 30).\n- No gain or a loss on repos with no tracker or notes (web app 113k vs 94k) and in degraded mode (terraform 0.9x).\n- \"reproducible: `go run ./eval/e2 -dry`\": -dry only prints the prompts.\n- Fix docs/posts/2026-11-relai-handoff.md (same three excesses as relai-annonce.md, already corrected there) and re-read relai-annonce.md with this report.\nKnown-limits section of the authors is already more careful than the post: align the post to it. All tested agents were Claude models; say so.","status":"in_progress","priority":1,"issue_type":"task","assignee":"claude","created_at":"2026-11-04T08:08:38Z","created_by":"Rudy","updated_at":"2026-11-04T08:26:03Z","started_at":"2026-11-04T08:26:01Z","labels":["docs","launch","test-report-2026-11-03"],"dependency_count":0,"dependent_count":0,"comment_count":0} @@ -20,7 +21,7 @@ {"_type":"issue","id":"relai-att","title":"team-server-mode was reworked into a positioning-docs change (14:52, other session); its specs/ (mcp-team-interface, deployment-presets) were deleted — recover them from that session if it kept a copy, else rewrite them in RELAI-TEAM","status":"closed","priority":2,"issue_type":"task","created_at":"2026-11-03T13:54:09Z","updated_at":"2026-11-03T19:43:36Z","closed_at":"2026-11-03T19:43:36Z","close_reason":"mcp-team-interface rewritten, implemented and archived in RELAI-TEAM; deployment-presets deliberately deferred there (RELAI-TEAM-9pg, rationale in its .relai/notes.md)","dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-xj0","title":"relai handoff: suggest relai-team when signals show parallel team work (multiple in_progress assignees, multiple recent commit authors, several owners)","status":"closed","priority":2,"issue_type":"task","created_at":"2026-11-03T13:52:37Z","created_by":"Rudy","updated_at":"2026-11-03T19:42:54Z","closed_at":"2026-11-03T19:42:54Z","close_reason":"implemented in feat/handoff-team-hint","dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-idg","title":"Positioning docs: point RELAI to the separate team-server repo (RELAI-TEAM)","description":"Tracks the positioning-doc-only team-server-mode OpenSpec change (openspec/changes/team-server-mode/). The actual team server, MCP interface, and deployment presets are built in the separate repo https://github.com/ECG-Rudy-Glt/RELAI-TEAM (keeps RELAI's own 'git-only, no server' promise intact). This epic only covers updating RELAI's own docs (DESIGN.md §11/§12, multi-repo.md §9) to point to that repo.","status":"closed","priority":2,"issue_type":"epic","created_at":"2026-11-03T13:28:27Z","created_by":"Rudy","updated_at":"2026-11-03T19:43:34Z","closed_at":"2026-11-03T19:43:34Z","close_reason":"positioning docs done in docs/team-positioning","dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"relai-d6i.5","title":"relai handoff --workspace: one compact block per cloned repo","status":"open","priority":2,"issue_type":"task","created_at":"2026-11-03T08:48:37Z","created_by":"Rudy","updated_at":"2026-11-03T08:48:37Z","dependencies":[{"issue_id":"relai-d6i.5","depends_on_id":"relai-d6i","type":"parent-child","created_at":"2026-11-03T08:48:37Z","created_by":"Rudy","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} +{"_type":"issue","id":"relai-d6i.5","title":"relai handoff --workspace: one compact block per cloned repo","notes":"2026-11-04: first slice shipped as 'relai workspace' (relai-duq): index-based, files only. Richer blocks (notes Next, change next:, upstream changes) still open.","status":"open","priority":2,"issue_type":"task","created_at":"2026-11-03T08:48:37Z","created_by":"Rudy","updated_at":"2026-11-04T08:49:07Z","dependencies":[{"issue_id":"relai-d6i.5","depends_on_id":"relai-d6i","type":"parent-child","created_at":"2026-11-03T08:48:37Z","created_by":"Rudy","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-d6i.4","title":"relai index build (pull from repos.txt) + relai find / consumers","status":"open","priority":2,"issue_type":"task","created_at":"2026-11-03T08:48:36Z","created_by":"Rudy","updated_at":"2026-11-03T08:48:36Z","dependencies":[{"issue_id":"relai-d6i.4","depends_on_id":"relai-d6i","type":"parent-child","created_at":"2026-11-03T08:48:36Z","created_by":"Rudy","metadata":"{}"}],"comments":[{"id":"fdb8cb74-ad3c-5d7a-9b8e-ed265648453d","issue_id":"relai-d6i.4","author":"Rudy","text":"Partially shipped this session (PR #1, openspec change adoption-and-cross-repo-index): internal/index + 'relai index build'/'relai find' exist, but as a flat index.json (not a project-index repo), and there is no separate 'relai consumers' command — 'relai find \u003ccapability\u003e' covers the providers-lookup half only. Design decision and rationale in openspec/changes/adoption-and-cross-repo-index/design.md. Leaving open for the consumers-lookup gap and the richer repo-of-relai.yaml-files design this task originally described.","created_at":"2026-11-03T12:49:47Z"}],"dependency_count":0,"dependent_count":0,"comment_count":1} {"_type":"issue","id":"relai-d6i.3","title":"CI templates calling relai check: GitHub Actions, Forgejo/Gitea Actions, GitLab CI","status":"open","priority":2,"issue_type":"task","created_at":"2026-11-03T08:48:35Z","created_by":"Rudy","updated_at":"2026-11-03T08:48:35Z","dependencies":[{"issue_id":"relai-d6i.3","depends_on_id":"relai-d6i","type":"parent-child","created_at":"2026-11-03T08:48:35Z","created_by":"Rudy","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-d6i.2","title":"relai check: contract, budgets, managed blocks match the pinned hub version, overrides listed","status":"open","priority":2,"issue_type":"task","created_at":"2026-11-03T08:48:34Z","created_by":"Rudy","updated_at":"2026-11-03T08:48:34Z","dependencies":[{"issue_id":"relai-d6i.2","depends_on_id":"relai-d6i","type":"parent-child","created_at":"2026-11-03T08:48:34Z","created_by":"Rudy","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} @@ -30,6 +31,7 @@ {"_type":"issue","id":"relai-a7o.6","title":"Session-start integrations: Claude Code hook + generic shell snippet","notes":"2026-11-03: the Claude Code part is done in feat/onboarding-claude-code-and-secure-install (relai init adds CLAUDE.md + a SessionStart hook; verified with real claude -p sessions). Still open: a documented generic snippet for other agents that support session hooks (the hook script is plain POSIX sh and can be reused), and README wording for them.","status":"open","priority":2,"issue_type":"task","created_at":"2026-11-02T21:10:00Z","created_by":"Rudy","updated_at":"2026-11-03T20:47:21Z","dependencies":[{"issue_id":"relai-a7o.6","depends_on_id":"relai-a7o","type":"parent-child","created_at":"2026-11-02T21:10:00Z","created_by":"Rudy","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-a7o.5","title":"relai validate: check relai.yaml and AGENTS.md size","status":"open","priority":2,"issue_type":"task","created_at":"2026-11-02T21:09:59Z","created_by":"Rudy","updated_at":"2026-11-02T21:09:59Z","dependencies":[{"issue_id":"relai-a7o.5","depends_on_id":"relai-a7o","type":"parent-child","created_at":"2026-11-02T21:09:59Z","created_by":"Rudy","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-a7o.3","title":"relai handoff: adapter for GitHub Issues (gh) when Beads is absent","status":"open","priority":2,"issue_type":"task","created_at":"2026-11-02T21:09:57Z","created_by":"Rudy","updated_at":"2026-11-02T21:09:57Z","dependencies":[{"issue_id":"relai-a7o.3","depends_on_id":"relai-a7o","type":"parent-child","created_at":"2026-11-02T21:09:57Z","created_by":"Rudy","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} +{"_type":"issue","id":"relai-64x","title":"Git pre-commit hook keeping .beads/issues.jsonl current (relai init --hooks)","description":"Implemented on integration/all-relai. Runs bd export only when .beads/last-touched is newer than the export, strips the owner field, git-adds the file, never blocks a commit, never overwrites an existing hook.","status":"open","priority":3,"issue_type":"feature","created_at":"2026-11-04T08:49:08Z","created_by":"Rudy","updated_at":"2026-11-04T08:49:08Z","labels":["token-saving"],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-31i","title":"Not yet verified: real hook in Claude Code, handoff concurrent with git add, goreleaser, non-linux binaries, real openspec","description":"Source: test report, section \"Non testé\". Not covered by the tester: the SessionStart hook inside a real Claude Code (we verified it ourselves on 2026-11-03: 1 turn with the hook, 2 without), `relai handoff` running at the same time as `git add`, goreleaser itself, execution of darwin/windows/arm64 binaries, `go install ...@latest`, the real `openspec` (replaced by a fake), and any non-Claude agent (Codex, Gemini...). Do the cheap ones; an untested non-Claude agent stays listed as a limitation in the announcement.","notes":"2026-11-04: cross-built linux/arm64, darwin/amd64, darwin/arm64, windows/amd64 (build only, not run). Handoff run with the real bd and openspec on this repo: works, 1.5 s. Still not done: goreleaser run, binaries on other OSes, go install @latest, concurrent handoff vs git add, non-Claude agent.","status":"open","priority":3,"issue_type":"task","created_at":"2026-11-04T08:08:38Z","created_by":"Rudy","updated_at":"2026-11-04T08:45:02Z","labels":["test-report-2026-11-03","tests"],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-3zf","title":"relai new does not slugify the repo name (id: \"My Widget-x\", target \".\" gives id: \".\")","description":"Source: test report, m13 and m14. `init` slugifies, `new` does not: `id: My Widget-x`; target `.` gives `id: .`; a directory with a non-ASCII name (e.g. Japanese) gives an empty `id:` and title. Share one slug function between `init` and `new` (resolve `.` to the absolute directory name; fall back to a safe default when the slug is empty, and say so).","status":"in_progress","priority":3,"issue_type":"bug","assignee":"claude","created_at":"2026-11-04T08:08:38Z","created_by":"Rudy","updated_at":"2026-11-04T08:15:42Z","started_at":"2026-11-04T08:15:41Z","labels":["minor","scaffold","test-report-2026-11-03"],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"relai-406","title":"relai new fails on read-only template files (0444) and leaves a half-filled destination","description":"Source: test report, m10. `os.WriteFile` with mode 0444 followed by the substitution rewrite fails with \"permission denied\". Write with 0600|mode, then chmod to the final mode at the end. Remove the destination created by this run on error (same cleanup helper as the symlink task).","status":"in_progress","priority":3,"issue_type":"bug","assignee":"claude","created_at":"2026-11-04T08:08:38Z","created_by":"Rudy","updated_at":"2026-11-04T08:15:37Z","started_at":"2026-11-04T08:15:37Z","labels":["minor","scaffold","test-report-2026-11-03"],"dependency_count":0,"dependent_count":0,"comment_count":0} diff --git a/.relai/notes.md b/.relai/notes.md index 14b1957..f589774 100644 --- a/.relai/notes.md +++ b/.relai/notes.md @@ -26,6 +26,8 @@ - 2026-11-04 — Go toolchain pinned to 1.26.10 in go.mod (govulncheck: 0 reachable vulnerabilities; 1.23.x is out of support). - 2026-11-04 — Handoffs are computed on demand, not stored. Nothing runs when a task finishes: the session-start hook only exists in repos where `relai init` was run, and `scripts/sync-beads.sh` is manual. A git post-commit hook that refreshes the export was proposed, not built. +- 2026-11-04 — Product goal (owner): drive several LINKED repos from one central place, for teams. Relai discovers (`index build --scan`, `discover --links`) and the agent + engineer confirm; RELAI-TEAM is the central place (task RELAI-TEAM-9os). A mention is evidence, never a declared link. The scan must follow symlinks: the owner's projects are symlinks into `projets/` (a first version found 9 of 16). + ### Pitfalls - `bd init` makes its own commit and edits AGENTS.md/.gitignore → use `--skip-agents --skip-hooks`, then `git reset --soft HEAD~1` and recommit. diff --git a/README.md b/README.md index 173ff0b..2350b3c 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,25 @@ active projects are named without detail, then only counted. `relai handoff` stays the answer for one project: it is the same idea at the scale of one repository, and it now asks `bd` only when the project changed since the last time (the answers are cached in your user cache directory, never in the repo). +## Find your projects and how they relate + +You do not have to write the list of your projects by hand: + +```sh +relai index build --scan ~/projects # every git repo of the folder (symlinks included); says which need `relai init` +relai discover --links ~/projects # the mentions between them: who points at whom, and how strongly +relai discover --links ~/projects --prompt # instructions for your agent to check each mention with you +relai discover --links ~/projects --propose # a `links:` block per relai.yaml to check and paste yourself +``` + +The result is **evidence, not a verdict**. *Strong*: a repository holds the other's remote URL or a relative path to it (a +deployment manifest pointing at an application). *Weak*: its name appears as a word (it can be an ordinary word, and names +under four letters are not searched this way). Each line shows counts and up to three file paths, never content, and +generated files (`node_modules`, `vendor`, lock files, `graphify-out`) are ignored. Nothing is ever written: the intended +flow is that your agent verifies each mention against the files, shows you a table, and writes `links:` into `relai.yaml` +only once you agree. `links:` (ids of the repositories this one works with) is read by the index and shown by +`relai workspace`; `provides:`/`consumes:` still say *what*, `links:` says *who*. + ## Check before you build Before writing a new capability, check whether one of your other projects already provides it, using diff --git a/cmd/relai/main.go b/cmd/relai/main.go index bea810f..5a7c266 100644 --- a/cmd/relai/main.go +++ b/cmd/relai/main.go @@ -7,12 +7,14 @@ import ( "fmt" "os" "path/filepath" + "strings" "github.com/ECG-Rudy-Glt/RELAI/internal/discover" "github.com/ECG-Rudy-Glt/RELAI/internal/handoff" "github.com/ECG-Rudy-Glt/RELAI/internal/index" "github.com/ECG-Rudy-Glt/RELAI/internal/initrepo" "github.com/ECG-Rudy-Glt/RELAI/internal/scaffold" + "github.com/ECG-Rudy-Glt/RELAI/internal/scan" "github.com/ECG-Rudy-Glt/RELAI/internal/workspace" ) @@ -30,9 +32,14 @@ Usage: relai handoff [dir] print the current state of the work (≤ 2,000 tokens by default) relai discover [dir] list what the project already gives agents (skills, hooks, specs, docs…); --prompt prints instructions for your agent to draft .relai/notes.md - relai index build [-o ] - read each repo path/URL in and collect their relai.yaml - into an index (default: .relai/index.json) + relai index build [-o ] [--scan ] [] + read each repo path/URL in (and/or every git repo in --scan ) + and collect their relai.yaml into an index (default: .relai/index.json) + relai discover --links [--propose | --prompt] [--json] + mentions between the git repos of (strong: remote URL or relative path; + weak: the name as a word). Evidence, not verified links; --propose prints a + links: block per relai.yaml to check and paste yourself; --prompt prints instructions + for your agent to verify each mention with you (nothing is ever written) relai find [--index ] search the index for repos that already provide relai workspace [--index ] [--max-tokens N] @@ -95,12 +102,31 @@ func main() { fs := flag.NewFlagSet("discover", flag.ExitOnError) prompt := fs.Bool("prompt", false, "print instructions for an agent to draft .relai/notes.md from what was found") asJSON := fs.Bool("json", false, "print the inventory as JSON") + links := fs.Bool("links", false, "treat the argument as a folder of repositories and print the mentions between them") + propose := fs.Bool("propose", false, "with --links: print a links: block for each relai.yaml to check and paste yourself") _ = fs.Parse(reorderArgs(fs, os.Args[2:])) target := dirArg(fs) if st, err := os.Stat(target); err != nil || !st.IsDir() { fmt.Fprintf(os.Stderr, "relai: %s is not a directory\n", target) os.Exit(1) } + if *links || *propose { + repos, err := scan.Find(target) + exitOn(err) + ls := scan.Links(repos) + switch { + case *asJSON: + b, _ := json.MarshalIndent(map[string]any{"repos": repos, "links": ls}, "", " ") + fmt.Println(string(b)) + case *prompt: + fmt.Print(scan.Prompt(target, repos, ls)) + case *propose: + fmt.Print(scan.Propose(repos, ls)) + default: + fmt.Print(scan.Text(target, repos, ls)) + } + return + } inv := discover.Scan(target) switch { case *prompt: @@ -122,13 +148,34 @@ func main() { } fs := flag.NewFlagSet("index build", flag.ExitOnError) out := fs.String("o", defaultIndexPath, "write the index to this file") + scanDir := fs.String("scan", "", "find the git repositories in this folder instead of (or in addition to) a list file") _ = fs.Parse(reorderArgs(fs, os.Args[3:])) - if fs.NArg() < 1 { - fmt.Fprintln(os.Stderr, "usage: relai index build [-o ] ") + if fs.NArg() < 1 && *scanDir == "" { + fmt.Fprintln(os.Stderr, "usage: relai index build [-o ] [--scan ] []") os.Exit(2) } - sources, err := index.ReadList(fs.Arg(0)) - exitOn(err) + var sources []string + if fs.NArg() >= 1 { + var err error + sources, err = index.ReadList(fs.Arg(0)) + exitOn(err) + } + if *scanDir != "" { + repos, err := scan.Find(*scanDir) + exitOn(err) + var without []string + for _, r := range repos { + sources = append(sources, r.Path) + if !r.Relai { + without = append(without, r.Name) + } + } + fmt.Printf("scan: %d repositories in %s, %d with a relai.yaml", len(repos), *scanDir, len(repos)-len(without)) + if len(without) > 0 { + fmt.Printf("; without one (skipped, run `relai init` there to include them): %s", strings.Join(without, ", ")) + } + fmt.Println() + } entries, skipped := index.Build(sources) for _, sk := range skipped { fmt.Fprintf(os.Stderr, "skipped %s: %s\n", sk.Source, sk.Reason) diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 8ab0fb7..edaa765 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -20,7 +20,7 @@ no central service, no Backstage, no federation or SSO. | Area | State | |---|---| | Release | **v0.2.0** is published (6 platform archives + `checksums.txt`); `scripts/install.sh` verifies the SHA-256 before installing and never runs `sudo` on its own. `main` is ahead of it by the fixes below once they merge | -| CLI | Go, stdlib only, `cmd/relai`: `init` (AGENTS.md, relai.yaml, `.relai/notes.md`, and for Claude Code a `CLAUDE.md` plus a SessionStart hook; never overwrites; `--no-claude`), `handoff`, `discover`, `index build` / `find`, `workspace` (one budgeted overview of all indexed projects, files only), `new