Skip to content

Adopt tikoci house layout: AGENTS.md entry, .agents/skills, house exceptions - #266

Draft
mobileskyfi wants to merge 2 commits into
mainfrom
chore/house-adoption
Draft

mobileskyfi wants to merge 2 commits into
mainfrom
chore/house-adoption

Conversation

@mobileskyfi

@mobileskyfi mobileskyfi commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

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.md is the entry file for every agent. It absorbs CLAUDE.md's routing table and the old Codex note, including the broad "read DESIGN.md first" trigger. It adds:

    • an index of every .github/instructions file with a one-line summary, since Codex and other agents ignore applyTo;
    • the repo skills;
    • ## House skills (each referenced by URL, marked adopted or partial);
    • ## House exceptions.
  • CLAUDE.md is now @AGENTS.md, and .github/copilot-instructions.md is a pointer to it. matrix/ gets the same AGENTS.md + CLAUDE.md pair.

  • Skills move: .github/skills/ → .agents/skills/, and .claude/skills is now one symlink to ../.agents/skills, replacing five per-skill links. Each skill's frontmatter name matches its directory.

  • instruction-scopes and where-does-this-go now state the house rules: no new .github/instructions files, workflows go in skills, a gitignored .scratch/, machine facts out of the repo, and the smallest honest applyTo.

  • pr-review-gate skill and pr-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 -shm and 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.json is committed (allowed through .gitignore). A SessionStart hook runs db-doctor and always prints something actionable:

    • one OK line when the DB is fine;
    • the full verdict plus "run make db-sync" when it isn't;
    • "NOT CHECKED" when the cd fails 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-tools is replaced by the public repo link in DESIGN, BACKLOG and two briefings.

  • DESIGN: the matrix CSV schema pointer goes to src/extract-devices.ts instead of an import shim. The stale ../CLAUDE.md VS Code link exception is gone.

  • Lint ignores: .markdownlintignore now matches the markdownlint-cli2 ignore list exactly.

  • BACKLOG: drops the cliref_flags Inbox 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

  • Adopted as written: tikoci-house, tikoci-grounding, tikoci-testing, tikoci-cli-mcp, tikoci-crossref.
  • Partial, with each gap listed under House exceptions: docs, pr-flow, release, ci, github, dependencies, data-contracts, toolchain, linting, home.
    • 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, and copilot-gate.yml blocks 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:

      Area Gap
      Data path ~/.rosetta instead of TIKOCI_HOME
      Bun unpinned (latest in CI, no packageManager)
      CI no single gate job
      Actions pinned by tag, not SHA
      npm publish NPM_TOKEN, not trusted publishing
      Release assets --clobber on republish
      Install smoke runs after publish
      tsc missing noUncheckedIndexedAccess / exactOptionalPropertyTypes
      Release DB ships in WAL mode; db.ts opens its connection at import

Review

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 lint passes: biome, with 2 warnings that are also on main; markdownlint, 0 issues; cspell, 0 issues.
  • bun run typecheck passes.
  • bun test: 1510 tests, 0 fail.
  • The hook was run by hand in four cases: OK DB, missing DB, bad project dir, and Bun off PATH.

Closes #253

🤖 Generated with Claude Code

…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>
Copilot AI lite review requested due to automatic review settings December 1, 2026 22:43
@mobileskyfi
mobileskyfi marked this pull request as draft December 1, 2026 22:43
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 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

Comment on lines +9 to +10
- 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/**`.
Comment thread AGENTS.md Outdated
Comment on lines +65 to +68
- `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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants