Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to Context are documented here.

## 0.7.100 - 2026-11-16

- Before production requirements exist (`src/indexers.yaml` missing), the Route's resource commands such as `context resource materialize context.source-boundary` now carry a valid workflow revision. Previously they carried `requirements-configuration` and always failed with "workflow revision is invalid".

## Unreleased

- The routine update example now starts the scheduled task content with a plain line naming the Context Skill instead of a slash command. Some schedulers expand a leading slash command into the Skill text and drop the rest, so the run never saw its paragraph and `ROUTINE_POLICY` and stopped to ask what to do.
Expand Down
30 changes: 15 additions & 15 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "context",
"version": "0.7.99",
"version": "0.7.100",
"packageManager": "bun@1.3.9",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/context-cli/context-workflow/provider.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema: agent-graph.provider.v1
id: c4a/context
version: 0.7.99
version: 0.7.100
name: Context workflow
description: Internal work contract for Context knowledge workspaces.
graphs:
Expand Down
2 changes: 1 addition & 1 deletion packages/context-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/context-cli",
"description": "Local runtime and Agent integration for traceable knowledge production",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ describe("Production bootstrap follows the workspace Graph", () => {
for (const resource of before.workflow.current!.resources.required) {
if (resource.path) expect((await readFile(resource.path, "utf8")).length).toBeGreaterThan(0);
}
// Missing requirements → CLI status → every printed resource command runs as printed.
const printed = JSON.parse(await readFile(summary.next_route.file, "utf8")) as { revision: string; resources: { required: Array<{ command?: string }> } };
const materialize = printed.resources.required.filter(resource => resource.command);
expect(materialize.length).toBeGreaterThan(0);
expect(printed.revision).toMatch(/^sha256:[a-f0-9]{64}$/);
for (const resource of materialize) {
const args = resource.command!.replace(/^context /, "").match(/'[^']*'|\S+/g)!.map((arg: string) => arg.replace(/^'|'$/g, ""));
expect(JSON.parse(await runCliInDir(root, args))).toBeTruthy();
}
});

test(`plain and dry run preserve an unprepared plan (managed=${managed})`, async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/context-cli/src/project/indexerBaseContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { bundledMarkdownReaderQuestionContracts } from
"./indexerBaseMarkdownAuthoringCatalog.js";

const BASE_CONTRACT_VERSION = "1.1.0";
export const BUNDLED_INDEXER_PARSER_PACKAGE_VERSION = "0.7.99";
export const BUNDLED_INDEXER_PARSER_PACKAGE_VERSION = "0.7.100";
const BUNDLED_PARSER_REQUIREMENTS = buildIndexerParserCapabilityRequirements(
BUNDLED_INDEXER_PARSER_PACKAGE_VERSION,
);
Expand Down
4 changes: 3 additions & 1 deletion packages/context-cli/src/project/productionPlanningRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ export async function productionPlanningRoute(input: { projectRoot: string; auth
stage?: ProductionStage): Promise<ContextResolvedWorkflowRoute | undefined> {
const request = stage ? undefined : await productionPlanningRequest(input.projectRoot);
const present = !!stage || !!request;
const revision = stage?.id ?? request?.revision ?? "requirements-configuration";
const prepared = !!stage && await productionPlanningIsPrepared(input.projectRoot, stage);
const context = { workspace: input.projectRoot, authorities: [...input.authorities], facts: {
production: { requirements_present: present, planning_prepared: prepared, planning_complete: prepared && (stage?.planning_complete ?? false) },
} };
const provider = await loadContextWorkflowProvider();
const evaluated = evaluateGraph(provider, "indexer", "production-planning", context);
// Before requirements exist there is no plan revision; the graph evaluation's
// revision keeps the Route's resource commands valid workflow revisions.
const revision = stage?.id ?? request?.revision ?? evaluated.evaluation.revision;
const selected = evaluated.evaluation.primaryRoute;
if (!selected) throw new TypeError("Production planning has no current graph route");
const route = await resolveRoute(provider, "indexer", "production-planning", selected.routeId, context, evaluated.evaluation.revision);
Expand Down
2 changes: 1 addition & 1 deletion packages/context/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/context",
"description": "Declarative SDK for Context knowledge sources, workflows, review, and package outputs",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/core",
"description": "Shared extraction types, schemas, and utilities for Context",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/dev-cli",
"description": "Developer menu for Context build, verification, link, and release preparation",
"version": "0.7.99",
"version": "0.7.100",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/extract-contract/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract-contract",
"description": "OpenAPI and GraphQL contract catalog adapter for Context",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/extract-go/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract-go",
"description": "Go extraction plugin and structural index for Context",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/extract-mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract-mdx",
"description": "MDX component and example catalog bridge for Context",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/extract-proto/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract-proto",
"description": "Protocol Buffers IDL catalog parser for Context",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/extract-rush/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract-rush",
"description": "Rush workspace structural index for Context",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/extract-sql/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract-sql",
"description": "Dialect-bound lightweight SQL evidence adapter for Context",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/extract-style/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract-style",
"description": "Lightweight CSS and SCSS evidence adapter for Context",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/extract-thrift/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract-thrift",
"description": "Apache Thrift IDL catalog parser for Context",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/extract-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract-ts",
"description": "TypeScript and JavaScript extraction plugin for the Context ExtractionResult v2 contract",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/extract/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/extract",
"description": "Language-plugin framework and repository runner for Context code evidence",
"version": "0.7.99",
"version": "0.7.100",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/tui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@c4a/tui",
"description": "Shared terminal UI components (Ink + React) for Context development tools",
"version": "0.7.99",
"version": "0.7.100",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "c4a",
"description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
"version": "0.7.99",
"version": "0.7.100",
"author": {
"name": "c4a"
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/context/repo-install/claude/commands/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ without the user's authorization.

### Check the CLI first

This Skill ships with Context 0.7.99.
This Skill ships with Context 0.7.100.

When entering production in a workspace, align the CLI, this Skill and the
workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
Expand Down
4 changes: 2 additions & 2 deletions plugins/context/repo-install/codex/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "c4a",
"version": "0.7.99",
"version": "0.7.100",
"description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
"author": { "name": "c4a" },
"homepage": "https://github.com/context4ai/c4a",
Expand All @@ -10,7 +10,7 @@
"skills": "./skills/",
"interface": {
"displayName": "C4A Context",
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.99",
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.100",
"longDescription": "Create a Context workspace and use agent-guided next steps to register sources, run extraction, review candidates, build package outputs, and verify health without silently mutating source repositories.",
"developerName": "c4a",
"category": "Productivity",
Expand Down
2 changes: 1 addition & 1 deletion plugins/context/repo-install/codex/skills/context/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ without the user's authorization.

### Check the CLI first

This Skill ships with Context 0.7.99.
This Skill ships with Context 0.7.100.

When entering production in a workspace, align the CLI, this Skill and the
workspace SDK once per session with [version alignment](references/version-alignment.md):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "c4a",
"displayName": "C4A Context",
"version": "0.7.99",
"version": "0.7.100",
"description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
"author": {
"name": "Context4AI",
Expand Down
Loading
Loading