Skip to content

docs: AGENTS conventions (self-doc, CLI rules, --feature trigger) + roadmap design decisions - #193

Merged
helly25 merged 2 commits into
mainfrom
docs/agents-conventions-and-73-park
Jun 28, 2026
Merged

docs: AGENTS conventions (self-doc, CLI rules, --feature trigger) + roadmap design decisions#193
helly25 merged 2 commits into
mainfrom
docs/agents-conventions-and-73-park

Conversation

@helly25

@helly25 helly25 commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Puts the enforcement rules in the repo (not just agent memory), and settles the roadmap design you asked for.

AGENTS.md - two new sections:

  • Self-documenting features: the registry + globals.cc are the doc SOT; every feature add/change updates its Descriptor.summary / GlobalFlag entry + kHelpText in the same change, so --help/--man/--markdown stay complete by construction.
  • CLI conventions: flag scope by dash count; flag-only (no subcommands); a boolean user-toggleable capability is a --feature, not a one-off flag - the trigger for the parked docs: config system spec (layered .xffrc + root-owned system policy) #73.

TODO.md - design decisions (accounting for existing code):

(Other code conventions - string_view params, SizeIs/IsEmpty, trailing-comma tables - were already added to STYLE_CPP.md.) Docs-only; markdown-align + em-dash gates pass.

…oadmap decisions

Per the directive to put enforcement rules in the repo, not just memory:

AGENTS.md gains two sections:
- Self-documenting features: the registry + globals are the doc SOT; every
  feature add/change updates its Descriptor.summary / GlobalFlag entry +
  kHelpText in the same change, so --help/--man/--markdown stay complete.
- CLI conventions: flag scope by dash count (--global vs -primary; -h/-q/-help/
  -version are special-cased compat globals); flag-only, no subcommands; and a
  user-toggleable boolean capability is a --feature, not a one-off flag.

TODO.md roadmap decisions (design phase, accounting for existing code):
- #43 parallel traversal + --sort: already BUILT (ReadPool, sort modes, tests,
  tsan cell); remaining is a CLI bashtest.
- #45 --exact/--path-encoding: default = filesystem-native (natural per-platform
  case behavior); --exact forces verbatim byte matching; --path-encoding=raw|escape.
- #73 --feature: PARKED (no customer yet) with the full ready-to-build design +
  a trigger (first boolean capability builds it); trigger mirrored in AGENTS.md.
- #54 mode mechanism: subsumed by --config (no --mode flag; --modern deferred).
@helly25
helly25 enabled auto-merge (squash) June 28, 2026 13:13
@helly25
helly25 merged commit e30d0e6 into main Jun 28, 2026
8 checks passed
@helly25
helly25 deleted the docs/agents-conventions-and-73-park branch June 28, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant