mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 00:26:26 +00:00
feat(agents-config): add root AGENTS.md thin-pointer specification (#159)
Root AGENTS.md pointer file per the architecture decision in discussion #78: documents both config roots (.agents/skills/ portable portal skills, .claude/ orchestration) and the profile entry points, carries a framework_version marker registered in both version tools. Design case made by @erikpr1994 in the #78 architecture thread; implementation by @jovin-nicholas.
This commit is contained in:
@@ -17,6 +17,11 @@ ROOT = Path(__file__).resolve().parent.parent
|
||||
SKILL_DIR = ROOT / ".claude/skills/job-application-assistant"
|
||||
FRAMEWORK_FILES = sorted(SKILL_DIR.glob("*.md"))
|
||||
|
||||
# Add root AGENTS.md if it exists
|
||||
root_agents = ROOT / "AGENTS.md"
|
||||
if root_agents.exists():
|
||||
FRAMEWORK_FILES.append(root_agents)
|
||||
|
||||
def run_git(args: list[str]) -> tuple[int, str, str]:
|
||||
res = subprocess.run(["git"] + args, cwd=str(ROOT), capture_output=True, text=True)
|
||||
return res.returncode, res.stdout, res.stderr
|
||||
|
||||
Reference in New Issue
Block a user