@plainconceptsplatform/workflows 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
File without changes
@@ -360,9 +360,25 @@ jobs:
360
360
  with:
361
361
  client-id: ${{ secrets.BOT_APP_ID }}
362
362
  private-key: ${{ secrets.BOT_PRIVATE_KEY }}
363
- # No apply-agent-output here. safe_outputs already creates the split children, links
364
- # them as sub-issues of the parent and rewrites the parent body; running the action too
365
- # filed a second unlinked, unlabelled copy of every child.
363
+ # Path B needs this step, exactly as triage and merge-gate have it. `staged: true` above
364
+ # means the framework writes nothing, so without an apply the run validates everything and
365
+ # publishes nothing: the agent's comment and the refined body stay in the artifact, conclude
366
+ # reports success, and the issue keeps `refine` forever. That is how a refine came back green
367
+ # and untouched.
368
+ #
369
+ # It is not redundant with safe_outputs: staged, safe_outputs never writes. The comment that
370
+ # used to sit here said this action filed a duplicate of every split child, which is what
371
+ # happens when it runs *without* staging. Staged, the children exist only in the artifact
372
+ # and this step is the only thing that creates them.
373
+ - name: Apply agent output
374
+ uses: ./.github/actions/apply-agent-output
375
+ with:
376
+ artifact-name: ${{ needs.activation.outputs.artifact_prefix }}agent
377
+ token: ${{ steps.app-token.outputs.token }}
378
+ apply-labels: 'false'
379
+ update-issues: 'true'
380
+ create-issues: 'true'
381
+ fallback-issue-number: ${{ inputs.issue-number }}
366
382
  - name: Apply complete refinement labels
367
383
  if: needs.validate_output.outputs.outcome == 'complete'
368
384
  uses: ./.github/actions/add-issue-labels
package/package.json CHANGED
@@ -1,46 +1,45 @@
1
- {
2
- "name": "@plainconceptsplatform/workflows",
3
- "version": "1.0.4",
4
- "description": "Install and update Platform GitHub agentic workflows.",
5
- "keywords": [
6
- "github-actions",
7
- "agentic-workflows",
8
- "plain-concepts"
9
- ],
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/PlainConceptsPlatform/agentic-workflows.git"
13
- },
14
- "bugs": {
15
- "url": "https://github.com/PlainConceptsPlatform/agentic-workflows/issues"
16
- },
17
- "homepage": "https://github.com/PlainConceptsPlatform/agentic-workflows#readme",
18
- "license": "UNLICENSED",
19
- "type": "module",
20
- "bin": {
21
- "workflows": "./dist/index.js"
22
- },
23
- "files": [
24
- "dist",
25
- "loops",
26
- "README.md"
27
- ],
28
- "scripts": {
29
- "build": "tsc --project tsconfig.build.json && node ./scripts/copy-loops.mjs",
30
- "test": "vitest run",
31
- "typecheck": "tsc --noEmit --project tsconfig.json",
32
- "release": "pnpm build && pnpm test && npm publish --access public",
33
- "prepack": "node ./scripts/copy-loops.mjs"
34
- },
35
- "engines": {
36
- "node": ">=20.19"
37
- },
38
- "dependencies": {
39
- "yaml": "^2.9.0"
40
- },
41
- "devDependencies": {
42
- "@types/node": "^22.0.0",
43
- "typescript": "^5.8.0",
44
- "vitest": "^3.0.0"
45
- }
46
- }
1
+ {
2
+ "name": "@plainconceptsplatform/workflows",
3
+ "version": "1.0.5",
4
+ "description": "Install and update Platform GitHub agentic workflows.",
5
+ "keywords": [
6
+ "github-actions",
7
+ "agentic-workflows",
8
+ "plain-concepts"
9
+ ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/PlainConceptsPlatform/agentic-workflows.git"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/PlainConceptsPlatform/agentic-workflows/issues"
16
+ },
17
+ "homepage": "https://github.com/PlainConceptsPlatform/agentic-workflows#readme",
18
+ "license": "UNLICENSED",
19
+ "type": "module",
20
+ "bin": {
21
+ "workflows": "./dist/index.js"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "loops",
26
+ "README.md"
27
+ ],
28
+ "engines": {
29
+ "node": ">=20.19"
30
+ },
31
+ "dependencies": {
32
+ "yaml": "^2.9.0"
33
+ },
34
+ "devDependencies": {
35
+ "@types/node": "^22.0.0",
36
+ "typescript": "^5.8.0",
37
+ "vitest": "^3.0.0"
38
+ },
39
+ "scripts": {
40
+ "build": "tsc --project tsconfig.build.json && node ./scripts/copy-loops.mjs",
41
+ "test": "vitest run",
42
+ "typecheck": "tsc --noEmit --project tsconfig.json",
43
+ "release": "pnpm build && pnpm test && npm publish --access public"
44
+ }
45
+ }