Skip to content

docs: regenerate rules from documentation@dbb3c18#70

Open
harper-skills-sync[bot] wants to merge 1 commit into
mainfrom
auto/docs-sync
Open

docs: regenerate rules from documentation@dbb3c18#70
harper-skills-sync[bot] wants to merge 1 commit into
mainfrom
auto/docs-sync

Conversation

@harper-skills-sync

Copy link
Copy Markdown
Contributor

Automated regeneration of docs-driven skill rules, now synced to HarperFast/documentation@dbb3c18.

Why these rules changed

Each rule regenerated because its source content differs from the docs commit it was last synced from. The trigger commit is not necessarily what changed a given rule — drift accumulates across every docs commit since the rule’s recorded baseline (below).

  • defining-relationships — last synced from docs@4fe4c9c
  • querying-rest-apis — last synced from docs@b7fbdda
  • programmatic-table-requests — last synced from docs@be709f9

Docs commits since baseline (4fe4c9c..dbb3c18)

dbb3c182	docs: fix incorrect @relation directive to @relationship (#577)
a6bf98c8	Fix Resource post/put/patch data type + document search sort + content-type table (#495)
fda31e10	docs(replication): use hostname in controlled-flow route example (#555)
1e54b713	docs(configuration): document replication.blobSendDrainTimeout (#569)
8c535e4a	Correct custom mcpTools auth wording: invocable anonymously, no login gate
b9c98adc	Document the perClientBurst one-token floor; version refs 5.2.0 (merged to main)
0ac01aa5	Add race-safety caveat to the quota-hook docs (harper#1633 fast-follow)
bb5871e9	Correct cache-disposition docs: target.loadedFromSource only (context mirror reverted) (#570)
27fb8cc8	Document MCP per-client rate limiting and the durable quota hook (harper#1633)
9e49f6ca	docs(config): replicated set_configuration ships in 5.2, not 5.1
a401477e	docs(resources): document loadedFromSource cache disposition (harper#1571/#1575)
e5b276f1	docs(analytics): tighten get_analytics read-behavior wording
d416e162	docs(analytics): note get_analytics reads without a consistent snapshot
8d9710c4	docs(ops): correct stale restart_service service list to v5 values
894f9dfa	docs(config): document replicated: true on set_configuration (HarperFast/harper#1556)
0011798f	docs(models): document config-selectable backends (backend: <module>)
2a761eee	docs(models): clarify fallback-policy and no-candidates wording (review)
774fee32	docs(models): routing shipped in v5.1.15; drop breaking-change release note
055ae36d	docs(models): fix release-note cross-links to reference (add /v5/ segment)
797a05e2	docs(models): namespace registration API + document routing & fallback
d37c9847	docs(models): document registerBackend / defineBackend custom backends (#554)
f37a8c40	docs(resources): use static verb handlers in path-parameter examples
60f6d2e4	docs(resources): document parameterised resource paths and `static path`
3edab38c	docs: thrown Response/status now honored; Long bound; repeatable-read wording
5675b32f	docs: clarify concurrency, read consistency, Long/BigInt, and resource status codes
1172ec68	docs(meta): document issue types, area labels, and release milestones (#546)
25e2580f	chore(intake): issue types, simplified forms, and config (#545)
be709f99	docs(database): add data-safety note for programmatic writes/deletes (#542)
fa62588d	docs: clarify Harper APIs are one live process-wide instance; SSR data access (#543)
e66d44b0	docs(sse): lead with single-method static async *connect(target)
ce0ab713	docs(resources): document relationship select and join behavior (#537)
9d8bf128	docs: restore v5 resource-handler nuance and fix blob handler consistency (#541)
ba576f81	docs(sse): document reading the request in static connect()

Produced by .github/workflows/generate.yaml. Review the diff as you would any rule change — the generator reads the docs build output and rewrites mode: generate / imports mode: direct rule bodies, then reassembles AGENTS.md. See docs/plans/docs-driven-skills.md.

🤖 Generated with Claude Code

@harper-skills-sync harper-skills-sync Bot requested a review from a team as a code owner July 10, 2026 13:22

@kriszyp kriszyp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice work on this regeneration — the vast majority of it is a faithful, verified-accurate resync. I checked several claims directly against ~/dev/harper source (allowFullScan, the exact HdbError text, FIQL type-prefix coercion, the ==<value>* wildcard) and they all check out. The @relation@relationship typo fix in querying-rest-apis.md in particular is a genuine, valuable correction — good catch by the generator there.

That said, I found two real API-accuracy bugs that made it into this PR, both regressions vs. the previously-synced text:

1. Many-to-many example points from at a field that doesn't exist
defining-relationships.md:100 (also AGENTS.md:300):

type Product @table @export {
	id: Long @primaryKey
	name: String
	resellerIds: [Long] @indexed
	resellers: [Reseller] @relationship(from: "resellerId")
}

The schema declares resellerIds (array), but the relationship is wired to the singular resellerId, which doesn't exist on the record. Verified against resources/graphql.ts:216-221 (no name normalization on directive args) and resources/search.ts:578 (record[attribute.relationship.from]?.filter?.(...) — literal property lookup). An agent copying this verbatim gets a relationship that silently resolves to nothing. The pre-PR skill text had this right (from: resellerIds, matching the array attribute).

2. Foreign-key-to-foreign-key join mislabeled as "many-to-many"
defining-relationships.md:59 (also AGENTS.md:259) now reads "...useful for many-to-many relationships joining on non-primary-key attributes," but the accompanying example (OrderItem.product: Product @relationship(from: productSku, to: sku)) is a scalar field — one-to-one/many-to-one, not many-to-many. An agent following this rule for a genuine many-to-many case would produce a relationship that can't hold multiple related records.

Root cause is upstream, not in this PR. Both bugs trace directly to documentation@dbb3c18 itself:

This regeneration faithfully reproduced what's in the source docs — it's not a generator hallucination. The durable fix belongs in HarperFast/documentation so it doesn't keep re-propagating into every future skill regen (this would be at least the second consecutive regen cycle reintroducing a relationship-example bug). Worth noting the same resellerId/resellerIds bug also already exists unchanged in querying-rest-apis.md:100 and AGENTS.md:1042 from prior syncs, so a doc-repo fix would need a follow-up regen to fully clear it everywhere.

Reviewer's call on how to sequence this: hold this PR for the upstream documentation fix and let the next regen pick it up clean, or take a quick manual patch here now (swap in the networkIds-style example / soften the many-to-many claim) and accept it'll need reconciling again once upstream is fixed. Either way, flagging so it doesn't quietly ship as agent-facing guidance.

— Claude (Sonnet 5), reviewed via review-queue

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