Skip to content

docs(agent): add config authoring workflow guide#305

Merged
gildesmarais merged 1 commit intomasterfrom
docs/config-agent-guide
Mar 27, 2026
Merged

docs(agent): add config authoring workflow guide#305
gildesmarais merged 1 commit intomasterfrom
docs/config-agent-guide

Conversation

@gildesmarais
Copy link
Copy Markdown
Member

Summary

  • add AGENTS.md with a complete workflow for curating and validating html2rss config files
  • document selector strategy, Browserless decision points, quality gates, and reporting expectations
  • clarify local Browserless endpoint assumptions and command conventions used by maintainers

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new maintainer/agent-facing guide for authoring, validating, and shipping curated html2rss YAML configs in this repository.

Changes:

  • Introduces AGENTS.md describing config scoping principles, surface/selector strategy, and quality gates.
  • Documents a validation/debug loop (validate → feed → selector tightening) plus fetch verification steps (Faraday vs Browserless).
  • Defines reporting expectations for config work (accepted/downgraded/dropped, commands run, residual risks).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Do not add complexity to recover weak optional fields.

## Chrome MCP

Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

"Chrome MCP" is introduced as a required inspection tool, but the acronym/tooling isn’t defined anywhere else in the repo. Consider adding a brief definition (what it is, how to access/run it, and/or a link) so new contributors/agents can follow the workflow without prior context.

Suggested change
Chrome MCP is the Chrome-based page inspection tool exposed to agents for this project. It lets you open a URL in a real browser, inspect the fully rendered DOM, and capture accessibility snapshots to refine selectors. In an agent workspace, invoke the **Chrome MCP** tool and provide the target URL; in a local browser session, you can mirror the same workflow using Chrome plus DevTools.

Copilot uses AI. Check for mistakes.
Comment on lines +89 to +93
Assume the `html2rss` CLI is available on `PATH` when working against the sibling core repo.

- Use `html2rss ...` in examples and one-off validation commands.
- If the CLI is not installed globally in the current environment, run the equivalent command from the sibling `html2rss/` checkout, typically `bundle exec exe/html2rss ...`.
- In this repo, keep using `make ...` and `bundle exec rspec ...` because those are the implemented entrypoints.
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

This guide assumes a sibling checkout at ../html2rss and a globally available html2rss CLI. Since this repo’s README documents validating/running configs via Bundler (e.g., bundle exec html2rss validate ...), consider adding the bundle exec html2rss validate/feed ... equivalents here (or explicitly stating when the sibling core-repo workflow is required/preferred) to avoid conflicting guidance.

Suggested change
Assume the `html2rss` CLI is available on `PATH` when working against the sibling core repo.
- Use `html2rss ...` in examples and one-off validation commands.
- If the CLI is not installed globally in the current environment, run the equivalent command from the sibling `html2rss/` checkout, typically `bundle exec exe/html2rss ...`.
- In this repo, keep using `make ...` and `bundle exec rspec ...` because those are the implemented entrypoints.
Assume the `html2rss` CLI is available on `PATH` when working against the sibling core repo, or available via Bundler in this repo.
- When a global CLI is installed, use `html2rss ...` in examples and one-off validation commands.
- When running via Bundler (the default in this repo), use the README-style equivalents, for example:
- `bundle exec html2rss validate path/to/config.yml`
- `bundle exec html2rss feed path/to/config.yml`
- If you are working directly in a sibling `html2rss/` core checkout without a global install, run the CLI via that repo, typically `bundle exec exe/html2rss ...`.
- In this configs repo, keep using `make ...` and `bundle exec rspec ...` for repo-level tasks because those are the implemented entrypoints.

Copilot uses AI. Check for mistakes.
@gildesmarais gildesmarais merged commit 043bd3f into master Mar 27, 2026
11 checks passed
@gildesmarais gildesmarais deleted the docs/config-agent-guide branch March 27, 2026 23:06
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.

2 participants