Skip to content

redesign dev.kit: context.yaml pipeline, AGENTS.md with rules + manifests, promptfoo eval#11

Merged
fqjony merged 41 commits into
mainfrom
development
Apr 14, 2026
Merged

redesign dev.kit: context.yaml pipeline, AGENTS.md with rules + manifests, promptfoo eval#11
fqjony merged 41 commits into
mainfrom
development

Conversation

@fqjony
Copy link
Copy Markdown
Contributor

@fqjony fqjony commented Apr 13, 2026

Summary

  • Migrate from .dev-kit/manifest.json to .rabbit/context.yaml as the canonical repo-to-agent handoff
  • Redesign AGENTS.md with anti-drift Rules, traceable Config manifests, and full 15-step workflow
  • Add promptfoo eval proving dev.kit context improves agent accuracy (100% with vs 75% without)
  • Add spinners, status indicators, and [next] navigation to all commands

Command surface

Command What it does
dev.kit Validate env, detect repo, show next steps
dev.kit repo Analyze 7 factors, detect config manifests, write .rabbit/context.yaml
dev.kit agent Generate AGENTS.md (auto-creates context.yaml if missing)
dev.kit learn Scan Claude + Codex sessions, write incremental lessons artifact

All commands support --json. All show spinners during slow phases.

Workflow

dev.kit → dev.kit repo → dev.kit agent → dev.kit learn
env        context.yaml   AGENTS.md       lessons artifact

dev.kit agent auto-generates context — no manual steps required.

AGENTS.md redesign

Now a comprehensive agent guide with:

  • Rules — no scanning, verify before commit, follow the workflow
  • Config manifests — every YAML listed with one-line description of what it controls
  • Full workflow — 15 steps with operational notes (not truncated)
  • Lessons — referenced from prior agent sessions

Scaffold (config-driven)

dev.kit repo --scaffold now reads from repo-scaffold.yaml:

  • Baseline dirs + files (docs, .gitignore, PR template)
  • Archetype-specific structure (shell-cli gets bin, lib/commands, etc.)
  • Factor-driven files (missing config → .env.example, missing runtime → Dockerfile)

promptfoo eval

make eval runs 8 test cases comparing agent accuracy with vs without AGENTS.md:

  • With context: 100% pass (knows verify command, reads priority refs, avoids scanning, identifies gaps)
  • Without context: 75% pass (resorts to find . and tree, can't identify structural gaps)

UX

  • Braille spinners during all slow phases (analyzing repo, writing context, scanning sessions)
  • Status indicators: ✓ present / ◦ partial / ✗ missing / · n/a
  • [next] navigation section on every command output

Test plan

  • 44/44 test suite passes (make test)
  • promptfoo eval: 14/16 pass (2 expected baseline failures)
  • Spinner verified in interactive terminal
  • dev.kit repo --scaffold creates baseline + archetype + factor files
  • Manual: verify AGENTS.md quality on an external repo

fqjony and others added 30 commits March 26, 2026 19:32
- Replace kubernetes-infra/worker-automation/infra-config archetypes with
  infra-pipeline (requires workflow:github + deploy:terraform) and workflow-repo
- Separate Terraform from K8s signals so terraform-only repos get the right fit
- Drop legacy shell archetype detection entirely; library-cli catch-all replaces it
- Remove lists:/scalars: wrappers from archetype-signals, detection-signals,
  context-config — all config now flat under config: key
- Add dev_kit_yaml_config_list/scalar for 2-level awk reads matching new structure
- Remove deploy.yml from repo_root_files (weak root marker, kept in priority_paths)
- Fix unquoted YAML glob patterns in detection-signals (*.sh, *.bats, etc.)
- Simplify test suite to 3 groups (core, archetypes, install) with direct symlink
  setup instead of tar/install; all 13 core tests pass
- Add repo-scaffold.yaml with infra-pipeline scaffold replacing kubernetes-infra
- Clean up deleted commands (action, explore), promptfoo harness, legacy test files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix --scaffold flag being captured as repo_dir before arg-parse loop
- Defer manifest write in text mode (output appears in ~5s vs 51s)
- Add file-based process cache for archetypes + factor status; survives
  subshell boundaries where global-var caches cannot (51s → 9s total)
- Print title immediately before any computation in both home and repo
- Show scaffold preview in dev.kit repo learn mode (what --scaffold would do)
- workflow_contract read_repo now emits refs[] array instead of command CSV
- dependencies factor: not_applicable for shell repos with no manifest files
- Remove deploy.yml/deploy.yaml from repo_root_files detection markers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add plain-English `description` to each archetype in archetype-rules.yaml
- Surface `archetype_description` in manifest and use it in AGENTS.md instead of the internal archetype key
- Add `message` field to manifest factors when status is missing/partial, drawn from audit-rules.yaml
- Redesign AGENTS.md: plain description, Gaps section with actionable messages, Workflow contract steps
- Simplify AGENTS.md header note from "do not edit manually" to "Run dev.kit repo to refresh"
- Remove TODO.md / todo.md from priority_paths — ephemeral working notes are not agent context
- Filter AGENTS.md and CLAUDE.md from AGENTS.md "Start here" and Workflow refs (tool-specific, self-referential)
- Remove pre-existing TODO.md from repo

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR refactors dev.kit into a phase-based workflow (env → repo → agent), enriches repo context output (archetypes, factors, gap messages), and improves UX/performance via progressive output and caching.

Changes:

  • Replaces legacy audit/bridge/status command surfaces with new home output plus repo, agent, and learn flows backed by JSON templates and config catalogs.
  • Adds config-driven detection/archetype catalogs and repo scaffolding/manifest generation (including WordPress fixture coverage).
  • Introduces performance improvements (per-process cache, env context cache) and updates docs/tests accordingly.

Reviewed changes

Copilot reviewed 61 out of 69 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/suite.sh Reworks integration suite into grouped runs; adds repo/agent expectations.
tests/run.sh Removes worker-based test runner script.
tests/local-udx.sh Adds local UDX repo scanning contract checks (JSON).
tests/fixtures/wordpress-repo/wp-content/mu-plugins/bootstrap.php Adds WordPress fixture signal.
tests/fixtures/wordpress-repo/wp-config.php Adds WordPress fixture root config.
tests/fixtures/wordpress-repo/package.json Adds WordPress fixture Node manifest.
tests/fixtures/wordpress-repo/README.md Adds WordPress fixture docs signal.
tests/fixtures/wordpress-repo/.rabbit/infra_configs/development/develop-alex/aws-cloudfront-distribution.yaml Adds infra config fixture signal.
tests/fixtures/wordpress-repo/.rabbit/infra_configs/development/aws-cloudfront-distribution.yaml Adds infra config fixture signal.
tests/fixtures/wordpress-repo/.github/workflows/deploy.yml Adds workflow fixture signal.
tests/fixtures/codex-home/sessions/2026/04/02/rollout-2026-04-02T20-54-19-019d4f54-eddc-7350-a757-3bb578d24f99.jsonl Adds learn-session fixture input.
src/templates/repo.json Adds JSON contract template for dev.kit repo.
src/templates/learn.json Adds JSON contract template for dev.kit learn.
src/templates/bridge.json.tmpl Removes legacy bridge JSON template.
src/templates/audit.json.tmpl Removes legacy audit JSON template.
src/templates/agent.json Adds JSON contract template for dev.kit agent.
src/configs/repo-scaffold.yaml Introduces repo scaffold catalog (baseline/archetype/factor).
src/configs/learning-workflows.yaml Introduces learn workflow catalog and session pattern rules.
src/configs/knowledge-base.yaml Introduces knowledge base hierarchy/source config.
src/configs/development-workflows.yaml Introduces development workflow contract catalog.
src/configs/development-practices.yaml Introduces practice messages catalog.
src/configs/detection-signals.yaml Restructures detection signals into config keys; adds prune dirs.
src/configs/context-config.yaml Adds priority refs, repo markers, and note paths config.
src/configs/archetype-signals.yaml Adds archetype-specific signal lists (WP/K8s/Terraform).
src/configs/archetype-rules.yaml Adds archetype rules + human descriptions.
lib/modules/utils.sh Adds per-process cache + YAML helpers + safer JSON array escaping.
lib/modules/rule_catalog.sh Removes separate rule catalog reader module.
lib/modules/repo_workflows.sh Adds workflow contract + entrypoints JSON.
lib/modules/repo_signals.sh Refactors detection catalog reads + repo root/marker logic + find pruning.
lib/modules/repo_scaffold.sh Adds manifest writer + gaps JSON + scaffold apply.
lib/modules/repo_reports.sh Enriches factor JSON with rule messages; adds agent contract output.
lib/modules/repo_navigation.sh Adds workflow/dependency navigation helpers (not wired into bootstrap list).
lib/modules/repo_inspector.sh Removes compatibility shim.
lib/modules/repo_factors.sh Adds factor status caching; adjusts dependencies applicability and doc partial logic.
lib/modules/repo_archetypes.sh Adds facet-based archetype detection driven by catalogs and caching.
lib/modules/output.sh Adds output formatting helpers for progressive UX.
lib/modules/local_env.sh Adds env tool inventory caching + capability derivation.
lib/modules/learning_sources.sh Adds session discovery + rule/flow scoring for learn command.
lib/modules/detection_catalog.sh Removes legacy detection catalog reader module.
lib/modules/config_catalog.sh Adds unified config catalog reader (archetypes/context/rules/workflows).
lib/modules/bootstrap.sh Defines module list and public commands; updates command file resolution.
lib/commands/status.sh Removes legacy status command.
lib/commands/repo.sh Adds repo learn/check/scaffold modes; manifest + AGENTS generation.
lib/commands/learn.sh Adds learn command output (text + JSON).
lib/commands/bridge.sh Removes legacy bridge command.
lib/commands/audit.sh Removes legacy audit command.
lib/commands/agent.sh Adds agent command reading manifest and generating AGENTS.md.
docs/workflow.md Updates docs to phase-based workflow model.
docs/todo.md Removes legacy TODO doc.
docs/pull-requests.md Removes legacy PR guidance doc.
docs/overview.md Adds new high-level product overview.
docs/engineering-guide.md Removes legacy engineering guide doc.
docs/development.md Removes legacy development doc.
docs/detection-facets.md Adds facet detection documentation.
docs/commands.md Adds new command reference.
docs/architecture.md Adds architecture/config/module map documentation.
context7.json Removes Context7 config file.
bin/scripts/uninstall.sh Uses output helpers for formatted uninstall output.
bin/scripts/install.sh Uses output helpers for formatted install output.
bin/dev-kit Adds home command behavior + progressive output + module path loading + proc cache cleanup.
bin/completions/dev.kit.bash Adds completion handling for action --json.
assets/dev-kit-bridge.svg Removes legacy diagram asset.
assets/compliance-improve.svg Removes legacy diagram asset.
README.md Rewrites README around env/repo/agent model and updated docs links.
Makefile Adds local/worker test targets.
.gitignore Ignores repo manifest and agent artifacts.
.githooks/pre-push Disables pre-push hook.
Comments suppressed due to low confidence (6)

lib/modules/utils.sh:1

  • dev_kit_cache_set appends new values but dev_kit_cache_get returns the first matching key (due to exit), so repeated sets for the same key will return stale data. Consider either (a) making cache_get return the last match, or (b) making cache_set rewrite the cache file while removing older entries for that key (atomic temp-file + mv) to keep correctness and avoid unbounded growth.
    lib/modules/repo_signals.sh:1
  • The repo-root cache compares DEV_KIT_REPO_ROOT_CACHE_INPUT against the normalized repo_dir (absolute path), but stores "$input_dir" when caching. If the caller passes a relative path or a different-but-equivalent path, the cache will never hit. Store the same normalized path you compare against (e.g., the resolved repo_dir used for the search) to make caching effective and predictable.
    lib/modules/repo_workflows.sh:1
  • The JSON emitted for refs_json does not escape values; any ref containing quotes, backslashes, or other JSON-sensitive characters will produce invalid JSON. Prefer building the JSON array via existing helpers that JSON-escape (e.g., produce newline-delimited refs then pipe through dev_kit_lines_to_json_array), or apply escaping per element before printing.
    lib/modules/repo_scaffold.sh:1
  • The scaffold planner does not use repo-scaffold.yaml or the archetype argument, so --scaffold currently only plans docs/ (and any explicitly passed extras) rather than the baseline/archetype/factor-driven structure described in config and the PR description. To make --scaffold functional, build the plan from src/configs/repo-scaffold.yaml (baseline + archetype + factor-driven items) and include both directory and file creation actions.
    lib/modules/repo_scaffold.sh:1
  • Factor IDs are hardcoded here (and similarly in lib/commands/repo.sh). This risks drift if factors are renamed/added elsewhere. Prefer iterating a single canonical source (e.g., dev_kit_repo_factor_ids) to keep scaffold gaps and CLI output aligned without duplicating lists.
    lib/modules/repo_navigation.sh:1
  • repo_navigation.sh defines dev_kit_cache_get / dev_kit_cache_put with different semantics/signatures than the per-process cache helpers added in lib/modules/utils.sh. If repo_navigation.sh is ever sourced alongside utils, these names will collide and break callers. Renaming these to something module-scoped (e.g., dev_kit_mem_cache_get/put or dev_kit_repo_nav_cache_*) would avoid hard-to-debug runtime overrides.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/commands/repo.sh
@fqjony fqjony requested a review from a team April 13, 2026 09:26
@fqjony fqjony self-assigned this Apr 13, 2026
fqjony and others added 8 commits April 13, 2026 14:53
- Typed session refs (claude:<uuid>, codex:<uuid>) unify discovery across sources
- Claude sessions discovered from ~/.claude/projects/<project-id>/<uuid>.jsonl
- Codex sessions filtered by cwd match via session_meta; Claude sessions matched by project directory name
- --sources flag and DEV_KIT_LEARN_SOURCES env var select which sources to include
- Incremental filtering via find -newer on .dev-kit/learn-last-run
- Artifact written to .dev-kit/lessons-<repo>-<date>.md with session prompts, URLs, and matched patterns
- 15 learn tests covering per-source filtering, multi-source merge, artifact content, incremental mode, and no-sessions fallback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…b templates

Replace .dev-kit/manifest.json with .rabbit/context.yaml as the canonical
repo-to-agent handoff artifact. AGENTS.md now inlines context directly from
context.yaml via awk instead of reading JSON manifests.

Add incremental lessons merging — new sessions are appended to prior workflow
rules, operational references, and ready templates. Claude history.jsonl is
now the preferred prompt source with fallback to raw transcript parsing.

Add GitHub issue templates (bug, feature, infra), PR template, and
companion config catalogs (github-issues.yaml, github-prs.yaml) that
encode label taxonomy, template contracts, bot reviewer guidance, and
post-merge workflow.

Fix unbound manifest_path variable in repo.sh scaffold mode.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…te docs

Output improvements:
- Add spinner for long operations (context.yaml write, artifact save)
- Add status indicators (✓/◦/✗/·) for factor rows in repo output
- Add [next] navigation section to all commands (repo, agent, learn)

Agent auto-context (lesson: self-sufficient tooling):
- dev.kit agent now auto-generates .rabbit/context.yaml if missing
- No manual dev.kit repo step required — eliminates friction
- Error only on generation failure, not on missing context

AGENTS.md redesign (lesson: no drift, no scanning):
- Add Rules section — anti-drift, anti-scanning constraints at top
- Add Config manifests section — traceable YAML dependencies with kind labels
- Show full workflow with operational notes (was truncated to 5 steps)
- Add instructional text for refs, workflow, and lessons sections
- Config manifests detected from src/configs/, .github/workflows/, and root

Context.yaml additions:
- New manifests section listing all YAML config files with kind labels
- Detected from src/configs/*.yaml, .github/workflows/*.yml, and root configs

Docs and README updated:
- README describes three-layer model (repo → dev env → UDX ecosystem)
- All docs updated: .dev-kit/manifest.json → .rabbit/context.yaml
- Agent docs reflect auto-generation and AGENTS.md redesign
- Learn docs reflect Claude + Codex multi-source support

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AGENTS.md is a comprehensive agent guide auto-generated by dev.kit agent.
It belongs in the repo so agents have context immediately on clone —
no manual setup step required.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Generated by test runs after removing AGENTS.md from gitignore.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Compares agent accuracy with vs without AGENTS.md on 8 test cases:
  - verify command knowledge
  - priority refs awareness
  - filesystem scanning avoidance
  - gap identification
  - verify-before-commit workflow
  - baseline functionality
  - file targeting accuracy
  - context confusion check

Results: 100% pass with dev.kit context, 75% without (expected —
baseline can't know gaps and resorts to scanning).

Run: make eval
View: make eval-view

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Config manifests now show one-line descriptions in context.yaml and AGENTS.md
so agents know exactly what each YAML controls before reading it:
  src/configs/development-workflows.yaml — git workflow steps, PR process, and operational notes
  src/configs/github-prs.yaml — PR templates, bot reviewers, and post-merge checklist

Scaffold is now fully config-driven from repo-scaffold.yaml:
  - Baseline dirs + files (docs, .gitignore, .github/PULL_REQUEST_TEMPLATE.md)
  - Archetype-specific structure (shell-cli gets bin, lib/commands, etc.)
  - Factor-driven files (missing config → .env.example, missing runtime → Dockerfile)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 14, 2026 14:46
- set +e inside subshell prevents bash errexit from killing spinner
- write to /dev/tty instead of stdout so spinner shows even when
  stdout is redirected (e.g. inside context_yaml_write)
- check stderr for TTY detection (more reliable than stdout)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 79 out of 87 changed files in this pull request and generated 12 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/fixtures/wordpress-repo/.rabbit/context.yaml Outdated
Comment thread docs/architecture.md Outdated
Comment thread src/configs/repo-scaffold.yaml Outdated
Comment thread lib/modules/repo_archetypes.sh
Comment thread tests/fixtures/documented-shell-repo/AGENTS.md
Comment thread lib/modules/repo_workflows.sh Outdated
Comment thread tests/local-udx.sh
Comment thread tests/fixtures/docker-repo/AGENTS.md Outdated
Comment thread tests/fixtures/docker-repo/.rabbit/context.yaml Outdated
Comment thread tests/fixtures/wordpress-repo/AGENTS.md
Every command now shows a Braille spinner on stderr during its heavy
computation so the terminal is never blank:

  dev.kit       — detecting repo (archetype + profile)
  dev.kit repo  — analyzing repo, writing context
  dev.kit agent — generating repo context, writing agents.md
  dev.kit learn — scanning agent sessions, writing lessons artifact

Spinner writes to stderr so it works even when stdout is redirected
(context.yaml write, JSON capture, test pipes).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@fqjony fqjony changed the title improve dev.kit UX: AGENTS.md redesign, output performance, and scaffold fixes redesign dev.kit: context.yaml pipeline, AGENTS.md with rules + manifests, promptfoo eval Apr 14, 2026
@fqjony fqjony requested a review from Copilot April 14, 2026 15:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 79 out of 87 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/modules/utils.sh
@fqjony fqjony requested review from udx-github April 14, 2026 15:36
- Fix docs/architecture.md: update .dev-kit/manifest.json refs to .rabbit/context.yaml
- Fix repo-scaffold.yaml: remove stale manifest.path block
- Fix local-udx.sh: update explore/action to repo/agent with correct JSON contracts
- Fix repo_workflows.sh: properly JSON-escape refs in workflow JSON output
- Fix utils.sh cache: return last match on get, encode multi-line values
- Sanitize fixture AGENTS.md: replace absolute local paths with GitHub raw URLs
- Remove fixture context.yaml from git tracking (regenerated at runtime)
- Remove pre-push hook (CI handles validation)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@fqjony fqjony merged commit e0eae37 into main Apr 14, 2026
6 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 76 out of 84 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1 @@
1776175365
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

learn-last-run looks like ephemeral state (an epoch timestamp) that will change on every dev.kit learn run and will cause constant working-tree churn. Consider treating this as a purely local artifact (gitignore it and/or store it under $DEV_KIT_HOME) rather than committing it in-repo.

Suggested change
1776175365

Copilot uses AI. Check for mistakes.
Comment on lines +16 to +33
prune_dirs:
- .git
- wp-admin
- wp-content
- wp-includes
- node_modules
- .next
- vendor
- dist
- .venv
- venv
- .terraform
- dist
- build
- coverage
- .next
- .nuxt
- .turbo
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prune_dirs contains duplicates (e.g., dist and .next appear twice). This doesn’t change behavior but adds noise and longer find expressions. Consider deduplicating the list to keep the config easier to maintain.

Copilot uses AI. Check for mistakes.
Comment thread docs/architecture.md
| `learning-workflows.yaml` | learningWorkflows | Agent session flow patterns and routing rules |
| `repo-scaffold.yaml` | repoScaffold | Baseline dirs/files and per-archetype scaffold definitions |

All catalogs use the same schema: `kind`, `version`, `config`. Parsed by `lib/modules/config_catalog.sh` via `dev_kit_catalog_value()`.
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doc references dev_kit_catalog_value(), but that function does not exist in lib/modules/config_catalog.sh (parsing is done via functions like dev_kit_yaml_config_list, dev_kit_yaml_mapping_scalar, etc.). Please update the documentation to reference the actual parsing entrypoints so readers can trace the code correctly.

Suggested change
All catalogs use the same schema: `kind`, `version`, `config`. Parsed by `lib/modules/config_catalog.sh` via `dev_kit_catalog_value()`.
All catalogs use the same schema: `kind`, `version`, `config`. Parsed by `lib/modules/config_catalog.sh` through the YAML helper entrypoints such as `dev_kit_yaml_config_list` and `dev_kit_yaml_mapping_scalar`.

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,10 @@
{"timestamp":"2026-04-02T17:54:23.549Z","type":"session_meta","payload":{"id":"019d4f54-eddc-7350-a757-3bb578d24f99","timestamp":"2026-04-02T17:54:19.235Z","cwd":"/Users/jonyfq/git/udx/worker-tooling","originator":"codex-tui","cli_version":"0.118.0","source":"cli","model_provider":"openai"}}
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixture JSONL embeds a developer-local absolute path in payload.cwd (/Users/...). That leaks local filesystem structure into the repo and makes fixtures less portable. Please replace it with a neutral placeholder path (or omit the field) while keeping the fixture semantics intact.

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +132 to +134
verify: make test
build: make build
run: make run
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This README example output includes make build / make run. Because dev.kit discovers build/run commands by regex-scanning markdown, these example strings can get mis-detected as the repo’s real entrypoints (and they currently show up in generated context for this repo). Consider changing the example to avoid matching real command patterns (or adjust detection to require an explicit commands contract) so docs don’t create false positives.

Suggested change
verify: make test
build: make build
run: make run
verify: <project verify command>
build: <project build command>
run: <project run command>

Copilot uses AI. Check for mistakes.
Comment thread AGENTS.md
Comment on lines +22 to +23
build: make build
run: make run
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AGENTS.md advertises make build and make run, but this repository’s Makefile does not define build or run targets (only test, test-docker, eval, etc.). This appears to be a false positive coming from markdown example parsing, and it will mislead agents/humans following the contract. Either add real build/run targets or adjust command detection/docs so the generated contract only lists executable commands.

Suggested change
build: make build
run: make run

Copilot uses AI. Check for mistakes.
Comment thread .rabbit/context.yaml
Comment on lines +26 to +27
build: make build
run: make run
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The generated .rabbit/context.yaml lists build: make build and run: make run, but this repo’s Makefile does not have build or run targets. Since this file is the canonical handoff artifact, the command contract needs to be accurate; otherwise downstream dev.kit agent output and automation will drift. Fix by adding those targets or tightening detection so example docs don’t get promoted into commands.

Suggested change
build: make build
run: make run

Copilot uses AI. Check for mistakes.
@fqjony fqjony deleted the development branch April 15, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants