Repository navigation
Adopt tikoci house layout: AGENTS.md entry, .agents/skills, house exceptions - #266
mobileskyfi wants to merge 2 commits into
Conversation
…eptions - AGENTS.md is now the entry file for every agent: routing, an index of all 33 .github/instructions files, repo skills, house skills (referenced by URL) and house exceptions. CLAUDE.md is `@AGENTS.md`; copilot-instructions is a pointer. matrix/ gets the same AGENTS.md + CLAUDE.md pair. - Repo skills move from .github/skills to .agents/skills; .claude/skills is one symlink to ../.agents/skills. - instruction-scopes / where-does-this-go now state the house rules (no new .github/instructions files, .scratch/, machine facts out of the repo). - database.instructions: fix the stale "WAL everywhere" note. - Commit .claude/settings.json: SessionStart hook runs db-doctor so a stale ros-help.db is visible before anyone grounds on it. - Replace local ~/GitHub/bench-routeros-tools paths with the public repo. - BACKLOG: drop the cliref_flags bullet (now #257) and the closed #204 note. - Code gaps to house rules are tracked in #265. Closes #253 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
There was a problem hiding this comment.
🟡 Changes recommended
Two active documentation inaccuracies remain: the markdownlint exclusion rule is false as written, and AGENTS.md omits the tracked tikoci-cli-mcp exceptions.
2 open issues
What changed in this PR
This pull request adopts the tikoci house layout for agent guidance and repository workflows without changing runtime behavior. It makes AGENTS.md the canonical entry point, relocates repository skills to .agents/skills, records house-rule exceptions, and updates related documentation and tooling.
Changes:
- Consolidates project orientation, instruction routing, house skills, and exceptions in
AGENTS.md; converts Claude and Copilot entrypoints into pointers. - Moves repository skills and updates symlinks, ignore rules, lint configuration, and instruction references.
- Adds a Claude SessionStart database-grounding hook and refreshes database guidance, benchmark references, backlog state, and documentation paths.
| File | Description |
|---|---|
| src/paths.ts | Updates the product-matrix documentation pointer to matrix/AGENTS.md. |
| matrix/CLAUDE.md | Replaces the matrix Claude guidance with an @AGENTS.md shim. |
| matrix/AGENTS.md | Adds matrix-specific agent guidance. |
| DESIGN.md | Updates project orientation and replaces local benchmark references with the public repository. |
| CLAUDE.md | Converts the root Claude entrypoint into an @AGENTS.md shim. |
| briefings/B-0013-steering-skills-rosetta-positioning.md | Replaces the local benchmark path with its public repository reference. |
| briefings/B-0010-mcp-eval-phases-3plus.md | Replaces the local benchmark path with its public repository reference. |
| BACKLOG.md | Removes promoted or obsolete items and updates benchmark references. |
| AGENTS.md | Establishes the canonical agent entrypoint, instruction index, skills inventory, and house exceptions. |
| .markdownlintignore | Updates Markdown lint exclusions for the relocated repository skills and agent files. |
| .markdownlint-cli2.yaml | Updates CLI markdownlint exclusions for the new agent and skills layout. |
| .gitignore | Tracks shared Claude settings and skills while ignoring scratch work. |
| .github/instructions/where-does-this-go.instructions.md | Documents canonical homes for agent guidance, workflows, skills, and temporary work. |
| .github/instructions/tui-mcp-parity.instructions.md | Updates the instruction scope to reference AGENTS.md. |
| .github/instructions/tasks-vs-briefings.instructions.md | Updates the instruction scope to reference AGENTS.md. |
| .github/instructions/pr-review-bots.instructions.md | Points the review-gate procedure to the relocated skill. |
| .github/instructions/llm-instruction-files-excluded-from-mdlint.instructions.md | Documents Markdown lint exclusions for agent-facing files and repository skills. |
| .github/instructions/instruction-scopes.instructions.md | Records house rules for entrypoints, skills, instruction files, and machine-local facts. |
| .github/instructions/database.instructions.md | Corrects journal-mode guidance for writable and package-managed databases. |
| .github/instructions/changelog-discipline.instructions.md | Updates the instruction scope to include AGENTS.md. |
| .github/copilot-instructions.md | Converts Copilot guidance into a pointer to root AGENTS.md. |
| .github/codeql/codeql-config.yml | Updates the skills-path comment for .agents/skills. |
| .claude/settings.json | Adds a SessionStart hook that reports database grounding status. |
| .agents/skills/verify-task/SKILL.md | Adds the task and verification workflow under the relocated skills directory. |
| .agents/skills/re-extract/SKILL.md | Adds the legacy extraction workflow under the relocated skills directory. |
| .agents/skills/promote-idea/SKILL.md | Adds the backlog-promotion workflow under the relocated skills directory. |
| .agents/skills/pr-review-gate/SKILL.md | Adds the unresolved-review-thread gate workflow under the relocated skills directory. |
| .agents/skills/pick-next-task/SKILL.md | Adds the GitHub Issue task-selection workflow under the relocated skills directory. |
Review effort: Lite
| - Keep them excluded via `.markdownlintignore` and `.markdownlint-cli2.yaml` (keep the two lists identical). | ||
| - The exclusion set includes every `CLAUDE.md` and `AGENTS.md`, `.github/copilot-instructions.md`, `.github/instructions/**`, `.github/prompts/**` and `.agents/skills/**`. |
| - `tikoci-pr-flow`, `tikoci-github`, `tikoci-ci`, `tikoci-testing`, `tikoci-grounding`, | ||
| `tikoci-release`, `tikoci-cli-mcp`, `tikoci-crossref`: adopted as written. | ||
| - `tikoci-data-contracts`, `tikoci-toolchain`, `tikoci-linting`, `tikoci-dependencies`, | ||
| `tikoci-home`: partial; see exceptions. |
- pr-review-gate / pr-review-bots: agents never request a re-review (`@coderabbitai review`, re-requesting Copilot); a push does not start a new CodeRabbit pass here (auto_incremental_review: false). The Copilot review and copilot-gate.yml are recorded as a tikoci-pr-flow exception. (blocking) - AGENTS.md: release/ci/github/dependencies/pr-flow/data-contracts marked partial with each gap listed (now all in #265); the broad "read DESIGN.md first" trigger restored; every instruction file gets a one-line summary. - instruction-scopes: restore the smallest-honest-applyTo rule. - SessionStart hook: prints an actionable NOT CHECKED line when cd fails or bun is missing; AGENTS.md notes it needs Git Bash on Windows. - database.instructions: narrow the WAL read-only claim to the observed failures (macOS missing -shm, read-only directory). - DESIGN: matrix column schema points at extract-devices.ts, not an import shim; drop the stale ../CLAUDE.md VS Code link exception. - .markdownlintignore matches the cli2 ignore list; benchmark repo linked in B-0010/B-0013. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This is the #253 sweep. tikoci.github.io#21 Phase 3 is complete: every core house skill is published at https://tikoci.dev/house/. The PR changes docs and agent config only; no runtime behavior changes, so there is no CHANGELOG entry.
What changes
AGENTS.mdis the entry file for every agent. It absorbsCLAUDE.md's routing table and the old Codex note, including the broad "read DESIGN.md first" trigger. It adds:.github/instructionsfile with a one-line summary, since Codex and other agents ignoreapplyTo;## House skills(each referenced by URL, marked adopted or partial);## House exceptions.CLAUDE.mdis now@AGENTS.md, and.github/copilot-instructions.mdis a pointer to it.matrix/gets the sameAGENTS.md+CLAUDE.mdpair.Skills move:
.github/skills/→.agents/skills/, and.claude/skillsis now one symlink to../.agents/skills, replacing five per-skill links. Each skill's frontmatternamematches its directory.instruction-scopesandwhere-does-this-gonow state the house rules: no new.github/instructionsfiles, workflows go in skills, a gitignored.scratch/, machine facts out of the repo, and the smallest honestapplyTo.pr-review-gateskill andpr-review-bots: agents never request a bot re-review, and a push does not start a new CodeRabbit pass here (auto_incremental_review: false).database.instructions: fixes the stale "WAL everywhere" note. Writable DBs run WAL. Package-managed DBs open read-only in rollback-journal mode, because opening WAL read-only fails on macOS without-shmand in read-only directories. This is Review tikoci house skills (tikoci.github.io#21) for adoption; fix stale WAL note #253's first concrete item..claude/settings.jsonis committed (allowed through.gitignore). A SessionStart hook runsdb-doctorand always prints something actionable:make db-sync" when it isn't;cdfails or Bun isn't on PATH.The hook is a POSIX shell command, so on Windows it needs Git Bash (noted in AGENTS.md).
Local paths:
~/GitHub/bench-routeros-toolsis replaced by the public repo link in DESIGN, BACKLOG and two briefings.DESIGN: the matrix CSV schema pointer goes to
src/extract-devices.tsinstead of an import shim. The stale../CLAUDE.mdVS Code link exception is gone.Lint ignores:
.markdownlintignorenow matches the markdownlint-cli2 ignore list exactly.BACKLOG: drops the
cliref_flagsInbox bullet (promoted to Property lookup: treat the CLI Reference as the primary property source as MikroTik retires manual property tables #257) and the note about the closed 0.12.0 bounded release: current improvements, reliability fixes and release gates #204.House adoption
tikoci-house,tikoci-grounding,tikoci-testing,tikoci-cli-mcp,tikoci-crossref.tikoci-docs: the extra doc homes (MANUAL, VALIDATION, briefings,tasks/) and the Keep-a-Changelog format stay as permanent exceptions.tikoci-pr-flow: Copilot reviews in addition to CodeRabbit, andcopilot-gate.ymlblocks while Copilot is pending.The code and CI gaps are tracked in Close the gaps to tikoci house rules as work touches them (toolchain/CI Bun pin, SHA-pinned actions, release flow, TIKOCI_HOME, strict tsc, release DB journal mode) #265 and adopted as work touches them:
~/.rosettainstead ofTIKOCI_HOMElatestin CI, nopackageManager)NPM_TOKEN, not trusted publishing--clobberon republishnoUncheckedIndexedAccess/exactOptionalPropertyTypesdb.tsopens its connection at importReview
Codex reviewed the draft (local second agent, per house pr-flow). The blocking finding and every should-fix and nit are addressed in c2a1e08:
Checks run locally
bun run lintpasses: biome, with 2 warnings that are also onmain; markdownlint, 0 issues; cspell, 0 issues.bun run typecheckpasses.bun test: 1510 tests, 0 fail.Closes #253
🤖 Generated with Claude Code