You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): fix score-pr-knowledge import path + build aliases; add Copilot provider and framework selector to site
CI fixes:
- score-pr-knowledge.js imported from src/engine.js (doesn't exist) — fix to dist/engine.js
- score-pr-knowledge.js hardcoded 4D dimension averaging — fix to use Object.values() for any framework
- build.mjs aliases updated from @fluently/scorer to fluently-scorer to match source imports
Scorer package (pending changes from previous session):
- README: framework-agnostic framing, 4D as bundled default
- package.json: updated description to reflect framework-agnostic scope
Site — index.html:
- Add GitHub Copilot (GitHub Models API) as AI provider in the interactive demo
- Add framework selector dropdown to the try-it demo (loaded live from frameworks/index.json)
- Filter knowledge entries by selected framework before ranking
- Cycle text rendered generically from entry.dimensions keys (works for any framework)
Site — frameworks.html:
- Expand "Contribute a New Framework" section with two paths: Manual PR and Via Agent
- Add YAML template, local validation instructions, and a copy-paste agent prompt
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: packages/scorer/README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
# fluently-scorer
2
2
3
-
**Shared scoring engine for the [Fluently 4D Framework](https://fluently-org.github.io/fluently/).** Validates knowledge YAML against the schema and ranks cycles by keyword similarity for any AI task.
3
+
**Shared scoring and validation engine for human-AI collaboration frameworks.** Validates knowledge cycles against their framework schema, ranks them by similarity, and evaluates compliance. Framework-agnostic: works with any framework that defines named dimensions.
4
4
5
-
Used internally by both `fluently-cli` and `fluently-mcp-server`. Expose it in your own tools to build on top of the Fluently knowledge base.
5
+
Bundles the [AI Fluency 4D Framework](https://fluently-org.github.io/fluently/) as the default. Any framework registered in the knowledge base is automatically supported.
6
+
7
+
Used internally by both `fluently-cli` and `fluently-mcp-server`. Import it directly to build on top of the Fluently knowledge base in your own tools.
Copy file name to clipboardExpand all lines: packages/scorer/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "fluently-scorer",
3
3
"version": "0.2.3",
4
-
"description": "Zero-dependency scoring engine for the Fluently 4D Framework. Validates YAML knowledge cycles with Zod and ranks them by keyword similarity — no API calls, no false-precision scores.",
4
+
"description": "Zero-dependency scoring and validation engine for human-AI collaboration frameworks. Validates knowledge cycles, ranks them by similarity, and evaluates framework compliance. Bundles the AI Fluency 4D Framework; any framework with named dimensions can be registered.",
Any collaboration framework with named dimensions can be registered. Two paths: submit a PR yourself, or ask your AI agent to build and test it for you.
<h4class="font-bold text-gray-900 mb-1">3. Open a PR</h4>
271
+
<pclass="text-sm text-gray-600">Submit your PR. CI validates the schema, regenerates <codeclass="bg-gray-100 px-1 rounded text-xs">frameworks/index.json</code>, and the new framework appears in the knowledge base and this page after merge.</p>
<h3class="text-lg font-bold text-gray-900">Via your AI Agent</h3>
289
+
</div>
290
+
<pclass="text-sm text-gray-600 mb-4">
291
+
If you have the Fluently MCP server connected, you can ask your agent to generate a framework YAML, validate it, and open the PR — all in one conversation.
292
+
Copy the prompt below and paste it to Claude, Copilot, Cursor, or any MCP-capable agent.
<preid="agentPromptBlock" class="text-green-300 text-xs leading-relaxed px-4 py-4 overflow-x-auto whitespace-pre-wrap">I want to contribute a new collaboration framework to the Fluently knowledge base.
302
+
303
+
Framework concept: [DESCRIBE YOUR FRAMEWORK HERE — e.g. "a 3-step Research framework: Question, Investigate, Synthesise"]
304
+
305
+
Please:
306
+
1. Use the `get_framework_detail` tool to inspect the existing 4D framework structure as a reference.
307
+
2. Generate a valid `frameworks/[id].yaml` file following the same schema (id must be kebab-case, each dimension needs key, label, description, canonical_order).
308
+
3. Run `node scripts/validate-frameworks.js` locally to confirm the file is valid.
309
+
4. Confirm the YAML is ready to commit and provide the exact file contents.
310
+
5. If I approve, create a branch named `feat/framework-[id]`, commit the YAML, and open a GitHub PR with a short description of the framework and its intended use cases.
311
+
312
+
Do not open the PR without my explicit approval.</pre>
239
313
</div>
314
+
<pclass="text-xs text-gray-500 mt-2">Requires: Fluently MCP server connected + a GitHub MCP server or a PAT in your agent's settings.</p>
0 commit comments