Skip to content

Why not add '.pi/rules' directory into RuleSource #11

Closed

Description

@asdfsx

Problem

Why not add '.pi/rules' directory into RuleSource?

Proposal

update RuleSource like below

export type RuleSource =
	| ".pi/rules"
	| "~/.pi/rules"
	| ".omo/rules"
	| ".claude/rules"
	| ".cursor/rules"
	| ".github/instructions"
	| ".github/copilot-instructions.md"
	| "AGENTS.md"
	| "CLAUDE.md"
	| "CONTEXT.md"
	| "~/.omo/rules"
	| "~/.opencode/rules"
	| "~/.claude/rules"
	| "~/.config/opencode/AGENTS.md"
	| "~/.claude/CLAUDE.md";

Alternatives considered

No response

Activity

  1. code-yeongyu commented on Sep 24, 2026

    @code-yeongyu
    Owner

    Implemented in #33 (merged in ed6442f01bd2451045a1f7c11310da7f198dc457, released as v0.2.0). .pi/rules/ and ~/.pi/rules/ are now first-class sources, same pattern as .omo/rules/. Discovery, SOURCE_PRIORITY, finder mapping, tests, and README are updated. Downstream senpi does not yet vendor this source and will need to pick it up on the next rules sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions