Step 1: Create a project and open an Issue
Connect a code repository to Grape and apply a scene to that repository.
Video walkthrough: from project to Issue
Create a project in Repository Hall → pick a scene in Scene Center and apply it → open the first Issue on the code platform → return to the pipeline and see the record.
Create and connect a project
If you already have a repository: connect it directly
- After signing in, go to the Repository Hall.
- Select Connect repository.
- Choose a code platform: GitCode / GitHub / Gitee.
- Complete OAuth or PAT authorization as prompted.
- Return to the repository list and confirm that the target repository shows Hosted.
If you do not have a repository: create a project first
Choose one of the following methods:
Option A: Create an empty repository on the Git platform
- Open GitCode / GitHub / Gitee and create a repository.
- Select the option to initialize a README so that the repository is not empty.
- Return to the Grape Repository Hall → Connect repository, select the repository you just created, and host it.
Option B: Create a project in Grape
- After signing in, go to Repository Hall → My projects.
- Click New project.
- Select the code platform, namespace, repository name, and visibility.
- After creation, return to the repository list and confirm that the repository shows Hosted. If it is not hosted, click Host.
To start from an existing scaffold, you can use the optional Create a project from a template. The primary path is still to have a repository first.
Connecting a repository is not sufficient. Grape must also receive Issue events before the repository is fully usable. Webhooks are configured by the integration flow or in repository settings; see Repository settings.
Integration steps for the three platforms
| Platform | Integration steps | Screenshots and complete configuration |
|---|---|---|
| GitCode | OAuth App → login channel → Bot Token → Webhook | GitCode integration |
| GitHub | OAuth App → login channel → Bot PAT → Webhook | GitHub integration |
| Gitee | OAuth application → login channel → repository PAT → WebHook | Gitee integration |
Create and apply a scene
A scene determines which Agents participate in the pipeline and which Skill and engine each step uses. Saving a scene is not enough; you must apply it to the current repository.
1. Open project scenes
After signing in and selecting the target repository, open Project scenes in the left navigation. The page lists the scenes applied to the current repository.
2. Create or select a scene
You can use either entry point:
- Select an official scene template in the Scene Center, then apply it to the current repository.
- In Project scenes, click + Add scene to create an empty pipeline.
3. Configure the five nodes
Check the nodes in execution order: VOD → Issue → Coding → QA → SRE.
| Node | What to configure | Notes |
|---|---|---|
| VOD | Skill, engine | The broadcast engine can be used by default. |
| Issue | Skill, engine | Breaks down requirements and hands them off downstream. |
| Coding | Skill, engine | Implements code and submits a PR. |
| QA | Skill, engine | Reviews PRs and provides review comments. |
| SRE | Skill, engine | Broadcast is not supported; select a specific engine. |
The Skill for each node determines which instructions and tools the Agent uses. The engine determines which executor on which Worker handles the task.
4. Configure the branch and optional capabilities
| Configuration | When to use |
|---|---|
| Working branch | Specifies the branch that the scene monitors and commits to; defaults to main. |
| PR subscription | Enable when QA must automatically review PRs on the matching branch. |
| Advanced options | Add when custom configuration items are required. |
| Linked repositories | Add when one requirement must operate on multiple repositories. |
| Create branch | Create when you do not want to use an existing branch directly. |
5. Save and apply
- Click Save in the upper-right corner.
- Return to Project scenes.
- Confirm that you have clicked Apply for the current repository.
- Check that the scene status is Applied.
Saving is not the same as taking effect. If you do not click Apply, webhook events continue to be dispatched with the old configuration, and the pipeline may not follow the new scene.
6. Verify the scene
- Create an Issue in the repository.
- Open Pipeline and confirm that the five nodes enter the running state.
- Click a node to view the Agent logs and task results.
If engine_unavailable is returned, check whether the scene is applied, whether the node is bound to an online engine, and whether SRE is incorrectly using broadcast. For the full rules, see Scenes and engine configuration.
Open the first Issue for the project
An Issue is the trigger for the pipeline. After the repository and scene are ready, use a real requirement to validate the complete path.
1. Where to create an Issue
The most direct method is to create it on the code platform:
- Open the hosted repository.
- Go to Issues → New Issue.
- Enter a title and description.
- Submit the Issue.
You can also create it from the requirement-related entry point in the Grape console. For formal delivery, create the Issue on the code platform so that branches, PRs, and review records can be linked.
2. What to include in the description
Background: why this work is needed
Goal: what users can do after completion
Acceptance: how to determine that the work is complete
Scope: pages/modules involved and what is out of scope
3. What to check after submission
- Open Pipeline.
- Find the record for this Issue.
- Confirm that the VOD / Issue / Coding / QA / SRE nodes start running.
- Click a node to view Agent logs and artifacts.
If no pipeline appears, first check whether the repository is hosted, whether the webhook is working, and whether the scene is applied.
For complete tracking, manual intervention, troubleshooting, and merge procedures, see Step 2: From Issue to merged PR.
Completion criteria for this step
| Check | Expected result |
|---|---|
| Project | Repository created or connected and marked Hosted. |
| Scene | Visible in Project scenes and applied. |
| Nodes | All five nodes have an Agent / Skill / engine. |
| Events | Issue events from the repository reach Grape. |
| Issue | A corresponding record appears in the pipeline after submission. |
Related
Installation and startup | Scenes and engine configuration | Runtime and Worker | How an Issue moves through the pipeline



