Skip to content

Commit 33a1edb

Browse files
authored
Merge pull request #103 from constructive-io/fix/broken-skill-links
fix: repair 11 broken cross-references + add constructive-pnpm to indexes
2 parents 3233f9b + 2847ff5 commit 33a1edb

6 files changed

Lines changed: 13 additions & 11 deletions

File tree

.agents/skills/constructive-platform/references/blueprint-definition-format.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ For default storage policies and the full policy format, see [storage-policies.m
100100

101101
**Table map integration:** Entity tables created by Phase 0 are added to the internal `table_map`, so subsequent `tables` and `relations` can reference them by name (e.g. `"target_table": "channels"`).
102102

103-
See the [`constructive-sdk-entities`](../constructive-sdk-entities/SKILL.md) skill for the full entity types reference.
103+
See the [`constructive-sdk-entities`](../../constructive-sdk-entities/SKILL.md) skill for the full entity types reference.
104104

105105
## Table Entries
106106

@@ -314,7 +314,7 @@ Each entry grants every role in `roles[]` the cross-product of all `privileges[]
314314
| `policy_name` | string | No | Custom policy name |
315315
| `policy_role` | string | No | Role the policy applies to |
316316

317-
See the [constructive-safegres](../constructive-safegres/SKILL.md) skill for all 14 Authz* policy types and their config shapes.
317+
See the [constructive-safegres](../../constructive-safegres/SKILL.md) skill for all 14 Authz* policy types and their config shapes.
318318

319319
**`entity_type` resolution:** For membership-based policies (`AuthzMembership`, `AuthzEntityMembership`, `AuthzRelatedEntityMembership`, `AuthzPeerOwnership`, `AuthzRelatedPeerOwnership`), you can use `"entity_type": "channel"` (the prefix string) instead of `"membership_type": 3` (a hardcoded integer). The RLS parser resolves the prefix to the correct `membership_type` integer via `memberships_module` lookup. This is recommended for dynamic types (3+) where the int depends on provisioning order. Both forms continue to work.
320320

.agents/skills/constructive-platform/references/blueprints.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,6 @@ No special handling is needed — blueprints compose the existing primitives.
248248
## Cross-References
249249

250250
- **Definition format:** See [blueprint-definition-format.md](./blueprint-definition-format.md) for the blueprint definition format spec
251-
- **Safegres policies:** See [constructive-safegres](../constructive-safegres/SKILL.md) for Authz* policy types used in `policies[]`
252-
- **Codegen:** See [constructive-graphql](../constructive-sdk-graphql/SKILL.md) for generating typed SDK from provisioned tables
251+
- **Safegres policies:** See [constructive-safegres](../../constructive-safegres/SKILL.md) for Authz* policy types used in `policies[]`
252+
- **Codegen:** See [constructive-sdk-graphql](../../constructive-sdk-graphql/SKILL.md) for generating typed SDK from provisioned tables
253253
- **Server config:** See [server-config.md](./server-config.md) for running introspection and codegen

.agents/skills/constructive-platform/references/storage-policies.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,13 +333,13 @@ Any `Authz*` node type from the registry can be used. The most relevant ones for
333333
| `AuthzAllowAll` | No restrictions (use sparingly) || All three |
334334
| `AuthzDenyAll` | Lock down completely (admin override only) || All three |
335335

336-
See the [`constructive-safegres`](../constructive-safegres/SKILL.md) skill for the full list of 14 Authz* types and their config shapes.
336+
See the [`constructive-safegres`](../../constructive-safegres/SKILL.md) skill for the full list of 14 Authz* types and their config shapes.
337337

338338
## Cross-references
339339

340-
- **Safegres protocol (Authz* types):** [`constructive-safegres`](../constructive-safegres/SKILL.md)
341-
- **Custom entities & provisioning:** [`constructive-sdk-entities`](../constructive-sdk-entities/SKILL.md)
340+
- **Safegres protocol (Authz* types):** [`constructive-safegres`](../../constructive-safegres/SKILL.md)
341+
- **Custom entities & provisioning:** [`constructive-sdk-entities`](../../constructive-sdk-entities/SKILL.md)
342342
- **Blueprint definition format:** [blueprint-definition-format.md](./blueprint-definition-format.md)
343-
- **Upload flow (GraphQL mutations, client library):** [`constructive-sdk-uploads`](../constructive-sdk-uploads/SKILL.md)
343+
- **Upload flow (GraphQL mutations, client library):** [`constructive-sdk-uploads`](../../constructive-sdk-uploads/SKILL.md)
344344
- **Multi-scope bucket resolution:** `multi-scope-bucket-resolution` skill in `constructive-db`
345345
- **SQL-level security details:** `constructive-db-security-sql` skill in `constructive-db`

.agents/skills/constructive-sdk-graphql/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const results = await db.article.findMany({
8484
}).execute();
8585
```
8686

87-
`searchScore` is computed server-side — no need to select individual score fields. See [search.md](./references/search.md) for all strategies and combined patterns.
87+
`searchScore` is computed server-side — no need to select individual score fields. See [search-composite.md](./references/search-composite.md) for all strategies and combined patterns.
8888

8989
## Quick Start: Pagination
9090

@@ -145,7 +145,7 @@ See [codegen-hooks-patterns.md](./references/codegen-hooks-patterns.md) for adva
145145
| **PostGIS** | Location queries, geofencing, proximity | Depends on operator |
146146
| **Unified** | Multi-signal ranking via `unifiedSearch` + `searchScore` | Higher = more relevant (0..1) |
147147

148-
See [search.md](./references/search.md) for the decision matrix and combined query patterns.
148+
See [search-composite.md](./references/search-composite.md) for the decision matrix and combined query patterns.
149149

150150
## Reference Guide
151151

@@ -177,7 +177,7 @@ See [search.md](./references/search.md) for the decision matrix and combined que
177177

178178
| Reference | Topic | Consult When |
179179
|-----------|-------|--------------|
180-
| [search.md](./references/search.md) | Search overview, decision matrix, combined patterns | Choosing a strategy, combining algorithms, score fields |
180+
| [search-composite.md](./references/search-composite.md) | Search overview, decision matrix, combined patterns | Choosing a strategy, combining algorithms, score fields |
181181
| [search-tsvector.md](./references/search-tsvector.md) | TSVector full-text search | Creating tsvector columns, GIN indexes, querying |
182182
| [search-bm25.md](./references/search-bm25.md) | BM25 ranked search | Creating BM25 indexes, querying with negative scores |
183183
| [search-trigram.md](./references/search-trigram.md) | Trigram fuzzy matching | `similarTo`, `wordSimilarTo`, `@trgmSearch` smart tag |

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ A collection of skills for AI coding agents working with Constructive tooling. S
1313
| **constructive-features** | *(router)* | Feature catalog routing to the authoritative skill for every capability |
1414
| **constructive-platform** | safegres, services-schemas, deployment, server-config, functions, cnc-execution-engine, constructive-env | Platform core |
1515
| **pgpm** | github-workflows-pgpm | Database migrations, CLI, Docker, CI/CD |
16+
| **constructive-pnpm** | *(standalone)* | PNPM workspace management, dist-folder publishing, dependency management |
1617
| **constructive-sdk-graphql** | graphql-codegen, sdk-search, graphql-query | SDK codegen (ORM, hooks, CLI), runtime queries, search, pagination |
1718
| **constructive-starter-kits** | boilerplate-pgpm-init, boilerplate-nextjs-app, boilerplate-authoring | Project scaffolding via `pgpm init` |
1819
| **constructive-frontend** | constructive-ui, crud-stack, meta-forms | UI components, Stack cards, dynamic forms |

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ A collection of skills for AI coding agents working with Constructive tooling. S
1515
| **constructive-safegres** | Safegres authorization protocol — all 14 Authz* policy types, config shapes, semantics, permissive/restrictive composition |
1616
| **constructive-setup** | Monorepo setup — install dependencies, start PostgreSQL via pgpm Docker, bootstrap users, build, run tests, local email services |
1717
| **pgpm** | PostgreSQL Package Manager — migrations, CLI, Docker, CI/CD workflows |
18+
| **constructive-pnpm** | PNPM workspace management — monorepo config, dist-folder publishing with makage/lerna, dependency management |
1819
| **constructive-sdk-graphql** | SDK GraphQL — codegen (hooks, ORM, CLI), runtime queries, search (all algorithms), pagination |
1920
| **constructive-sdk-entities** | Entity types — custom entities (channels, teams, data rooms), memberships, entity-scoped storage |
2021
| **constructive-sdk-uploads** | File uploads — presigned URL flow, bucket provisioning, upload-client, deduplication |

0 commit comments

Comments
 (0)