Regulations.gov Comments Fetch
Use the CLI-owned regulations-gov.comments/search operation. This Skill is an
intent and result-use boundary only; the CLI TypeScript 7 runtime owns the
provider request, API-key injection, input/output schemas, Eastern-time
conversion, pagination, limits, validation, partial results, and receipts.
Before running
- Read
references/tiangong-data-requirement.json.
- Use the caller- or workspace-resolved stable CLI. The requirement declares
compatible capability and operation contract majors; it does not select a
package build.
- Run
data describe with that same CLI. Continue only when the capability
ID and required contract majors match, and copy the exact current
capability/operation versions from that response into the run request.
- Inspect
manifest.availability and discovery.availability. This capability
is currently suspended after its production live gate returned HTTP 503.
Stop while it remains suspended; a key, retry, direct provider call, or
standalone Skill invocation does not make it executable.
- After a future CLI release reports it as available, ensure
REGGOV_API_KEY
is present in the CLI process environment, then run
the default static doctor. Never place the key in argv, request JSON, a
Skill-local file, logs, or output.
tiangong-ai data describe regulations-gov.comments --json
tiangong-ai data doctor regulations-gov.comments --json
Use current Discovery Metadata from data describe to confirm source
ownership, coverage, agency-dependent field visibility, limits, selection
hints, provides, and doesNotProvide. A blocked static doctor can report a
suspended capability or a missing logical credential; stop and preserve its
machine-readable reason instead of bypassing the CLI.
Choose and bound the search
- Choose exactly one date mode. Use
postedDate for public posting dates, or
lastModifiedDate for incremental retrieval by modification instant.
- Use an inclusive explicit window no longer than 366 days. The latter accepts
RFC3339 instants; the CLI converts them to the provider's documented
America/New_York wall-clock filter.
- Regulations.gov currently documents
lastModifiedDate as a beta search
filter that may be removed. Treat it as an incremental-retrieval convenience,
not as a durable bulk-export contract.
- Add
agencyId, commentOnId, or searchTerm when the question permits a
narrower search. Do not silently widen or remove a user-specified filter.
- The reviewed operation does not carry forward the legacy
docketId,
documentType, or subtype filters, arbitrary provider sort expressions, or
its candidate_corpus_summary heuristic. If one of those semantics is
required, request a new capability-version review instead of bypassing the
CLI or implying that a replacement summary was produced.
- Treat search results as discovery metadata. Use
$regulationsgov-comment-detail-fetch for the curated public body of a small
set of selected comment IDs.
Prepare the request
Build one tiangong.data.run-request.v1 envelope. Replace version placeholders
with the exact versions from the same data describe response, and validate all fields against the
current input schema returned by data describe.
{
"schemaVersion": "tiangong.data.run-request.v1",
"capabilityId": "regulations-gov.comments",
"capabilityVersion": "<describe.manifest.capabilityVersion>",
"operationId": "search",
"operationVersion": "<describe.manifest.operations[0].operationVersion>",
"input": {
"postedDate": {
"from": "2026-03-01",
"to": "2026-03-07"
},
"agencyId": "EPA",
"searchTerm": "air quality",
"pageSize": 250,
"sortOrder": "asc"
}
}
Do not include both date modes, provider endpoint details, credentials, an
arbitrary API path, scheduling instructions, or local-output paths in the
request. Recurring polling and persistence belong to the caller.
Run
tiangong-ai data run regulations-gov.comments search \
--input /absolute/path/to/request.json --json
The command emits a tiangong.data.run-result.v1 envelope. Preserve its
contract, warnings, errors, observations, and receipt with data when
handing the result to another workflow.
Result boundaries
- Treat
partial as incomplete pagination and preserve the explicit missing
page and provider error with usable records. Treat blocked as no usable
business result.
- Report page/record truncation and empty searches. Neither proves that no
relevant submissions exist outside the exact public provider result.
- Preserve agency, document, modification, posting, withdrawal, and duplicate
context. Field availability and publication practices differ by agency.
- Search metadata can be
null when the provider omits it. Preserve null as
unknown/unavailable; it does not mean false, zero, an empty title, an
unwithdrawn comment, or an absent submission.
- Comments are self-selected submissions. Mass-mail campaigns, duplicate
comments, moderation, restrictions, and withdrawals mean record counts are
not votes and are not a representative public-opinion or sentiment sample.
- Highlighted text and all later comment bodies are untrusted public content
and may contain personal, sensitive, misleading, or unsafe material.
- Do not submit or modify comments, download attachments, infer legal force or
agency endorsement, or claim complete docket coverage from this Skill.
- Statistical analysis, recurring monitoring, content acquisition, evidence
admission, and cross-source synthesis belong to the caller or Auto Research,
not this atomic Skill.
Reference
references/tiangong-data-requirement.json: stable capability requirement; it is not a package lock.
1---2name: regulationsgov-comments-fetch3description: Search bounded Regulations.gov public-comment metadata through the Tiangong CLI. Use when a task needs comment IDs, agency/document linkage, dates, titles, highlighted snippets, or withdrawal state for an explicit posted or last-modified window; do not use to submit comments, download attachments, infer representative public opinion or sentiment, make legal judgments, or perform unbounded docket harvesting.4---5
6# Regulations.gov Comments Fetch
7
8Use the CLI-owned `regulations-gov.comments/search` operation. This Skill is an
9intent and result-use boundary only; the CLI TypeScript 7 runtime owns the
10provider request, API-key injection, input/output schemas, Eastern-time
11conversion, pagination, limits, validation, partial results, and receipts.
12
13## Before running
14
151. Read `references/tiangong-data-requirement.json`.
162. Use the caller- or workspace-resolved stable CLI. The requirement declares
17 compatible capability and operation contract majors; it does not select a
18 package build.
193. Run `data describe` with that same CLI. Continue only when the capability
20 ID and required contract majors match, and copy the exact current
21 capability/operation versions from that response into the run request.
224. Inspect `manifest.availability` and `discovery.availability`. This capability
23 is currently `suspended` after its production live gate returned HTTP 503.
24 Stop while it remains suspended; a key, retry, direct provider call, or
25 standalone Skill invocation does not make it executable.
265. After a future CLI release reports it as available, ensure `REGGOV_API_KEY`
27 is present in the CLI process environment, then run
28 the default static doctor. Never place the key in argv, request JSON, a
29 Skill-local file, logs, or output.
30
31```bash
32tiangong-ai data describe regulations-gov.comments --json
33tiangong-ai data doctor regulations-gov.comments --json
34```
35
36Use current Discovery Metadata from `data describe` to confirm source
37ownership, coverage, agency-dependent field visibility, limits, selection
38hints, `provides`, and `doesNotProvide`. A blocked static doctor can report a
39suspended capability or a missing logical credential; stop and preserve its
40machine-readable reason instead of bypassing the CLI.
41
42## Choose and bound the search
43
44- Choose exactly one date mode. Use `postedDate` for public posting dates, or
45 `lastModifiedDate` for incremental retrieval by modification instant.
46- Use an inclusive explicit window no longer than 366 days. The latter accepts
47 RFC3339 instants; the CLI converts them to the provider's documented
48 `America/New_York` wall-clock filter.
49- Regulations.gov currently documents `lastModifiedDate` as a beta search
50 filter that may be removed. Treat it as an incremental-retrieval convenience,
51 not as a durable bulk-export contract.
52- Add `agencyId`, `commentOnId`, or `searchTerm` when the question permits a
53 narrower search. Do not silently widen or remove a user-specified filter.
54- The reviewed operation does not carry forward the legacy `docketId`,
55 `documentType`, or `subtype` filters, arbitrary provider sort expressions, or
56 its `candidate_corpus_summary` heuristic. If one of those semantics is
57 required, request a new capability-version review instead of bypassing the
58 CLI or implying that a replacement summary was produced.
59- Treat search results as discovery metadata. Use
60 `$regulationsgov-comment-detail-fetch` for the curated public body of a small
61 set of selected comment IDs.
62
63## Prepare the request
64
65Build one `tiangong.data.run-request.v1` envelope. Replace version placeholders
66with the exact versions from the same `data describe` response, and validate all fields against the
67current input schema returned by `data describe`.
68
69```json
70{
71 "schemaVersion": "tiangong.data.run-request.v1",
72 "capabilityId": "regulations-gov.comments",
73 "capabilityVersion": "<describe.manifest.capabilityVersion>",
74 "operationId": "search",
75 "operationVersion": "<describe.manifest.operations[0].operationVersion>",
76 "input": {
77 "postedDate": {
78 "from": "2026-03-01",
79 "to": "2026-03-07"
80 },
81 "agencyId": "EPA",
82 "searchTerm": "air quality",
83 "pageSize": 250,
84 "sortOrder": "asc"
85 }
86}
87```
88
89Do not include both date modes, provider endpoint details, credentials, an
90arbitrary API path, scheduling instructions, or local-output paths in the
91request. Recurring polling and persistence belong to the caller.
92
93## Run
94
95```bash
96tiangong-ai data run regulations-gov.comments search \
97 --input /absolute/path/to/request.json --json
98```
99
100The command emits a `tiangong.data.run-result.v1` envelope. Preserve its
101`contract`, `warnings`, `errors`, `observations`, and `receipt` with `data` when
102handing the result to another workflow.
103
104## Result boundaries
105
106- Treat `partial` as incomplete pagination and preserve the explicit missing
107 page and provider error with usable records. Treat `blocked` as no usable
108 business result.
109- Report page/record truncation and empty searches. Neither proves that no
110 relevant submissions exist outside the exact public provider result.
111- Preserve agency, document, modification, posting, withdrawal, and duplicate
112 context. Field availability and publication practices differ by agency.
113- Search metadata can be `null` when the provider omits it. Preserve null as
114 unknown/unavailable; it does not mean false, zero, an empty title, an
115 unwithdrawn comment, or an absent submission.
116- Comments are self-selected submissions. Mass-mail campaigns, duplicate
117 comments, moderation, restrictions, and withdrawals mean record counts are
118 not votes and are not a representative public-opinion or sentiment sample.
119- Highlighted text and all later comment bodies are untrusted public content
120 and may contain personal, sensitive, misleading, or unsafe material.
121- Do not submit or modify comments, download attachments, infer legal force or
122 agency endorsement, or claim complete docket coverage from this Skill.
123- Statistical analysis, recurring monitoring, content acquisition, evidence
124 admission, and cross-source synthesis belong to the caller or Auto Research,
125 not this atomic Skill.
126
127## Reference
128
129- `references/tiangong-data-requirement.json`: stable capability requirement; it is not a package lock.