learning_ai_common_plat/.windsurf/workflows
saravanakumardb1 c04ee5f054 feat(agent-docs): single-source-of-truth pattern for agent instructions
Establish a single canonical source for ecosystem-wide AI agent behavior
rules, eliminating duplication across the 8 agent-config files that each
repo used to maintain.

New canonical sources (this repo only):
- AI.dev/SKILLS/agent-behavior-guidelines.md  (Karpathy + ByteLyst rules)
- AI.dev/SKILLS/agent-onboarding.md           (read-order index)

Generator rewrite (scripts/update-agent-docs.sh):
- Deletes legacy files that duplicated AGENTS.md:
    .cursorrules, .windsurfrules, .clinerules, CLAUDE.md
- Regenerates .github/copilot-instructions.md as a thin pointer (no rules).
- Regenerates .aider.conf.yml and .editorconfig.
- Idempotently prepends a canonical-behavior-pointer block to AGENTS.md.
- Supports --dry-run and --no-commit flags.

Drift check (scripts/check-agent-docs-drift.sh):
- Fast marker-based check across all repos.
- Verifies legacy files absent, AGENTS.md pointer present, copilot/aider/
  editorconfig markers intact.

Workflow doc updated: .windsurf/workflows/repo_update-agent-docs.md

Repos.txt: added learning_ai_talk2obsidian (was missing from canonical list).

This repo's own agent files are migrated by the same generator:
- Removed: .cursorrules, .windsurfrules, .clinerules, CLAUDE.md
- Updated: AGENTS.md (pointer block prepended)
- Updated: .github/copilot-instructions.md (rewritten as pointer)
- Updated: .aider.conf.yml (canonical format)

Karpathy attribution: behavior rules adapted from
https://github.com/multica-ai/andrej-karpathy-skills
2026-05-23 11:55:19 -07:00
..
audit-repo-health.md fix(workflows): convert hardcoded repo lists to read from repos.txt 2026-04-03 10:33:48 -07:00
docker-smoke-test.md feat(workflows): add docker-smoke-test, audit-repo-health, verify-all-backends 2026-03-22 22:19:08 -07:00
gitea-ci.md fix(workflows): convert hardcoded repo lists to read from repos.txt 2026-04-03 10:33:48 -07:00
implement-shared-packages.md docs: fix 17 bugs/gaps in shared client packages roadmap + add workflow 2026-03-19 11:02:42 -07:00
publish-outdated-pnpm-packages-to-gitea-registry.md refactor(scripts): move 5 Gitea scripts into scripts/gitea/ subdirectory 2026-04-13 00:02:55 -07:00
refresh-chat-history.md fix(auth): enterprise SSO bcrypt hash + upgrade cost 10→12 2026-03-12 15:35:00 -07:00
repo_backup-and-push.md fix(workflows): normalize repo management coverage 2026-03-24 16:05:12 -07:00
repo_backup-main-branch.md fix(workflows): normalize repo management coverage 2026-03-24 16:05:12 -07:00
repo_commit-workspace.md fix(workflows): normalize repo management coverage 2026-03-24 16:05:12 -07:00
repo_push-repos.md fix(workflows): normalize repo management coverage 2026-03-24 16:05:12 -07:00
repo_sync-repos.md fix(workflows): normalize repo management coverage 2026-03-24 16:05:12 -07:00
repo_update-agent-docs.md feat(agent-docs): single-source-of-truth pattern for agent instructions 2026-05-23 11:55:19 -07:00
repos.txt feat(agent-docs): single-source-of-truth pattern for agent instructions 2026-05-23 11:55:19 -07:00
run-code-review.md fix(auth): enterprise SSO bcrypt hash + upgrade cost 10→12 2026-03-12 15:35:00 -07:00
verify-all-backends.md fix(workflows): convert hardcoded repo lists to read from repos.txt 2026-04-03 10:33:48 -07:00